#### Abstract

Cross-border e-commerce of the Internet of Things is affected by international situations and political factors. Supply chain interruption and returns will cause violent fluctuations in commodity inventory, making the inventory control of cross-border e-commerce very difficult. The TRIZ principle is utilized to solve the problem of the difficulty to evaluate the suppliers comprehensively in e-commerce warehouse management. The Markov algorithm is used to describe the change of inventory level. The cyclic expected time and cost function are constructed by the horizontal crossing method, updating the process and Martingale theory. The effect of the correlation between the demand and supply interruption on the optimal inventory control strategy is studied by simulation. The change of the optimal control strategy under the different interrupt and return types is analyzed, and the validity of the management system is verified.

#### 1. Introduction

The accelerated evolution of cross-border Internet of Things e-commerce has become a new trend of international trade development and a novel engine of national economic growth [1]. To promote the development of cross-border e-commerce, the government encourages the establishment of a comprehensive service system for cross-border e-commerce. At present, the Internet of Things technology is developing rapidly, and the market scale is also in a good situation of expanding. The Internet of Things has turned into an important development strategy for countries around the world. The government has made many policies and plans to promote the in-depth development of the Internet of Things technology so that the industrial system of the Internet of Things constantly improved.

The environment of cross-border Internet of Things e-commerce is increasingly complex, which can be summarized as influenced by three factors. Firstly, the international situations and political factors result in supply disruptions [2]. Secondly, it is affected by the international epidemic, bad weather, and traffic jams [3]. Moreover, the new consumer-related laws and regulations require “seven days without reason to return goods,” resulting in a large number of returned goods. These factors interact to create wild swings in inventories. Consequently, the companies increase the costs while reducing the quality of service. Therefore, how to effectively control the inventory under this environment has become a research hotspot in recent years.

Literature [4] studies the joint order decision of retailer optimal pricing when the order demand is out of stock due to price changes. Literature [5] studies the optimal pricing and ordering of the supply chain and its members when the market demand of the products depends on the price and consumers’ time preference. Literature [6] constructed a multivariety-combined replenishment inventory model with the demand dependent on the deterioration time based on the characteristics of the nonimmediate deterioration of the products. In the above literature on perishable inventory strategy, the price decision alone was considered, while the replenishment cycle was out of consideration. In some inventory systems, such as the fashion goods inventory, when the goods are out of stock, the length of waiting time for each replenishment will directly affect whether the consumers can accept the delayed arrival of goods. Some scholars have conducted in-depth studies on the combination of the replenishment cycle and pricing. Literature [7] considers the demand dependence of nonimmediate perishable products on the price and product quality and studies the joint decision of the optimal price and replenishment cycle. Literature [8] assumes that price is a time-varying function of the discount rate and initial price, and the demand rate depends on the price and product quality. It studies stock replenishment and pricing decisions for perishable products. The above literature does not consider the impact of the price changes of perishable products during the sales period. Literature [9] analyzes the impact of price discount before product deterioration on unit profit. Others have studied retailers’ promotional efforts on perishable goods. Literature [10] takes dynamic pricing, promotion efforts, and delayed payment of the perishable products into consideration and constructs a corresponding joint decision model of ordering and pricing. Literature [11] established a two-stage ordering decision model of dynamic perishable goods sellers to study the ordering decision of the sellers. Literature [12] studies the joint pricing and replenishment of nonimmediate deterioration products on the basis of considering the promotion efforts, price-sensitive random demand rate, and partial delayed order.

People often adopt the inventory defense strategy [13] in addition to the combination of multisource ordering [14] and other means to cope with supply interruptions. Literature [15] evaluated the defensive effects of various strategies. Literature [16], after summarizing the achievements made in the past 20 years, points out that the interruption problem related to the demand and supply state needs to be solved urgently. In this regard, literature [17] studied the use of product substitution strategy to alleviate the panic buying caused by interruptions. To deal with the impact of returned goods on inventory, researchers also put forward many effective measures. Literature [18] studies the inventory control problem in an unrelated environment of return and supply interruption. In addition, for special returns, literature [19] studied the design of the closed-loop supply chain network under the interruption of supply facilities.

