Logistics system simulation method and device based on digital twinning, equipment and medium

By analyzing and classifying logistics systems, constructing logical links and defining component numbers, and using digital twin models and virtual sensors for simulation, the problems of low efficiency and poor stability in building logistics system scenarios have been solved, achieving efficient and intelligent logistics management and operation.

CN119882485BActive Publication Date: 2025-11-11HNAC TECH
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202510068913.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-01-16
Publication Date
2025-11-11
Estimated Expiration
2045-01-16

AI Technical Summary

Technical Problem

Existing logistics system scenario building technologies are insufficient for efficient and accurate digital twin scenario simulation, resulting in low reliability of logistics decision support and an inability to meet the needs of efficient and intelligent logistics management and operation.

Method used

By analyzing the target logistics system, the operating direction and components of each production line are determined, steering components and operating components are generated by classification, logical links are constructed, component numbers are defined, and simulation is carried out using digital twin models and virtual sensors.

Benefits of technology

It improves the efficiency and stability of logistics system simulation, realizes automated logic control, reduces configuration time and component coupling, ensures that goods are accurately transported to the preset destination, avoids transportation congestion, and improves the transportation efficiency of logistics lines.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119882485B_ABST
    Figure CN119882485B_ABST
Patent Text Reader

Abstract

This application discloses a method, apparatus, equipment, and medium for simulating a logistics system based on digital twins, relating to the field of digital twin technology. The method includes: analyzing logistics lines in a target logistics system to determine the operating direction of each production line and several production line components; classifying the production line components based on the operating direction and distribution to generate several turning components and several running components; incorporating virtual sensors for automated simulation in both the turning and running components; constructing corresponding logical links based on the operating direction using the turning and running components, and defining component numbers for each component in each logical link; connecting the logical links using the component numbers and distribution, and superimposing components between links at the connection points to perform simulation using the digital twin model, component numbers, and virtual sensors. This allows for accurate and efficient simulation of digital twin scenarios.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of digital twin technology, and in particular to a method, apparatus, equipment and medium for simulating a logistics system based on digital twins. Background Technology

[0002] The logistics industry faces an urgent need to shorten the design and validation cycle of new strategies and achieve efficient optimization and flexible resource allocation. Digital twin technology, with its efficient validation capabilities, continuous analysis capabilities, and intelligent decision-making capabilities, has become a crucial support for enterprise digital transformation. Current logistics systems are often highly complex, involving multiple components and logical interactions, and the logistics lines within these systems are extremely large, with a significant number of components. Existing scenario building technologies treat the entire logistics system as a whole for rapid configuration, but the efficiency of building virtual scenarios and simulating various scenarios in the logistics process needs improvement. Furthermore, due to the low stability of the built scenarios, the reliability of using logical simulation to support logistics decisions is low, making it difficult to meet the needs of more efficient and intelligent logistics management and operations.

[0003] In summary, how to accurately and efficiently simulate digital twin scenarios is a problem that urgently needs to be solved. Summary of the Invention

[0004] In view of this, the purpose of this invention is to provide a method, apparatus, equipment, and medium for simulating logistics systems based on digital twins, which can accurately and efficiently simulate digital twin scenarios. The specific solution is as follows:

[0005] Firstly, this application provides a simulation method for a logistics system based on digital twins, including:

[0006] The logistics lines in the target logistics system are analyzed to determine the operating direction of each production line in the logistics line and the corresponding production line components.

[0007] Based on the direction of operation and the distribution of the logistics lines, the production line components are classified to generate a number of steering components and a number of running components corresponding to each production line; both the steering components and the running components are equipped with virtual sensors for automated simulation.

[0008] Based on the running direction, the component running links corresponding to each production line are constructed using the several steering components and the several running components to obtain the corresponding logical links, and component numbers are defined for each component in each logical link based on the running direction.

[0009] The logical links are connected using the defined component numbers and distribution information, and the components between the links are superimposed at the connection points of the logical links, so as to simulate the target logistics system using the obtained digital twin model of the target logistics system, the component numbers, and the information fed back by the virtual sensors.

[0010] Optionally, defining component numbers for each component in each logical link based on the running direction includes:

[0011] For each target component among the components, the running endpoint of the target component is determined based on the running direction of the target component, and a corresponding endpoint number is assigned to each running endpoint; the target component is any one of the components.

[0012] Determine the number of endpoints for the target component's operational endpoint;

[0013] If the number of endpoints is one, then the endpoint number of the running endpoint of the target component is taken as the component number of the target component;

[0014] If there are multiple endpoints, the endpoint numbers of the running endpoints of the target component are XORed bitwise to perform the superposition of the endpoint numbers, and the resulting superimposed number is used as the component number of the target component.

[0015] The superimposed number obtained by superimposing any number of endpoint numbers is different from all the endpoint numbers.

[0016] Optionally, the superposition of inter-link components at the connection points of the logical links includes:

[0017] From each logical link, determine the set of connection links corresponding to the connection point of each logical link, and evaluate the height between each connection link in the set of connection links to obtain the height difference between each connection link;

[0018] The target running component and the target steering component at the connection point are determined from the components of each connection link, and the target running component and the target steering component are superimposed according to the height difference.

[0019] Optionally, before simulating the target logistics system using the obtained digital twin model of the target logistics system, the component numbers, and the information fed back from the virtual sensors, the method further includes:

[0020] Based on the received parameter setting instructions, the logic control parameters of each component are set, and the logic control parameters of the previous and next components corresponding to each target component are saved to the target component.

[0021] Optionally, the virtual sensor includes a first sensor and a second sensor; wherein, the first sensor is located at the end of each component along its corresponding running direction, for detecting whether there is an item at the end of the component, and generating a corresponding first trigger signal when an item is detected at the end of the component; the second sensor is laid flat and attached to the top of each component, for detecting whether an item has arrived at the current component and identifying the item's number information, and generating a corresponding second trigger signal when an item has arrived at the current component.

[0022] Optionally, the step of simulating the target logistics system using the obtained digital twin model of the target logistics system, the component numbers, and the information fed back from the virtual sensors includes:

[0023] Assign a corresponding item number to the item to be transported based on the target destination of the item;

[0024] Based on the item number and the component number, the transportation of the item to be transported is carried out in the digital twin model of the obtained target logistics system;

[0025] When the second trigger signal fed back by the second sensor of any of the components is detected, the item number of the item to be transported is obtained through the second sensor, and the component number of the current component and the item number are bitwise ANDed to obtain the corresponding first calculation result.

[0026] If the value of the first calculation result is greater than zero, the current component is started, and when the first trigger signal fed back by the first sensor of the current component is detected, it is determined whether the second sensor of the next component of the current component has generated the corresponding second trigger signal.

[0027] If it is determined that the second sensor of the next component of the current component has generated the corresponding second trigger signal, then it is determined whether the first sensor of the next component has generated the corresponding first trigger signal, so as to determine whether to allow the transport of the item to be transported to continue based on the obtained determination result.

[0028] Optionally, the process of transporting the items to be transported based on the item number and the component number in the obtained digital twin model of the target logistics system includes:

[0029] When the item to be transported is transported to the connection point of each logical link, the second trigger signal fed back by the second sensor in the steering component and the running component at the connection point is detected;

[0030] The second sensor is used to obtain the item number of the item to be transported, and the first component number of the steering component and the second component number of the running component are determined.

[0031] Perform bitwise AND operations between the first component number and the second component number and the item number respectively to obtain the corresponding second operation result;

[0032] If the value obtained by calculating the second calculation result with the first component number is greater than zero, then the steering component is activated;

[0033] If the value obtained by operating the second operation result with the second component number is greater than zero, then the running component is started.

[0034] Secondly, this application provides a logistics system simulation device based on digital twins, comprising:

[0035] The logistics line analysis module is used to analyze the logistics lines in the target logistics system to determine the operating direction of each production line in the logistics line and the corresponding production line components.

[0036] The component classification module is used to classify the several production line components based on the running direction and the distribution of the logistics line, so as to generate several steering components and several running components corresponding to each production line; both the steering components and the running components are equipped with virtual sensors for automated simulation.

[0037] The numbering definition module is used to construct the component operation links corresponding to each production line according to the running direction using the several steering components and the several running components, so as to obtain the corresponding logical links, and to define the component number for each component in each logical link based on the running direction.

[0038] The component overlay module is used to connect the logical links using the defined component numbers and distribution, and to overlay the inter-link components at the connection points of the logical links, so as to simulate the target logistics system using the obtained digital twin model of the target logistics system, the component numbers, and the information fed back by the virtual sensors.

[0039] Thirdly, this application provides an electronic device, comprising:

[0040] Memory, used to store computer programs;

[0041] A processor is used to execute the computer program to implement the aforementioned digital twin-based logistics system simulation method.

[0042] Fourthly, this application provides a computer-readable storage medium for storing a computer program; wherein, when the computer program is executed by a processor, it implements the aforementioned digital twin-based logistics system simulation method.

[0043] In this application, the logistics lines in the target logistics system are analyzed to determine the operating direction of each production line in the logistics line and the corresponding production line components. Based on the operating direction and the distribution of the logistics lines, the production line components are classified to generate several steering components and several operating components corresponding to each production line. Both the steering components and the operating components are equipped with virtual sensors for automated simulation. Based on the operating direction, the component operation links corresponding to each production line are constructed using the steering components and the operating components to obtain corresponding logical links. Component numbers are defined for each component in each logical link based on the operating direction. The logical links are connected using the defined component numbers and the distribution, and inter-link components are superimposed at the connection points of the logical links to simulate the target logistics system using the obtained digital twin model of the target logistics system, the component numbers, and the information fed back by the virtual sensors. As can be seen from the above, this application first analyzes the logistics lines in the target logistics system to determine the operating direction of each production line and the corresponding production line components. Based on the operating direction and the distribution of the logistics lines, the production line components are classified to generate corresponding turning components and running components. Logical links are then constructed using the turning and running components according to the operating direction, and component numbers are defined for each component in each logical link. Subsequently, the logical links are connected using the component numbers and the distribution, and components are superimposed at the connection points. This allows for the simulation of the target logistics system using the obtained digital twin model, the component numbers, and the information fed back from the virtual sensors. In this way, through the above process of this application, the logistics lines in the entire target logistics system are divided into several logical links, and component numbers are defined for each component in the logical links based on the operating direction. Rapid configuration of the divided logical links and component numbers reduces the time required for rapid configuration and the coupling between components, thereby accurately and efficiently simulating the digital twin scenario. Attached Figure Description

[0044] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on the provided drawings without creative effort.

[0045] Figure 1 This is a flowchart of a logistics system simulation method based on digital twins disclosed in this application;

[0046] Figure 2 This is a timing diagram of a logistics system simulation method based on digital twins disclosed in this application;

[0047] Figure 3 This is a schematic diagram of a component structure disclosed in this application;

[0048] Figure 4 This is a schematic diagram showing the numbering of a digital twin model and its components disclosed in this application;

[0049] Figure 5 This is a schematic diagram of a logical link distribution disclosed in this application;

[0050] Figure 6 This is a schematic diagram of the component logic control flow disclosed in this application;

[0051] Figure 7 This application discloses a specific flowchart of a logistics system simulation method based on digital twins.

[0052] Figure 8 This is a schematic diagram of the component logic control flow disclosed in this application;

[0053] Figure 9 This is a schematic diagram of the structure of a logistics system simulation device based on digital twin disclosed in this application;

[0054] Figure 10 This is a structural diagram of an electronic device disclosed in this application. Detailed Implementation

[0055] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0056] Existing scenario building technologies treat the entire logistics system scenario as a whole for rapid configuration. The efficiency of building virtual scenarios and simulating various scenarios in the logistics process needs to be improved. Furthermore, due to the low stability of the built scenarios, the reliability of providing support for logistics decision-making through logic simulation is low, making it difficult to meet the needs of more efficient and intelligent logistics management and operation.

[0057] To overcome the aforementioned technical problems, this application provides a digital twin-based logistics system simulation method to accurately and efficiently simulate digital twin scenarios.

