The hottest supply chain management based on Web S

2022-09-30
  • Detail

Supply chain management based on Web Services

we will start with a typical e-commerce application: supply chain management application, and explain how to design and implement supply chain application based on Web services system

this is a simplified supply chain application, which involves two business entities, home electronics retailers and home electronics manufacturers. Home electronics retailers sell appliances directly to end users, and the specific commodity supply is provided by various home electronics manufacturers. In this scenario, two supply links are involved, which are between consumers (end users) and retailers, and between retailers and manufacturers. The first step is a typical B2C business model. The application can be an online shop. End users submit orders in shopping stations through browsers to purchase electrical appliances. The second link is a typical B2B business model. Retailers submit order contracts to manufacturers on a regular basis according to their orders. The specific implementation may be the application integration of the retailer's order management system and the manufacturer's sales system. When the manufacturer gets the order contract, it needs to make a production plan according to the overall order situation (of course, other retailers order from it) (3) cooling effect plan, and order from its own parts suppliers. In order to simplify the description, the downstream parts supplier ordering link is omitted here, assuming that the manufacturer can produce products by itself. Figure 1 illustrates the structure of this application scenario

among them, art consumer electronics (ACE), a retailer of household electronic products, is an appliance retail company located in art city. Its suppliers are several consumer home appliance manufacturers in Art City, which we call manufacturing a, manufacturing B... Manufacturing n. Ace has set up several warehouses warehouse A, warehouse B... Warehouse Z in the whole city to store the products of various manufacturers. In principle, one warehouse mainly stores the products of one or two manufacturers (for the sake of simplifying the process and simple description)

The overall operation process of ace can be briefly described as follows:

1 The buyer submits the purchase order to ace through the retail window of ACE (which may be a sales Station)

2. Ace retail window sends a request for goods to the relevant warehouse according to the type of order. After the warehouse responds respectively, if the retail window determines that the order demand can be met, it will respond to the buyer's order confirmation and send a delivery request to the corresponding warehouse at the same time

3. After receiving the delivery request, the warehouse will confirm the delivery request and deliver the goods at the same time. After the delivery process, check the inventory. If the inventory level of the specified goods is below the critical value, send an order request to the corresponding manufacturer

4. After receiving the order request, the manufacturer arranges and checks the production plan and inventory. If it can be met, confirm and deliver; If it cannot be satisfied, an unsatisfied response is returned

case analysis

according to the requirements described above, the system can be defined. Among them, three roles are mainly considered: customers (buyers), retail systems (including retail windows and warehouses), and manufacturers. There are five use cases included:

uc1, purchase goods, and customers purchase goods from the retail system

uc2, deliver goods, and the retail system checks and issues goods from the warehouse

uc2, replenish goods. The retail system should request the manufacturer for replenishment of goods due to insufficient inventory

uc4, supply goods, and the manufacturer shall supply goods at the request of the retail system

uc5, produce goods. When the manufacturer's inventory is insufficient, produce goods

since the focus of this article is on application rather than technology, the detailed introduction of use case is not given in this article. We first give some non functional requirements assumptions, which is the basis for our most preliminary design. After the preliminary design, we will gradually relax the restrictions to see what improvements the overall system needs to make at this time

1. A single order can contain multiple description items, each of which is specific to a specific product and includes the ordered quantity. In an order, the same product in the same order cannot appear in two different items

2. The minimum quantity of order items is 1, and the maximum is unlimited

3. For an order, for a certain product, only the response that can be satisfied or can not be satisfied can be made, and there can be no response that can be partially satisfied. For example, if there are 10 stocks and 20 orders, we can only make unsatisfied responses

4. For an order, for a certain product, it can only be delivered from one warehouse, rather than a combination of multiple warehouses to meet its needs. This is similar to the third point

5. Either the order is satisfied or the order is rejected, and the order Jinan assay sole proprietorship will not be cached in the waiting queue

6. The actual payment and distribution links will not be involved in this system

7. Manufacturers can always meet ace's orders, whether using existing inventory to meet demand or through production

8. When an order from a customer makes the inventory of a warehouse lower than the preset value, the warehouse will request the supply of goods from the corresponding manufacturer

Application module structure design

according to the previous use case analysis, we can plan the system as shown in Figure 2. The retail system consists of three components:

1 Online B2C web application, which is a B2C station application that provides ordering

