Joint simulation method, system and device for two types of heterogeneous systems, and medium

By building a joint platform in heterogeneous systems, integrating hardware and software interfaces, dynamically adapting to communication protocols, and performing data format conversion and mapping relationship establishment, the compatibility and coordination problems of heterogeneous systems are solved, and efficient and stable system simulation and operation are achieved.

WO2026040414A1PCT designated stage Publication Date: 2026-02-26ELECTRIC POWER RES INST CHINA SOUTHERN POWER GRID CO LTD +1
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2025/086566
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2024-08-21
Filing Date
2025-04-01
Publication Date
2026-02-26

AI Technical Summary

Technical Problem

Existing co-simulation methods for heterogeneous systems suffer from poor compatibility, communication difficulties, low operational efficiency, and poor stability. In particular, they require a great deal of manual intervention and coordination in the joint operation of different systems.

Method used

By building a joint platform, the hardware and software interfaces of two types of heterogeneous systems are integrated, functional control permissions are obtained, communication protocols are matched, and dynamic adaptive instruction and data exchange is performed. Bidirectional parsing and data format conversion are carried out, mapping relationships are established, and the most suitable communication protocol is automatically selected to reduce errors and achieve efficient collaboration and accurate simulation.

Benefits of technology

It improves the operational efficiency and stability between heterogeneous systems, ensures communication reliability and user experience, realizes high-precision data transmission and system collaboration, reduces manual intervention, and enhances the flexibility and reliability of the system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2025086566_26022026_PF_FP_ABST
    Figure CN2025086566_26022026_PF_FP_ABST
Patent Text Reader

Abstract

A joint simulation method, system and device for two types of heterogeneous systems, and a medium, relating to the technical field of system simulation. By constructing a joint platform, hardware and software interfaces of the two types of heterogeneous systems are integrated to acquire function control permissions and match communication protocols, so as to dynamically adapt to instruction data exchange. On the basis of current network and system load conditions, the most suitable communication protocol can be automatically selected by means of a load balancing mechanism, so as to ensure communication reliability and efficiency, adapt to different application scenarios and demands, and improve system operability and user experience. By means of a bidirectional parsing process, the platform can preprocess instruction data of the two types of heterogeneous systems, and perform bidirectional parsing and data format conversion. By predefining a mapping rule between the protocols, the platform implements automatic conversion and re-encapsulation of data formats, ensuring that data can be smoothly transmitted and parsed between different protocols. Thus, the problems of low operation efficiency, low communication accuracy and poor system stability in the prior art are solved.
Need to check novelty before this filing date? Find Prior Art

Description

A joint simulation method, system, device and medium of two types of heterogeneous systems

[0001] The present application claims priority to the Chinese patent application No. 202411150569.6, filed on August 21, 2024, and entitled "A joint simulation method, system, device and medium of two types of heterogeneous systems", the whole content of which is incorporated herein by reference. TECHNICAL FIELD

[0002] The present application relates to the technical field of system simulation, in particular to a joint simulation method, system, device and medium of two types of heterogeneous systems. BACKGROUND

[0003] Different types of systems have different structures, functions, performances and communication methods. The design and simulation of heterogeneous systems are to solve the problem of cooperative work and performance evaluation between different types of components. The discrete event simulation method is a commonly used joint simulation method of heterogeneous systems. It is based on an event-driven model to evaluate the performance of the system by simulating the occurrence and processing of events in the system. In discrete event simulation, each component or subsystem is modeled as an independent entity, and they communicate and work cooperatively through events. By simulating the occurrence and processing of events, the performance and behavior of the entire system can be evaluated.

[0004] However, the existing joint simulation methods of heterogeneous systems have the following shortcomings, for example: 1. In the prior art, compatibility between different systems is often a major problem. Heterogeneous systems use different protocols, interfaces and data formats, making communication and collaboration between them difficult. Different systems may produce inconsistent data, leading to decision errors or data processing errors; 2. The existing integration scheme of heterogeneous systems often faces great difficulty in the testing and verification stage, especially in ensuring the accuracy and stability of communication between different systems. Joint operation between different systems often requires a lot of manual intervention and coordination. SUMMARY