[0058] See Figure 1 As shown in the figure, this invention discloses a logistics system simulation method based on digital twins, including:

[0059] Step S11: Analyze the logistics lines in the target logistics system to determine the operating direction of each production line in the logistics line and the corresponding production line components.

[0060] In this embodiment, the logistics lines in the target logistics system are first analyzed to determine the operating direction of each production line in the logistics line and the corresponding production line components. The production line components are operating devices in the actual logistics scenario of the target logistics system, including but not limited to conveyor rollers, stacker cranes, elevators, and lifting devices. The production line is composed of these production line components and is used to transport the items to be transported in the target logistics system.

[0061] It should be noted that, unlike existing technologies that directly treat the logistics system as a whole and configure it to form a digital twin model of the logistics system, this embodiment first obtains all components of the target logistics system and a scene diagram including the operating directions of each production line. Based on the scene diagram, it uses the obtained components to generate logical links corresponding to each production line to obtain a logical link distribution diagram. Subsequently, it uses the logical link distribution diagram to perform rapid configuration on the digital twin platform to obtain a digital twin model of the target logistics system, and uses the digital twin model to simulate the target logistics system. Figure 2 The diagram shown is a timing diagram of a logistics system simulation method based on digital twins provided in this application. In this embodiment, the logistics lines in the target logistics system are first analyzed to determine the operating direction and components of each production line within the logistics line. This allows the entire logistics line in the target logistics system to be segmented using the operating direction and the production line components, thereby reducing the complexity of configuring the target logistics system.

[0062] Step S12: Classify the several production line components based on the running direction and the distribution of the logistics line to generate several steering components and several running components corresponding to each production line; both the steering components and the running components are equipped with virtual sensors for automated simulation.

[0063] In this embodiment, the production line components are classified according to the running direction and the distribution of the logistics lines to generate several steering components and several running components corresponding to each production line. The classification of production line components includes steering components and running components, which are the corresponding running devices mapped from the production line components to the virtual scene. Both the steering components and the running components are equipped with virtual sensors for automated simulation. The steering components are mainly used at the intersections between the production lines to change the direction of the items' running route. The running components are used to transport items along the corresponding running direction.

[0064] It should be noted that the virtual sensor includes a first sensor and a second sensor; wherein, the first sensor is located at the end of each component along its corresponding running direction, used to detect whether there is an item at the end of the component, and generates a corresponding first trigger signal when an item is detected at the end of the component; the second sensor is laid flat and attached to the top of each component, used to detect whether an item has arrived at the current component and to identify the item's number information, and generates a corresponding second trigger signal when an item has arrived at the current component. That is, each steering component and each running component is equipped with the first sensor and the second sensor, and the weight information of the item can be detected by the second sensor to determine whether an item has arrived at the current component, and to identify the item's number information, while the first sensor can detect whether there is an item at the end of the component or whether an item has arrived or left. Figure 3 The figure shows a schematic diagram of a component structure provided in this application, wherein the position sensor in the figure is the first sensor and the load sensor is the second sensor.

[0065] It should be further noted that, since the steering components are mainly applied at the intersections between the production lines, each production line may contain only one steering component or none at all, depending on the connection between the production lines and their distribution within the logistics line. Thus, this embodiment classifies the production line components according to the direction of travel and the distribution of the logistics line to obtain several steering components and several running components. These steering and running components are then used to divide the logistics line, improving the efficiency of configuring the target logistics system. Simultaneously, virtual sensors are installed in the steering and running components to promptly detect the arrival of items when they reach the components, enabling automated logic control.

[0066] Step S13: Construct the component operation links corresponding to each production line according to the running direction using the several steering components and the several running components to obtain the corresponding logical links, and define component numbers for each component in each logical link based on the running direction.

[0067] In this embodiment, component operation links corresponding to each production line are constructed according to the running direction and using the plurality of steering components and the plurality of running components to obtain corresponding logical links. Component numbers are defined for each component in each logical link according to the running direction. The component operation link is a virtual logical link corresponding to each production line in the actual target logistics system, obtained by dividing the logistics line according to the running direction of its corresponding production line. The component number is used to match the item information acquired by the virtual sensor during item transportation to achieve automated logical control during item transportation.

[0068] It should be noted that the logical links are classified into row links and column links based on rows or columns. A row link refers to a logical link composed of components arranged in rows, and a column link refers to a logical link composed of components arranged in columns. Multiple logical links can exist within the same target logistics system, and these logical links can intersect and overlap. It is understood that, similar to the construction of the production line, each logical link may contain only one steering component or none at all. At the connection points of the logical links, the running components and steering components between the logical links are connected in a superimposed manner. Typically, the running component belongs to the logical link before the steering, and the steering component belongs to the logical link after the steering. Therefore, the logical link corresponding to the first production line in the logistics line does not contain the steering component. At the last running component along the running direction, this running component is superimposed on the steering component of the next connected logical link. For nodes involving more than two logical links at the connection point, one of the logical links does not contain the steering component. The generation of each logical link is specifically based on the running direction and the distribution, using the several steering components and the several running components to construct each component running link, and using each component running link as the obtained logical link.

