A digital factory that can be quickly replicated and a replication method
By analyzing and correcting the process routes and action content of the equipment object of digital factories based on the matching method based on production content, the problem of difficult to quickly copy and guide the equipment upgrade and technical iteration of digital factories in the existing technology is solved, and the rapid and accurate transfer of production content is achieved.
Patent Information
- Application Number
- CN202411243635.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-05
- Publication Date
- 2025-05-27
- Estimated Expiration
- 2044-09-05
AI Technical Summary
The prior art is difficult to quickly and effectively guide equipment upgrades and technical iterations of digital factories through simple copy-paste, especially when it involves a large amount of digital content.
Using a matching method based on production content, by analyzing the copied object and the device objects of the copied object, the respective process routes and action content are obtained, and the standard process routes are corrected and matched. Finally, the action content is used to verify the matching results to realize the action content copying of the device object.
It realizes rapid content replication in digital factories, ensures rapid transfer and accuracy of production content, and adapts to the needs of equipment upgrades and technology iterations.
Smart Images

Figure CN119165817B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the technical field of digital factories, and in particular, to a digital factory that can be quickly replicated and a replication method. Background Art
[0002] Based on the relevant data of the entire product life cycle, a digital factory is a virtual product that simulates the entire production process through a computer virtual environment. This product has high value because it is directly related to the actual production process and has extremely high guiding significance.
[0003] During the construction of a new digital factory, it is possible to refer to an already operational digital factory, that is, to adopt a replication method. The advantage of this method is that it can be quickly deployed and differences can be discovered. However, a digital factory involves a large amount of digital content, and with equipment upgrades and technological iterations, it is also impossible to provide guidance through simple copy and paste methods. Summary of the Invention
[0004] This application provides a digital factory that can be quickly replicated and a replication method, and uses a matching method based on production content to copy the content of two digital factories. This method can achieve the rapid transfer of production content.
[0005] The above object of this application is achieved through the following technical solutions:
[0006] In a first aspect, this application provides a replication method for a digital factory, including:
[0007] Analyze the first device object included in the object to be replicated to obtain a first process route and first action content;
[0008] Analyze the second device object included in the replication object to obtain a second process route and second action content;
[0009] Based on a standard process route, correct the first process route and the second process route to obtain a first corrected process route and a second corrected process route;
[0010] Match according to the first corrected process route and the second corrected process route to obtain a first matching result;
[0011] Use the first action content and the second action content to verify the first matching result to obtain a second matching result;
[0012] According to the second matching result, copy the first action content of the first device object that matches the second device object to the second device object.
[0013] In a possible implementation manner of the first aspect, obtaining the first process route includes:
[0014] Determine the transportation equipment among the equipment objects included in the object to be copied;
[0015] Create a transportation route with the transportation equipment as the reference point, and the transportation route includes multiple sub-transportation routes;
[0016] Convert the equipment objects included in the object to be copied into connection points, and the connection points are connected to at least two sub-transportation routes;
[0017] Determine the directions of the sub-transportation routes and establish transportation routes according to the directions of the sub-transportation routes to obtain multiple transportation routes;
[0018] Conduct direction analysis on the obtained multiple transportation routes and perform screening according to the direction analysis results, leaving one or more transportation routes;
[0019] When there is one remaining transportation route, use this transportation route as the process route. When there are multiple remaining transportation routes, use the transportation route pointed to by the selection instruction as the process route.
[0020] In a possible implementation manner of the first aspect, obtaining the first action content includes:
[0021] Place the first equipment object in a three-dimensional coordinate system;
[0022] Drive the first equipment object to perform actions and record the movement trajectory to obtain a three-dimensional movement trajectory route.
[0023] In a possible implementation manner of the first aspect, the matching according to the first corrected process route and the second corrected process route includes:
[0024] Place the first corrected process route and the second corrected process route in the same coordinate system;
[0025] Adjust the node positions of the first corrected process route and the second corrected process route to make the corresponding nodes on the first corrected process route coincide with those on the second corrected process route;
[0026] Group the first equipment object and the second equipment object with any two adjacent nodes as references to obtain a first equipment object group and a second equipment object group;
[0027] Analyze the corresponding relationship between the first equipment object group and the second equipment object group and adjust the node coincidence according to the corresponding relationship.
[0028] In a possible implementation manner of the first aspect, analyzing the corresponding relationship between the first equipment object group and the second equipment object group and adjusting the node coincidence according to the corresponding relationship includes:
[0029] Obtain the device types in the first device object group and sort them to obtain the first device type sequence;
[0030] Obtain the device types in the second device object group and sort them to obtain the second device type sequence;
[0031] Calculate the matching degree between the first device type sequence and the second device type sequence;
[0032] Adjust the node coincidence according to the matching degree.
[0033] In a possible implementation manner of the first aspect, using the first action content and the second action content to verify a primary matching result includes:
[0034] Obtain the first action content of the first device object and the second action content of the second device object in the primary matching result;
[0035] Calculate the similarity between the first action content and the second action content;
[0036] When the second action content is similar to the first action content, the primary matching result passes the verification; otherwise, mark the first device object and the second device object corresponding to the primary matching result.
[0037] In a possible implementation manner of the first aspect, when calculating the similarity between the first action content and the second action content, it further includes replacing the first device object or the second device object in the primary matching result. When replacing the first device object or the second device object in the primary matching result, both the first device object or the second device object in the primary matching result on the sequence are replaced.
[0038] In the second aspect, the present application provides a replication device for a digital factory, including:
[0039] A first analysis unit for analyzing the first device objects included in the object to be replicated to obtain a first process route and a first action content;
[0040] A second analysis unit for analyzing the second device objects included in the replication object to obtain a second process route and a second action content;
[0041] A correction unit for correcting the first process route and the second process route based on the standard process route to obtain a first corrected process route and a second corrected process route;
[0042] A matching unit for matching according to the first corrected process route and the second corrected process route to obtain a primary matching result;
[0043] A verification unit, configured to verify a primary matching result by using a first action content and a second action content, so as to obtain a secondary matching result;
[0044] A copying unit, configured to copy the first action content of the first device object that matches the second device object to the second device object according to the secondary matching result.
[0045] In a third aspect, the present application provides a digital factory capable of fast copying, where the digital factory includes:
[0046] One or more memories, configured to store instructions and digital factory content; and
[0047] One or more processors, configured to call and run the instructions and digital factory content from the memory, and execute the method described in the first aspect and any possible implementation manner of the first aspect.
[0048] In a fourth aspect, the present application provides a computer-readable storage medium, where the computer-readable storage medium includes:
[0049] A program, when the program is run by a processor, the method described in the first aspect and any possible implementation manner of the first aspect is executed.
[0050] In a fifth aspect, the present application provides a computer program product, including program instructions, when the program instructions are run by a computing device, the method described in the first aspect and any possible implementation manner of the first aspect is executed.
[0051] In a sixth aspect, the present application provides a chip system, where the chip system includes a processor, configured to implement the functions involved in the above aspects, for example, generate, receive, send, or process the data and / or information involved in the above method.
[0052] The chip system may be composed of chips, or may include chips and other discrete devices.
[0053] In a possible design, the chip system further includes a memory, and the memory is configured to store necessary program instructions and data. The processor and the memory may be decoupled and disposed on different devices, and connected by a wired or wireless manner, or the processor and the memory may also be coupled on the same device. Description of the Drawings
[0054] Figure 1 is a schematic block diagram of the steps of a method for copying a digital factory provided by the present application.
[0055] Figure 2 is a schematic diagram of obtaining a first corrected process route provided by the present application.
[0056] Figure 3 It is a schematic diagram of obtaining a second corrected process route provided by this application.
[0057] Figure 4 It is a schematic diagram of connecting two sub - transportation routes provided by this application. Detailed implementation manners
[0058] The technical solutions in this application will be further described in detail below with reference to the accompanying drawings.
[0059] This application discloses a method for replicating a digital factory. Please refer to Figure 1 , in some examples, the method for replicating a digital factory disclosed in this application includes the following steps:
[0060] S101, Analyze the first device object included in the object to be replicated to obtain a first process route and first action content;
[0061] S102, Analyze the second device object included in the replication object to obtain a second process route and second action content;
[0062] S103, Based on the standard process route, correct the first process route and the second process route to obtain a first corrected process route and a second corrected process route;
[0063] S104, Match according to the first corrected process route and the second corrected process route to obtain a primary matching result;
[0064] S105, Use the first action content and the second action content to verify the primary matching result to obtain a secondary matching result;
[0065] S106, Copy the first action content of the first device object that matches the second device object to the second device object according to the secondary matching result.
[0066] The object to be replicated in steps S101 to S106 refers to a digital factory that has been put into production, and the replication object refers to a digital factory that has not been put into production. Analyze the first device object included in the object to be replicated to obtain a first process route and first action content. The first action content is associated with the first device object, and each first device object has a first action content.
[0067] Analyze the second device object included in the replication object to obtain a second process route and second action content. The second action content is associated with the second device object, and each second device object has a second action content.
[0068] Next, the first process route and the second process route are corrected based on the standard process route to obtain the first corrected process route ( Figure 2 as shown) and the second corrected process route ( Figure 3 as shown). There are only horizontal and vertical lines in the standard process route. For example, if there is a bent section in a process route, then based on the standard process route, this bent section will be changed to a straight section. The purpose of correcting the first process route and the second process route is to facilitate matching.
[0069] After matching according to the first corrected process route and the second corrected process route, after obtaining the first matching result, the first action content and the second action content are used to verify the first matching result to obtain the second matching result. Finally, according to the second matching result, the first action content of the first device object matched with the second device object is copied to the second device object.
[0070] In this way, the accurate transfer of the first action content of the first device object can be achieved.
[0071] The specific way to obtain the first process route is as follows:
[0072] S201, determine the transportation equipment among the equipment objects included in the object to be copied;
[0073] S202, create a transportation route with the transportation equipment as the reference point. The transportation route includes multiple sub-transportation routes;
[0074] S203, convert the equipment objects included in the object to be copied into connection points. The connection points are connected to at least two sub-transportation routes;
[0075] S204, determine the directions of the sub-transportation routes and establish the transportation route according to the directions of the sub-transportation routes to obtain multiple transportation routes;
[0076] S205, perform direction analysis on the obtained multiple transportation routes and screen according to the direction analysis results, leaving one or more transportation routes;
[0077] S206, when there is one remaining transportation route, use this transportation route as the process route. When there are multiple remaining transportation routes, use the transportation route pointed to by the selection instruction as the process route.
[0078] Please refer to Figure 4 , in steps S201 to S206, first create a transportation route according to the transportation equipment. The transportation route consists of multiple sub-transportation routes because processing equipment is also involved in the middle. Then convert the equipment objects included in the object to be copied into connection points. The connection points are connected to at least two sub-transportation routes. Here, the equipment object converted into a connection point is the processing equipment.
[0079] Then, determine the direction of the sub-transport route and establish a transport route according to the direction of the sub-transport route, obtaining multiple transport routes. The direction of the sub-transport route may be one or multiple.
[0080] Conduct a direction analysis on the obtained multiple transport routes and perform screening according to the direction analysis results, leaving one or more transport routes remaining.
[0081] When there is one remaining transport route, use this transport route as the process route. When there are multiple remaining transport routes, use the transport route pointed to by the selection instruction as the process route. The selection instruction is generated externally and is generally directly specified by the staff to use a transport route as the process route.
[0082] The way to obtain the first action content is:
[0083] Place the first equipment object into a three-dimensional coordinate system;
[0084] Drive the first equipment object to perform an action and record the motion trajectory, obtaining a three-dimensional motion trajectory route.
[0085] The way to obtain the first process route and the second action content is the same as that described above and will not be elaborated here.
[0086] The specific way to match according to the first corrected process route and the second corrected process route is:
[0087] S301, place the first corrected process route and the second corrected process route into the same coordinate system;
[0088] S302, adjust the node positions of the first corrected process route and the second corrected process route so that the corresponding nodes on the first corrected process route coincide with those on the second corrected process route;
[0089] S303, group the first equipment object and the second equipment object with any two adjacent nodes as references, obtaining the first equipment object group and the second equipment object group;
[0090] S304, analyze the corresponding relationship between the first equipment object group and the second equipment object group and adjust the node coincidence according to the corresponding relationship.
[0091] In the above method, first adjust the nodes (the intersection points of at least two sub-transport routes), then group the first equipment object and the second equipment object according to the nodes, obtaining the first equipment object group and the second equipment object group, and then analyze the corresponding relationship between the first equipment object group and the second equipment object group and adjust the node coincidence according to the corresponding relationship.
[0092] Because for the first device object group and the second device object group, the process routes involved should be the same or similar.
[0093] Analyze the correspondence between the first device object group and the second device object group and adjust the node coincidence according to the correspondence as follows:
[0094] Obtain the device types in the first device object group and sort them to obtain the first device type sequence;
[0095] Obtain the device types in the second device object group and sort them to obtain the second device type sequence;
[0096] Calculate the matching degree between the first device type sequence and the second device type sequence;
[0097] Adjust the node coincidence according to the matching degree.
[0098] Here, the node coincidence is mainly adjusted according to the matching degree between the first device type sequence and the second device type sequence. If the matching degree meets the requirements, the matching is successful; if not, the corresponding nodes need to be moved until the matching degree reaches the requirements.
[0099] The matching degree is a numerical value. For example, when the first device type sequence and the second device type sequence are matched, 8 out of 10 in the first device type sequence are successfully matched, and the matching degree is 0.8; 9 out of 10 in the second device type sequence are successfully matched, and the matching degree is 0.9.
[0100] If the set matching degree is 0.7 at this time, it means the matching is successful; if the set matching degree is 0., it means the matching is unsuccessful and the node coincidence needs to be adjusted.
[0101] The way to verify the first matching result using the first action content and the second action content is as follows:
[0102] Obtain the first action content of the first device object and the second action content of the second device object in the first matching result;
[0103] Calculate the similarity between the first action content and the second action content;
[0104] When the second action content is similar to the first action content, the first matching result passes the verification; otherwise, the first device object and the second device object corresponding to the first matching result are marked.
[0105] The first action content and the second action content refer to the trajectories of the first device object and the second device object when performing actions during the production process. The trajectories are directly placed into the coordinate system for similarity calculation. When calculating the similarity, first move the first action content and the second action content to make them overlap as much as possible, and then calculate the proportion of the overlapping part. At this time, the proportion needs to be calculated for both the first action content and the second action content, and compared with the set value. Only when both are greater than the set value is it considered that the similarity between the first action content and the second action content meets the requirements.
[0106] When overlapping, if the distance between the main two points is less than the set value, it is considered overlapping. And it is also allowed to increase the proportion of the overlapping part through magnification, reduction, rotation, etc.
[0107] Furthermore, when calculating the similarity between the first action content and the second action content, it also includes replacing the first device object or the second device object of the matching result once. When replacing the first device object or the second device object of the matching result once, both the first device object and the second device object in the matching result of the sequence are replaced.
[0108] This application also provides a replication device for a digital factory, including:
[0109] A first analysis unit for analyzing the first device object included in the object to be replicated to obtain a first process route and a first action content;
[0110] A second analysis unit for analyzing the second device object included in the replication object to obtain a second process route and a second action content;
[0111] A correction unit for correcting the first process route and the second process route based on the standard process route to obtain a first corrected process route and a second corrected process route;
[0112] A matching unit for matching according to the first corrected process route and the second corrected process route to obtain a primary matching result;
[0113] A verification unit for verifying the primary matching result using the first action content and the second action content to obtain a secondary matching result;
[0114] A replication unit for copying the first action content of the first device object matching the second device object to the second device object according to the secondary matching result.
[0115] Furthermore, it also includes:
[0116] A first determination unit for determining the transportation device among the device objects included in the object to be replicated;
[0117] A first creation unit for creating a transportation route based on a transportation device, where the transportation route includes multiple sub-transportation routes;
[0118] A second creation unit for converting the device objects included in the object to be copied into connection points, where the connection points are connected to at least two sub-transportation routes;
[0119] A second determination unit for determining the directions of the sub-transportation routes and establishing a transportation route according to the directions of the sub-transportation routes to obtain multiple transportation routes;
[0120] A screening unit for performing direction analysis on the obtained multiple transportation routes and screening according to the direction analysis results, leaving one or more transportation routes;
[0121] A first processing unit for, when there is one remaining transportation route, using this transportation route as the process route, and when there are multiple remaining transportation routes, using the transportation route pointed to by the selection instruction as the process route.
[0122] Furthermore, it further includes:
[0123] A second processing unit for placing the first device object into a three-dimensional coordinate system;
[0124] A recording unit for driving the first device object to perform actions and recording the movement trajectory to obtain a three-dimensional movement trajectory route.
[0125] Furthermore, it further includes:
[0126] A third processing unit for placing the first corrected process route and the second corrected process route into the same coordinate system;
[0127] An adjustment unit for adjusting the node positions of the first corrected process route and the second corrected process route so that the corresponding nodes on the first corrected process route and the second corrected process route coincide;
[0128] A grouping unit for grouping the first device object and the second device object with any two adjacent nodes as references to obtain a first device object group and a second device object group;
[0129] An analysis unit for analyzing the corresponding relationship between the first device object group and the second device object group and adjusting the node coincidence according to the corresponding relationship.
[0130] Furthermore, it further includes:
[0131] A fourth processing unit for obtaining the device types in the first device object group and sorting them to obtain a first device type sequence;
[0132] A fifth processing unit, configured to obtain and sort the device types in the second device object group to obtain a second device type sequence;
[0133] A first calculation unit, configured to calculate the matching degree between the first device type sequence and the second device type sequence;
[0134] A readjustment unit, configured to adjust the node coincidence according to the matching degree.
[0135] Further, it further includes:
[0136] A data acquisition unit, configured to obtain the first action content of the first device object and the second action content of the second device object in the first matching result;
[0137] A second calculation unit, configured to calculate the similarity between the first action content and the second action content;
[0138] A marking unit, configured to, when the second action content is similar to the first action content, the first matching result passes the verification, otherwise, mark the first device object and the second device object corresponding to the first matching result.
[0139] Further, when calculating the similarity between the first action content and the second action content, it further includes replacing the first device object or the second device object in the first matching result. When replacing the first device object or the second device object in the first matching result, the first device object or the second device object in the first matching result on the sequence is replaced.
[0140] In an example, the units in any of the above devices may be one or more integrated circuits configured to implement the above methods. For example: one or more application specific integrated circuits (ASICs), or, one or more digital signal processors (DSPs), or, one or more field programmable gate arrays (FPGAs), or a combination of at least two of these integrated circuit forms.
[0141] Again, when the units in the device can be implemented in the form of a processing element scheduler, the processing element may be a general-purpose processor, such as a central processing unit (CPU) or other processors that can call programs. Again, these units may be integrated together and implemented in the form of a system-on-a-chip (SOC).
[0142] In this application, names may be given to various objects such as various messages / information / devices / network elements / systems / devices / actions / operations / processes / concepts, etc. It can be understood that these specific names do not constitute a limitation on the relevant objects, and the given names may change with factors such as scenarios, contexts, or usage habits. The understanding of the technical meanings of the technical terms in this application should be mainly determined from the functions and technical effects embodied / executed in the technical solutions.
[0143] Those skilled in the art can clearly understand that for the convenience and brevity of description, the specific working processes of the systems, devices, and units described above can refer to the corresponding processes in the foregoing method embodiments and will not be elaborated herein.
[0144] In several embodiments provided in this application, it should be understood that the disclosed systems, devices, and methods can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of the units is only a logical function division, and there may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the displayed or discussed couplings or direct couplings or communication connections to each other can be through some interfaces, and the indirect couplings or communication connections of the devices or units can be in electrical, mechanical, or other forms.
[0145] The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they can be located in one place or distributed to multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0146] Those of ordinary skill in the art can realize that the units and algorithm steps of each example described in combination with the embodiments disclosed herein can be implemented by electronic hardware, or by a combination of computer software and electronic hardware. Whether these functions are executed in a hardware or software manner depends on the specific application and design constraints of the technical solution. Professional technicians can use different methods for each specific application to implement the described functions, but such implementation should not be considered to exceed the scope of this application.
[0147] It should also be understood that in various embodiments of this application, the first, second, etc. are only used to indicate that multiple objects are different. For example, the first time window and the second time window are only used to indicate different time windows. And it should not have any impact on the time window itself. The above first, second, etc. should not impose any limitations on the embodiments of this application.
[0148] It should also be understood that in various embodiments of the present application, if there is no special description and logical conflict, the terms and / or descriptions between different embodiments are consistent and can be referenced to each other, and the technical features in different embodiments can be combined to form new embodiments according to their internal logical relationships.
[0149] If the above-mentioned function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, in essence, or the part that contributes to the prior art, or a part of this technical solution, can be embodied in the form of a software product. This computer software product is stored in a computer-readable storage medium and includes several instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in various embodiments of the present application. The aforementioned computer-readable storage medium includes: various media such as USB flash drives, mobile hard disks, read-only memories (ROM), random access memories (RAM), magnetic disks, or optical discs that can store program codes.
[0150] The present application also provides a digital factory that can be quickly replicated. The digital factory includes:
[0151] One or more memories for storing instructions and digital factory content; and
[0152] One or more processors for calling and running the instructions and digital factory content from the memory and executing the methods described in the above content.
[0153] The present application also provides a computer program product. The computer program product includes instructions that, when executed, cause the terminal device and the network device to perform the operations of the terminal device and the network device corresponding to the above methods.
[0154] The present application also provides a chip system. The chip system includes a processor for implementing the functions involved in the above content. For example, generating, receiving, sending, or processing the data and / or information involved in the above methods.
[0155] The chip system can be composed of chips or can include chips and other discrete devices.
[0156] The processor mentioned anywhere above can be a CPU, a microprocessor, an ASIC, or an integrated circuit for controlling the execution of one or more programs for the above-mentioned method of feedback information transmission.
[0157] In a possible design, the chip system further includes a memory for storing necessary program instructions and data. The processor and the memory can be decoupled and separately disposed on different devices, and connected by wired or wireless means to support the chip system to implement various functions in the above embodiments. Alternatively, the processor and the memory can also be coupled on the same device.
[0158] Optionally, the computer instructions are stored in the memory.
[0159] Optionally, the memory is a storage unit within the chip, such as a register, cache, etc. The memory can also be a storage unit outside the chip within the terminal, such as a ROM or other types of static storage devices that can store static information and instructions, a RAM, etc.
[0160] It can be understood that the memory in this application can be a volatile memory or a non-volatile memory, or can include both volatile and non-volatile memories.
[0161] The non-volatile memory can be a ROM, a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory.
[0162] The volatile memory can be a RAM, which is used as an external cache. There are various different types of RAM, such as a static random access memory (SRAM), a dynamic random access memory (DRAM), a synchronous dynamic random access memory (SDRAM), a double data rate synchronous dynamic random access memory (DDR SDRAM), an enhanced synchronous dynamic random access memory (ESDRAM), a synch link DRAM (SLDRAM), and a direct memory bus random access memory.
[0163] The embodiments of this specific implementation manner are all preferred embodiments of this application, and do not limit the protection scope of this application. Therefore, all equivalent changes made according to the structure, shape, and principle of this application should be covered within the protection scope of this application.
Claims
1. A method for replicating a digital factory, characterized in that: include: Analyze the first equipment object included in the copied object to obtain a first process route and a first action content; Analyze the second equipment object included in the copy object to obtain the second process route and the second action content; Correcting the first process route and the second process route based on the standard process route to obtain a first corrected process route and a second corrected process route; Matching is performed according to the first revised process route and the second revised process route to obtain a matching result; Verify the primary matching result using the first action content and the second action content to obtain a secondary matching result; Copying the first action content of the first device object that matches the second device object to the second device object according to the secondary matching result; The first process route includes: Determine the transport device in the device object included in the copied object; Create a transportation route based on the transportation equipment, which includes multiple sub-transportation routes; Convert the equipment objects included in the copied objects into connection points, where the connection points are connected to at least two sub-transportation routes; Determine the direction of the sub-transportation route and establish a transportation route according to the direction of the sub-transportation route to obtain multiple transportation routes; Direction analysis is performed on the obtained multiple transport routes and screening is performed according to the direction analysis results, and one or more transport routes remain; When there is one transport route left, the transport route is used as the process route. When there are multiple transport routes left, the transport route pointed to by the selection instruction is used as the process route. The first action content includes: placing the first device object into a three-dimensional coordinate system; Driving the first device object to perform an action and record a motion trajectory to obtain a three-dimensional motion trajectory route; Matching according to the first revised process route and the second revised process route includes: Put the first revised process route and the second revised process route into the same coordinate system; Adjust the node positions of the first revised process route and the second revised process route so that the corresponding nodes on the first revised process route overlap with those on the second revised process route; Grouping the first device object and the second device object with reference to any two adjacent nodes to obtain a first device object group and a second device object group; Analyze the correspondence between the first device object group and the second device object group and adjust the node overlap according to the correspondence; Verifying a matching result using the first action content and the second action content includes: Obtaining a first action content of a first device object and a second action content of a second device object in a matching result; Calculating the similarity between the first action content and the second action content; When the second action content is similar to the first action content, the primary matching result passes the verification, otherwise the first device object and the second device object corresponding to the primary matching result are marked.
2. The method for replicating a digital factory according to claim 1, characterized in that: Analyzing the correspondence between the first device object group and the second device object group and adjusting the node overlap according to the correspondence includes: Obtaining and sorting device types in the first device object group to obtain a first device type sequence; Obtaining and sorting the device types in the second device object group to obtain a second device type sequence; Calculating a matching degree between the first device type sequence and the second device type sequence; The node overlap is adjusted according to the matching degree.
3. The method for replicating a digital factory according to claim 1, characterized in that: When calculating the similarity between the first action content and the second action content, it also includes replacing the first device object or the second device object of a matching result. When replacing the first device object or the second device object of a matching result, the first device object or the second device object in the matching result on the sequential sequence is replaced.
4. A digital factory replication device, characterized in that: include: A first analyzing unit, configured to analyze a first equipment object included in the copied object to obtain a first process route and a first action content; A second analyzing unit is used to analyze the second equipment object included in the copy object to obtain a second process route and a second action content; A correction unit, used for correcting the first process route and the second process route based on the standard process route to obtain a first corrected process route and a second corrected process route; A matching unit, configured to perform matching according to the first corrected process route and the second corrected process route to obtain a matching result; A verification unit, used to verify the primary matching result using the first action content and the second action content to obtain a secondary matching result; A copying unit, configured to copy the first action content of the first device object matching the second device object to the second device object according to the secondary matching result; The first process route includes: Determine the transport device in the device object included in the copied object; Create a transportation route based on the transportation equipment, which includes multiple sub-transportation routes; Convert the equipment objects included in the copied objects into connection points, where the connection points are connected to at least two sub-transportation routes; Determine the direction of the sub-transportation route and establish a transportation route according to the direction of the sub-transportation route to obtain multiple transportation routes; Direction analysis is performed on the obtained multiple transport routes and screening is performed according to the direction analysis results, and one or more transport routes remain; When there is one transport route left, the transport route is used as the process route. When there are multiple transport routes left, the transport route pointed to by the selection instruction is used as the process route. The first action content includes: placing the first device object into a three-dimensional coordinate system; Driving the first device object to perform an action and record a motion trajectory to obtain a three-dimensional motion trajectory route; Matching according to the first revised process route and the second revised process route includes: Put the first revised process route and the second revised process route into the same coordinate system; Adjust the node positions of the first revised process route and the second revised process route so that the corresponding nodes on the first revised process route overlap with those on the second revised process route; Grouping the first device object and the second device object with reference to any two adjacent nodes to obtain a first device object group and a second device object group; Analyze the correspondence between the first device object group and the second device object group and adjust the node overlap according to the correspondence; Verifying a matching result using the first action content and the second action content includes: Obtaining a first action content of a first device object and a second action content of a second device object in a matching result; Calculating the similarity between the first action content and the second action content; When the second action content is similar to the first action content, the primary matching result passes the verification, otherwise the first device object and the second device object corresponding to the primary matching result are marked.
5. A rapidly replicable digital factory, characterized in that: The digital factory includes: one or more memories for storing instructions and digital factory content; and One or more processors, configured to call and execute the instructions and digital factory contents from the memory to execute the method according to any one of claims 1 to 3.
6. A computer-readable storage medium, characterized in that: The computer readable storage medium comprises: The program, when the program is executed by a processor, the method according to any one of claims 1 to 3 is executed.
Citation Information
Patent Citations
Methods and apparatus to upgrade and provide control redundancy in process plants
CN101393430A
Data acquisition system having setup duplication capability
US5295063A