[0005] The present application provides a joint simulation method, system, device and medium of two types of heterogeneous systems, which solves the problem that the existing technology often requires a lot of manual intervention and coordination in joint operation between different systems, resulting in low operation efficiency and communication accuracy, and poor system stability.

[0006] Therefore, the first aspect of the present application provides a joint simulation method of two types of heterogeneous systems, the method comprising:

[0007] The joint platform is built to integrate hardware and software interfaces of the two types of heterogeneous systems, to obtain function control authority of the two types of heterogeneous systems, to store function instruction parameters, to match communication protocols, and to dynamically adapt to provide instruction data exchange;

[0008] The instruction data exchanged by the two types of heterogeneous systems are subjected to data processing, and the processed instruction data are bidirectionally parsed and converted into a format recognizable by the joint platform;

[0009] The management end is used to customize operation targets, processes and expected results required by the user, and to set time, sequence and condition parameters required for joint operation, and to integrate joint operation data sets;

[0010] A mapping relationship between the joint operation data sets and the function instructions of the two types of heterogeneous systems is established, and the function instructions of the two types of heterogeneous systems are associated and matched with joint operation instructions in the joint operation data sets;

[0011] When the command end receives joint operation instructions in the joint operation data sets, the joint operation instructions are disassembled into a plurality of operation steps, and the logical data of the sequence, parallelism and conditions between the steps are analyzed, and the instruction control authority of the corresponding system is sequentially opened according to the logical data, and the feedback data of the system is received and processed in real time.

[0012] Optionally, the matching communication protocol specifically includes:

[0013] The interface and document data of the two types of heterogeneous systems are analyzed to obtain protocol information, and the different protocols in the protocol information are subjected to instruction data conversion through a protocol converter according to the characteristics and requirements of the two types of heterogeneous systems; the hardware and software interfaces of the integrated two types of heterogeneous systems are subjected to specification definition of data format, field and type of request and response.

[0014] Optionally, the dynamically adapting to provide instruction data exchange specifically includes:

[0015] Through a load balancing mechanism, the communication protocol is dynamically allocated according to the current network and system load, the network state, delay and data packet loss rate are detected to determine whether the currently used communication protocol is suitable to meet the communication demand, and when it is detected that the current communication protocol cannot meet the communication demand, another communication protocol is automatically selected and switched to according to the current communication content, network state, delay and data packet loss rate.

[0016] Optionally, the bidirectional parsing of the processed instruction data specifically includes:

[0017] Map the parsed data into the data format of the target protocol, and predefine the mapping rule between the two protocols, format the data according to the requirements of the target protocol, and re-encapsulate the converted data into a data packet of the target protocol;

[0018] Send the encapsulated data packet to the target system through the communication channel of the target protocol, and when the target system responds to the data, identify the communication protocol of the returned data again, parse the returned data, and extract each component of the response packet;

[0019] Map the parsed returned data back to the data format of the original protocol, format the returned data according to the requirements of the original protocol, and re-encapsulate the converted returned data into a response packet of the original protocol;

[0020] Send the encapsulated response packet back to the original requesting system through the communication channel of the original protocol.

[0021] Optionally, the mapping relationship between the joint operation data set and the function instructions of the two types of heterogeneous systems is established, and the function instructions of the two types of heterogeneous systems are associated and matched with the joint operation instructions in the joint operation data set, and then the method further comprises:

[0022] Based on the deviation calculation formula, the deviation value of the associated and matched result is calculated, and the accuracy of the mapping is evaluated according to the deviation value;

[0023] The deviation calculation formula is:

[0024] In the formula, P represents the deviation value, M is the standard return value of a certain instruction in the joint operation data set, R A is the return value of the corresponding instruction in system A, R B is the return value of the corresponding instruction in system B, (R A -M) 2 is the square difference between the return value of the instruction in system A and the standard return value, and (R B -M) is the square difference between the return value of the instruction in system B and the standard return value.

[0025] Optionally, the instruction data exchanged by the two types of heterogeneous systems is processed, and the processing specifically comprises:

[0026] The instruction data exchanged by the two types of heterogeneous systems is processed, and the processing specifically comprises:

[0027] Optionally, the command end receives the joint operation instruction in the joint operation data set, disassembles the joint operation instruction into several operation steps, analyzes the logical data of the sequence, parallelism and conditions between the steps, opens the instruction control authority of the corresponding system according to the logical data, receives and processes the feedback data of the system in real time, and then further comprises:

[0028] The simulation results are displayed on the joint platform, and the data in the operation process and the final results are visualized.

[0029] The second aspect of the application provides a joint simulation system of two types of heterogeneous systems, the system comprising:

[0030] The building unit is used to build a joint platform, integrate hardware and software interfaces of two types of heterogeneous systems, obtain function control authority of the two types of heterogeneous systems, and store function instruction parameters. After matching the communication protocol, the instruction data exchange is dynamically adapted and provided;

[0031] The analysis unit is used for data processing of the instruction data exchanged by the two types of heterogeneous systems, bidirectional analysis of the processed instruction data, and conversion into a format recognizable by the joint platform;

[0032] The integration unit is used to integrate the joint operation data set by setting the required time, sequence and condition parameters of the joint operation through the management end user-defined operation target, process and expected result;

[0033] The matching unit is used to establish a mapping relationship between the joint operation data set and the function instructions of the two types of heterogeneous systems, and to associate and match the function instructions of the two types of heterogeneous systems with the joint operation instructions in the joint operation data set;

[0034] The simulation unit is used to disassemble the joint operation instruction in the joint operation data set into several operation steps when the command end receives the joint operation instruction, analyze the logical data of the sequence, parallelism and conditions between the steps, open the instruction control authority of the corresponding system according to the logical data, and receive and process the feedback data of the system in real time.

[0035] The third aspect of the application provides a joint simulation device of two types of heterogeneous systems, comprising a processor and a memory:

[0036] The memory is used to store program code and transmit the program code to the processor;

[0037] The processor is used to execute the steps of the joint simulation method of the two types of heterogeneous systems according to the instructions in the program code.

[0038] The fourth aspect of the present application provides a computer readable storage medium for storing program code for executing the joint simulation method of the two types of heterogeneous systems described in the first aspect.

[0039] From the above technical solutions, it can be seen that:

[0040] Compared with the known prior art, the technical solutions provided by the present application have the following beneficial effects,

[0041] 1. By building a joint platform, integrating the hardware and software interfaces of the two types of heterogeneous systems, obtaining the function control authority, and matching the communication protocols, dynamic adaptation of instruction data exchange is realized, the most suitable communication protocol can be automatically selected through the load balancing mechanism according to the current network and system load, the reliability and efficiency of communication are ensured, different application scenarios and needs can be adapted to, and the operability and user experience of the system are improved.

[0042] 2. Through the bidirectional analysis process, the instruction data of the two types of heterogeneous systems can be cleaned, standardized and verified, and bidirectional analysis and data format conversion can be performed, the mapping rules between the protocols are defined in advance, the automatic conversion and re-encapsulation of the data format are realized, and the smooth transmission and analysis of the data between different protocols are ensured.

[0043] 3. By establishing the mapping relationship between the joint operation data set and the system function instruction, and calculating the deviation value, the accuracy of the mapping is evaluated, the high-precision matching between the joint operation instruction and the system instruction is ensured, the error is reduced, the efficient cooperation and accurate simulation between the heterogeneous systems are realized, and the flexibility, reliability and user experience of the system are significantly improved. BRIEF DESCRIPTION OF DRAWINGS

[0044] Fig. 1 is a flowchart of a joint simulation method of two types of heterogeneous systems provided in an embodiment of the present application;

[0045] Fig. 2 is a structural diagram of a joint simulation system of two types of heterogeneous systems provided in an embodiment of the present application. DETAILED DESCRIPTION

[0046] In order for those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be described clearly and completely below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, not all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative labor are within the scope of protection of the present application.

[0047] Embodiment 1:

[0048] Please refer to Figure 1, a kind of two-class heterogeneous system joint simulation method provided in the embodiment of the application, comprising:

[0049] Step 101, build a joint platform, integrate the hardware and software interface of two-class heterogeneous system, obtain the function control authority of two-class heterogeneous system, and store the function instruction parameter, match the communication protocol, and dynamically adapt to provide instruction data exchange.

[0050] Step 102, data processing is performed on the instruction data exchanged by the two-class heterogeneous system, and the processed instruction data is bidirectionally parsed and converted into a format recognizable by the joint platform.

[0051] It should be noted that the instruction data exchanged by the two-class heterogeneous system is subjected to data cleaning, data standardization and data verification processing, the processed instruction data is bidirectionally parsed and converted into a format recognizable by the joint platform; the quality and consistency of input and output data are ensured, and the accuracy and reliability of data processing are increased.

[0052] Step 103, the user customizes the required operation target, process and expected result through the management end, sets the time, sequence and condition parameters required for joint operation, and integrates the joint operation data set.

[0053] Step 104, the mapping relationship between the joint operation data set and the function instruction of the two-class heterogeneous system is established, and the function instruction of the two-class heterogeneous system is associated and matched with the joint operation instruction in the joint operation data set.

[0054] Further, 104 further comprises: based on the deviation calculation formula, the deviation value of the associated and matched result is calculated, and the accuracy of the mapping is evaluated according to the deviation value.

[0055] It should be noted that the mapping relationship between the joint operation data set and the function instruction of the two-class heterogeneous system is established, and the function instruction of the two-class heterogeneous system is associated and matched with the joint operation instruction in the joint operation data set; the joint operation instruction of the joint operation data set includes a unique identification instruction ID, an instruction name describing the purpose, parameters required by the instruction and types thereof, and a return result after the execution of the instruction and types thereof;

[0056] After the function instruction of the two-class heterogeneous system is associated and matched with the joint operation instruction in the joint operation data set, the deviation value of the associated and matched result is calculated to evaluate the accuracy of the mapping, and the deviation value calculation formula is:

[0057] In the formula, P represents the deviation value, M represents the standard return value of a certain instruction in the joint operation data set, R A represents the return value of the corresponding instruction in system A, and R BThe return value representing the corresponding instruction in system B, (R A -M) 2 The square difference between the return value of the instruction in system A and the standard return value, (R B -M) The square difference between the return value of the instruction in system B and the standard return value, sum the two square differences and take the average to eliminate the influence of units and orders of magnitude, and finally take the square root to get the deviation value, which represents the overall deviation between the return values of system A and system B and the standard return value.

[0058] Step 105, when the command terminal receives the joint operation instruction in the joint operation data set, the joint operation instruction is disassembled into several operation steps, and the sequence, parallel and conditional logical data between the steps are analyzed, and the instruction control authority of the corresponding system is opened according to the logical data, and the feedback data of the system is received and processed in real time.

[0059] It should be noted that when the command terminal receives the joint operation instruction in the joint operation data set, the joint operation instruction is disassembled into several operation steps, and the sequence, parallel and conditional logical data between the steps are analyzed, and the instruction control authority of the corresponding system is opened according to the logical data of the joint operation instruction, and the feedback data of the system is received and processed in real time; the real-time received system feedback data is uploaded to the cloud at the same time, supporting the read and write of external storage medium, realizing the real-time monitoring and data updating of the operation process, and improving the real-time performance and data traceability of the system.

[0060] Further, step 105 further comprises: displaying simulation results through the joint platform, visualizing data and final results in the operation process.

[0061] It should be noted that the joint platform displays simulation results, visualizes data and final results in the operation process, and the joint platform displays simulation results in two or three dimensions, supports user-defined data display format, makes the operation process and final results more intuitive and easy to understand, supports user-defined data display format according to demand, and improves user experience.

[0062] Compared with the prior art, by constructing a joint platform, the hardware and software interfaces of the two types of heterogeneous systems are integrated together, realizing the acquisition of function control authority of the system and the dynamic adaptive exchange of instruction data. This high degree of integration makes the operation between different systems more coordinated and efficient. By establishing the mapping relationship between the joint operation data set and the system function instruction, the joint operation instruction can accurately associate and match the function instructions of the two types of heterogeneous systems. At the same time, the deviation value calculation formula is used to evaluate the mapping accuracy, ensuring the accuracy and reliability of the operation.