[0069] It should be noted that the component number of each component is defined based on the number of endpoints corresponding to each component's running endpoints. The processing flow is as follows: For the target component among the components, the running endpoint of the target component is determined based on the running direction of the target component, and a one-to-one endpoint number is assigned to each running endpoint; the target component is any one of the components; the number of endpoints of the running endpoints of the target component is determined; if the number of endpoints is one, the endpoint number of the running endpoint of the target component is used as the component number of the target component; if the number of endpoints is multiple, the endpoint numbers of the running endpoints of the target component are XORed bitwise to perform the superposition of the endpoint numbers, and the resulting superimposed number is used as the component number of the target component; wherein, the superimposed number obtained after superimposing any number of endpoint numbers is different from all the endpoint numbers. That is, for any of the components, i.e., the target component, the destination of the target component is determined according to its running direction, and a one-to-one destination number is assigned to each destination. Then, the number of destinations corresponding to the target component is determined. When there is only one destination, the destination number of the target component's destination can be directly used as the component number of the target component. When there are multiple destinations, the destination numbers of the multiple destinations corresponding to the target component are XORed bitwise to superimpose the destination numbers, and the resulting superimposed number is used as the component number of the target component. It is understood that, since the component number is used to implement automated logic control during the transportation of goods, to avoid the superimposed number being duplicated with the component number of a target component corresponding to only one destination, which could lead to transportation errors, it is necessary to ensure that the superimposed number obtained after superimposing any number of destination numbers is different from all the original destination numbers. For example, in this embodiment, the endpoint numbers of the running endpoints can be set to numbers in a numerical sequence constructed using powers of two, to ensure that the sum of any two or more numbers in the numerical sequence does not repeat any numbers in the numerical sequence. Figure 4 The diagram shows a digital twin model and component numbering schematic provided in this application. In this embodiment, based on the direction of operation, several steering components and several operating components are constructed into component operation links corresponding to each production line, resulting in corresponding logical links. This allows for rapid configuration of each logical link, increasing the stability of the digital twin model. Simultaneously, a power of two is selected as the endpoint number to ensure that the sum of any two or more numbers in the digital sequence does not repeat any numbers in the sequence, thus avoiding errors in the endpoint of goods transportation.

[0070] Step S14: Connect the logical links using the defined component numbers and distribution, and superimpose the inter-link components at the connection points of the logical links, so as to simulate the target logistics system using the obtained digital twin model of the target logistics system, the component numbers, and the information fed back by the virtual sensors.

[0071] In this embodiment, the logical links are connected according to the defined component numbers and distribution, and the components between the links are superimposed at the connection points of the logical links to obtain a digital twin model of the target logistics system. The target logistics system is then simulated using the digital twin model, the component numbers, and the information fed back by the virtual sensors.

[0072] It should be noted that in this embodiment, the inter-link components at the connection points of the logical links are superimposed vertically. Since there may be a height difference between two intersecting production lines in the actual target logistics system, this embodiment needs to superimpose the inter-link components based on the height between each connecting link. The processing flow is as follows: First, determine the set of connecting links corresponding to the connection points of each logical link, and evaluate the height between each connecting link in the set to obtain the height difference between the connecting links. Second, determine the target running component and the target turning component at the connection point from the components of each connecting link, and superimpose the target running component and the target turning component based on the height difference. The target turning component is used not only to change the direction of movement of the item's running route but also to change the height of the running route. That is, the set of connection links corresponding to the connection point is determined from each of the logical links, and the height between each connection link in the set is evaluated to determine the height difference between the connection links. The target running component and the target turning component at the connection point are then determined, and the target running component and the target turning component are superimposed according to the height difference. For example, if the connection point is a low-to-high running route, the target turning component is located above the target running component to increase the transport height of the goods; if the connection point is a high-to-low running route, the target turning component is located below the target running component to decrease the transport height of the goods. Figure 5 The diagram shown is a logical link distribution diagram provided in this application. It can be understood that at the connection point, the top of the sensing height of the virtual sensor of the corresponding target steering component and the target running component can be set to be the same to ensure that the virtual sensor can simultaneously detect the item when it arrives at the connection point.

[0073] It should be further noted that before simulating the target logistics system, this embodiment also needs to set the parameters of each component. The processing flow is as follows: based on the received parameter setting instructions, the logical control parameters of each component are set, and the logical control parameters of the previous and next components corresponding to each target component are saved to the target component. The parameter setting instructions are obtained through a preset setting interface and set by the operator according to the actual simulation requirements. The logical control parameters refer to the physical properties of the components, including but not limited to speed, acceleration, deceleration, friction coefficient, acceleration / deceleration time, and initial speed. These physical properties are consistent with the physical properties of the components in the actual target logistics system to ensure that the generated digital twin model is consistent with the actual target logistics system to the greatest extent possible. That is, by setting the logical control parameters of each component according to the received parameter setting instructions and saving the logical control parameters of the previous and next components corresponding to each target component to the target component, communication between the components is achieved, facilitating intelligent identification of potential blockages during the transportation of goods. It is understood that the component at the beginning of the logical link has no corresponding previous component, and the previous component parameter in its logical control parameters is set to empty; the component at the end has no corresponding next component, and the next component parameter in its logical control parameters is set to empty.

[0074] It should be noted that the simulation process of the target logistics system is as follows: Assign a corresponding item number to the item to be transported based on its target destination; transport the item to be transported in the digital twin model of the target logistics system based on the item number and the component number; when the second trigger signal fed back by the second sensor of any component is detected, the item number of the item to be transported is obtained through the second sensor, and a bitwise AND operation is performed between the component number of the current component and the item number to obtain a corresponding first operation result; if the value of the first operation result is greater than zero, the current component is started, and when the first trigger signal fed back by the first sensor of the current component is detected, it is determined whether the second sensor of the next component of the current component has generated a corresponding second trigger signal; if it is determined that the second sensor of the next component of the current component has generated a corresponding second trigger signal, it is determined whether the first sensor of the next component has generated a corresponding first trigger signal, so as to determine whether to allow continued transport of the item to be transported based on the obtained determination result. That is, firstly, a corresponding item number is assigned to the item to be transported based on the target destination it needs to reach; that is, the destination number of the target destination is used as the item number. Then, based on the item number and the component number, the item is transported in the digital twin model of the target logistics system. During this process, when the second trigger signal fed back by the second sensor of any of the components is detected, the item number of the item to be transported is obtained through the second sensor, and the component number of the current component is determined. A bitwise AND operation is performed between the component number and the item number. If the value of the first operation result is greater than zero, it indicates that the component number and the item number match, meaning that the item to be transported requires the current component's... The transport process begins by activating the current component, allowing the item to be transported to continue moving along the direction of travel on the current component. When the first trigger signal is detected by the first sensor of the current component, indicating that the item to be transported has reached the end of the current component, it is determined whether the second sensor of the next component has generated a corresponding second trigger signal, i.e., whether the next component is empty. If the second trigger signal has been generated, it indicates that the next component is not empty and that other items are being transported on it. The process continues by determining whether the first sensor of the next component has generated the first trigger signal, i.e., whether there are items at the end of the next component, in order to determine whether to allow the continued transport of the item to be transported based on the obtained determination result.