2. Warehouse service, which provides warehouse management of retail system and web service interface. Because the warehouse is in charge of the practice of Jinan experimental machine we see in the world, it should be called the material experimental mechanism system. There are many users (clients) of the system, including the company's financial system, logistics system and other systems, in addition to the ordering system. Therefore, the architecture of web service will make the interoperability more flexible

3. Logistics service, which provides the logistics management required by the warehouse in the retail system. Similarly, this service also provides a web service interface. In addition to the reasons similar to warehouse service, it standardizes the interface web service of logistics service. In the future, we can easily upgrade this system to the mode of using third-party logistics

the manufacturer's system consists of four components:

1 Order service, which is a B2B commodity ordering service, receives commodity ordering services from retailers and agents, and deploys it as a web service, which can facilitate B2Bi (B2B integration) with the systems of various retailers and agents

2. Warehouse service, which provides warehouse management of the manufacturer's system, and provides a web services interface. Because there are many users (clients) of the warehouse management system, including the company's financial system, production system, logistics system and other systems in addition to the ordering system, the framework of web service will make the interoperability more flexible

3. Logistics service, which provides the logistics management required by the warehouse in the manufacturer's system, also provides a web service interface. In addition to the reasons similar to warehouse service, by standardizing the interface web service of logistics service, we can easily upgrade this system to the mode of using third-party logistics in the future

4. Manufacturing system, the manufacturer's production system. Generally speaking, this system has already existed. We need to encapsulate the interface provided according to the needs, but it is generally difficult, so we can consider using the currently available API in other applications. If the platform technology allows, technical transformation can also be carried out

service interface design warehouse service

warehouse management is one of the most important components of supply chain management. First, let's define the web service interface of the warehouse service. Through the previous analysis, we should be able to understand that the warehouse service in the retail system and the manufacturer system is very similar. We will start from the warehouse service of the retail system

the warehouse service of the retail system should include the following APIs:

◆ set and update the maximum inventory value and minimum inventory value of the specified products

◆ query the current inventory of specified products

◆ warehousing of goods

◆ goods ex warehouse

setstoragelevel

set the API message to update the maximum inventory value and minimum inventory value of the specified product as the setstoragelevel function call. In a setstoragelevel message, you can set the inventory value of 1 to more items. Specific settings can be made through the storagelevel sub element, where minlevel (minimum inventory value) and MAXLEVEL (maximum inventory value) can optionally appear or not appear. If they appear, it means to update the settings of the corresponding values. The method of specifying related products is to set the corresponding product ID in the property productid of storagelevel

queryproduct

the API message for querying the current inventory of a specified product is a queryproduct function call. By passing in 1 to multiple productids, you can request to return the inventory status of these commodities. The return message of this call is productinfo, which contains multiple productinfo elements corresponding to the incoming productid. Each productinfo element contains four child elements: productid, minlevel, MAXLEVEL, and currentquantity. Minlevel and MAXLEVEL represent the minimum inventory value and maximum inventory value of the commodity respectively, while currentquantity represents the current inventory value of the commodity

importproduct and exportproduct

the API message of commodity warehousing is the importproduct function call. By passing in multiple productio elements, it is used to represent multiple goods received and their quantities. Correspondingly, the API message of commodity delivery is the function call of exportproduct. By passing in multiple productio elements, it is used to represent multiple goods received and their quantities. The two productio elements here refer to different composite types: productimporttype and productexporttype. Both types inherit the same compound type productiotype. In addition to the productid and quantity elements that publicly represent products and product quantities, productimporttype contains additional manufactoryid elements to represent manufacturers. The productexporttype contains an additional userid to represent the ordering user of the delivery. As for the delivery information of users, it is managed by the user system

the warehouse service of the retailer system was introduced earlier. As for the warehouse service of the manufacturer system, its importproduct and exportproduct APIs will be different. For importproduct, manufactoryid is not required, because it is always produced in its own factory; The reason why exportproduct should use warehouseid of retailer system instead of userid is obvious

the API given above is an API prototype design. In specific use, for different warehouses, we usually use the same service for management, so the warehouseid must be passed in. For this requirement, we have two choices: scheme a is to add a warehouseid attribute to the root node of the API message to distinguish access to different warehouses; Scheme B adds HTTP get type parameters after the URL of the service entry

Copyright © 2011 JIN SHI