[0063] Embodiment 2:

[0064] In other aspects, the embodiment also provides a bidirectional analysis process, and the specific steps are as follows:

[0065] The analyzed data is mapped into the data format of the target protocol, and the mapping rule between the two protocols is defined in advance. According to the requirements of the target protocol, the data is formatted, the converted data is re-encapsulated into a data packet of the target protocol, and the encapsulated data packet is sent to the target system through the communication channel of the target protocol. When the target system responds to the data, the communication protocol of the returned data is identified again, the returned data is analyzed, and each component of the response packet is extracted;

[0066]

[0067] The analyzed returned data is mapped back into the data format of the original protocol, the returned data is formatted according to the requirements of the original protocol, the converted returned data is re-encapsulated into a response packet of the original protocol, and the encapsulated response packet is sent back to the original requesting system through the communication channel of the original protocol.

[0068]

[0069] Compared with the prior art, through the bidirectional analysis mechanism, the system can realize seamless interoperation with multiple different protocols without changing the existing protocol. Through the pre-defined mapping rule and formatting processing, the bidirectional encapsulation and analysis process of the data can be automatically completed, manual intervention is reduced, the error rate is reduced, the data transmission efficiency is improved, not only for one-way data transmission, but also for real-time encapsulation and analysis of returned data, so as to realize real bidirectional communication, and ensure the response time and real-time performance of data transmission after the system receives the request.

[0070] Embodiment 3:

[0071] In the embodiment, in the communication protocol matching process, the interfaces and document data of the two types of heterogeneous systems are analyzed, the protocol information is obtained, and the instruction data conversion of different protocols is performed through the protocol converter according to the characteristics and requirements of the two types of heterogeneous systems; the hardware and software interfaces of the integrated two types of heterogeneous systems are standardized and defined, and the data format, field and type of the request and response are defined.

[0072] ​​In the process of dynamically adapting to provide instruction data exchange, through the load balancing mechanism, the communication protocol is dynamically allocated according to the current network and system load situation, by detecting the network state, delay and packet loss rate, it is judged whether the currently used communication protocol is suitable, when it is detected that the current communication protocol cannot meet the communication demand, according to the current communication content, network state, delay and packet loss rate, automatically select and switch to another communication protocol, through detecting the network state, delay and packet loss rate, the system can automatically judge whether the currently used communication protocol is suitable, and switch to another communication protocol when needed, to ensure the stability and efficiency of communication;

[0073] The intelligent routing function is realized, according to the communication content and network state, the optimal protocol and path are automatically selected for data transmission, for large data transmission, high-speed transmission protocol is preferred, for small data or real-time communication, low delay protocol is preferred, real-time dynamic configuration is supported, the communication protocol and parameters can be automatically adjusted according to the change of network and environment, the data packet size, timeout time and retry number can be dynamically adjusted, according to the test result, the protocol conversion and adaptation logic is optimized, to ensure efficient and stable communication in actual operation;

[0074] According to the current network and system load situation, the communication protocol is dynamically allocated, this method not only can adapt to the change of network state in real time, but also can improve the communication efficiency and reliability.

[0075] Compared with the prior art, by analyzing the interface and document data of two types of heterogeneous systems, obtaining the used protocol information, and performing instruction data conversion of different protocols, efficient communication and data exchange between different systems is realized, even if there are different hardware and software interfaces between systems, interoperability can be realized through protocol converter.

[0076] In summary, the present application can automate and standardize cross-system operation, improve the efficiency and accuracy of operation, the joint simulation method based on two types of heterogeneous systems not only solves multiple key shortcomings in the prior art, but also improves the efficiency, stability and scalability of system integration, making the cooperation between different systems more smooth and efficient;