[0075] It needs to be further explained that, such as Figure 6The diagram shown is a schematic of the component logic control flow provided in this application. The simulation flow of the target logistics system described above is as follows: Figure 6 This refers to a portion of the component logic control flow. Specifically, if it is determined that an item exists at the end of the next component, that is... Figure 6 If the result of determining whether the next component is in place is yes, it indicates that the transport process of the goods has been stopped due to machine failure or other reasons at the next component, and the transport of the goods ahead is blocked. The current component will be stopped to prevent it from continuing to transport the goods to be transported, so as to avoid the blockage from worsening. If it is determined that there are no goods at the end of the next component or the next component is empty, the next component will be started so that the next component can continue to transport the goods it is transporting or transport the goods to be transported that have been transported by the current component. Simultaneously, when the first trigger signal fed back by the first sensor of the current component disappears, it indicates that the item to be transported has been transported to the next component by the current component. It then determines whether the previous component of the current component is empty, that is, whether the second sensor of the previous component has generated the corresponding second trigger signal. If it is determined that the previous component is not empty, it indicates that there are items in the previous component that may be temporarily suspended due to congestion. In this embodiment, the previous component can be started to ensure that the suspended items are transported. If it is determined that the previous component is empty, it indicates that there are no items that need to be transported on the previous component, and the previous component can be stopped to avoid unnecessary energy consumption and reduce the operating cost of the target logistics system. In this way, this embodiment utilizes a digital twin model, component numbers, and information from virtual sensor feedback to automatically simulate the target logistics system, achieving automated logic control. When goods are transported to intersections, no manual adjustment is required to ensure they reach the preset destination. The logic control parameters of the previous and next components for each component are saved within the component itself, enabling communication between components and facilitating intelligent identification of potential congestion during transport. During transport, the system intelligently identifies item information and congestion based on information from virtual sensors, and takes corresponding measures based on the identified conditions. When congestion occurs, the component is intelligently stopped to prevent further congestion; when congestion eases, the component is intelligently restarted, allowing for continued transport without manual intervention and improving the efficiency of the logistics line.

[0076] As can be seen from the above, the embodiments of this application first analyze the logistics lines in the target logistics system to determine the operating direction of each production line and the corresponding production line components. Based on the operating direction and the distribution of the logistics lines, the production line components are classified to generate corresponding steering components and operating components. According to the operating direction, each logical link is constructed using the steering components and operating components. At the same time, component numbers are defined for each component in each logical link. Then, the logical links are connected using the component numbers and the distribution, and the components between the links are superimposed at the connection points so as to simulate the target logistics system using the obtained digital twin model of the target logistics system, the component numbers, and the information fed back by the virtual sensors. In this way, through the above process of the embodiments of this application, on the one hand, the logistics line in the target logistics system is analyzed to determine the running direction and production line components of each production line in the logistics line, so as to divide the entire logistics line in the target logistics system using the running direction and the production line components, thereby reducing the complexity of configuring the target logistics system; on the other hand, virtual sensors are set in the steering components and the running components to detect the arrival of the components in a timely manner when the goods are transported to the components, thereby realizing automated logic control; and on the other hand, according to the running direction, several steering components and several running components are constructed into component running links corresponding to each production line to obtain the corresponding logic links, so as to quickly configure each logic link, thereby reducing the amount of configuration required for rapid configuration. The timing and coupling between components enhance the stability of the digital twin model. On one hand, selecting a power of two as the endpoint number ensures that the sum of any two or more numbers in the digital sequence does not repeat any other number in the sequence, thus preventing errors in the endpoint of the transport of goods. On the other hand, during the transport of goods, the system intelligently identifies goods information and transport congestion based on feedback from virtual sensors, and takes corresponding measures based on the identified situation. When congestion occurs, components are intelligently stopped to prevent further congestion; when congestion eases, components are intelligently restarted, allowing for continued transport of goods without manual intervention, improving the efficiency of the logistics line, and thus accurately and efficiently simulating the digital twin scenario.

[0077] As can be seen from the foregoing embodiments, the method of this application allows for the transportation of items to be transported at the connection points of various logical links, combining steering components and running components to ensure that the items reach the preset destination. Therefore, this embodiment provides a detailed explanation of how to combine steering components and running components to transport the items. See also... Figure 7 As shown in the figure, this invention discloses a logistics system simulation method based on digital twins, including:

[0078] Step S21: When the item to be transported is transported to the connection point of each logical link, the second trigger signal fed back by the second sensor in the steering component and the running component at the connection point is detected.

[0079] In this embodiment, since the steering component and the running component are stacked vertically at the connection points of each logical link, and the sensing heights of the second sensors in the steering component and the running component are the same, when the item to be transported arrives at the connection point, the second trigger signal fed back by the second sensor in both the steering component and the running component at the connection point will be simultaneously detected, thereby obtaining information that the item to be transported has arrived at the connection point and triggering subsequent component logic control processes. For example... Figure 8 The diagram illustrates a component logic control flow provided in this application. When an item reaches the intersection point, i.e., the connection point, the sensors of the corresponding steering component and the running component are simultaneously triggered. Based on the information obtained by the sensors, a judgment is made to selectively activate the components according to the judgment result. Thus, in this embodiment, when the second trigger signal fed back by the second sensors of the steering component and the running component is detected at the connection point of each logic link, it indicates that the item has been transported to the connection point, thereby triggering the subsequent judgment process and realizing automated logic control.

[0080] Step S22: Obtain the item number of the item to be transported through the second sensor, and determine the first component number of the steering component and the second component number of the running component.

[0081] In this embodiment, after detecting the second trigger signal, the item number of the item to be transported can be obtained through the second sensor, and the first component number of the steering component and the second component number of the running component can be determined simultaneously. It is understood that the second sensor is not only used to detect whether an item has arrived at the current component, but also to identify item information, including but not limited to the item number. Therefore, the item number of the item to be transported can be obtained through the second sensor. In addition, it is also necessary to determine the first component number of the steering component and the second component number of the running component. The item number is defined based on the endpoint number of the item's running destination, while the component number is defined based on the endpoint numbers of one or more running destinations corresponding to the component. Therefore, after determining the item number and the component number, the route that the item to be transported needs to continue running after the connection point can be determined based on the item number and the component number.