Supplier selection is one of the main contents of e-commerce warehouse management. When choosing the suppliers, it is easy to be influenced by the emotional factors of the decision makers. Therefore, there is no quantitative standard for supplier evaluation, and it is difficult to achieve reasonable, objective, and comprehensive evaluation. If e-commerce warehouse management is to continue to develop efficiently and reliably, it is necessary to establish a set of scientific and effective evaluation systems for supplier selection and decision-making. The innovations and contributions of this paper are listed below.(1)Based on the TRIZ (theory of the solution of inventive problems) theory, this paper makes an in-depth analysis of the e-commerce warehouse management supplier selection to solve the inventory control problem in the environment related to demand and return and supply status.(2)TRIZ principle is used to solve the problem that it is difficult to evaluate suppliers comprehensively in e-commerce warehouse management.(3)As the parameters of the Markov modulation model depend on the Markov chain, they are changeable. It allows the pricing models to change with market conditions for better reflecting the objective reality. Thus, Markov is used to describe the change of the inventory level, and the horizontal crossing method and multidimensional martingale theory are used to study the construction of the model. On this basis, the new environment of inventory management enlightenment is put forward by the analysis of the influence of key factors.

The chapter structure of this paper is as follows: the TRIZ theory is described in the next section. The third part mainly introduces the algorithm model proposed in this paper. The fourth part is experiment and analysis. The fifth part is the conclusion.

#### 2. TRIZ Theory

TRIZ is the theory of creative problem solving. It is a set of invention and creation theories put forward by the former Soviet Union’s Achishuler and his colleagues in 1946 [20]. For this reason, Achishuler is also known as the “Father of TRIZ.” After years of continuous research by enterprises and scholars, the TRIZ theory has formed a systematic theory to solve invention problems, which is shown in Figure 1.

The content system of TRIZ theory mainly includes the following contents.

##### 2.1. Theoretical Basis

(a)Technical systems: It refers to anything that performs or performs a function. A technical system generally has multiple subsystems, and each subsystem is a technical system in its own right. The subsystems of a technical system interact with each other, and changing one subsystem will inevitably affect the whole system.(b)Conflict is a contradiction: It is another core concept of the TRIZ theory. The TRIZ theory holds that creative problem solving must solve at least one pair of conflicts. In the TRIZ theory, conflict is divided into three categories, namely technical conflict, physical conflict, and management conflict. Technology conflict refers to the deterioration of another feature or parameter when one feature or parameter is improved. Physical conflict refers to two opposite states of a technical system at the same time on a certain characteristic or parameter. Managing conflict is when something needs to be done to achieve certain results or avoid certain phenomena. However, not knowing how to do that means not being able to distinguish between technical conflict and physical conflict.(c)Final ideal solution: It refers to a technical system. If it tends to use fewer resources, more features will be provided with fewer side effects. It is a state that tends to be more ideal. The TRIZ theory holds that there is no perfectly ideal technology system. However, the desired end result can be a signpost for innovation. It makes the “ideality” of the technical system increase continuously and gets closer to the final ideal solution state.(d)The laws of technological evolution: Every technological system is in a state of evolution, in the sense that things are constantly evolving and changing. Achishuler proposed eight rules of evolution. These evolutionary laws can predict the evolution of technological systems, effectively increasing our predictability and moving in their direction.

##### 2.2. Comprehensive Analysis Method

(a)Nine-screen method: It refers to considering not only the current system but also its supersystems and subsystems when analyzing and solving problems. The past and future of the current system are considered. Also, the past and future of the hypersystems and subsystems are taken into account.(b)Functional analysis: It refers to the technical system as a unit from the perspective of realizing the functions and fully analyzes the system, subsystem, super system, and their internal relations or functions.

##### 2.3. Specific Solutions