[0077] The application constructs a joint platform, integrates the hardware and software interfaces of the two types of heterogeneous systems, obtains the function control authority, and matches the communication protocols, so as to realize dynamic adaptation of instruction data exchange. This method can automatically select the most suitable communication protocol according to the current network and system load, so as to ensure the reliability and efficiency of communication, adapt to different application scenarios and requirements, improve the operability and user experience of the system, and through the bidirectional analysis process, the platform can clean, standardize and verify the instruction data of the two types of heterogeneous systems, and perform bidirectional analysis and data format conversion. By predefining the mapping rules between the protocols, the platform realizes automatic conversion and re-encapsulation of the data format, and ensures smooth transmission and analysis of the data between different protocols.

[0078] In addition, by establishing the mapping relationship between the joint operation data set and the system function instruction, and calculating the deviation value to evaluate the accuracy of the mapping, the high-precision matching between the joint operation instruction and the system instruction can be ensured, the error of instruction interaction can be reduced, and efficient cooperation and accurate simulation between heterogeneous systems can be realized.

[0079] The above is a joint simulation method of two types of heterogeneous systems provided in an embodiment of the application, and the following is a joint simulation system of two types of heterogeneous systems provided in an embodiment of the application.

[0080] Referring to FIG. 2, the joint simulation system of two types of heterogeneous systems provided in an embodiment of the application includes:

[0081] The building unit 201 is configured to build a joint platform, integrate the hardware and software interfaces of the two types of heterogeneous systems, obtain the function control authority of the two types of heterogeneous systems, store the function instruction parameters, and dynamically adapt to provide instruction data exchange after matching the communication protocols.

[0082] The analysis unit 202 is configured to perform data processing on the instruction data exchanged by the two types of heterogeneous systems, bidirectionally analyze the processed instruction data, and convert the instruction data into a format recognizable by the joint platform.

[0083] The integration unit 203 is configured to manage the end user to customize the operation target, process and expected result required, set the time, sequence and condition parameters required for joint operation, and integrate the joint operation data set.

[0084] The matching unit 204 is configured to establish the mapping relationship between the joint operation data set and the function instructions of the two types of heterogeneous systems, and associate and match the function instructions of the two types of heterogeneous systems with the joint operation instructions in the joint operation data set.

[0085] The simulation unit 205 is configured to, when the command end receives the joint operation instruction in the joint operation data set, disassemble the joint operation instruction into a plurality of operation steps, analyze the logical data of the sequence, parallelism and conditions between the steps, open the instruction control permission of the corresponding system according to the logical data in sequence, and receive and process the feedback data of the system in real time.

[0086] Further, the embodiment of the present application further provides a joint simulation device of two types of heterogeneous systems, the device comprising a processor and a memory:

[0087] The memory is configured to store program code and transmit the program code to the processor.

[0088] The processor is configured to execute the steps of the joint simulation method of the two types of heterogeneous systems according to the instructions in the program code.

[0089] Further, the embodiment of the present application further provides a computer readable storage medium, the computer readable storage medium is configured to store program code, and the program code is configured to execute the joint simulation method of the two types of heterogeneous systems.

[0090] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the system and the unit described above can refer to the corresponding process in the foregoing method embodiments, which will not be described here.

[0091] The terms "first", "second", "third", "fourth" and the like (if any) in the specification and the above drawings of the present application are used to distinguish similar objects, and do not necessarily indicate a specific order or sequence. It should be understood that the data thus used can be interchanged under appropriate circumstances, so that the embodiments of the present application described herein can be implemented in an order other than that illustrated or described herein. In addition, the terms "include" and "have" and any variations thereof are intended to cover non-exclusive inclusion, for example, a process, method, system, product or device including a series of steps or units does not necessarily limit to those steps or units clearly listed, but can include other steps or units not clearly listed or inherent to these processes, methods, products or devices.

[0092] It should be understood that, in the application, "at least one" refers to one or more, and "multiple" refers to two or more. "And / or" is used to describe the association relationship of the associated objects, which means that there can be three relationships, for example, "A and / or B" can represent three cases of only A, only B, and A and B existing at the same time, wherein A and B can be singular or plural. The character " / " generally represents an "or" relationship between the front and rear associated objects. "At least one of the following" or the like means any combination of these items, including any combination of single or multiple items. For example, at least one of a, b or c can represent a, b, c, "a and b", "a and c", "b and c", or "a and b and c", wherein a, b, and c can be single or multiple.