[0082] Step S23: Perform bitwise AND operations between the first component number and the second component number and the item number to obtain the corresponding second operation result.

[0083] In this embodiment, bitwise AND operations are performed between the first component number and the second component number and the item number to obtain the corresponding second operation result. The second operation result includes the operation result between the first component number and the item number, and the operation result between the second component number and the item number. That is, the first component number is matched with the item number, and the second component number is matched with the item number. It is understood that the turning component belongs to the logical link after the turn, and the running component belongs to the logical link before the turn. Therefore, the first component number and the second component number corresponding to them will not contain the same endpoint number. Thus, in the second matching result, only one of the first component number and the second component number matches the item number. The obtained second matching result can determine the logical link to which the item to be transported needs to be transported, thereby achieving automatic logic control at the connection point, allowing the item to be transported to the preset running endpoint without manual operation.

[0084] Step S24: If the value obtained by calculating the second calculation result with the first component number is greater than zero, then the steering component is activated.

[0085] In this embodiment, if the value obtained by the second calculation result and the first component number is greater than zero, it indicates that the first component number matches the item number, indicating that the item to be transported needs to be transported to a logical link different from the current logical link. Therefore, the steering component needs to be activated to change the running direction of the item to be transported, ensuring that the item to be transported is transported to the preset running destination.

[0086] Step S25: If the value obtained by the second operation result and the second component number is greater than zero, then start the running component.

[0087] In this embodiment, if the value obtained by the second calculation result and the second component number is greater than zero, it indicates that the second component number matches the item number, which means that the item to be transported needs to continue to be transported in the current logical link without changing the running direction. Therefore, the running component needs to be started to ensure that the item to be transported is transported to the preset running destination.

[0088] As can be seen from the above, when simulating the target logistics system in this embodiment, if the item to be transported is transported to the connection point of each logical link, the second trigger signal fed back by the second sensor in the steering component and the running component at the connection point is detected. Then, the item number of the item to be transported is obtained through the second sensor, and the first component number of the steering component and the second component number of the running component are determined. The first component number and the second component number are then matched with the item number to obtain a corresponding second matching result. If the second matching result indicates that the first component number matches the item number, the steering component is activated; if the second matching result indicates that the second component number matches the item number, the running component is activated. Thus, through the above process of this embodiment, when the item to be transported arrives at the connection point, the subsequent running direction of the item to be transported is determined based on the item number and component number to ensure that the item to be transported is transported to the preset running destination, thereby achieving automated logic control and enabling the item to be transported to the preset running destination without manual operation.

[0089] Accordingly, see Figure 9 As shown in the illustration, this application also provides a logistics system simulation device based on digital twins, comprising:

[0090] The logistics line analysis module 11 is used to analyze the logistics lines in the target logistics system to determine the running direction of each production line in the logistics line and the several production line components corresponding to each production line.

[0091] The component classification module 12 is used to classify the several production line components based on the running direction and the distribution of the logistics line, so as to generate several steering components and several running components corresponding to each production line; both the steering components and the running components are equipped with virtual sensors for automated simulation.

[0092] The numbering definition module 13 is used to construct the component operation links corresponding to each production line according to the running direction using the plurality of steering components and the plurality of running components, so as to obtain the corresponding logical links, and to define the component number for each component in each logical link based on the running direction.

[0093] The component overlay module 14 is used to connect the logical links using the defined component numbers and the distribution, and to overlay the components between the links at the connection points of the logical links, so as to use the obtained digital twin model of the target logistics system, the component numbers and the information fed back by the virtual sensors to simulate the target logistics system.

[0094] As can be seen from the above, this embodiment first analyzes the logistics lines in the target logistics system to determine the operating direction of each production line and the corresponding production line components. Based on the operating direction and the distribution of the logistics lines, the production line components are classified to generate corresponding turning components and running components. Logical links are then constructed using the turning and running components according to the operating direction. Component numbers are defined for each component in each logical link. Subsequently, the logical links are connected using the component numbers and the distribution, and components are superimposed at the connection points. This allows for the simulation of the target logistics system using the obtained digital twin model, the component numbers, and the information fed back from the virtual sensors. In this way, through the above process of this embodiment, the logistics lines in the entire target logistics system are divided into several logical links, and component numbers are defined for each component in the logical links based on the operating direction. Rapid configuration of the divided logical links and component numbers reduces the time required for rapid configuration and the coupling between components, thereby accurately and efficiently simulating the digital twin scenario.

[0095] In some specific embodiments, the numbering definition module 13 may specifically include:

[0096] The numbering unit is used to determine the running endpoint of the target component based on the running direction of the target component, and to assign a corresponding endpoint number to each running endpoint; the target component is any one of the components.

[0097] A quantity determination unit is used to determine the number of endpoints of the target component's running endpoint;

[0098] The first numbering determination unit is used to take the endpoint number of the running endpoint of the target component as the component number of the target component when the number of endpoints is one.

[0099] The second numbering unit is used to perform a bitwise XOR operation on the endpoint numbers of the running endpoints of the target component when there are multiple endpoints, so as to superimpose the endpoint numbers and use the superimposed number as the component number of the target component.

[0100] The superimposed number obtained by superimposing any number of endpoint numbers is different from all the endpoint numbers.

[0101] In some specific embodiments, the component overlay module 14 may specifically include:

[0102] The height evaluation unit is used to determine the set of connection links corresponding to the connection points of each logical link from each logical link, and to evaluate the height between each connection link in the set of connection links to obtain the height difference between each connection link.

[0103] The component overlay unit is used to determine the target running component and the target steering component at the connection point from the components of each connection link, and to overlay the target running component and the target steering component according to the height difference.

[0104] In some specific embodiments, the digital twin-based logistics system simulation device may further include:

[0105] The parameter storage unit is used to set the logic control parameters of each component based on the received parameter setting instructions, and to save the logic control parameters of the previous and next components corresponding to each target component to the target component.

