Supply chain collaborative optimization method and device, equipment, storage medium and product
Through the supply chain collaborative optimization method, the status of each node is obtained and the action value function and digital twin model are used to solve the problem of inability to make collaborative decisions in supply chain management in the existing technology, and achieve the effect of improving supply chain efficiency and information sharing.
Patent Information
- Application Number
- CN202410496888.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-23
- Publication Date
- 2024-10-22
AI Technical Summary
Existing supply chain management technology cannot realize collaborative decision-making among supply chain participants, resulting in low overall efficiency, information asymmetry and weak coordination capabilities, making it impossible to make decisions that maximize the value of the supply chain.
Through the supply chain collaborative optimization method, the status information of each node is obtained, and the preset action value function and digital twin model are used to determine the action value executed in different states to achieve the maximum benefit and overall efficiency decision-making of the supply chain nodes.
It enables supply chain nodes to accurately make decisions with the greatest action value for the supply chain, improves the overall supply chain efficiency, and reduces information asymmetry and coordination costs.
Smart Images

Figure CN118821985A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to, but is not limited to, the field of supply chain management technology, and in particular to a supply chain collaborative optimization method, device, equipment, storage medium and product. Background Art
[0002] Supply chain refers to the network structure formed by upstream and downstream enterprises involved in providing products or services to end users during the production and circulation process. The purpose of supply chain management is to optimize the supply chain and supervise and guide the execution process of the supply chain to achieve the effects of reducing supply chain costs and improving efficiency.
[0003] Existing supply chain management is often carried out using multiple software systems such as enterprise resource planning systems, manufacturing execution systems, and warehouse management systems. All upstream and downstream companies aim to maximize local interests, and supply chain participants do not consider each decision from the perspective of the supply chain and are unable to make decisions that have the greatest value to the supply chain. Summary of the invention
[0004] In view of this, the present application provides a supply chain collaborative optimization method, device, equipment, storage medium and product, which can determine the decision with the greatest action value under the current state of the supply chain node.
[0005] The technical solution of the embodiment of the present application is implemented as follows:
[0006] In a first aspect, the present application provides a supply chain collaborative optimization method, which is executed by a supply chain node, and the method includes: obtaining a first state of the supply chain node, current node information of the supply chain node, and current node information of other supply chain nodes, the first state being the state of the supply chain node in the i-1th time unit, and i being an integer greater than or equal to 2; determining a second state of the supply chain node based on the first state, the current node information of the supply chain node, and the current node information of the other supply chain nodes, the second state being the state of the supply chain node in the i-th time unit; determining a first action with the maximum action value of the supply chain node in the second state through a preset action value function, wherein the action value function is used to indicate the action value corresponding to the supply chain node performing different actions in different states.
[0007] In some possible implementations, the action value is determined based on node rewards, and the node rewards include at least one of global rewards, individual rewards, and collaborative rewards; the individual reward is obtained after the supply chain node performs the second action; the global reward is calculated by the central node after the supply chain node performs the third action, and the third action is used to maximize the profit margin of the supply chain; the collaborative reward is obtained when the supply chain node meets the collaboration conditions with other supply chain nodes.
[0008] In some possible implementations, before determining the first action with the greatest action value of the supply chain node in the second state through a preset action value function, the method further includes: obtaining the action value function of the supply chain node; initializing the action value function of the supply chain node to obtain the initial action value of each action of the supply chain node in each state; obtaining the node reward of each action of the supply chain node in each state; starting from the initial action value of each action of the supply chain node in the second state, determining the action value of each action of the supply chain node in the second state by iteratively calculating the action value update equation.
[0009] In some possible implementations, before determining the first action with the maximum action value of the supply chain node in the second state through a preset action value function, the method also includes: obtaining a first digital twin model of the supply chain node; wherein the first digital twin model is generated based on a supply chain knowledge graph and a second digital twin model of each supply chain node of the supply chain, the supply chain knowledge graph is used to represent the dependency relationship between each node of the supply chain, and the second digital twin model is used to simulate the node information of the supply chain node; using the first digital twin model to perform scenario simulation and analysis to evaluate the impact of different decisions on the supply chain; and determining the action of the supply chain node to maximize its own interests in the second state.
[0010] In some possible implementations, obtaining the first digital twin model of the supply chain node includes: obtaining the dependency relationship between the nodes of the supply chain from the supply chain knowledge graph; wherein the dependency relationship includes upstream and downstream relationships and material supply relationships; and adding the dependency relationship between the second digital twin models of each supply chain node to obtain the first digital twin model.
[0011] In some possible implementations, the supply chain knowledge graph is constructed by the following steps: representing the structured knowledge in the supply chain big data as knowledge graph triples; performing natural language processing on the unstructured knowledge in the supply chain big data, extracting elements and relationships and converting them into knowledge graph triples; and constructing the supply chain knowledge graph based on the knowledge graph triples.
[0012] In some possible implementations, after constructing the supply chain knowledge graph, the method further includes: performing knowledge reasoning based on existing knowledge data in the supply chain big data to obtain new knowledge graph triples; wherein the knowledge data includes the knowledge possessed by each node in the supply chain for maintaining the operation of the supply chain; and associating the new knowledge graph triples to the supply chain knowledge graph.
[0013] In some possible implementations, after constructing the supply chain knowledge graph, the method further includes: obtaining newly added data; wherein the newly added data includes knowledge data newly added to the supply chain big data; representing the structured knowledge in the newly added data as knowledge graph triples; performing natural language processing on the unstructured knowledge in the supply chain big data to extract elements and relationships and convert them into knowledge graph triples; and associating the knowledge graph triples of the newly added data to the supply chain knowledge graph.
[0014] In some possible implementations, after constructing the supply chain knowledge graph, the method further includes: visually displaying the supply chain knowledge graph.
[0015] In some possible implementations, before constructing the supply chain knowledge graph, the method further includes: constructing a knowledge base for each participant in the supply chain; using each knowledge base to collect knowledge data of the corresponding participant to form supply chain big data; wherein the knowledge data includes the knowledge possessed by the participant for maintaining the operation of the supply chain; and preprocessing the knowledge data into the format required by the supply chain knowledge graph.
[0016] In a second aspect, the present application provides a supply chain collaborative optimization device, which includes: an acquisition module, used to obtain a first state of the supply chain node, current node information of the supply chain node, and current node information of other supply chain nodes, the first state being the state of the supply chain node in the i-1th time unit, and i being an integer greater than or equal to 2; a state determination module, used to determine a second state of the supply chain node based on the first state, the current node information of the supply chain node, and the current node information of the other supply chain nodes, the second state being the state of the supply chain node in the i-th time unit; a decision module, used to determine a first action with the maximum action value of the supply chain node in the second state through a preset action value function, wherein the action value function is used to indicate the action value corresponding to the supply chain node performing different actions in different states.
[0017] In a third aspect, the present application provides an electronic device, comprising a memory and a processor, wherein the memory stores a computer program that can be run on the processor, and when the processor executes the program, it implements the steps in the method described in the first aspect or any possible implementation manner of the first aspect.
[0018] In a fourth aspect, the present application provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the method described in the first aspect or any possible implementation manner of the first aspect.
[0019] In a fifth aspect, the present application provides a computer program product, which includes a computer-readable storage medium storing a computer program. When the computer program is read and executed by a computer, it implements the steps of the method described in the first aspect or any possible implementation manner of the first aspect.
[0020] The present application provides a supply chain collaborative optimization method, in which a supply chain node can determine a second state after obtaining the first state of the supply chain node, the current node information of the supply chain node, and the current node information of other supply chain nodes; and, through a preset action value function, determine the first action of the supply chain node with the greatest action value in the second state. By determining the first action of the supply chain node with the greatest action value in the second state, the method avoids the situation where the supply chain node only considers local interests without considering the supply chain, and enables the supply chain node to accurately make decisions with the greatest action value for the supply chain.
[0021] It should be understood that the above general description and the following detailed description are merely exemplary and explanatory, and are not intended to limit the technical solutions of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] The drawings herein are incorporated into the specification and constitute a part of the specification. These drawings illustrate embodiments consistent with the present application and are used together with the specification to illustrate the technical solution of the present application.
[0023] Figure 1 A schematic diagram of supply chain participants established on a regional alliance chain provided in an embodiment of the present application;
[0024] Figure 2 A flow chart of a supply chain collaborative optimization method provided in an embodiment of the present application;
[0025] Figure 3 A schematic diagram of a supply chain knowledge graph provided for an embodiment of the present application;
[0026] Figure 4 A schematic diagram of a supply chain collaborative optimization device provided in an embodiment of the present application;
[0027] Figure 5 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0028] The following is a description of the embodiments of the present application in conjunction with the drawings in the embodiments of the present application. In the following description, reference is made to the drawings that form a part of the present application and show the specific aspects of the embodiments of the present application or the specific aspects of the embodiments of the present application in an illustrative manner. It should be understood that the embodiments of the present application can be used in other aspects and may include structural or logical changes not depicted in the drawings. Therefore, the following detailed description should not be understood in a restrictive sense, and the scope of the present application is defined by the appended claims. For example, it should be understood that the disclosure of the described method can be equally applicable to the corresponding device or system for performing the method, and vice versa. For example, if one or more specific method steps are described, the corresponding device may include one or more units such as functional units to perform the one or more method steps described (for example, one unit performs one or more steps, or multiple units, each of which performs one or more of the multiple steps), even if such one or more units are not explicitly described or illustrated in the drawings. On the other hand, for example, if a specific device is described based on one or more units such as functional units, the corresponding method may include a step to perform the functionality of the one or more units (e.g., a step to perform the functionality of the one or more units, or multiple steps, each of which performs the functionality of one or more of the multiple units), even if such one or more steps are not explicitly described or illustrated in the drawings. Further, it should be understood that, unless otherwise explicitly stated, the features of the various exemplary embodiments and / or aspects described herein may be combined with each other.
[0029] Supply chain refers to the network structure formed by upstream and downstream enterprises involved in providing products or services to end users during the production and circulation process. The purpose of supply chain management is to optimize the supply chain and supervise and guide the execution process of the supply chain to achieve the effects of reducing supply chain costs and improving efficiency.
[0030] Common supply chain management technology solutions include: Enterprise Resource Planning (ERP): realizes the management functions of production, inventory, logistics, finance, etc. within the enterprise, but is limited to the internal scope of the enterprise; Manufacturing Execution System (MES): realizes production monitoring and tracking management at the workshop level, lacks coordination with upstream and downstream; Warehouse Management System (WMS): manages warehousing, outbound, storage, etc., but has limited coverage; Transportation Management System (TMS): manages freight, mainly used in third-party logistics companies; Supply Chain Management System (SCM): manages end-to-end information flow and capital flow from procurement to manufacturing to distribution, but has limited integration; Electronic Data Interchange System (EDS): manages end-to-end information flow and capital flow from procurement to manufacturing to distribution, but has limited integration; Electronic Data Interchange System (EDS): manages end-to-end information flow and capital flow from procurement to manufacturing to distribution, but has limited integration; Electronic Data Interchange System (EDS): manages end-to-end information flow and capital flow from procurement to manufacturing to distribution, but has limited integration. EDI) system: realizes the standardized transmission of structured information between enterprises, but is limited to formatted data exchange; ERP / MES / WMS / TMS system integration: integrates the above systems to achieve connection from procurement to production to warehousing to distribution, but the degree and depth of integration are limited; Internet-based information sharing platform: uses the Internet to connect upstream and downstream enterprises and provide a shared information platform, but information is mainly shared statically; supplier management system (supplier relationship management, SRM): manages and optimizes the business processes between enterprises and suppliers, and is limited to the supply side.
[0031] The above supply chain management technology solutions have the following main disadvantages: information islands: information exchange between upstream and downstream enterprises in the supply chain is not smooth, resulting in the inability to coordinate and optimize as a whole; static management: unable to perceive supply chain dynamics in real time, difficult to respond and adjust quickly to changes; local optimization: lack of coordination between enterprises, often aiming to maximize local interests, resulting in low efficiency of the overall supply chain; decision-making relies on experience: decisions mainly rely on manual experience and judgment, but personal experience is limited and it is difficult to cope with complex changes; high trial and error costs: there are a lot of uncertainties in experience-based decisions and physical trial and error, and the cost of failed trial and error is very high; weak coordination ability: coordination between enterprises relies on manual communication, the coordination speed is slow, and misunderstandings are prone to occur; information asymmetry: information sharing is not smooth, and the visibility of different enterprises is different, resulting in information asymmetry; poor traceability: the flow process and information of products in the supply chain are difficult to trace, and there are risks.
[0032] The embodiments of the present application provide a supply chain collaborative optimization method, device, equipment, storage medium and product, which can determine the decision with the greatest action value in the current state of the supply chain node.
[0033] In some embodiments of the present application, the supply chain is established on a regional alliance chain. The regional alliance chain includes multiple nodes, each of which creates a digital identity for multiple participants in the supply chain. The digital identity is used for confirmation and authorization between nodes, and the participants in the supply chain communicate on the regional alliance chain.
[0034] Among them, supply chain participants are the components of the supply chain. Participants are connected in the supply chain based on upstream and downstream relationships and material supply relationships to enable the supply chain to operate normally.
[0035] For example, Figure 1 The regional alliance chain shown in has nodes a, b, c, d, e and f. The digital identity of the raw material supplier is created on node a, the digital identity of the parts manufacturer is created on node b, the digital identity of the terminal product manufacturer is created on node c, the digital identity of the distributor is created on node d, the digital identity of the fund provider is created on node e, and the digital identity of the logistics provider is created on node f. Figure 1 Taking the regional alliance chain shown as an example, the supply chain node that executes the method provided in this application can be any node among node a, node b, node c, node d, node e and node f.
[0036] In some embodiments of the present application, the steps for each node of the regional alliance chain to create a digital identity for the corresponding supply chain participant are as follows:
[0037] Step 1. Each node applies to create a digital identity.
[0038] It should be noted that before each node applies to create a digital identity, the metadata structure of the digital identity on each node is pre-set. The digital identity is the identity identifier used to prove the supply chain participants on the regional alliance node, and the metadata structure is a data structure used to describe the attributes of the digital identity; illustratively, the metadata structure includes the node name, type and organization.
[0039] It is understandable that multiple nodes are designated as accounting nodes within the regional alliance chain, and the generation of each block is jointly determined by all accounting nodes. When each supply chain node executes step 1 to apply for the creation of a digital identity, each supply chain node sends an application signal with the information for creating a digital identity to the accounting node of the regional alliance chain; the accounting node of the regional alliance chain reviews the application signal sent by each supply chain node, and then generates a pair of public and private keys for the supply chain nodes that pass the review and sends an application confirmation signal; each supply chain node completes the application for creating a digital identity after receiving the application confirmation signal from the accounting node of the regional alliance chain.
[0040] Step 2: Write digital identity information and public key.
[0041] Step 3: Each node obtains an address that serves as a unique identifier.
[0042] Step 4. Each node signs the transaction using the corresponding private key to prove ownership of the digital identity.
[0043] Step 5: Each node obtains the access control list and permission scope.
[0044] Step 6. Each node needs to verify its identity and permissions to interact with other nodes or access resources on the regional alliance chain.
[0045] Step 7: When a new node needs to join the regional alliance chain, the new node executes steps 1 to 5.
[0046] Step 8: When an expired digital identity appears, the node that created the expired digital identity is frozen or cancelled.
[0047] In the above embodiments, the communication between the participants in the supply chain is inter-node communication based on the regional alliance chain. The generation of digital identity and the allocation of rights do not rely on the central agency, but are completed through the collaboration of multiple nodes on the regional alliance chain, without centralized single point risk. The management and status update of digital identity are also carried out on the regional alliance chain, not on a centralized server. The access to identity and verification of rights between nodes do not go through the central server, but the nodes are directly carried out on the regional alliance chain, which greatly improves the security and reliability of communication. In addition, the inter-node communication based on the regional alliance chain solves the problem of identity fragmentation of supply chain participants; supply chain participants have different identities in management systems such as enterprise resource planning systems, manufacturing execution systems, warehouse management systems, and transportation management systems, and it is difficult to confirm rights and identify them. However, the digital identity on the regional alliance chain is unified, which facilitates identification and communication between nodes.
[0048] In some embodiments, the formats of data generated by each node on the regional alliance chain are usually inconsistent. In order to achieve sharing and interoperability of data in different formats between multiple nodes, the embodiment of the present application can also construct a multi-source heterogeneous data acquisition platform. The multi-source heterogeneous data acquisition platform can collect multi-source heterogeneous data generated by the Internet of Things, wireless radio frequency identification devices, sensors, industrial control systems, etc., and realize unified digitization of data through data format conversion and data mapping technology.
[0049] The supply chain collaborative optimization method provided in the embodiment of the present application is executed by the supply chain node. Figure 2 As shown, the supply chain collaborative optimization method provided in the embodiment of the present application includes steps S201 to S203.
[0050] Step S201: Obtain the first state of the supply chain node, the current node information of the supply chain node and the current node information of other supply chain nodes, wherein the first state is the state of the supply chain node in the i-1th time unit, and i is an integer greater than or equal to 2.
[0051] It can be understood that in step S201, the supply chain node obtains its own state in the i-1th time unit, the node information of the supply chain node itself in the current time unit, and receives the node information of other supply chain nodes in the current time unit sent from other supply chain nodes.
[0052] In some embodiments, the above-mentioned time unit can be a preset time period, for example, the time unit can be preset as an hour, day, week, month, etc. The node information reflects the ability of the corresponding supply chain participant to provide products or services. For example, the node information includes information such as the capacity and load rate of the supply chain participant corresponding to the node. The state of the supply chain node refers to the willingness of the corresponding supply chain participant to start work. For example, the state of the supply chain node may include product inventory, raw material inventory, and remaining orders. The state of the supply chain node can be recorded from the completion of the creation of the digital identity. The first state is the state of the supply chain node in the i-1th time unit, where i is an integer greater than or equal to 2. For example, the first state may be the state of the supply chain node on the previous day.
[0053] In one example, the time unit is a day, and the supply chain node has created the digital identity information of the steel producer. The upstream of the supply chain node is the iron ore miner, and the downstream is the machinery and equipment manufacturer. The current node information of the supply chain node can be the capacity and load rate of the steel producer on that day; the current node information of other supply chain nodes can be the capacity and load rate of the iron ore miner on that day, and the capacity and load rate of the machinery and equipment manufacturer on that day. The supply chain node corresponding to the steel producer obtains its first state, that is, the supply chain node obtains the state of the steel producer on the previous day, including the number of inventory steel, the number of inventory iron ore, the remaining steel orders, etc. When the supply chain node executes step S201, it obtains the capacity and load rate of the current inventory steel of the steel producer, communicates with the nodes corresponding to the iron ore miner and the machinery and equipment manufacturer, obtains the current capacity and load rate of the iron ore miner, and obtains the capacity and load rate of the machinery and equipment manufacturer.
[0054] Step S202: Determine a second state of the supply chain node based on the first state, the current node information of the supply chain node, and the current node information of other supply chain nodes.
[0055] The second state is the state of the supply chain node in the i-th time unit.
[0056] It can be understood that the supply chain node comprehensively uses its own state in the i-1th time unit, its own node information in the current time unit, and the node information of other supply chain nodes in the current time unit to calculate the state of the supply chain node in the i-th time unit.
[0057] In one example, the time unit is a day, the supply chain node creates a digital identity of the steel producer, the first state is the state of the previous day, and the second state is the state of the current day. When the supply chain node executes step S202, the supply chain node determines the current inventory quantity of steel, the inventory quantity of iron ore, and the current remaining orders of the steel producer based on the previous day's inventory of steel and the previous day's remaining orders, the current capacity and load rate of the steel producer, the current capacity and load rate of the iron ore miner, and the capacity and load rate of the machinery and equipment manufacturer.
[0058] Step S203: Determine the first action with the greatest action value of the supply chain node in the second state through a preset action value function, wherein the action value function is used to indicate the action value corresponding to different actions performed by the supply chain node in different states.
[0059] It is understandable that the supply chain node is preset with an action value function for calculating the action value corresponding to each action. After the supply chain node executes an action, the value of the action value function is the action value of the action. The supply chain node has multiple actions that can be executed in the second state. When the supply chain node executes step S203, the supply chain node obtains the action value corresponding to each action in the second state according to the preset action value function, and then determines the first action with the largest action value in the second state.
[0060] In some embodiments, an action refers to a change made to the current state according to a decision. For example, an action may be to increase or decrease capacity, increase or decrease load rate, increase or decrease purchases, increase or decrease purchase prices, increase or decrease sales prices, etc.
[0061] In one example, the time unit is a day, the supply chain node creates a digital identity of the steel producer, the second state is the state of the day, and the second state of the supply chain node is that the inventory of steel is 5 tons, the current remaining orders are 50 tons, and the current remaining iron ore is 100 tons. One of the actions can be to increase the purchase of 100 tons of iron ore and open a new production line to expand production capacity. The action value function can evaluate the above actions and obtain the action value corresponding to the above actions. After the action value function evaluates various possible actions of the steel producer in the second state, it finds the first action with the largest action value. For example, the first action can be to increase the purchase of 50 tons of iron ore and open 2 new production lines to expand production capacity.
[0062] In the above embodiment, the action value function can be set to simultaneously consider local interests, overall supply chain interests, and collaboration between different supply chain participants, that is, the interests of steel producers, the interests of the overall supply chain, the collaboration between steel producers and iron ore miners, and the collaboration between steel producers and machinery manufacturers can be considered at the same time. Based on the above settings, the supply chain node can select a decision that simultaneously considers local interests, overall supply chain interests, and collaboration between nodes, thereby improving the efficiency of the overall supply chain.
[0063] In some embodiments of the present application, the action value is determined based on the node reward. The node reward includes at least one of the global reward, the individual reward, and the collaborative reward. Among them, the individual reward is obtained after the supply chain node performs the second action; the global reward is calculated by the central node after the supply chain node performs the third action, and the third action is used to maximize the profit margin of the supply chain; the collaborative reward is obtained when the supply chain node meets the collaborative conditions with other supply chain nodes after performing the fourth action.
[0064] It can be understood that the individual reward is used to represent the benefit that the supply chain node brings to itself after performing the second action in the second state, which may be a positive number or a negative number; the collaborative condition may be that after the supply chain node performs the fourth action, the benefits of the supply chain node and other supply chain nodes are improved. Node rewards may include only one of global rewards, individual rewards, and collaborative rewards; node rewards may also be set to the sum of two of the global rewards, individual rewards, and collaborative rewards; node rewards may also be set to the sum of the global rewards, individual rewards, and collaborative rewards. It should be noted that the first action, the second action, the third action, and the fourth action may overlap; for example, the second action and the third action may be the same action, and the first action, the second action, and the third action may be the same action.
[0065] In an exemplary embodiment, the supply chain node is created with the digital identity information of the steel producer; the second state of the supply chain node is that the inventory of steel is 5 tons, the current remaining order is 50 tons, and the current remaining iron ore is 100 tons. If the second action is that the steel producer opens a new production line, and after the steel producer executes the second action, the steel producer's own interests are improved, then the supply chain node obtains a node reward of 20; if the second action is that the steel producer closes a production line, and after the steel producer executes the second action, the steel producer's own interests are reduced, then the supply chain node obtains a node reward of -20. If the third action is that the steel producer purchases 50 tons of iron ore, and after the steel producer executes the third action to maximize the profit margin of the supply chain, then the supply chain node obtains a global reward of 100. If the fourth action is that the steel producer opens a new production line and increases the purchase price, after the steel producer executes the fourth action, the interests of the steel producer and the iron ore miner are both improved, then the supply chain node and the node corresponding to the iron ore miner both obtain a collaboration reward of 50.
[0066] In some embodiments of the present application, before step S203, the method provided by the present application further includes steps S301 to S304.
[0067] Step S301: Obtain the action value function of the supply chain node.
[0068] It can be understood that when the supply chain node executes step S301, it predefines its own state s and action a, and then determines the action value function (such as Q(s, a)) based on the state (such as denoted as s) and the action (such as denoted as a).
[0069] In one example, a Q learning model is created on the supply chain node, and the Q learning model has an action-value function. The supply chain node determines the action-value function corresponding to s and a through the Q learning model, such as Q(s, a); reinforcement learning models such as a state-action-reward-state'-action' (State-Action-Reward-State'-Action', SARSA) model and a deep Q network (Deep Q-Network, DQN) model can also be created on the supply chain node. As long as the model has a corresponding action-value function, the embodiments of the present application do not make specific limitations on this.
[0070] Step S302: Initialize the action value function of the supply chain node to obtain the initial action value of each action of the supply chain node in each state.
[0071] It can be understood that initializing the action value function of the supply chain node refers to assigning an initial value to each action of the supply chain node in each state, that is, the above-mentioned initial action value.
[0072] In one example, after the supply chain node initializes its own action value function, the initial action value of each action of the supply chain node in each state is zero. The initial action value of the supply chain node can be expressed as the following Table 1:
[0073] Table 1
[0074]
[0075] Step S303: Obtain node rewards for each action of the supply chain node in each state.
[0076] It can be understood that before executing step S303, the decision node needs to preset the calculation method of the node reward and input the preset calculation method into the supply chain node. Then the supply chain node executes step S303 to determine the node reward of each action in each state of itself according to the preset calculation method.
[0077] Step S304: starting from the initial action value of each action of the supply chain node in the second state, the action value of each action of the supply chain node in the second state is determined by iteratively calculating the action value update equation.
[0078] It can be understood that the supply chain node is pre-set with convergence conditions for iterative calculations. When executing step S304, the supply chain node starts from the initial action value, calculates the action value update equation for each action in the second state, and performs a convergence judgment after calculating the action value update equation for each action. When the convergence condition is not met, the action value update equation is calculated again until the calculation result of the action value update equation meets the convergence condition.
[0079] In some embodiments, the above-mentioned action value update equation refers to an equation used to update the action value of each action of the supply chain node from the initial action value to convergence.
[0080] In one example, a Q learning model is created on the supply chain node, and the supply chain node determines the action value of each action of the supply chain node in the second state by iteratively calculating the following action value update equation (such as formula (1)):
[0081] Q(s,a)←Q(s,a)+α[reward+γmaxQ(s ′ ,a ′ )-Q(s,a)](1)
[0082] Among them, Q(s,a) represents the action value of various possible actions of the supply chain node in the second state, α represents the learning rate, reward represents the node reward obtained by the supply chain node after taking action in the second state, maxQ(s ′ ,a ′ ) represents the maximum action value of the supply chain node in the third state, and γ represents the discount factor.
[0083] When α=1, the above action value update equation changes to formula (2):
[0084] Q(s,a)←Q(s,a)+reward+γmaxQ(s′,a′)(2)
[0085] From the above description, it can be known that the supply chain node performs the first action in the second state and can realize the action value. The following describes in detail the implementation method of the supply chain node determining the action of maximizing its own interests in the second state.
[0086] In some embodiments of the present application, before step S203, the method provided by the present application further includes steps S401 to S404.
[0087] Step S401: Build a second digital twin model of the supply chain node.
[0088] Among them, the second digital twin model is used to simulate the node information of the supply chain nodes.
[0089] In some embodiments, the supply chain node can construct the second digital twin model and the first digital twin model through the following steps.
[0090] The first step is data collection. The supply chain node collects node status data and historical business data from sensors, RFID and other devices installed in each supply chain participant. The node status data includes the inventory, production progress and traffic flow of the supply chain participant corresponding to the node.
[0091] The second step is data processing. The supply chain node cleans, integrates and annotates the collected data, and then constructs a structured data set.
[0092] The third step is model construction. The supply chain node constructs a second digital twin model based on the structured data set. The second digital twin model can be a physical model, a statistical model, or an artificial intelligence (AI) model.
[0093] The fourth step is model verification. The supply chain node uses the newly collected data to drive the second digital twin model to run, compares the output of the second digital twin model with the actual status of the supply chain, and then adjusts the second digital twin model.
[0094] Step S402: Based on the supply chain knowledge graph and the second digital twin model, construct a first digital twin model of the supply chain node.
[0095] It can be understood that in step S402, the supply chain node determines the dependency relationship between the second digital twin models of each node based on the supply chain knowledge graph, and then the supply chain node aggregates the second digital twin models according to the dependency relationship, and finally forms the first digital twin model. In this way, the first digital twin model can accurately reflect the overall supply chain.
[0096] In some embodiments, the first digital twin model is generated by combining the second digital twin models of each node of the supply chain according to the supply chain knowledge graph. The supply chain knowledge graph mentioned in the embodiments of the present application refers to a data structure based on a supply chain diagram, which is constructed through supply chain participants and the relationship between each participant, and describes the participants and their dependencies in an objective supply chain in a structured manner, such as Figure 3 It should be noted that dependency refers to upstream and downstream relationships and material supply relationships.
[0097] In one example, the supply chain node creates a digital identity of a steel producer, and the supply chain also includes machinery and equipment manufacturers, iron ore miners, etc. The supply chain node determines the dependency relationship between steel producers, machinery and equipment manufacturers, and iron ore miners based on the supply chain knowledge graph that can reflect steel producers, machinery and equipment manufacturers, and iron ore miners, and then combines the second digital twin model of the steel producer, the second digital twin model of the machinery and equipment manufacturer, and the second digital twin model of the iron ore miner to form the first digital twin model.
[0098] Step S403: Use the first digital twin model to perform scenario simulation and analysis to evaluate the impact of different decisions on the supply chain.
[0099] It can be understood that when the supply chain node uses the first digital twin model, the decision node inputs possible decisions into the first digital twin model, the supply chain node obtains the decision input by the decision node, the first digital twin model simulates the scenario after the decision is executed, and analyzes whether its own interests are improved.
[0100] In some embodiments, the impact of the decision includes increasing profit margin, decreasing profit margin, keeping profit margin unchanged, etc. The decision node may be a node on the supply chain, used to transmit the decision to other nodes so that the supply chain nodes can act according to the decision. In some embodiments, the decision node may generally be a user device, server, etc. of a supply chain participant.
[0101] In one example, the supply chain node creates a digital identity of a steel producer, and the supply chain also includes machinery and equipment manufacturers, iron ore miners, etc. The supply chain node obtains the decision input by the decision node to the first digital twin model, where possible decisions include expanding production capacity, reducing production capacity, increasing purchases, reducing purchases, raising or lowering purchase prices, raising or lowering sales prices, etc. The first digital twin model simulates the scenario after the decision is made and analyzes whether the profit margin of the steel producer is improved.
[0102] Step S404: Determine the action of the supply chain node to maximize its own interests in the second state.
[0103] It can be understood that after the supply chain node is simulated and analyzed in step S403, it is able to evaluate the impact of each decision on the supply chain node in the second state, and then when the supply chain node executes step S404, it determines the corresponding action to maximize its own interests based on the impact of each decision in the second state on the supply chain node.
[0104] In one example, the digital identity of the steel producer is created on the supply chain node, the second state is the state of the day, the second state of the supply chain node is 5 tons of steel in stock, 50 tons of current remaining orders, and 100 tons of current remaining iron ore. When the supply chain node executes step S404, the supply chain node determines that increasing the purchase of 50 tons of iron ore and opening two new production lines is a decision to maximize its own interests, and then determines that the action of the supply chain node is to increase the purchase of 50 tons of iron ore and open two new production lines.
[0105] The embodiment of the present application determines the action to maximize the benefits of the supply chain node by implementing steps S401 to S404, and the action is determined by the first digital twin model after simulation and analysis, does not rely on the subjective judgment of the decision node, and reduces the possibility of misjudgment.
[0106] In some embodiments, step S401 may be performed when the action to maximize the benefits of the supply chain node is first determined. In the subsequent confirmation process, the action to maximize the benefits of the supply chain node may be determined by implementing steps S402 to S404.
[0107] In some possible implementations, step S401 includes steps S501 to S503.
[0108] Step S501: Obtain the dependency relationship between nodes in the supply chain from the supply chain knowledge graph.
[0109] It can be understood that the supply chain node obtains the upstream and downstream relationships and material supply relationships between the nodes in the supply chain from the supply chain knowledge graph by executing step S501.
[0110] In one example, the supply chain includes iron ore miners, steel producers and machinery and equipment manufacturers, and the digital identity of the steel producer is created on the supply chain node. The supply chain node obtains the dependency relationship between the iron ore miners, steel producers and machinery and equipment manufacturers through step S501, that is, the supply chain node obtains the following dependency relationship: the iron ore miners are the upstream of the steel producers, the machinery and equipment manufacturers are the downstream of the steel producers, the iron ore miners supply iron ore to the steel producers, and the steel producers supply steel to the machinery and equipment manufacturers.
[0111] Step S502: Based on the second digital twin model, obtain the status data of each node in the supply chain.
[0112] It can be understood that a second digital twin model is created on each node of the supply chain. When the supply chain node executes step S502, the supply chain node obtains the status data of each node in the supply chain from the second digital twin model corresponding to each node in the supply chain through inter-node communication.
[0113] In some embodiments, the status data is used to indicate the ability and willingness of each node to provide products or services in response to supply chain participants, such as the status data including inventory, production capacity, and orders.
[0114] In one example, the supply chain includes iron ore miners, steel producers, and machinery and equipment manufacturers, and the digital identity of the steel producer is created on the supply chain node. The supply chain node obtains the inventory, production capacity, and orders of iron ore from the second digital twin model corresponding to the iron ore miner, obtains the inventory, production capacity, and orders of steel from the second digital twin model corresponding to the steel producer, and obtains the inventory, production capacity, and orders of machinery and equipment from the second digital twin model corresponding to the machinery and equipment manufacturer.
[0115] Step S503: Based on the status data of each node, add a dependency relationship between the second digital twin model of the supply chain node and the second digital twin models of other supply chain nodes to form a first digital twin model of the supply chain node.
[0116] It can be understood that by executing step S503, the supply chain node adds upstream and downstream relationships and material supply relationships between the second digital twin model corresponding to the supply chain node and the second digital twin models corresponding to other supply chain nodes, thereby establishing associations between the nodes in the supply chain, and then a plurality of second digital twin models are combined to form a first digital twin model.
[0117] In one example, the supply chain includes iron ore miners, steel producers and machinery and equipment manufacturers, and the supply chain node has a digital identity of the steel producer. When the supply chain node executes step 503, an upstream-downstream relationship and an iron ore supply relationship are added between the second digital twin model of the supply chain node and the corresponding second digital twin model of the iron ore miner, and an upstream-downstream relationship and a steel supply relationship are added between the supply chain node and the second digital twin model corresponding to the machinery and equipment manufacturer, so that the nodes of the supply chain are associated with each other, and then the plurality of second digital twin models are assembled to form a first digital twin model.
[0118] The embodiment of the present application generates a first digital twin model that integrates a second digital twin model of all nodes in the supply chain through steps S501 to S503, so that the supply chain node uses the actions determined by the first digital twin model to maximize the benefits of the supply chain node.
[0119] In some embodiments, step S502 may be omitted. In this case, by implementing steps S501 and S503, a first digital twin model that integrates the second digital twin models of all nodes in the supply chain can be generated. In this case, the first digital twin model may not include the status data of each node in the supply chain.
[0120] In some embodiments of the present application, the supply chain knowledge graph in the present application is constructed by following steps S601 to S604.
[0121] Step S601: obtaining newly added data; wherein the newly added data includes knowledge data newly added to the supply chain big data;
[0122] Step S602: Represent the structured knowledge in the newly added data as knowledge graph triples.
[0123] In some embodiments, structured knowledge refers to concise, clear and reusable knowledge models extracted with the help of various structures. For example, structured knowledge includes supply chain business processes and the organizational structure of supply chain participants. Figure 3 As shown, the knowledge graph triple is composed of entity 301 and relationship 302, or entity 301 and attribute, in the form of <entity, relationship, entity> or <entity, attribute, attribute value>.
[0124] In one example, the supply chain node can use the resource description framework to represent the supply chain business processes of iron ore miners, steel producers, and machinery equipment manufacturers, and the organizational structure of supply chain participants as knowledge graph triples.
[0125] Step S603: Perform natural language processing on the unstructured knowledge in the supply chain big data to extract elements and relationships and convert them into knowledge graph triples.
[0126] In some embodiments, unstructured knowledge is knowledge that cannot be extracted into a concise, clear, and reusable knowledge model with the help of various structures. For example, unstructured knowledge includes the experiential knowledge of supply chain participants.
[0127] In one example, the supply chain node uses natural language processing technology to extract elements and relationships from the experiential knowledge of iron ore miners, steel producers, and machinery equipment manufacturers, and forms knowledge graph triples based on the extracted elements and relationships.
[0128] Step S604: Associate the knowledge graph triples of the newly added data into the supply chain knowledge graph.
[0129] It can be understood that the supply chain node associates the knowledge graph triples obtained in step S601 and step S603 to form a supply chain knowledge graph.
[0130] The embodiment of the present application constructs a supply chain knowledge graph through steps S601 to S604, which provides a basis for determining the dependencies between the second digital twin models, thereby enabling multiple second digital twin models to be combined to form a first digital twin model.
[0131] In some embodiments of the present application, after constructing the supply chain knowledge graph, the method provided by the present application also includes steps S701 to S702.
[0132] Step S701: Perform knowledge reasoning based on the existing knowledge data in the supply chain big data to obtain new knowledge graph triples.
[0133] It can be understood that in step S701, the supply chain node first uses knowledge reasoning technology to reason based on the existing knowledge in the supply chain big data, obtains new knowledge, and divides the new knowledge into structured knowledge and unstructured knowledge; then, the resource description framework is used to represent the structured knowledge as a new knowledge graph triple, and the natural language processing technology is used to extract elements and relationships in the knowledge, and new knowledge graph triples are formed based on the extracted elements and relationships.
[0134] In some embodiments, the knowledge data includes the knowledge possessed by each node in the supply chain for maintaining the operation of the supply chain, for example, structured and unstructured data such as supply chain business processes, organizational structure, and experiential knowledge.
[0135] Step S702: Associate the new knowledge graph triple to the supply chain knowledge graph.
[0136] It can be understood that when executing step S702, the supply chain node associates the new knowledge graph triples with the existing triples in the supply chain knowledge graph, thereby adding the new knowledge graph to the existing supply chain knowledge graph to form a new supply chain knowledge graph.
[0137] The embodiment of the present application forms a new supply chain knowledge graph through steps S701 to S702. The new supply chain knowledge graph contains inferred knowledge, which makes full use of the supply chain big data and further improves the supply chain knowledge graph.
[0138] In some embodiments of the present application, after constructing the supply chain knowledge graph, the method provided by the present application also includes: obtaining new data; wherein the new data includes newly added knowledge data in the supply chain big data; representing the structured knowledge in the new data as knowledge graph triples; performing natural language processing on the unstructured knowledge in the supply chain big data to extract elements and relationships and convert them into knowledge graph triples; and associating the knowledge graph triples of the new data to the supply chain knowledge graph.
[0139] It can be understood that when new data appears, the supply chain node reads the new data; then, the supply chain node uses the resource description framework to represent the structured knowledge as knowledge graph triples, and uses natural language processing technology to extract elements and relationships in the knowledge, and forms knowledge graph triples based on the extracted elements and relationships; finally, the supply chain node associates the new knowledge graph triples with the existing triples in the supply chain knowledge graph, so that the newly formed supply chain knowledge graph contains the new data.
[0140] In some embodiments of the present application, after constructing the supply chain knowledge graph, the method provided by the present application also includes: visually displaying the supply chain knowledge graph.
[0141] It is understandable that the supply chain node loads the supply chain knowledge graph into a transmission signal, the format of the transmission signal is the format required by the display device, and then transmits the signal carrying the knowledge graph to the display device. After the above embodiment realizes the visual display of the supply chain knowledge graph, the decision node can see the supply chain knowledge graph on a display, a screen or other media that can display images. When the supply chain knowledge graph changes, the decision node can intuitively observe the changes.
[0142] In some embodiments of the present application, before constructing the supply chain knowledge graph, the method provided by the present application also includes steps S801 to S803.
[0143] Step S801: Build a knowledge base of each participant in the supply chain.
[0144] It is understandable that each node in the supply chain collects knowledge data from all participants in the supply chain by building an enterprise cloud disk and creating shared files to build a knowledge base.
[0145] In some embodiments, the knowledge base refers to a knowledge cluster that is easy to operate, easy to use, easy to store, and can be passed on to supply chain participants. For example, the knowledge base includes supply chain business processes, organizational structure, experiential knowledge, training materials, learning materials, customer information, etc.
[0146] For example, each participant in the supply chain builds an enterprise cloud disk and sets permissions such as upload, download, and view for enterprise staff. Different permissions can also be set according to the levels of different personnel to facilitate employees to upload electronic files of various formats containing knowledge data.
[0147] Step S802: Use each knowledge base to collect knowledge data of corresponding participants to form supply chain big data.
[0148] It can be understood that when the supply chain node executes step S802, each knowledge base is used to centralize the knowledge data of the supply chain participants scattered in various storage devices into the knowledge base, and finally form supply chain big data.
[0149] For example, in a supply chain with three participants, namely, iron ore miners, steel producers and machinery and equipment manufacturers, the iron ore miners, steel producers and machinery and equipment manufacturers all use the enterprise cloud disk to collect their own knowledge data, and all the collected knowledge data are brought together to form supply chain big data.
[0150] Step S803: Preprocess the knowledge data into the format required by the supply chain knowledge graph.
[0151] It can be understood that knowledge data has multiple data formats. When executing step S803, the supply chain node uniformly converts the knowledge data in different data formats into the format required by the supply chain knowledge graph.
[0152] In some embodiments, knowledge data preprocessing is achieved through cleaning, labeling and conversion; wherein, cleaning can remove duplicate data and missing data in the knowledge data, labeling can classify the knowledge data, and conversion can convert knowledge data in different formats into the format required by the supply chain knowledge graph.
[0153] In one example, the format of the supply chain knowledge graph is RDF, and the supply chain node converts knowledge data in formats such as DOC, PDF, and JPG into RDF format.
[0154] The embodiment of the present application constructs supply chain big data through steps S801 to S803, and the knowledge data in the supply chain big data conforms to the format required by the supply chain knowledge graph, providing material for the construction of the supply chain knowledge graph.
[0155] like Figure 4 As shown, the present application also provides a supply chain collaborative optimization device 400. The supply chain collaborative optimization device 400 includes an acquisition module 401, a state determination module 402 and a decision module 403.
[0156] The acquisition module 401 is used to obtain the first state of the supply chain node, the current node information of the supply chain node and the current node information of other supply chain nodes, wherein the first state is the state of the supply chain node in the i-1th time unit, and i is an integer greater than or equal to 2.
[0157] The state determination module 402 is used to determine the second state of the supply chain node based on the first state, the current node information of the supply chain node and the current node information of other supply chain nodes, where the second state is the state of the supply chain node in the i-th time unit.
[0158] The decision module 403 is used to determine the first action with the greatest action value of the supply chain node in the second state through a preset action value function, wherein the action value function is used to indicate the action value corresponding to the supply chain node performing different actions in different states.
[0159] In some possible implementations, the action value is determined based on the node reward, which includes at least one of the global reward, the individual reward, and the collaborative reward; the individual reward is obtained after the supply chain node performs the second action; the global reward is calculated by the central node after the supply chain node performs the third action, and the third action is used to maximize the profit margin of the supply chain; the collaborative reward is obtained when the supply chain node meets the collaboration conditions with other supply chain nodes.
[0160] In some possible implementations, the decision module 403 is also used to obtain the action value function of the supply chain node before determining the first action with the maximum action value of the supply chain node in the second state through a preset action value function; initialize the action value function of the supply chain node to obtain the initial action value of each action of the supply chain node in each state; obtain the node reward of each action of the supply chain node in each state; starting from the initial action value of each action of the supply chain node in the second state, determine the action value of each action of the supply chain node in the second state by iteratively calculating the action value update equation.
[0161] In some possible implementations, the decision module 403 is also used to obtain a first digital twin model of the supply chain node before determining the first action with the maximum action value of the supply chain node in the second state through a preset action value function; wherein the first digital twin model is generated based on the supply chain knowledge graph and the second digital twin model of each supply chain node of the supply chain, the supply chain knowledge graph is used to represent the dependency relationship between each node of the supply chain, and the second digital twin model is used to simulate the node information of the supply chain node; the first digital twin model is used to perform scenario simulation and analysis to evaluate the impact of different decisions on the supply chain; and determine the action of the supply chain node to maximize its own interests in the second state.
[0162] In some possible implementations, the decision module 403 is used to obtain the dependency relationships between the nodes in the supply chain from the supply chain knowledge graph; wherein the dependency relationships include upstream and downstream relationships and material supply relationships; and add dependency relationships between the second digital twin models of each supply chain node to obtain the first digital twin model.
[0163] In some possible implementations, the supply chain knowledge graph is constructed through the following steps: representing the structured knowledge in the supply chain big data as knowledge graph triples; performing natural language processing on the unstructured knowledge in the supply chain big data, extracting elements and relationships and converting them into knowledge graph triples; and constructing the supply chain knowledge graph based on the knowledge graph triples.
[0164] In some possible implementations, the decision module 403 is also used to perform knowledge reasoning based on existing knowledge data in the supply chain big data after constructing the supply chain knowledge graph to obtain new knowledge graph triples; wherein the knowledge data includes the knowledge possessed by each node in the supply chain for maintaining the operation of the supply chain; and associate the new knowledge graph triples with the supply chain knowledge graph.
[0165] In some possible implementations, the decision module 403 is also used to obtain new data after constructing the supply chain knowledge graph; wherein the new data includes knowledge data newly added in the supply chain big data; the structured knowledge in the new data is represented as knowledge graph triples; natural language processing is performed on the unstructured knowledge in the supply chain big data to extract elements and relationships and convert them into knowledge graph triples; and the knowledge graph triples of the new data are associated with the supply chain knowledge graph.
[0166] In some possible implementations, the decision module 403 is also used to visualize the supply chain knowledge graph after constructing the supply chain knowledge graph.
[0167] In some possible implementations, the decision module 403 is also used to build a knowledge base of each participant in the supply chain before building the supply chain knowledge graph; use each knowledge base to collect knowledge data of the corresponding participant to form supply chain big data; wherein the knowledge data includes the knowledge possessed by the participant for maintaining the operation of the supply chain; and preprocess the knowledge data into the format required by the supply chain knowledge graph.
[0168] The description of the above device embodiment is similar to the description of the above method embodiment, and has similar beneficial effects as the method embodiment. In some embodiments, the functions or modules included in the device provided in the embodiment of the present application can be used to execute the method described in the above method embodiment. For technical details not disclosed in the device embodiment of the present application, please refer to the description of the method embodiment of the present application for understanding.
[0169] It should be noted that in the embodiment of the present application, if the above-mentioned page rendering method is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on such an understanding, the technical solution of the embodiment of the present application is essentially or the part that contributes to the relevant technology can be embodied in the form of a software product, which is stored in a storage medium, including a number of instructions to enable an electronic device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the methods of each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a U disk, a mobile hard disk, a read-only memory (ROM), a disk or an optical disk. In this way, the embodiment of the present application is not limited to any specific hardware, software or firmware, or any combination of hardware, software, and firmware.
[0170] like Figure 5 As shown, an embodiment of the present application provides an electronic device 500, which includes a memory 501 and a processor 502. The memory 501 stores a computer program that can be executed on the processor 502. When the processor 502 executes the computer program, it implements some or all of the steps in the above method.
[0171] The embodiment of the present application provides a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, some or all of the steps in the above method are implemented. The computer-readable storage medium can be transient or non-transient.
[0172] An embodiment of the present application provides a computer program, including a computer-readable code. When the computer-readable code runs in an electronic device, a processor in the electronic device executes some or all of the steps in the above method.
[0173] The computer program product may be implemented in hardware, software or a combination thereof. In some embodiments, the computer program product is embodied as a computer storage medium, and in other embodiments, the computer program product is embodied as a software product, such as a software development kit (SDK) and the like.
[0174] It should be noted here that the description of the various embodiments above tends to emphasize the differences between the various embodiments, and the same or similar aspects can be referenced to each other. The description of the above device, storage medium, computer program and computer program product embodiments is similar to the description of the above method embodiment, and has similar beneficial effects as the method embodiment. For technical details not disclosed in the embodiments of the device, storage medium, computer program and computer program product of this application, please refer to the description of the method embodiment of this application for understanding.
[0175] It should be understood that "one embodiment" or "an embodiment" mentioned throughout the specification means that specific features, structures or characteristics related to the embodiment are included in at least one embodiment of the present application. Therefore, "in one embodiment" or "in an embodiment" appearing throughout the specification does not necessarily refer to the same embodiment. In addition, these specific features, structures or characteristics can be combined in one or more embodiments in any suitable manner. It should be understood that in various embodiments of the present application, the size of the serial number of each step / process mentioned above does not mean the order of execution, and the execution order of each step / process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiment of the present application. The serial numbers of the embodiments of the present application mentioned above are for description only and do not represent the advantages and disadvantages of the embodiments.
[0176] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.
[0177] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are only schematic. For example, the division of units is only a logical function division. There may be other division methods in actual implementation, such as: multiple units or components can be combined, or can be integrated into another system, or some features can be ignored or not executed. In addition, the coupling, direct coupling, or communication connection between the components shown or discussed can be through some interfaces, and the indirect coupling or communication connection of devices or units can be electrical, mechanical or other forms.
[0178] The units described above as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units; they may be located in one place or distributed on multiple network units; some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0179] In addition, all functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may be a separate unit, or two or more units may be integrated into one unit; the above-mentioned integrated units may be implemented in the form of hardware or in the form of hardware plus software functional units.
[0180] Those skilled in the art will appreciate that all or part of the steps of the above method embodiments may be implemented by hardware associated with program instructions, and the aforementioned program may be stored in a computer-readable storage medium, which, when executed, executes the steps of the above method embodiments; and the aforementioned storage medium includes various media that can store program codes, such as mobile storage devices, read-only memories (ROM), magnetic disks or optical disks.
[0181] Alternatively, if the above-mentioned integrated unit of the present application is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application can essentially or in other words, the part that contributes to the relevant technology can be embodied in the form of a software product, which is stored in a storage medium and includes a number of instructions for an electronic device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the methods of each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as mobile storage devices, ROMs, magnetic disks, or optical disks.
[0182] The above are only implementation methods of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application.
Claims
1. A supply chain collaborative optimization method, characterized in that: Executed by a supply chain node, the method includes: Obtaining a first state of the supply chain node, current node information of the supply chain node, and current node information of other supply chain nodes, wherein the first state is a state of the supply chain node in the i-1th time unit, and i is an integer greater than or equal to 2; Determine a second state of the supply chain node according to the first state, the current node information of the supply chain node, and the current node information of the other supply chain nodes, where the second state is the state of the supply chain node in the i-th time unit; The first action of the supply chain node with the greatest action value in the second state is determined by a preset action value function, wherein the action value function is used to indicate the action values corresponding to different actions performed by the supply chain node in different states.
2. The method according to claim 1, characterized in that The action value is determined based on the node reward, which includes at least one of the global reward, the individual reward and the collaborative reward; the individual reward is obtained after the supply chain node performs the second action; the global reward is calculated by the central node after the supply chain node performs the third action, and the third action is used to maximize the profit margin of the supply chain; the collaborative reward is obtained when the supply chain node meets the collaboration conditions with other supply chain nodes.
3. The method according to claim 1, characterized in that: Before determining the first action with the maximum action value of the supply chain node in the second state by using a preset action value function, the method further includes: Obtaining an action value function of the supply chain node; Initializing the action value function of the supply chain node to obtain the initial action value of each action of the supply chain node in each state; Obtain node rewards for each action of the supply chain node in each state; Starting from the initial action value of each action of the supply chain node in the second state, the action value of each action of the supply chain node in the second state is determined by iteratively calculating the action value update equation.
4. The method according to any one of claims 1 to 3, characterized in that: Before determining the first action with the maximum action value of the supply chain node in the second state by using a preset action value function, the method further includes: Obtaining a first digital twin model of the supply chain node; wherein the first digital twin model is generated based on a supply chain knowledge graph and a second digital twin model of each supply chain node of the supply chain, the supply chain knowledge graph is used to represent the dependency relationship between each supply chain node, and the second digital twin model is used to simulate the node information of the supply chain node; Use the first digital twin model to conduct scenario simulation and analysis to evaluate the impact of different decisions on the supply chain; Determine an action for the supply chain node to maximize its own interests in the second state.
5. The method according to claim 4, characterized in that The obtaining of the first digital twin model of the supply chain node comprises: Obtaining the dependency relationship between nodes in the supply chain from the supply chain knowledge graph; wherein the dependency relationship includes upstream and downstream relationships and material supply relationships; The dependency relationship is added between the second digital twin models of each supply chain node to obtain the first digital twin model.
6. The method according to claim 4, characterized in that The method further comprises: Representing structured knowledge in supply chain big data as knowledge graph triples; Performing natural language processing on the unstructured knowledge in the supply chain big data, extracting elements and relationships and converting them into knowledge graph triples; Based on the knowledge graph triples, the supply chain knowledge graph is constructed.
7. The method according to claim 6, characterized in that After constructing the supply chain knowledge graph, the method further includes: Performing knowledge reasoning based on the existing knowledge data in the supply chain big data to obtain a new knowledge graph triple; wherein the knowledge data includes the knowledge possessed by each node of the supply chain for maintaining the operation of the supply chain; Associate the new knowledge graph triples into the supply chain knowledge graph.
8. The method according to claim 6, characterized in that After constructing the supply chain knowledge graph, the method further includes: Obtaining newly added data; wherein the newly added data includes knowledge data newly added to the supply chain big data; Representing the structured knowledge in the newly added data as knowledge graph triples; Performing natural language processing on the unstructured knowledge in the supply chain big data to extract elements and relationships and convert them into knowledge graph triples; Associate the knowledge graph triples of the newly added data into the supply chain knowledge graph.
9. The method according to claim 6, characterized in that After constructing the supply chain knowledge graph, the method further includes: The supply chain knowledge graph is visualized.
10. The method according to claim 6, characterized in that Before constructing the supply chain knowledge graph, the method further includes: Building a knowledge base of each participant in the supply chain; Using each knowledge base to collect knowledge data of the corresponding participants to form supply chain big data; wherein the knowledge data includes the knowledge possessed by the participants for maintaining the operation of the supply chain; The knowledge data is preprocessed into the format required by the supply chain knowledge graph.
11. A supply chain collaborative optimization device, characterized in that: include: An acquisition module, used to obtain a first state of the supply chain node, current node information of the supply chain node, and current node information of other supply chain nodes, wherein the first state is the state of the supply chain node in the i-1th time unit, and i is an integer greater than or equal to 2; a state determination module, configured to determine a second state of the supply chain node according to the first state, current node information of the supply chain node, and current node information of the other supply chain nodes, wherein the second state is a state of the supply chain node at an i-th time unit; A decision module is used to determine the first action with the greatest action value of the supply chain node in the second state through a preset action value function, wherein the action value function is used to indicate the action values corresponding to different actions performed by the supply chain node in different states.
12. An electronic device comprising a memory and a processor, wherein the memory stores a computer program that can be run on the processor, characterized in that: When the processor executes the program, the steps in the method according to any one of claims 1 to 10 are implemented.
13. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 10 are implemented.
14. A computer program product, comprising a computer-readable storage medium storing a computer program, characterized in that: When the computer program is read and executed by a computer, the steps in the method according to any one of claims 1 to 10 are implemented.
Citation Information
Cited By
Supply and demand distribution determination method and device, electronic equipment and storage medium
CN120219030A
Integrated supply chain plan collaborative intelligent decision-making method and system
CN121169143A