[0093] In several embodiments provided in the application, it should be understood that the disclosed system, device and method can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division, and actual implementation can have another division manner. For example, a plurality of units or components can be combined or integrated into another system, or some features can be omitted or not executed. In addition, the coupling or direct coupling or communication connection between the units shown or discussed can be indirect coupling or communication connection through some interface, device or unit, and can be electrical, mechanical or other forms.

[0094] The units described as separate components can or can not be physically separated, and the components shown as units can or can not be physical units, that is, they can be located in one place, or can be distributed on a plurality of network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the embodiment scheme.

[0095] In addition, each functional unit in each embodiment of the application can be integrated into a processing unit, or each unit can exist physically, or two or more units can be integrated into one unit. The integrated unit can be realized in the form of hardware or in the form of a software functional unit.

[0096] The integrated unit, if implemented in the form of a software function unit and sold or used as an independent product, can be stored in a computer readable storage medium. Based on such understanding, the technical solutions of the present application essentially or say the part that contributes to the prior art or the whole or part of the technical solutions can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes a number of 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 the various embodiments of the present application. The aforementioned storage medium includes: a U disk, a mobile hard disk, a read-only memory (English full name: Read-Only Memory, English abbreviation: ROM), a random access memory (English full name: Random Access Memory, English abbreviation: RAM), a magnetic disk or an optical disk, and various media that can store program codes.

[0097] The above-described embodiments are only used to illustrate the technical solutions of the present application, rather than limit them; although the present application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that they can still modify the technical solutions recorded in the foregoing embodiments, or make equivalent replacements for part of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims

1. A method for joint simulation of two-class heterogeneous systems, characterized in that, The method comprises the following steps: Building a joint platform, integrating the hardware and software interfaces of the two types of heterogeneous systems, obtaining the function control authority of the two types of heterogeneous systems, and storing the function instruction parameters. After matching the communication protocol, dynamically adapt to provide instruction data exchange; Processing the instruction data exchanged by the two types of heterogeneous systems, bidirectionally analyzing the processed instruction data, and converting them into a format recognizable by the joint platform; Through the management end, the user customizes the required operation target, process, and expected result, and sets the time, sequence, and condition parameters required for joint operation, and integrates the joint operation data set; Establish the mapping relationship between the joint operation data set and the function instructions of the two types of heterogeneous systems, and associate and match the function instructions of the two types of heterogeneous systems with the joint operation instructions in the joint operation data set; When the command end receives the joint operation instruction in the joint operation data set, it disassembles the joint operation instruction into several operation steps, analyzes the sequence, parallelism, and condition logic data between each step, and according to the logic data, it sequentially opens the instruction control authority of the corresponding system, and real-time receives and processes the feedback data of the system.

2. The co-simulation method of heterogeneous systems of two types according to claim 1, characterized in that, The matching communication protocol specifically includes: Analyze the interface and document data of the two types of heterogeneous systems, obtain the protocol information, and according to the characteristics and requirements of the two types of heterogeneous systems, use the protocol converter to convert the different protocols in the protocol information; for the integrated hardware and software interfaces of the two types of heterogeneous systems, define the data format, field, and type of request and response.

3. The co-simulation method of heterogeneous systems of two types according to claim 1, characterized in that, The dynamic adaptation to provide instruction data exchange specifically includes: Through the load balancing mechanism, according to the current network and system load, dynamically allocate the communication protocol, detect the network state, delay, and packet loss rate, and judge whether the current communication protocol can meet the communication demand. When it is detected that the current communication protocol cannot meet the communication demand, according to the current communication content, network state, delay, and packet loss rate, automatically select and switch to another communication protocol.