[0106] In some specific embodiments, the virtual sensor includes a first sensor and a second sensor; wherein, the first sensor is located at the end of each component along its corresponding running direction, and is used to detect whether there is an item at the end of the component, and generate a corresponding first trigger signal when an item is detected at the end of the component; the second sensor is laid flat and attached to the top of each component, and is used to detect whether an item has arrived at the current component and to identify the item's number information, and generate a corresponding second trigger signal when an item has arrived at the current component.

[0107] In some specific embodiments, the component overlay module 14 may specifically include:

[0108] The numbering and allocation unit is used to assign a corresponding item number to the item to be transported according to the target destination of the item;

[0109] An item transportation unit is used to transport the item to be transported in a digital twin model of the obtained target logistics system based on the item number and the component number.

[0110] The first number matching unit is used to obtain the item number of the item to be transported through the second sensor when the second trigger signal fed back by the second sensor of any component is detected, and to perform a bitwise AND operation between the component number of the current component and the item number to obtain the corresponding first operation result.

[0111] The signal determination unit is used to activate the current component if the value of the first calculation result is greater than zero, and to determine whether the second sensor of the next component of the current component has generated the corresponding second trigger signal when the first trigger signal fed back by the first sensor of the current component is detected.

[0112] The condition judgment unit is used to determine whether the first sensor of the next component has generated the corresponding first trigger signal if it is determined that the second sensor of the next component of the current component has generated the corresponding second trigger signal, so as to determine whether to allow the transport of the item to be transported to continue based on the judgment result.

[0113] In some specific embodiments, the component overlay module 14 may specifically include:

[0114] A signal monitoring unit is used to monitor the second trigger signal fed back by the second sensor in the steering component and the running component at the connection point of the logical links when the item to be transported is transported to the connection point of each logical link.

[0115] The third numbering determination unit is used to obtain the item number of the item to be transported through the second sensor, and to determine the first component number of the steering component and the second component number of the running component;

[0116] The second number matching unit is used to perform bitwise AND operations between the first component number and the second component number and the item number to obtain the corresponding second operation result;

[0117] The first component activation unit is configured to activate the steering component if the value obtained by calculating the second calculation result with the first component number is greater than zero.

[0118] The second component startup unit is used to start the running component if the value obtained by the operation of the second operation result with the second component number is greater than zero.

[0119] Furthermore, embodiments of this application also disclose an electronic device, Figure 10This is a structural diagram of an electronic device 20 according to an exemplary embodiment. The content of the diagram should not be construed as limiting the scope of this application. The electronic device 20 may specifically include: at least one processor 21, at least one memory 22, a power supply 23, a communication interface 24, an input / output interface 25, and a communication bus 26. The memory 22 stores a computer program, which is loaded and executed by the processor 21 to implement the relevant steps in the digital twin-based logistics system simulation method disclosed in any of the foregoing embodiments. Furthermore, the electronic device 20 in this embodiment may specifically be an electronic computer.

[0120] In this embodiment, the power supply 23 is used to provide operating voltage for each hardware device on the electronic device 20; the communication interface 24 can create a data transmission channel between the electronic device 20 and external devices, and the communication protocol it follows can be any communication protocol applicable to the technical solution of this application, and is not specifically limited here; the input / output interface 25 is used to acquire external input data or output data to the outside world, and its specific interface type can be selected according to specific application needs, and is not specifically limited here.

[0121] In addition, the memory 22, as a carrier for resource storage, can be a read-only memory, random access memory, disk, or optical disk, etc. The resources stored thereon can include an operating system 221, computer programs 222, etc., and the storage method can be temporary storage or permanent storage.

[0122] The operating system 221 is used to manage and control the various hardware devices on the electronic device 20 and the computer program 222, which may be Windows Server, Netware, Unix, Linux, etc. In addition to including a computer program capable of performing the digital twin-based logistics system simulation method executed by the electronic device 20 as disclosed in any of the foregoing embodiments, the computer program 222 may further include computer programs capable of performing other specific tasks.

[0123] Furthermore, this application also discloses a computer-readable storage medium for storing a computer program; wherein, when the computer program is executed by a processor, it implements the aforementioned disclosed digital twin-based logistics system simulation method. Specific steps of this method can be found in the corresponding content disclosed in the foregoing embodiments, and will not be repeated here.

[0124] The various embodiments in this specification are described in a progressive manner, with each embodiment focusing on its differences from other embodiments. Similar or identical parts between embodiments can be referred to interchangeably. For the apparatus disclosed in the embodiments, since it corresponds to the method disclosed in the embodiments, the description is relatively simple; relevant parts can be referred to in the method section.

[0125] Those skilled in the art will further recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of both. To clearly illustrate the interchangeability of hardware and software, the components and steps of the various examples have been generally described in terms of functionality in the foregoing description. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0126] The steps of the methods or algorithms described in conjunction with the embodiments disclosed herein can be implemented directly by hardware, a software module executed by a processor, or a combination of both. The software module can be located in random access memory (RAM), main memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, removable disk, CD-ROM, or any other form of storage medium known in the art.

[0127] Finally, it should be noted that in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.

[0128] The technical solutions provided in this application have been described in detail above. Specific examples have been used to illustrate the principles and implementation methods of this application. The descriptions of the above embodiments are only for the purpose of helping to understand the methods and core ideas of this application. At the same time, for those skilled in the art, there will be changes in the specific implementation methods and application scope based on the ideas of this application. Therefore, the content of this specification should not be construed as a limitation of this application.

Claims