(a)Technical contradiction invention principle: It refers to the 40 principles of creation summarized by Achishuler according to the categories of technological contradictions. After the main contradiction is obtained based on the contradiction analysis, it can be solved according to the creation principle corresponding to the contradiction matrix table. There are four main steps to define a technical contradiction. Step one is to know what the problem is. Step two is to know what the existing solutions are. The third step is to identify the shortcomings of the existing solution. The fourth step is to know what is improved and what is worsened, i.e., a pair of technical contradictions are formed.(b)Separation principle of physical contradiction: It mainly has four separation principles to solve the physical contradiction problems. The four separation principles are space separation principle, time separation principle, conditional separation principle, and whole and part separation principle.(c)Standard original understanding: It is a construction rule for combining and reorganizing the technical systems. Two functions are contained. One is to help improve an existing system or synthesize a new system. The second is the most effective method to establish the graphical model of the problem, namely the object-field model.(d)Effect library: In the process of analyzing patents, Achishuler used the principles for many of his existing inventions borrowed from the other fields of scientific knowledge. Therefore, one of the methods proposed in the TRIZ theory to solve the problem is the knowledge base. It means applying the relevant laws of the field, especially in other fields, to solve problems.

#### 3. e-Commerce Warehouse Control System of Internet of Things

##### 3.1. Supplier Selection Model

There are many factors influencing the selection of e-commerce warehouse management suppliers. Combined with the general characteristics of e-commerce warehouse management, this paper chooses factors that are easy to measure to evaluate suppliers according to the extraction principle in the 40 invention principles of the TRI billion theory system. Supplier evaluation is mainly carried out from five aspects: product quality, product price, supplier’s technical ability, supplier’s management ability, and supplier’s service ability. Associated with the invention principles of the TRIZ theory system, the evaluation indexes of the five aspects of the supplier selection are determined, and the supplier selection evaluation model is constructed.

Firstly, according to the universal invention principle of the TRIZ theory, the judgment matrix *G* of the supplier selection evaluation system is constructed. The product quality H1, product price H2, supplier’s technical ability H3, supplier’s management ability H4, and supplier’s service ability H5 of the four suppliers (C1∼C4) are compared in pairs. Their relative importance is judged, and the values of each parameter of the judgment matrix *G* are listed according to the judgment results. The same method is applied to construct the judgment matrix of H1∼H5. Taking the judgment matrix *G* of the supplier selection evaluation system as an example, the judgment matrix has the following characteristics:

The maximum feature roots and feature vectors of *G*, H1, H2, H3, H4, and H5 of the supplier selection evaluation system are determined by the combined invention principle of the TRIZ theory. The vector of the judgment matrix *G* of the supplier selection evaluation system is normalized as follows:

Each column of the supplier selection evaluation system judgment matrix is normalized, and the judgment matrix is obtained.

Divide the vector after adding the judgment matrices of the supplier selection evaluation system by *n* to obtain the weight vector.

The calculation will judge the maximum characteristic root of the matrix.

Combined with the homogeneity invention principle of the TRIZ theory, the consistency test of the judgment matrix of the supplier selection evaluation system is carried out. If the test fails, the model should be rebuilt or the judgment matrix should be reconstructed.

The consistency index CI of the judgment matrix is

CI = 0 indicates that the judgment matrix has complete consistency. CI is close to 0, indicating that the judgment matrix has a satisfactory consistency. The larger the CI, the more serious the inconsistency of the judgment matrix.

Calculate the consistency ratio CR of the judgment matrix of the supplier selection evaluation system.

When CR < 0.1, it indicates that the judgment matrix of the product quality has a satisfactory consistency.

When CR ≥ 0.1, it indicates that the judgment matrix of the product quality should be rebuilt.

Using the feedback invention principle of the TRIZ theory, the optimal scheme is selected by calculation. Furthermore, synthesize the pros and cons of the last level of the order.

The final calculation result is the comprehensive score of the evaluation of the supplier in five aspects: product quality, product price, technical ability, management ability, and service ability. The supplier with the highest score is the best supplier choice.

##### 3.2. Warehouse Control System

###### 3.2.1. Problem Description

Assume that a retailer sells a product and accepts returns. Set return without defect after repackaging into the stock as new products to meet the needs of users. The supply state change is described by the state transition of irreducible continuous time Markov chain . Here, has two states. indicates that the time *t* supplier is in the supply (interrupted) state. Its duration obeys the exponential distribution of . To obtain the analytical solution, the user demand rate during this period is set as . The return is a compound Poisson process with the arrival rate , and the batch size follows an exponential distribution with the independent parameter .