4. The co-simulation method of heterogeneous systems of two types according to claim 1, characterized in that, The bidirectional analysis of the processed instruction data specifically includes: Map the parsed data into the data format of the target protocol, and define the mapping rules between the two protocols in advance, format the data according to the requirements of the target protocol, and repackage the converted data into the data packet of the target protocol; Through the communication channel of the target protocol, send the packaged data packet to the target system, when the target system responds to the data, identify the communication protocol of the returned data again, parse the returned data, and extract each component of the response packet; Map the parsed returned data back to the data format of the original protocol, format the returned data according to the requirements of the original protocol, and repackage the converted returned data into the response packet of the original protocol; Through the communication channel of the original protocol, send the packaged response packet back to the original requesting system.

5. The co-simulation method of heterogeneous systems of two types according to claim 1, characterized in that, The mapping relationship between the joint operation data set and the two types of heterogeneous system function instructions is established, the function instructions of the two types of heterogeneous systems are associated and matched with the joint operation instructions in the joint operation data set, and then the following steps are further included: Based on the bias calculation formula, the bias value of the associated and matched result is calculated, and the accuracy of the mapping is evaluated according to the bias value; The deviation calculation formula is: where P represents a deviation value, M is a standard return value of a certain instruction in a joint operation data set, R A is a return value of a corresponding instruction in system A, R B is a return value of a corresponding instruction in system B, (R A -M) 2 is a square difference between the return value of the instruction of system A and the standard return value, (R B -M) is a square difference between the return value of the instruction of system B and the standard return value.

6. The co-simulation method of heterogeneous systems of two types according to claim 1, characterized in that, The instruction data exchanged by the two types of heterogeneous systems is processed, specifically including: The instruction data exchanged by the two types of heterogeneous systems is processed, specifically including:

7. The co-simulation method of heterogeneous systems of two types according to claim 1, characterized in that, After the command end receives the joint operation instruction in the joint operation data set, the joint operation instruction is disassembled into several operation steps, and the logical data of the order, parallelism and conditions between the steps are analyzed, the instruction control authority of the corresponding system is opened in turn according to the logical data, and the feedback data of the system is received and processed in real time, and then the following steps are further included: The simulation results, the data in the visual operation process and the final results are displayed through the joint platform.

8. A joint simulation system of two types of heterogeneous systems, characterized by, Including: The building unit is used to build a joint platform, integrate hardware and software interfaces of two types of heterogeneous systems, obtain function control authority of the two types of heterogeneous systems, and store function instruction parameters, and after matching the communication protocol, dynamically adapt to provide instruction data exchange; The analysis unit is used for data processing of the instruction data exchanged by the two types of heterogeneous systems, bidirectional analysis of the processed instruction data, and conversion into a format recognizable by the joint platform; The integration unit is used to integrate the joint operation data set by managing end user defining the required operation target, process and expected result, and setting the required time, order and condition parameters of joint operation; The matching unit is used to establish the mapping relationship between the joint operation data set and the function instructions of the two types of heterogeneous systems, and to associate and match the function instructions of the two types of heterogeneous systems with the joint operation instructions in the joint operation data set; The simulation unit is used to disassemble the joint operation instruction in the joint operation data set into several operation steps when the command end receives the joint operation instruction, analyze the logical data of the order, parallelism and conditions between the steps, open the instruction control authority of the corresponding system in turn according to the logical data, and receive and process the feedback data of the system in real time.

9. A joint simulation device of two types of heterogeneous systems, characterized by, The device includes a processor and a memory: The memory is used to store program code and transmit the program code to the processor; The processor is used to execute the joint simulation method of the two types of heterogeneous systems according to the instructions in the program code.

10. A computer-readable storage medium, characterized in that, The computer readable storage medium is used to store program code, and the program code is used to execute the joint simulation method of the two types of heterogeneous systems. The computer readable storage medium is used to store program code, and the program code is used to execute the joint simulation method of the two types of heterogeneous systems.

Citation Information

Patent Citations

  • Collaborative simulation method and system for heterogeneous system

    CN116956557A

  • Joint simulation method, system and equipment for two types of heterogeneous systems and medium

    CN118965799A

  • Integrated mapping system between heterogeneous standards applied in scada and substation automation

    KR101423109B1

  • Interactive partitioning and mapping of an application across multiple heterogeneous computational devices from a co-simulation design environment

    US9442696B1