1. A simulation method for a logistics system based on digital twins, characterized in that, include: The logistics lines in the target logistics system are analyzed to determine the operating direction of each production line in the logistics line and the corresponding production line components. Based on the direction of operation and the distribution of the logistics lines, the production line components are classified to generate a number of steering components and a number of running components corresponding to each production line; both the steering components and the running components are equipped with virtual sensors for automated simulation. Based on the running direction, the component running links corresponding to each production line are constructed using the several steering components and the several running components to obtain the corresponding logical links, and component numbers are defined for each component in each logical link based on the running direction. The logical links are connected using the defined component numbers and distribution, and the components between the links are superimposed at the connection points of the logical links, so as to simulate the target logistics system using the obtained digital twin model of the target logistics system, the component numbers, and the information fed back by the virtual sensors. The step of superimposing inter-link components at the connection points of the logical links includes: From each logical link, determine the set of connection links corresponding to the connection point of each logical link, and evaluate the height between each connection link in the set of connection links to obtain the height difference between each connection link; The target running component and the target steering component at the connection point are determined from the components of each connection link, and the target running component and the target steering component are superimposed according to the height difference; The virtual sensor includes a first sensor and a second sensor. The first sensor is located at the end of each component along its corresponding running direction, and is used to detect whether there is an item at the end of the component, and generate a corresponding first trigger signal when an item is detected at the end of the component. The second sensor is laid flat and attached to the top of each component, and is used to detect whether an item has arrived at the current component and to identify the item's number information, and generate a corresponding second trigger signal when an item has arrived at the current component.

2. The logistics system simulation method based on digital twins according to claim 1, characterized in that, The step of defining component numbers for each component in each logical link based on the running direction includes: For each target component among the components, the running endpoint of the target component is determined based on the running direction of the target component, and a corresponding endpoint number is assigned to each running endpoint; the target component is any one of the components. Determine the number of endpoints for the target component's operational endpoint; If the number of endpoints is one, then the endpoint number of the running endpoint of the target component is taken as the component number of the target component; If there are multiple endpoints, the endpoint numbers of the running endpoints of the target component are XORed bitwise to perform the superposition of the endpoint numbers, and the resulting superimposed number is used as the component number of the target component. The superimposed number obtained by superimposing any number of endpoint numbers is different from all the endpoint numbers.

3. The simulation method for a logistics system based on digital twins according to claim 1, characterized in that, Before simulating the target logistics system using the obtained digital twin model of the target logistics system, the component numbers, and the information fed back by the virtual sensors, the process further includes: Based on the received parameter setting instructions, the logic control parameters of each component are set, and the logic control parameters of the previous and next components corresponding to each target component are saved to the target component.

4. The simulation method for a logistics system based on digital twins according to claim 2, characterized in that, The simulation of the target logistics system using the obtained digital twin model of the target logistics system, the component numbers, and the information fed back by the virtual sensors includes: Assign a corresponding item number to the item to be transported based on the target destination of the item; Based on the item number and the component number, the transportation of the item to be transported is carried out in the digital twin model of the obtained target logistics system; When the second trigger signal fed back by the second sensor of any of the components is detected, the item number of the item to be transported is obtained through the second sensor, and the component number of the current component and the item number are bitwise ANDed to obtain the corresponding first calculation result. If the value of the first calculation result is greater than zero, the current component is started, and when the first trigger signal fed back by the first sensor of the current component is detected, it is determined whether the second sensor of the next component of the current component has generated the corresponding second trigger signal. If it is determined that the second sensor of the next component of the current component has generated the corresponding second trigger signal, then it is determined whether the first sensor of the next component has generated the corresponding first trigger signal, so as to determine whether to allow the transport of the item to be transported to continue based on the obtained determination result.

5. The logistics system simulation method based on digital twins according to claim 4, characterized in that, The process of transporting the items to be transported based on the item number and the component number in the obtained digital twin model of the target logistics system includes: When the item to be transported is transported to the connection point of each logical link, the second trigger signal fed back by the second sensor in the steering component and the running component at the connection point is detected; The second sensor is used to obtain the item number of the item to be transported, and the first component number of the steering component and the second component number of the running component are determined. Perform bitwise AND operations between the first component number and the second component number and the item number respectively to obtain the corresponding second operation result; If the value obtained by calculating the second calculation result with the first component number is greater than zero, then the steering component is activated; If the value obtained by operating the second operation result with the second component number is greater than zero, then the running component is started.

6. A digital twin-based logistics system simulation device, used to implement the digital twin-based logistics system simulation method of claim 1, characterized in that, include: The logistics line analysis module is used to analyze the logistics lines in the target logistics system to determine the operating direction of each production line in the logistics line and the corresponding production line components. The component classification module is used to classify the several production line components based on the running direction and the distribution of the logistics line, so as to generate several steering components and several running components corresponding to each production line; both the steering components and the running components are equipped with virtual sensors for automated simulation. The numbering definition module is used to construct the component operation links corresponding to each production line according to the running direction using the several steering components and the several running components, so as to obtain the corresponding logical links, and to define the component number for each component in each logical link based on the running direction. The component overlay module is used to connect the logical links using the defined component numbers and distribution, and to overlay the components between the links at the connection points of the logical links, so as to use the obtained digital twin model of the target logistics system, the component numbers, and the information fed back by the virtual sensors to simulate the target logistics system. The step of superimposing inter-link components at the connection points of the logical links includes: From each logical link, determine the set of connection links corresponding to the connection point of each logical link, and evaluate the height between each connection link in the set of connection links to obtain the height difference between each connection link; The target running component and the target steering component at the connection point are determined from the components of each connection link, and the target running component and the target steering component are superimposed according to the height difference; The virtual sensor includes a first sensor and a second sensor. The first sensor is located at the end of each component along its corresponding running direction, and is used to detect whether there is an item at the end of the component, and generate a corresponding first trigger signal when an item is detected at the end of the component. The second sensor is laid flat and attached to the top of each component, and is used to detect whether an item has arrived at the current component and to identify the item's number information, and generate a corresponding second trigger signal when an item has arrived at the current component.

7. An electronic device, characterized in that, include: Memory, used to store computer programs; A processor for executing the computer program to implement the digital twin-based logistics system simulation method as described in any one of claims 1 to 5.

8. A computer-readable storage medium, characterized in that, Used to store computer programs; wherein, when the computer programs are executed by a processor, they implement the logistics system simulation method based on digital twins as described in any one of claims 1 to 5.

Citation Information

Patent Citations

  • Production scheduling method and device based on digital twinning and computer equipment

    CN114399227A

  • Production line simulation system based on digital twinning and construction method thereof

    CN116882222A