Continuous inventory (r, C) strategy is adopted for ordering, i.e., start ordering when the inventory reaches *r* level. Assume that the lead time is 0. If = 1, then the supplier immediately replenishes the inventory to level C. If = 2, the retailer needs to wait until the supplier outage ends before replenishing the inventory to level C. During the operation of the system, if the inventory level is 0, the demand is lost, resulting in out-of-stock costs. If the return exceeds the limit of the inventory capacity C, the retailer will exceed the part of the discount, and the processing time will be ignored. The return fee (including product cost and packaging replacement fee), handling fee, out-of-stock fee, and inventory fee per unit time are , respectively. The fixed and variable costs of the order are and , respectively. Determine *r* and C to minimize the retailer’s long-run average total expense ratio.

###### 3.2.2. Model Construction

According to the problem description, the inventory level is a Markov-modulated Levy process starting from C. is a Poisson process, indicating that it returns to the batch at time . , , … is the independent exponential distribution sequence of the parameter and represents the quantity of the returned goods in each batch.

To facilitate the determination of the amount of returned goods, the remaining inventory space process is analyzed below. Since the returns beyond C are processed, W can be represented as a Markov-modulated Levy process reflected at 0.

Here, the local time process gives us the amount of returned goods processed up to time T. Obviously, the process in state *J* is zero.where . It can be seen from the strong Markov property of Levy process that *M* is a renewal process. Update the optional interrupt end point at which the supplier completes replenishment.

If is defined as a subloop running from level 0 to level C, then a loop of may have multiple subloops embedded in it. If the number of subcycles is *T*, it can be known from the strong Markov property of Levy process that N follows geometric distribution. Let the running time of the subcycle be and the probability that process reaches the level C corresponding to a state be .

The expected number of subcycles is . The expected time of the cycle is as follows:

In addition, let the cycle time of be , and it can be seen from the description of the problem that follows an exponential distribution with parameters . Thus, the expected time of a cycle of process is as follows:

The cost function of building the system according to the operation of is as follows:(1)Inventory cost function: According to the limit theorem of the renewal process, the stationary distribution function of and exists and is set as and , respectively. The expected inventory cost of a cycle is as follows:(2)Return cost function: since return is a compound Poisson process, the amount of return per unit time is equal to the sum of the product of the amount of return per state and the corresponding state’s long-range time. The expected return cost of a cycle is as follows:(3)Deal with the cost function: For phase 1, the desired return processing amount for state *y* is . For phase 2, where the amount of returned goods is , the expected return processing the cost for a cycle is as follows:(4)Shortage cost function: Shortages occur only in stage 2, and given as expected shortages, the expected shortage costs for a cycle are as follows:(5)Replenishment cost function: The replenishment amount of stage 1 subcycle is . Assume that the inventory level before the end of stage 2 is . Then, the replenishment quantity is . The expected replenishment cost for a cycle is as follows:

Based on the renewal reward theorem, the long-term average expense ratio model is constructed as follows:

###### 3.2.3. Determination of Functions in the Model

Since and are Markov-modulated Levy processes, it is difficult to obtain the undetermined functions by traditional methods. Kella–Whitt martingale is an effective tool for solving the Levy process problems.

Let Q(n) be a Markov-modulated Levy process. If , the equation obtained is as follows:

It is the 0 mean (row) vector martingale, where is an N-dimensional row vector whose y^{th} component is 1 and remainder is 0. is the matrix exponent of Q(n). V is the state transfer rate matrix of *y*. is the Levy index of .

For this problem, if , then . The process L(n) only changes when , and hence, it is simplified as follows:

Therefore, we can get,

The matrix exponentials are as follows:

The Kella–Whitt martingale described above is used to determine the function to be solved. Firstly, the optimal sampling theorem for is obtained from equation (22).

By , four roots can be obtained, satisfying the right column vector right column vector. In equation (25), take and multiply with .where . To solve this equation, it can be obtained as follows:

Among them,

Then, using the obtained and , simplified for (25), it can be obtained as

Substitute given in equation (22) into equation (29) and obtain

Let ⟶0 in equation (30), and apply L’Hopital’s rule on the right side of the equation.

It can be obtained from equation (31).

In addition, the number of subcycles in time obeys geometric distribution.

Using the ergodic theorem and equation (33), it can be obtained.

The value can be determined by substituting equations (30) and (32) into (34). On this basis, it can be obtained.

