Industrial system testing method and device and storage medium
By building twin industrial systems and simulated industrial networks, and simulating the network situation of actual industrial systems for testing, the problem of low reliability of test results in the existing technology is solved, and more reliable industrial system testing is achieved.
Patent Information
- Application Number
- CN202411572582.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-05
- Publication Date
- 2025-02-25
AI Technical Summary
The existing technology mainly conducts tests on the OT side of industrial systems, and fails to effectively consider the industrial communication technology side of industrial systems, resulting in low reliability of the test results of twin industrial systems.
By building a twin industrial system and a simulation industrial network, using an industrial twin platform and a simulation industrial network to build a system, simulate the network situation of the actual industrial system, transmit the simulation industrial network to the industrial twin platform, and conduct simulation network-based testing.
Improves the reliability of test results of twin industrial systems, ensuring that testing is carried out with actual industrial network considerations, and avoids insufficient testing in the ideal network situation.
Smart Images

Figure CN119512034A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of industrial technology, and in particular to a testing method, device and storage medium for an industrial system. Background Art
[0002] With the rapid development of simulation technology, it is possible to simulate industrial systems in the field of industrial technology (hereinafter referred to as industrial system simulation). Specifically, by establishing a mathematical model of the industrial system, using computers or other special equipment to simulate the real industrial environment, the modules of the actual system can be converted into twin models, the operation process of the actual industrial system can be simulated, and the simulation and interaction of the workflow can be realized. In other words, the industrial system can be simulated to obtain a twin industrial system.
[0003] However, after obtaining the twin industrial system, different industrial scenarios can be simulated, and the twin industrial system can be tested in different simulation scenarios to obtain test results, so that the twin industrial system can be optimized based on the test results later.
[0004] At present, the testing of twin industrial systems is mainly carried out on the industrial operational technology (OT) side of the twin industrial system. However, the twin industrial system does not only include the OT side, so if only the OT side is tested, the reliability of the test results of the twin industrial system will be low. Summary of the invention
[0005] The present application provides a testing method, device and storage medium for an industrial system, which can improve the reliability of the test results of a twin industrial system.
[0006] In order to achieve the above objectives, this application adopts the following technical solutions:
[0007] In the first aspect, the present application provides a testing method for an industrial system, which is applied to a testing system for an industrial system. The testing system for an industrial system includes an industrial twin platform and a simulated industrial network construction system. The method includes: the industrial twin platform constructs a twin industrial system for the business to be tested; the simulated industrial network construction system constructs a simulated industrial network of the actual industrial system of the business to be tested, and transmits the simulated industrial network to the industrial twin platform; the industrial twin platform tests the twin industrial system based on the simulated industrial network.
[0008] In one possible implementation, the simulated industrial network construction system includes: a network simulation instrument, a sweeper, and a simulator. The simulated industrial network construction system constructs a simulated industrial network of an actual industrial system of the business to be tested, including: the network simulation instrument simulates a twin communication network based on the configuration parameters of the communication network to which the actual industrial system is connected, and sends the twin communication network to the simulator; the sweeper collects wireless channel parameters in the industrial network of the actual industrial system, and sends the wireless channel parameters to the simulator; the simulator accesses the twin communication network, determines the configuration parameters of the simulated industrial network based on the wireless channel parameters, and constructs the simulated industrial network based on the configuration parameters of the simulated industrial network.
[0009] In a possible implementation, the simulation network construction system also includes: a forwarding unit; transmitting the simulated industrial network to the industrial twin platform, including: the simulator transmitting the simulated industrial network to the industrial twin platform through the forwarding unit.
[0010] In one possible implementation, the simulated industrial network construction system also includes: a network adjustment system; the simulator constructs a simulated industrial network based on the configuration parameters of the simulated industrial network, including: the simulator constructs an initial industrial network of the actual industrial system of the business to be tested based on the configuration parameters of the simulated industrial network, and sends the initial industrial network to the network adjustment system; the network adjustment system determines the network error, corrects the initial industrial network based on the network error, and obtains the simulated industrial network, wherein the network error is used to indicate the error between the transmission parameters of the initial industrial network and the transmission parameters of the actual industrial network.
[0011] In one possible implementation, the network regulation system includes a network monitor; the network regulation system determines the network error, including: the network monitor monitors the initial industrial network and the actual industrial network, obtains the transmission parameters of the initial industrial network and the transmission parameters of the actual industrial network respectively, and compares the transmission parameters of the initial industrial network with the transmission parameters of the actual industrial network to determine the network error.
[0012] In one possible implementation, the network regulation system also includes a network damage meter; the network regulation system corrects the initial industrial network based on the network error to obtain a simulated industrial network, including: the network monitor sends the network error to the network damage meter; the network damage meter adds a disturbance signal to the initial industrial network based on the network error to obtain a simulated industrial network.
[0013] In a second aspect, the present application provides a testing method for an industrial system, the method comprising: constructing a twin industrial system of the business to be tested; receiving a simulated industrial network of an actual industrial system of the business to be tested from the simulated industrial network; and testing the twin industrial system based on the simulated industrial network.
[0014] On the third aspect, the present application provides a testing device for an industrial system, which includes: a processing unit and a communication unit; the processing unit is used to build a twin industrial system of the business to be tested; the communication unit is used to receive a simulated industrial network of an actual industrial system of the business to be tested from the simulated industrial network; the processing unit is also used to test the twin industrial system based on the simulated industrial network.
[0015] In a fourth aspect, the present application provides a computer-readable storage medium, in which instructions are stored. When the instructions are executed on a terminal, the terminal executes the testing method for the industrial system as described in the second aspect.
[0016] In a fifth aspect, the present application provides a computer program product comprising instructions, which, when executed on a test device of an industrial system, enables the test device of the industrial system to execute the test method of the industrial system as described in the second aspect.
[0017] In the testing method of the industrial system provided in the embodiment of the present application, the industrial twin platform constructs a twin industrial system of the business to be tested, and the simulated industrial network construction system constructs a simulated industrial network of the actual industrial system of the business to be tested. After the simulated industrial network construction system transmits the simulated industrial network to the industrial twin platform, the industrial twin platform can test the twin industrial system based on the simulated industrial network. That is to say, in the process of testing the twin industrial system, the industrial twin platform can consider the network conditions of the network where the actual industrial system of the business to be tested is located, instead of testing the twin industrial system under the assumption that the twin industrial system is connected to the ideal industrial network, thereby improving the reliability of the test results of the twin industrial system. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] Figure 1 A schematic diagram of the structure of a test system for an industrial system provided in an embodiment of the present application;
[0019] Figure 2 A schematic diagram of the composition of a testing device for an industrial system provided in an embodiment of the present application;
[0020] Figure 3 A schematic diagram of a testing method flow of an industrial system provided in an embodiment of the present application;
[0021] Figure 4 A schematic diagram of a twin industrial system structure provided in an embodiment of the present application;
[0022] Figure 5 A flowchart of another industrial system testing method provided in an embodiment of the present application;
[0023] Figure 6A flowchart of another industrial system testing method provided in an embodiment of the present application;
[0024] Figure 7 A flowchart of another industrial system testing method provided in an embodiment of the present application;
[0025] Figure 8 A flowchart of another industrial system testing method provided in an embodiment of the present application;
[0026] Fig. 9 A flowchart of another industrial system testing method provided in an embodiment of the present application;
[0027] Fig.10 A schematic diagram of the structure of another testing device for an industrial system provided in an embodiment of the present application. DETAILED DESCRIPTION
[0028] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.
[0029] It should be noted that, in the embodiments of the present application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a specific way.
[0030] In order to facilitate a clear description of the technical solutions of the embodiments of the present application, in the embodiments of the present application, words such as "first" and "second" are used to distinguish between identical or similar items with substantially the same functions and effects. Those skilled in the art can understand that words such as "first" and "second" do not limit the quantity and order of execution.
[0031] With the rapid development of modern information technology, simulation technology has also developed rapidly and has been widely used in the industrial field. In other words, with the rapid development of simulation technology, industrial systems in the industrial field can be simulated (hereinafter referred to as industrial system simulation).
[0032] Industrial system simulation refers to building a mathematical model of the industrial system, using computers or other special equipment to simulate the real industrial environment, converting the modules of the actual system into twin models, simulating the operation process of the actual industrial system, and realizing the simulation and interaction of the workflow. Generally speaking, the general process of industrial system simulation can include system definition and modeling, simulation environment construction, simulation experiment operation, data collection and analysis, and result output and tuning. In other words, the industrial system can be simulated through the general process described above to obtain a twin industrial system.
[0033] Industrial system simulation has a wide range of uses. It not only covers key links such as production line layout optimization and production efficiency improvement, but also plans, simulates and verifies industrial automation systems throughout the entire product or production line life cycle from concept, engineering to production and tuning, helping enterprises upgrade to intelligent manufacturing.
[0034] Furthermore, there are many practical simulation test software and / or simulation test platforms on the market that provide comprehensive simulation test solutions for twin industrial systems. Enterprises can use simulation test software and / or simulation test platforms to test industrial systems through twin industrial systems. In other words, they can simulate different industrial scenarios and test the twin industrial systems in different simulation scenarios to obtain test results, so that the twin industrial systems can be optimized based on the test results.
[0035] It is understandable that enterprises can discover potential logical errors and program defects in actual industrial systems through industrial application testing of twin industrial systems (hereinafter referred to as testing), thereby reducing the trial and error costs when testing in industrial field scenarios and avoiding expensive modification costs in real environments. This can not only reduce the economic losses of enterprises, but also help enterprises verify and improve industrial production efficiency, optimize production processes, and support enterprises in making new decisions. In view of this, it can be seen that testing twin industrial systems is an indispensable and important tool for enterprise intelligent transformation.
[0036] At present, the tests on the twin industrial system are mainly conducted on the OT side of the twin industrial system, and there is a lack of tests on the industrial communication technology (CT) side of the twin industrial system. In other words, the current tests on the twin industrial system will default to the connection of the twin industrial system to the ideal industrial network, and do not consider the actual changes in the industrial network to which the twin industrial system is connected. However, under normal circumstances, a variety of factors will cause changes in the industrial network to which the twin industrial system is connected, and thus the industrial network to which the twin industrial system is connected will most likely not remain in an ideal state. If the twin industrial system is still tested under the assumption that the twin industrial system is connected to the ideal industrial network, the reliability of the test results of the twin industrial system will be low.
[0037] Exemplarily, the actual industrial system that needs to be tested on the industrial communication technology CT side of the twin industrial system may include at least one of the following: 5G+automated guided vehicle (AGV), or 5G+industrial robot.
[0038] In addition, the test on the CT side is usually conducted on the CT side of the on-site industrial system. However, the test on the CT side of the on-site industrial system has high requirements for the industrial site, and requires the establishment of a dedicated test environment in advance. The test takes a long time and the cost of the test is high. In addition, the normal production process of the workshop or production line of the industrial site where the industrial system is located may be affected during the test.
[0039] In view of this, an embodiment of the present application provides a method for testing an industrial system, in which an industrial twin platform constructs a twin industrial system of the business to be tested, and a simulated industrial network construction system constructs a simulated industrial network of the actual industrial system of the business to be tested. After the simulated industrial network construction system transmits the simulated industrial network to the industrial twin platform, the industrial twin platform can test the twin industrial system based on the simulated industrial network. That is to say, in the process of testing the twin industrial system, the industrial twin platform can consider the network conditions of the network in which the actual industrial system of the business to be tested is located, instead of testing the twin industrial system under the assumption that the twin industrial system is connected to an ideal industrial network, thereby improving the reliability of the test results of the twin industrial system.
[0040] For example, Figure 1 1 shows a test system for an industrial system provided in an embodiment of the present application. The test system 10 for an industrial system includes an industrial twin platform 101 and a simulated 5G network construction system 102.
[0041] Industrial twin platform 101 is used to build a twin industrial system for the business to be tested.
[0042] The simulated 5G network construction system 102 is used to build a simulated 5G network of the industrial system of the business to be tested, and transmit the simulated industrial network to the industrial twin platform 101.
[0043] The industrial twin platform 101 is also used to test the twin industrial system of the business to be tested based on the simulated industrial network.
[0044] Alternatively, if Figure 1 As shown, the simulated industrial network construction system 102 includes at least one of the following: a network simulation instrument 103, a sweeper 104, a simulator 105, a forwarding unit 106, or a network adjustment system 107. The simulator 105 can communicate with any device or system among the network simulation instrument 103, the sweeper 104, the forwarding unit 106, and the network adjustment system 107, and the simulator 105 can also communicate with the industrial twin platform 101. In addition, the forwarding unit 106 can also communicate with the industrial twin platform 101.
[0045] Further, optionally, when the simulated industrial network construction system 102 includes: a network simulation instrument 103, a sweeper 104, and a simulator 105, the network simulation instrument 103 is used to simulate a twin communication network based on the configuration parameters of the communication network to which the actual industrial system is connected, and send the twin communication network to the simulator 105; the sweeper 104 is used to collect wireless channel parameters in the industrial network of the actual industrial system, and send the wireless channel parameters to the simulator 105; the simulator 105 is used to access the twin communication network, determine the configuration parameters of the simulated industrial network based on the wireless channel parameters, and construct the simulated industrial network based on the configuration parameters of the simulated industrial network.
[0046] Further, optionally, when the simulated industrial network construction system 102 includes: a network simulation instrument 103, a sweeper 104, a forwarding unit 106, and a simulator 105, the simulator 105 is used to transmit the simulated industrial network to the industrial twin platform 101 through the forwarding unit 106.
[0047] Further, optionally, when the simulated industrial network construction system 102 includes: a network simulation instrument 103, a sweeper 104, a network adjustment system 107, and a simulator 105, the simulator 105 is used to construct an initial industrial network of the actual industrial system of the business to be tested based on the configuration parameters of the simulated industrial network, and send the initial industrial network to the network adjustment system 107; the network adjustment system 107 is used to determine the network error, correct the initial industrial network based on the network error, and obtain the simulated industrial network, wherein the network error is used to indicate the error between the transmission parameters of the initial industrial network and the transmission parameters of the actual industrial network.
[0048] Optionally, the network regulation system 107 includes a network monitor 108 and / or a network damage detector 109. The network monitor 108 can communicate with the network damage detector 109.
[0049] Further, optionally, when the network regulation system 107 includes a network monitor 108, the network monitor 108 is used to monitor the initial industrial network and the actual industrial network, obtain the transmission parameters of the initial industrial network and the transmission parameters of the actual industrial network respectively, and compare the transmission parameters of the initial industrial network with the transmission parameters of the actual industrial network to determine the network error.
[0050] Further, optionally, when the network regulation system 107 includes a network monitor 108 and / or a network damage instrument 109, the network monitor is used to send network errors to the network damage instrument 109; the network damage instrument 109 is used to add a disturbance signal to the initial industrial network based on the network error to obtain a simulated industrial network.
[0051] When implementing it specifically, Figure 1 The equipment in Figure 2 The structure shown, or including Figure 2 Parts shown. Figure 2 A schematic diagram of the composition of a test device 20 for an industrial system provided in an embodiment of the present application. The test device 20 for the industrial system can be Figure 1 Any device in a device or a chip or system on chip in such a device. Figure 2 As shown, the test device 20 of the industrial system may include a processor 201 , a communication line 202 , a communication interface 203 , and a memory 204 .
[0052] Furthermore, the test device 20 of the industrial system may further include a communication interface 203 and a memory 204 . The processor 201 , the memory 204 and the communication interface 203 may be connected via a communication line 202 .
[0053] The processor 201 is a CPU, a general processor, a network processor (NP), a digital signal processor (DSP), a microprocessor, a microcontroller, a programmable logic device (PLD), or any combination thereof. The processor 201 may also be other devices with processing functions, such as circuits, devices, or software modules, without limitation.
[0054] The communication line 202 is used to transmit information between various components included in the test device 20 of the industrial system.
[0055] The communication interface 203 is used to communicate with other devices or other communication networks. The other communication networks may be Ethernet, radio access network (RAN), wireless local area network (WLAN), etc. The communication interface 203 may be a module, a circuit, a communication interface or any device capable of achieving communication.
[0056] The memory 204 is used to store instructions, where the instructions may be computer programs.
[0057] The memory 204 may be a read-only memory (ROM) or other types of static storage devices that can store static information and / or instructions, a random access memory (RAM) or other types of dynamic storage devices that can store information and / or instructions, or an electrically erasable programmable read-only memory (EEPROM), a read-only optical disk, or a memory that can store data and / or instructions.
[0058] There are no restrictions on compact disc read-only memory (CD-ROM) or other optical disc storage, optical disc storage (including compressed disc, laser disc, optical disc, digital versatile disc, Blu-ray disc, etc.), magnetic disk storage media or other magnetic storage devices.
[0059] It should be noted that the memory 204 can exist independently of the processor 201, or can be integrated with the processor 201. The memory 204 can be used to store instructions or program codes or some data, etc. The memory 204 can be located in the test device 20 of the industrial system, or can be located outside the test device 20 of the industrial system, without limitation. The processor 201 is used to execute the instructions stored in the memory 204 to implement the test method of the industrial system provided in the following embodiments of the present application.
[0060] In an example, the processor 201 may include one or more CPUs, for example, CPU0 and CPU1 (not shown in the figure).
[0061] As an optional implementation, the testing device 20 of the industrial system includes multiple processors.
[0062] As an optional implementation, the test device 20 of the industrial system further includes an output device and an input device. For example, the input device is a keyboard, a mouse, a microphone, a joystick, and the like, and the output device is a display screen, a speaker, and the like.
[0063] It should be noted that the test device 20 of the industrial system can be a desktop computer, a portable computer, a network server, a mobile phone, a tablet computer, a wireless terminal, an embedded device, a chip system or a Figure 2 In addition, Figure 2 The composition shown in the Figure 1 as well as Figure 2 The limitations of each device in Figure 2 In addition to the parts shown, Figure 1 as well as Figure 2 The various devices shown may include more or fewer components than shown, or combine certain components, or arrange the components differently.
[0064] In the embodiment of the present application, the chip system may be composed of a chip, or may include a chip and other discrete devices.
[0065] In addition, the actions, terms, etc. involved in the various embodiments of the present application can refer to each other without limitation. The message name or parameter name in the message exchanged between the various devices in the embodiments of the present application is only an example, and other names can also be used in the specific implementation without limitation.
[0066] Combine the following Figure 1The test system of the industrial system shown describes the test method of the industrial system in the embodiment of the present application. Among them, the actions, terms, etc. involved in the various embodiments of the present application can refer to each other without limitation. The message name or parameter name in the message exchanged between the various devices in the embodiment of the present application is only an example, and other names can also be used in the specific implementation without limitation. The actions involved in the various embodiments of the present application are only an example, and other names can also be used in the specific implementation, such as: "included in" in the embodiment of the present application can also be replaced by "carried on" or "carried in", etc.
[0067] In order to solve the problems existing in the above-mentioned prior art, the embodiment of the present application proposes a testing method for an industrial system, which is applied to a testing system for an industrial system, and the testing system for an industrial system includes an industrial twin platform and a simulated industrial network construction system. The testing method for an industrial system described in the embodiment of the present application can improve the accuracy of the test results obtained by testing the twin industrial system as much as possible. Figure 3 As shown, the method includes:
[0068] S301. The industrial twin platform builds a twin industrial system for the business to be tested.
[0069] Optionally, the implementation process of the above S301 may include: the industrial twin platform obtains the industrial site business scenario information of the business to be tested and / or the design indicators of the business scenario to be tested, and simulates at least one of the production line, equipment location, equipment form, and process flow in the industrial system based on the industrial site business scenario information and / or the design indicators of the business scenario to be tested, obtains the simulation results, and constructs a twin industrial system of the business to be tested based on the simulation results.
[0070] Exemplarily, the industrial site business scenario information after the business scenario to be tested is constructed includes at least one of the following: the spatial layout, operating indicators, process information, equipment information, logistics planning, network planning, or the connection between devices in the business scenario of the industrial site business scenario to be tested.
[0071] Further, exemplarily, the spatial layout of the business scene of the business industry to be tested may include at least one of the following: the spatial layout of the automobile manufacturing stamping workshop, the spatial layout of the painting workshop, or the spatial layout of the assembly workshop. Of course, the above is only an exemplary description of the spatial layout of the business scene of the business industry to be tested. The spatial layout of the business scene of the business industry to be tested may also include the spatial layout of other workshops, for example, the spatial layout of the welding workshop, and the embodiments of the present application do not impose any restrictions on this.
[0072] Further, exemplarily, the operating indicators of the industrial site business scenario information after the business scenario to be tested is constructed may include at least one of the following: throughput, capacity, conversion time, or overall equipment efficiency. Of course, the above is only an exemplary description of the operating indicators of the industrial site business scenario to be tested. The operating indicators of the industrial site business scenario to be tested may also include other indicators, such as response time, and the embodiments of the present application do not impose any restrictions on this.
[0073] Further, exemplarily, the equipment information of the industrial field business scene information after the business scene to be tested is constructed may include at least one of the following: the type, model, specification, or communication protocol of the industrial robot, processing station, conveyor, 3D camera, etc. Of course, the above is only an exemplary description of the equipment information of the industrial field business scene to be tested. The equipment information of the industrial field business scene to be tested may also include other equipment information, such as the type, model, specification, communication protocol, etc. of electrical equipment, and the embodiments of the present application do not impose any restrictions on this.
[0074] Optionally, the information included in the scenario design indicators before the construction of the business scenario to be tested can be understood by referring to the above description of the industrial site business scenario information after the construction of the business scenario to be tested, and will not be repeated here.
[0075] It can be understood that in the process of implementing the twin industrial system of the business to be tested recorded in the embodiment of the present application, simulation is performed in multiple dimensions such as production line, equipment location, equipment form, and process flow, so that the twin industrial system constructed based on the simulation results can be kept consistent with the actual industrial system as much as possible.
[0076] It should be understood that the industrial twin platform 101 in the embodiment of the present application can also be referred to as a digital twin platform, or a digital mapping platform, or a digital mirroring platform. In future industrial system simulations, it can also be other names, and the present application does not make any restrictions on this. The twin industrial system can also be referred to as an industrial simulation system. In future industrial system simulations, it can also be other names, and the present application does not make any restrictions on this.
[0077] S302: The simulated industrial network construction system constructs a simulated industrial network of an actual industrial system of the business to be tested.
[0078] Exemplarily, the simulated industrial network can be any one of the following: a fourth generation mobile communication technology (4G) network, a fifth generation mobile communication technology (5G) network, or a wireless fidelity (WIFI) network. Of course, the above is only an exemplary description of the simulated industrial network. The simulated industrial network can be other communication networks. For example, the global system for mobile communications (GSM) network, and new mobile communication networks that may appear in the future. This application does not impose any restrictions on this.
[0079] It should be understood that the simulated industrial network construction system 102 can also be called a simulated network system. In future industrial system simulations, it can also be called other names, and this application does not impose any limitation on this.
[0080] S303. The simulated industrial network construction system transmits the simulated industrial network to the industrial twin platform. Correspondingly, the industrial twin platform receives the simulated industrial network from the simulated industrial network construction system.
[0081] In some possible implementations, the simulated industrial network construction system can directly transmit the simulated industrial network to the industrial twin platform, or it can transmit the simulated industrial network to the industrial twin platform through other relay devices. The embodiments of the present application do not impose any restrictions on this.
[0082] S304. The industrial twin platform tests the twin industrial system of the business to be tested based on the simulated industrial network.
[0083] Optionally, the implementation process of the above S304 may be: the industrial twin platform may test the product performance, reliability, security, stability and other aspects of the twin industrial system based on the simulated industrial network.
[0084] In the testing method of the industrial system provided in the embodiment of the present application, the industrial twin platform constructs a twin industrial system of the business to be tested, and the simulated industrial network construction system constructs a simulated industrial network of the actual industrial system of the business to be tested. After the simulated industrial network construction system transmits the simulated industrial network to the industrial twin platform, the industrial twin platform can test the twin industrial system based on the simulated industrial network. That is to say, in the process of testing the twin industrial system, the industrial twin platform can consider the network conditions of the network where the actual industrial system of the business to be tested is located, instead of testing the twin industrial system under the assumption that the twin industrial system is connected to the ideal industrial network, thereby improving the reliability of the test results of the twin industrial system.
[0085] The structure of the twin industrial system is described in detail below.
[0086] For example, Figure 4 A schematic diagram of the structure of a twin industrial system provided by an embodiment of the present application is shown in FIG. The twin industrial system may include at least one of the following: at least one device twin component, at least one controller simulation component, at least one system simulation component, at least one inter-device network simulation component, or at least one test rating system. Figure 4 The twin industrial system only shows 4 device twin components, 2 controller simulation components, 3 system simulation components, 2 inter-device network simulation components, and 1 test and evaluation system component.
[0087] Exemplarily, the device twin component 404 may include at least one of the following: a robotic arm, a 3D camera, a motor, or an AGV. Of course, the above is only an exemplary description of the device twin component, and the device twin component may also be other devices, such as a lift. This application does not impose any restrictions on this.
[0088] As some possible implementation methods, the controller simulation component can communicate with external devices through a simulated industrial network. For example, taking the external device as an application server: the controller simulation component can send simulation data to the application server. The application server receives the simulation data from the controller simulation component, and deploys industrial application software, production information system and other software to analyze and process the simulation data to obtain processing results. The application server can determine the corresponding instruction information based on the processing results, and transmit the corresponding instruction information to the controller simulation component. The controller simulation component receives the corresponding instruction information, and controls the operation of the system simulation component based on the instructions sent by the application server.
[0089] Of course, the above is only an exemplary description of the implementation process of the controller simulation component communicating with the external device. The controller simulation component can also communicate with other external devices, for example, the controller simulation component communicates with the touch screen, and this application does not impose any restrictions on this.
[0090] Exemplarily, the application server may include multi-access edge computing (MEC). Of course, the above is only an exemplary description of the application server. The application server may also include other servers, such as a content management system (CMS). The embodiments of the present application do not impose any restrictions on this.
[0091] Exemplarily, the controller simulation component may correspond to a logic control unit in an actual industrial system of the business to be tested. Among them, the logic control unit in the actual industrial system of the business to be tested may include a group of programmable logic controllers (PLC). Furthermore, if there are multiple groups of logic control units in the actual industrial system of the business to be tested, the industrial twin platform can build multiple corresponding simulation control scenarios in the twin industrial system based on the number of logic control units in the actual industrial system of the business to be tested.
[0092] In addition, a large amount of data interaction is required between the system simulation components and the inter-device network simulation components to achieve the accuracy and reliability of the simulation results, thereby supporting in-depth analysis and optimization of the twin industrial system.
[0093] Exemplarily, the data of the above data interaction may include: communication data between devices, system performance data, etc. Of course, the above is only an exemplary description of the data of the above data interaction, and the data of the data interaction may also include other data, such as network status data. This application does not impose any limitation on this.
[0094] Optionally, the test and evaluation system component monitors the operating indicators of the industrial twin platform and compares the operating indicators of the twin industrial system with the operating indicators of the preset actual industrial system. The test and evaluation system component determines the compatibility of the simulated industrial network with the actual industrial system based on the comparison results of the operating indicators of the twin industrial system and the operating indicators of the preset actual industrial system. Among them, if the operating indicators of the twin industrial system are consistent with the operating indicators of the preset actual industrial system, the test and evaluation system component determines that the simulated industrial network is compatible with the actual industrial system; if the operating indicators of the twin industrial system are inconsistent with the operating indicators of the preset actual industrial system, the test and evaluation system component determines that the simulated industrial network is not compatible with the actual industrial system.
[0095] As can be seen from the above description of "S302", the simulated industrial network construction system needs to complete the construction of the simulated industrial network based on multiple devices. Further, the simulated industrial network construction system may include: a network simulation instrument, a sweeper, and a simulator. In other words, the construction of the simulated industrial network can be performed by the network simulation instrument, the sweeper, and the simulator respectively. In view of this, Figure 5 As shown, S302 provided in the embodiment of the present application can be implemented through the following S501 to S505.
[0096] S501. The network simulation instrument simulates the configuration parameters of the communication network to which the actual industrial system is connected to obtain a twin communication network.
[0097] Exemplarily, the configuration parameters of the communication network may include at least one of the following: the communication network Internet Protocol (IP) address, the communication network subnet mask, the communication network gateway, the domain name system (DNS) server address, or the communication network base station equipment parameters. Of course, the above is only an exemplary description of the configuration parameters of the communication network, and the configuration parameters of the communication network may also include other parameters, for example, the configuration parameters of the dynamic host configuration protocol (DHCP) server. The embodiments of the present application do not impose any restrictions on this.
[0098] S502: The network simulation instrument sends the twin communication network to the simulator. Correspondingly, the simulator receives the twin communication network from the network simulation instrument.
[0099] In some possible implementations, the network simulation instrument can send the twin communication network directly to the simulator, or it can send the twin industrial network to the simulator through other relay devices. The embodiments of the present application do not impose any restrictions on this.
[0100] Exemplarily, the network simulation instrument may include a signal source network simulation instrument. Of course, the above is only an exemplary description of the network simulation instrument, and the network simulation instrument may also include other network simulation instruments, such as a network analyzer and a spectrum analyzer. This application does not impose any limitation on this.
[0101] S503, the frequency scanner collects wireless channel parameters in the actual industrial network.
[0102] Exemplarily, the above wireless channel parameters may include: channel capacity, channel bandwidth, delay spread, signal fading, and Doppler effect parameters. Of course, the above is only an exemplary description of wireless channel parameters, and wireless channel parameters may also include other parameters, such as path loss coefficient, path loss index, root mean square delay spread, and angle spread. This application does not impose any restrictions on this.
[0103] S504: The frequency sweeper sends the wireless channel parameters to the simulator. Correspondingly, the simulator receives the wireless channel parameters from the frequency sweeper.
[0104] In some possible implementations, the frequency sweeper may send the wireless channel parameters to the simulator directly, or may send the wireless channel parameters to the simulator via other relay devices, and the embodiments of the present application do not impose any limitation on this.
[0105] S505. The simulator accesses the twin communication network, determines the configuration parameters of the simulated industrial network based on the wireless channel parameters, and constructs the simulated industrial network based on the configuration parameters of the simulated industrial network.
[0106] In addition, optionally, the simulator can also access the actual communication network of the actual industrial system, determine the configuration parameters of the simulated industrial network based on the wireless channel parameters, and build the simulated industrial network based on the configuration parameters of the simulated industrial network. The actual communication network can include a core network and a base station.
[0107] Optionally, the implementation process of the above-mentioned simulator determining the configuration parameters of the simulated industrial network based on the wireless channel parameters can be: the simulator constructs a wireless channel model through the wireless channel characteristics of the network environment of the actual industrial site, and loads the wireless channel model to construct a simulated industrial network based on the configuration parameters of the simulated industrial network.
[0108] As can be seen from the above description of "S303", the simulated industrial network construction system transmits the simulated industrial network to the industrial twin platform. Furthermore, the simulated network construction system also includes: a forwarding unit, that is, the simulated industrial network construction system can transmit the simulated industrial network to the industrial twin platform through the forwarding unit. In view of this, Figure 6 As shown, S303 provided in the embodiment of the present application can be implemented through S601.
[0109] S601. The simulator transmits the simulated industrial network to the industrial twin platform through the forwarding unit.
[0110] It can be understood that the simulator transmits the simulated industrial network to the industrial twin platform through the forwarding unit, which can ensure the speed of data transmission from the simulated industrial network to the industrial twin platform, and thus ensure that the industrial twin platform can obtain the latest test results in time, so as to more accurately reflect the adaptability of the simulated industrial network and the twin industrial system.
[0111] As can be seen from the above descriptions of "S302" or "S505", the simulator can complete the establishment of the simulated industrial network based on the configuration parameters of the simulated industrial network. Among them, the simulated industrial network construction system also includes: a network adjustment system, that is, the simulator and the network adjustment system can complete the establishment of the simulated industrial network. In view of this, Figure 7 As shown, S302 or S505 provided in the embodiment of the present application can be implemented through the following S701 to S704.
[0112] S701. The simulator constructs an initial industrial network of an actual industrial system of a service to be tested based on configuration parameters of the simulated industrial network.
[0113] Optionally, simulation software is installed in the simulator. In this case, the implementation process of S701 may be that the simulator inputs configuration parameters of the simulated industrial network into the simulation software, and uses the simulation software to build an initial industrial network of the actual industrial system of the service to be tested.
[0114] S702: The simulator sends an initial industrial network to the network regulation system. Correspondingly, the network regulation system receives the initial industrial network from the simulator.
[0115] In some possible implementations, the simulator may directly transmit the initial industrial network to the network regulation system, or may transmit the initial industrial network to the network regulation system through other relay devices, and the embodiments of the present application do not impose any restrictions on this.
[0116] S703: The network adjustment system determines a network error.
[0117] The network error is used to indicate the error between the transmission parameters of the initial industrial network and the transmission parameters of the actual industrial network.
[0118] Optionally, the transmission parameters of the actual industrial network can also be monitored by an external instrument, for example, the external instrument can be a network simulator. Of course, the above is only an exemplary description of an external instrument for determining a network error, and the external instrument for determining a network error can also include other devices, for example, a network tester. This application does not impose any restrictions.
[0119] Further, optionally, if the network error has no effect on the implementation of building the simulated industrial network, the network regulation system may omit the step of determining the network error.
[0120] S704: The network adjustment system corrects the initial industrial network based on the network error to obtain a simulated industrial network.
[0121] Optionally, the implementation process of the above S704 may be: the network adjustment system may superimpose interference on the initial industrial network based on the network error to obtain a simulated industrial network.
[0122] As can be seen from the above description of "S703", the network regulation system can determine the network error based on the first transmission parameter and the second transmission parameter. Further, the network regulation system includes a network monitor, that is, the network monitor can determine the network error based on the first transmission parameter and the second transmission parameter. In view of this, Figure 8 As shown, S703 provided in the embodiment of the present application can be implemented through the following S801.
[0123] S801. The network monitor monitors the initial industrial network and the actual industrial network, obtains transmission parameters of the initial industrial network and the actual industrial network respectively, and compares the transmission parameters of the initial industrial network with the transmission parameters of the actual industrial network to determine network errors.
[0124] Optionally, the transmission parameters of the initial industrial network may be transmission parameters during data transmission between the forwarding unit and the industrial twin platform through the initial industrial network. The transmission parameters of the actual industrial network may be transmission parameters during data transmission between the gateway and the actual industrial system through the actual industrial network.
[0125] Exemplarily, the transmission parameters of the initial industrial network may include at least one of the following: delay, jitter, or reliability.
[0126] It should be understood that the parameters that may be included in the transmission parameters of the actual industrial network for shutting down may be understood by referring to the description of the parameters included in the transmission parameters of the initial industrial network, and will not be repeated here.
[0127] Exemplarily, the transmission parameter delay can be represented by T, the transmission parameter jitter can be represented by D, the transmission parameter bandwidth can be represented by B, and the transmission parameter reliability can be represented by R. This application does not impose any limitation on this.
[0128] Optionally, the network monitor compares the transmission parameters of the initial industrial network with the transmission parameters of the actual industrial network, and the implementation process of determining the network error can be: the network monitor determines the difference between the transmission parameters of the actual industrial network and the transmission parameters of the initial industrial network as the network error. The difference between the transmission parameters of the actual industrial network and the transmission parameters of the initial industrial network is greater than 0.
[0129] In combination with the above examples, the network error determined by the network monitor may include delay error, jitter error, and reliability error as examples. Among them, the delay of the initial industrial network can be represented by T1, the jitter can be represented by D1, and the reliability can be represented by R1. The delay of the actual industrial network can be represented by T2, the jitter can be represented by D2, and the reliability can be represented by R2. That is to say, the delay error determined by the network detector can be the difference between T1 and T2, the jitter error can be the difference between D1 and D2, and the reliability difference can be the difference between R1 and R2.
[0130] As can be seen from the above description of "S704", the network adjustment system can correct the initial industrial network based on the determined network error. Furthermore, the network adjustment system also includes a network damage meter, that is, the network damage meter can complete the construction of the simulated industrial network based on the determined network error. In view of this, Fig. 9 As shown, the embodiment S704 of the present application can be implemented through the following S901 to S902.
[0131] S901: The network monitor sends network errors to the network damage instrument. Correspondingly, the network damage instrument receives the network errors from the network monitor.
[0132] In some possible implementations, the network monitor can send network errors directly to the network damage instrument, or send network errors to the network damage instrument through other relay devices, or send network errors to the network damage instrument through a cloud synchronization service. The embodiments of the present application do not impose any restrictions on this.
[0133] S902. The network damage instrument adds a disturbance signal to the initial industrial network based on the network error to obtain a simulated industrial network.
[0134] It is understandable that the network damage instrument superimposes interference on the initial industrial network based on network errors, ensuring the consistency of the transmission parameters of the simulated industrial network with the transmission parameters of the actual industrial network as much as possible. In other words, the network environment of the simulated industrial network can be made highly consistent with the network environment of the actual industrial network. When the industrial twin platform is being tested, the twin industrial system is in a network environment that is highly consistent with the actual industrial network, which improves the reliability of the test results.
[0135] It is understandable that the above-mentioned testing method of the industrial system can be implemented by the testing device of the industrial system. In order to realize the above-mentioned functions, the testing device of the industrial system includes hardware structures and / or software modules corresponding to the execution of each function. Those skilled in the art should easily realize that, in combination with the modules and algorithm steps of each example described in the embodiments disclosed herein, the embodiments disclosed in the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the embodiments disclosed in the present application.
[0136] The embodiment disclosed in the present application can divide the functional modules of the test device of the industrial system generated by the above method example. For example, each functional module can be divided corresponding to each function, or two or more functions can be integrated into one processing module. The above integrated module can be implemented in the form of hardware or in the form of software functional modules. It should be noted that the division of modules in the embodiment disclosed in the present application is schematic and is only a logical function division. There may be other division methods in actual implementation.
[0137] Fig.10 The following is a schematic diagram of the structure of a testing device for an industrial system provided by an embodiment of the present invention. Fig.10 As shown, the test device 100 of the industrial system can be used to perform Figure 3 , Figure 5-Figure 9 The testing method of the industrial system shown in the figure. The testing device 100 of the industrial system includes: a processing unit 1001 and a communication unit 1002 .
[0138] Processing unit 1001, used to build a twin industrial system of the business to be tested;
[0139] The communication unit 1002 is used to receive the simulated industrial network of the actual industrial system of the service to be tested from the simulated industrial network;
[0140] The processing unit 1001 is also used to test the twin industrial system based on the simulated industrial network.
[0141] Through the description of the above implementation methods, technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above functional modules is used as an example. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. The specific working process of the system, device and unit described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.
[0142] The present disclosure also provides a computer-readable storage medium having instructions stored thereon. When the instructions in the storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute the industrial system testing method provided by the above-mentioned embodiment of the present disclosure.
[0143] The embodiments of the present disclosure also provide a computer program product including instructions, which, when executed on an electronic device, enables the electronic device to execute the industrial system testing method provided by the embodiments of the present disclosure.
[0144] Among them, the computer readable storage medium can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer readable storage media (a non-exhaustive list) include: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM), a register, a hard disk, an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above, or any other form of computer readable storage medium known in the art. An exemplary storage medium is coupled to a processor so that the processor can read information from the storage medium and write information to the storage medium. Of course, the storage medium can also be a component of the processor. The processor and the storage medium can be located in an application-specific integrated circuit (ASIC). In the embodiments of the present application, a computer-readable storage medium may be any tangible medium that contains or stores a program, which may be used by or in conjunction with an instruction execution system, apparatus, or device.
[0145] The above are only specific implementations of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions within the technical scope disclosed in the present application should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A method for testing an industrial system, characterized in that: The industrial system testing method is applied to the industrial system testing system, wherein the industrial system testing system includes an industrial twin platform and a simulated industrial network construction system; the method includes: The industrial twin platform builds a twin industrial system of the business to be tested; The simulated industrial network construction system constructs a simulated industrial network of the actual industrial system of the business to be tested, and transmits the simulated industrial network to the industrial twin platform; The industrial twin platform tests the twin industrial system based on the simulated industrial network.
2. The method according to claim 1, characterized in that The simulation industrial network construction system includes: a network simulation instrument, a frequency sweeper, and a simulator; The simulated industrial network construction system constructs a simulated industrial network of the actual industrial system of the service to be tested, including: The network simulation instrument simulates a twin communication network based on configuration parameters of the communication network to which the actual industrial system is connected, and sends the twin communication network to the simulator; The frequency sweeper collects wireless channel parameters in the industrial network of the actual industrial system and sends the wireless channel parameters to the simulator; The simulator is connected to the twin communication network, determines the configuration parameters of the simulated industrial network based on the wireless channel parameters, and constructs the simulated industrial network based on the configuration parameters of the simulated industrial network.
3. The method according to claim 1 or 2, characterized in that: The simulation network construction system further includes: a forwarding unit; The transmitting the simulated industrial network to the industrial twin platform includes: The simulator transmits the simulated industrial network to the industrial twin platform through the forwarding unit.
4. The method according to claim 1 or 2, characterized in that: The simulation industrial network construction system also includes: a network adjustment system; The simulator constructs the simulated industrial network based on the configuration parameters of the simulated industrial network, including: The simulator constructs an initial industrial network of the actual industrial system of the service to be tested based on the configuration parameters of the simulated industrial network, and sends the initial industrial network to the network adjustment system; The network adjustment system determines a network error and corrects the initial industrial network based on the network error to obtain the simulated industrial network, wherein the network error is used to indicate an error between a transmission parameter of the initial industrial network and a transmission parameter of the actual industrial network.
5. The method according to claim 4, characterized in that The network regulation system includes a network monitor; The network regulation system determines a network error, including: The network monitor monitors the initial industrial network and the actual industrial network, obtains the transmission parameters of the initial industrial network and the transmission parameters of the actual industrial network respectively, and compares the transmission parameters of the initial industrial network with the transmission parameters of the actual industrial network to determine the network error.
6. The method according to claim 3, characterized in that The network regulation system also includes a network damage meter; The network adjustment system corrects the initial industrial network based on the network error to obtain the simulated industrial network, including: The network monitor sends the network error to the network damage instrument; The network damage instrument adds a disturbance signal to the initial industrial network based on the network error to obtain the simulated industrial network.
7. A method for testing an industrial system, characterized in that: The method comprises: Build a twin industrial system for the business to be tested; A simulated industrial network of an actual industrial system receiving the service to be tested from the simulated industrial network; The twin industrial system is tested based on the simulated industrial network.
8. A testing device for an industrial system, characterized in that: include: A processor and a communication interface; the communication interface is coupled to the processor, and the processor is used to run a computer program or instruction to implement the testing method of the industrial system as described in claim 7.
9. A computer-readable storage medium, wherein instructions are stored in the computer-readable storage medium, characterized in that: When a computer executes the instruction, the computer executes the industrial system testing method described in claim 7.
10. A computer program product, characterized in that The computer program product comprises computer program instructions, and when the computer program instructions are executed by a processor, the method for testing an industrial system as claimed in claim 7 is implemented.