Equation (35) is easy to be obtained using equation (34), however, the result is long and tedious. Considering space limitation, it is omitted here.

Process is a Levy process that starts from level C and runs in interval [0, C]. The expectation of steady-state is zero. It can be obtained as follows:

#### 4. Experiment

##### 4.1. Simulation Experiment of Supplier Selection

The four alternative suppliers of commodity *Z* are C1, C2, C3, and C4. The relative weight of each indicator is given by experts according to the importance scale. Construct the judgment matrix of supplier choice A, product quality H1, product price H2, supplier’s technical ability H3, supplier’s management ability H4, and supplier’s service ability H5. Construct the judgment matrix of C1, C2, C3, and C4 relative to the product qualification rate H11, raw material supply condition H12, product production equipment, and product inspection equipment condition H3. The judgment matrix of the supplier choice *G* and its weight are shown in Table 1. The judgment matrix of product quality H1 and its weight are shown in Table 2.

The supplier selection judgment matrix and its weight are calculated, and the consistency of the constructed judgment matrix is tested. By the analysis of the calculation results, the values of CI and CR are less than 0.1. It shows that the constructed judgment matrix has a satisfactory consistency. According to the calculation, the total score of supplier C1 is 0.2623. The total score of supplier C2 was 0.3044. The total score of supplier C3 was 0.2074. The total score of supplier C4 was 0.2259. Therefore, the four suppliers of commodity A should be selected in priority order: (1) C2, (2) C1, (3) C4, and (4) C3. Therefore, supplier C2 should be selected as the supplier of commodity *Z*.

##### 4.2. Simulation Experiment of Supplier Selection

Using the function obtained above, the system optimization model is constructed as follows:where can be calculated by equations (15) to (19). Obviously, the above equation is a nonlinear optimization function with constraints, and its optimal solution can be determined by Matlab.

The purpose of the simulation is to analyze the influence of the system parameter variation on the optimal control strategy and and cost under the new environment. Referring to the commonly used model of demand and price multiplication, the relationship between the demand rate and supply interruption is defined as follows:where represents the correlation between the demand and supply interruption. is the interruption intensity (i.e., the ratio of mean interruption time to supply time (). Similarly, the return rates and supply disruptions are defined as follows:where is the correlation between the returned goods and supply interruptions. Obviously, if and are 0, then , . It means that the demand and returns are independent of supply disruptions.

The influence of the change of the interrupt intensity and type is studied in the case of demand and interrupts. Here, the change of interrupt type is realized by adjusting the value of recovery rate for a given interrupt intensity . Other parameters take the basic values, and the optimal results of the system are shown in Figures 2 and 3, respectively.

As can be seen from Figure 2, , , and increase with the increase of . The reason is that the increase of leads to the increase of the demand rate . To avoid large shortages and order costs, the retailers raise and , resulting in higher .

By comparing Figures 2 and 3, it can be seen that the change of interrupt type does not change the influence trend of on , , and . However, with the increase of , , , and tend to decrease. The reason for this is that as changes from small to large, the interrupt type changes from low frequency with long duration to high frequency with short duration. Suppliers can recover more quickly from disruptions, and retailers do not need to keep high inventories to guard against shortages caused by disruptions. Therefore, both and decrease gradually, and also decreases.

#### 5. Conclusion

Cross-border Internet of Things e-commerce is developing rapidly and has become an important development strategy for countries all over the world. However, the environment of cross-border Internet of Things e-commerce is becoming more and more complex, which is influenced by international factors, transportation, policies, and other factors. The supplier selection of e-commerce warehouse management is deeply analyzed based on the TRIZ theory, aiming to improve the rationality of inventory control. With expressing the change of the inventory level as a Markov-modulated Levy process, the model of the system’s long-range average total cost ratio is constructed using the horizontal traversal, updating process, and multidimensional martingale theory. The feasibility of the system is verified by a simulation experiment. Future work will add the international trade situation, the climate, and other real-time change factors into the influence factors of the algorithm to make the model more consistent with the objective situation. The efficiency of the algorithm will be analyzed in future work.

#### Data Availability

The labeled datasets used to support the findings of this study are available from the corresponding author upon request.

#### Conflicts of Interest

The authors declare that they have no conflicts of interest.