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

By building a joint platform and data processing mechanism, the communication difficulties and manual intervention between heterogeneous systems are solved, efficient and accurate heterogeneous system collaboration and simulation are achieved, and the stability and user experience of the system are improved.

CN118965799APending Publication Date: 2024-11-15ELECTRIC POWER RES INST CHINA SOUTHERN POWER GRID CO LTD +1
View PDF 0 Cites 4 Cited by

Patent Information

Application Number
CN202411150569.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-21
Publication Date
2024-11-15

AI Technical Summary

Technical Problem

The joint simulation methods of existing heterogeneous systems have compatibility problems, resulting in difficulty in communication and collaboration between different systems, and requires a lot of manual intervention and coordination during the testing and verification stages, resulting in low operational efficiency and poor stability.

Method used

By building a joint platform, integrating the hardware and software interfaces of heterogeneous systems, obtaining functional control permissions, matching communication protocols, and performing data processing and two-way analysis, establishing a mapping relationship between the joint operation data set and functional instructions, and dynamically adapting to instruction data Exchange, automatically select communication protocols to ensure the accuracy of data format conversion and instruction matching.

Benefits of technology

It improves the communication reliability and efficiency between heterogeneous systems, reduces manual intervention, improves the flexibility and user experience of the system, and ensures high-precision collaboration and simulation results.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118965799A_ABST
    Figure CN118965799A_ABST
Patent Text Reader

Abstract

The invention discloses a joint simulation method, system, equipment and medium for two types of heterogeneous systems, and aims to obtain function control authority and match a communication protocol by constructing a joint platform and integrating hardware and software interfaces of the two types of heterogeneous systems so as to realize dynamic adaptation instruction data exchange. According to the method, the most suitable communication protocol can be automatically selected through a load balancing mechanism according to the current network and system load conditions, so that the reliability and efficiency of communication are ensured, different application scenes and requirements are adapted, the operability of the system and the user experience are improved, and through the two-way analysis process, the user experience is improved. The platform can perform preprocessing, bidirectional analysis and data format conversion on instruction data of two types of heterogeneous systems. Through a mapping rule between predefined protocols, the platform realizes automatic conversion and repackaging of data formats, and ensures that data can be smoothly transmitted and analyzed between different protocols. Therefore, 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

Technical Field

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

[0002] Different types of systems have different structures, functions, performances and communication methods. The design and simulation of heterogeneous systems is to solve the problem of collaborative work and performance evaluation between different types of components. Discrete event simulation method is a commonly used joint simulation method for heterogeneous systems. It is based on an event-driven model and evaluates 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. They communicate and work together through events. By simulating the occurrence and processing of events, the performance and behavior of the entire system can be evaluated.

[0003] However, the existing joint simulation methods for 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, which makes communication and collaboration between them difficult. Different systems may generate inconsistent data, leading to wrong decisions or data processing errors; 2. Existing heterogeneous system integration solutions often face great difficulties in the testing and verification stages, especially in ensuring the accuracy and stability of communication between different systems. The joint operation between different systems often requires a lot of manual intervention and coordination. Summary of the invention

[0004] The present application provides a joint simulation method, system, device and medium for two types of heterogeneous systems, which is used to solve the problem that the joint operation between different systems in the prior art often requires a lot of manual intervention and coordination, resulting in low operating efficiency and communication accuracy, and poor system stability.

[0005] In view of this, the first aspect of the present application provides a joint simulation method for two types of heterogeneous systems, the method comprising:

[0006] Build a joint platform, integrate the hardware and software interfaces of the two types of heterogeneous systems, obtain the function control permissions of the two types of heterogeneous systems, store function instruction parameters, and dynamically adapt to provide instruction data exchange after matching the communication protocol;

[0007] Processing the instruction data exchanged by the two types of heterogeneous systems, bidirectionally parsing the processed instruction data, and converting the processed instruction data into a format recognizable by the joint platform;

[0008] The management end user customizes the required operation objectives, processes and expected results, and sets the time, sequence and condition parameters required for the joint operation, integrating the joint operation data set;

[0009] Establishing a mapping relationship between the joint operation data set and the functional instructions of the two types of heterogeneous systems, and associating and matching the functional instructions of the two types of heterogeneous systems with the joint operation instructions in the joint operation data set;

[0010] When the command end receives the joint operation instruction in the joint operation data set, it breaks down the joint operation instruction into several operation steps, and analyzes the sequential, parallel and conditional logical data between each step, opens the instruction control authority of the corresponding system in turn according to the logical data, and receives and processes the system feedback data in real time.

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

[0012] Analyze the interface and document data of the two types of heterogeneous systems, obtain the protocol information used, and convert the instruction data of the different protocols in the protocol information through a protocol converter according to the characteristics and requirements of the two types of heterogeneous systems; standardize the data format, field and type of requests and responses for the integrated hardware and software interfaces of the two types of heterogeneous systems.

[0013] Optionally, the dynamic adaptation provides instruction data exchange, specifically including:

[0014] Through the load balancing mechanism, the communication protocol is dynamically allocated according to the current network and system load conditions. By detecting the network status, delay and packet loss rate, it is determined whether the currently used communication protocol is suitable to meet the communication needs. When it is detected that the current communication protocol cannot meet the communication needs, it automatically chooses to switch to another communication protocol based on the current communication content, network status, delay and packet loss rate.

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

[0016] Map the parsed data into the data format of the target protocol, predefine the mapping rules 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;

[0017] 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 parsed, and the components of the response packet are extracted;

[0018] Mapping the parsed return data back to the data format of the original protocol, formatting the return data according to the requirements of the original protocol, and repackaging the converted return data into a response packet of the original protocol;

[0019] The encapsulated response packet is sent back to the original requesting system through the communication channel of the original protocol.

[0020] Optionally, the establishing of a mapping relationship between the joint operation data set and the two types of heterogeneous system function instructions, associating and matching the two types of heterogeneous system function instructions with the joint operation instructions in the joint operation data set, further includes:

[0021] Based on the deviation calculation formula, the deviation value is calculated for the result of the association matching, and the accuracy of the mapping is evaluated according to the deviation value;

[0022] Wherein, the deviation calculation formula is:

[0023]

[0024] In the formula, represents the deviation value, It is the standard return value of a command in the joint operation data set. is the return value of the corresponding instruction in system A, is the return value of the corresponding instruction in system B, is the square difference between the return value of the system A instruction and the standard return value, It is the square difference between the return value of the system B instruction and the standard return value.

[0025] Optionally, the performing data processing on the instruction data exchanged by the two types of heterogeneous systems specifically includes:

[0026] The instruction data exchanged between the two types of heterogeneous systems are cleansed, standardized and verified.

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

[0028] The simulation results are presented through the joint platform to visualize the data during the operation and the final results.

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

[0030] A construction unit is used 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 function instruction parameters, and dynamically adapt to provide instruction data exchange after matching the communication protocol;

[0031] A parsing unit, used for processing the instruction data exchanged by the two types of heterogeneous systems, bidirectionally parsing the processed instruction data, and converting the processed instruction data into a format recognizable by the joint platform;

[0032] Integration unit, used to customize the required operation objectives, processes and expected results through management end users, set the time, sequence and condition parameters required for joint operations, and integrate joint operation data sets;

[0033] A matching unit, used to establish a mapping relationship between the joint operation data set and the functional instructions of the two types of heterogeneous systems, and associate and match the functional 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 decompose the joint operation instruction into several operation steps after the command end receives the joint operation instruction in the joint operation data set, and analyze the sequential, parallel and conditional logic data between each step, open the instruction control authority of the corresponding system in turn according to the logic data, and receive and process the feedback data of the system in real time.

[0035] A third aspect of the present application provides a joint simulation device for two types of heterogeneous systems, the device 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 two types of heterogeneous systems as described in the first aspect according to the instructions in the program code.

[0038] A fourth aspect of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium is used to store program code, and the program code is used to execute the joint simulation method of two types of heterogeneous systems described in the first aspect above.

[0039] From the above technical solutions, we can see that:

[0040] Compared with the known prior art, the technical solution provided by this application has the following beneficial effects:

[0041] 1. By building a joint platform, integrating the hardware and software interfaces of two types of heterogeneous systems, obtaining functional control permissions, and matching communication protocols, dynamic adaptation of command data exchange can be achieved. According to the current network and system load conditions, the most suitable communication protocol can be automatically selected through the load balancing mechanism to ensure the reliability and efficiency of communication. It can adapt to different application scenarios and needs and improve the system's operability and user experience.

[0042] 2. Through the two-way parsing process, the command data of the two types of heterogeneous systems can be cleaned, standardized and verified, and bidirectional parsing and data format conversion can be performed. By pre-defining the mapping rules between protocols, automatic conversion and repackaging of data formats can be achieved, ensuring that data can be smoothly transmitted and parsed between different protocols.

[0043] 3. By establishing a mapping relationship between the joint operation data set and the system function instructions, calculating the deviation value, and evaluating the accuracy of the mapping, it is possible to ensure high-precision matching between the joint operation instructions and the system instructions, reduce errors, and achieve efficient collaboration and precise simulation between heterogeneous systems, significantly improving the system's flexibility, reliability, and user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] Figure 1 A schematic diagram of a flow chart of a joint simulation method of two types of heterogeneous systems provided in an embodiment of the present application;

[0045] Figure 2 A schematic diagram of the structure of a joint simulation system of two types of heterogeneous systems provided in an embodiment of the present application. DETAILED DESCRIPTION

[0046] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0047] Embodiment 1:

[0048] See also Figure 1 , a joint simulation method of two types of heterogeneous systems provided in an embodiment of the present application includes:

[0049] Step 101: 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 function instruction parameters, and dynamically adapt to provide instruction data exchange after matching the communication protocol.

[0050] Step 102: Process the instruction data exchanged by the two types of heterogeneous systems, perform bidirectional parsing on the processed instruction data, and convert them into a format recognizable by the joint platform.

[0051] It should be noted that the instruction data exchanged by the two types of heterogeneous systems are cleaned, standardized and verified, and the processed instruction data are bidirectionally parsed and converted into a format recognizable by the joint platform, ensuring the quality and consistency of input and output data, and increasing the accuracy and reliability of data processing.

[0052] Step 103: The management end user customizes the required operation objectives, processes and expected results, and sets the time, sequence and condition parameters required for the joint operation, and integrates the joint operation data set.

[0053] Step 104: Establish a mapping relationship between the joint operation data set and the functional instructions of the two types of heterogeneous systems, and associate and match the functional instructions of the two types of heterogeneous systems with the joint operation instructions in the joint operation data set.

[0054] Furthermore, after 104, the method further includes: calculating a deviation value of the result of the association matching based on a deviation calculation formula, and evaluating the accuracy of the mapping according to the deviation value.

[0055] It should be noted that a mapping relationship between the joint operation data set and the two types of heterogeneous system function instructions 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; the joint operation instructions of the joint operation data set include a unique instruction ID, an instruction name describing the purpose, the parameters required by the instruction and their types, and the return result and its type after the instruction is executed;

[0056] After associating and matching the functional instructions of the two types of heterogeneous systems with the joint operation instructions in the joint operation data set, the deviation value of the result of the association matching is calculated to evaluate the accuracy of the mapping. The deviation value calculation formula is:

[0057]

[0058] In the formula, represents the deviation value, Represents the standard return value of a command in the joint operation data set. Represents the return value of the corresponding instruction in system A, Represents the return value of the corresponding instruction in system B, Represents the square difference between the return value of the system A instruction and the standard return value, It represents the square difference between the return value of the instruction of system B and the standard return value. The two square differences are summed and averaged to eliminate the influence of units and orders of magnitude. Finally, the square root is taken to get the deviation value, which represents the overall deviation between the return values ​​of system A and system B and the standard return values.

[0059] Step 105: After the command end receives the joint operation instruction in the joint operation data set, it breaks down the joint operation instruction into several operation steps, analyzes the sequential, parallel and conditional logic data between the steps, opens the instruction control authority of the corresponding system in turn according to the logic data, and receives and processes the feedback data of the system in real time.

[0060] It should be noted that when the command end receives the joint operation instruction in the joint operation data set, it will break it down into several operation steps, analyze the sequential, parallel and conditional logic data between each step, and open the instruction control authority of the corresponding system in turn according to the logic data of the joint operation instruction, and receive and process the system feedback data in real time; the system feedback data received in real time is synchronously uploaded to the cloud, supporting the reading and writing of external storage media, realizing real-time monitoring and data update of the operation process, and improving the real-time performance of the system and the traceability of the data.

[0061] Furthermore, after step 105, the method further includes: displaying the simulation results through the joint platform, and visualizing the data and final results during the operation.

[0062] It should be noted that the joint platform displays simulation results, visualizes the data during the operation process and the final results. The simulation results displayed by the joint platform provide two- or three-dimensional data display methods, and support users to customize the data display format, making the operation process and final results more intuitive and easy to understand. It supports users to customize the data display format according to their needs, thereby improving the user experience.

[0063] Compared with the existing technology, by building a joint platform, the hardware and software interfaces of the two types of heterogeneous systems are integrated together, which realizes the acquisition of system functional control permissions and the dynamic adaptive exchange of instruction data. This high degree of integration makes the operations between different systems more coordinated and efficient. By establishing a mapping relationship between the joint operation data set and the system functional instructions, the joint operation instructions can accurately associate and match the functional instructions of the two types of heterogeneous systems. At the same time, the deviation value calculation formula is used to evaluate the mapping accuracy to ensure the accuracy and reliability of the operation.

[0064] Embodiment 2:

[0065] At other levels, this embodiment also provides a two-way resolution process, the specific steps are:

[0066] Map the parsed data to the data format of the target protocol, predefine the mapping rules between the two protocols, format the data according to the requirements of the target protocol, and repackage the converted data into data packets of the target protocol;

[0067] 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 parsed, and the components of the response packet are extracted;

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

[0069] The encapsulated response packet is sent back to the original requesting system through the communication channel of the original protocol.

[0070] Compared with the existing technology, through this two-way parsing mechanism, the system can achieve seamless interoperability with multiple different protocols without changing the existing protocol. Through pre-defined mapping rules and formatting processing, this technology can automatically complete the two-way encapsulation and parsing process of data, reduce human intervention, reduce error rate, and improve data transmission efficiency. It is not only for one-way data transmission, but also includes real-time encapsulation and parsing of returned data, thereby realizing true two-way communication and ensuring the system's response time after receiving the request and the real-time nature of data transmission.

[0071] Embodiment 3:

[0072] In this embodiment, during the communication protocol matching process, the interfaces and document data of the two types of heterogeneous systems are analyzed to obtain the protocol information used, and the command data of the different protocols are converted through the protocol converter according to the characteristics and requirements of the two types of heterogeneous systems; the hardware and software interfaces of the two types of heterogeneous systems are integrated to standardize the data formats, fields and types of requests and responses;

[0073] In the process of dynamic adaptation to provide instruction data exchange, through the load balancing mechanism, the communication protocol is dynamically allocated according to the current network and system load conditions. By detecting the network status, delay and packet loss rate, it is determined whether the currently used communication protocol is suitable. When it is detected that the current communication protocol cannot meet the communication needs, it automatically chooses to switch to another communication protocol according to the current communication content, network status, delay and packet loss rate. By detecting the network status, delay and packet loss rate, the system can automatically determine whether the currently used communication protocol is suitable and switch to another communication protocol when necessary to ensure the stability and efficiency of communication;

[0074] It realizes intelligent routing function, automatically selects the best protocol and path for data transmission according to the communication content and network status, gives priority to high-speed transmission protocol for large data transmission, and gives priority to low-latency protocol for small data or real-time communication. It supports real-time dynamic configuration, can automatically adjust communication protocols and parameters according to changes in the network and environment, can dynamically adjust data packet size, timeout time and number of retries, and optimizes protocol conversion and adaptation logic according to test results to ensure efficient and stable communication in actual operation;

[0075] According to the current network and system load conditions, the communication protocol is dynamically allocated. This method can not only adapt to changes in network status in real time, but also improve communication efficiency and reliability.

[0076] Compared with the existing technology, by analyzing the interface and document data of two types of heterogeneous systems, obtaining the protocol information used, and performing command data conversion of different protocols, efficient communication and data exchange between different systems are achieved. Even if there are different hardware and software interfaces between the systems, interoperability can be achieved through the protocol converter.

[0077] In summary, the present application can automate and standardize cross-system operations, improve the efficiency and accuracy of operations, and 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 collaboration between different systems smoother and more efficient;

[0078] This application builds a joint platform to integrate the hardware and software interfaces of two types of heterogeneous systems to obtain functional control permissions and match communication protocols, thereby achieving dynamic adaptation of command data exchange. This method can automatically select the most suitable communication protocol through a load balancing mechanism according to the current network and system load conditions to ensure the reliability and efficiency of communication, adapt to different application scenarios and requirements, and improve the operability and user experience of the system. Through the two-way parsing process, the platform can clean, standardize and verify the command data of the two types of heterogeneous systems, and perform two-way parsing and data format conversion. By pre-defining the mapping rules between protocols, the platform realizes automatic conversion and repackaging of data formats, ensuring that data can be smoothly transmitted and parsed between different protocols.

[0079] In addition, by establishing a mapping relationship between the joint operation data set and the system function instructions, and calculating the deviation value to evaluate the accuracy of the mapping, it is possible to ensure high-precision matching between the joint operation instructions and the system instructions, reduce the errors in instruction interaction, and achieve efficient collaboration and accurate simulation between heterogeneous systems.

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

[0081] See also Figure 2 , a joint simulation system of two types of heterogeneous systems provided in an embodiment of the present application includes:

[0082] The building unit 201 is used to build a joint platform, integrate the hardware and software interfaces of the two types of heterogeneous systems, obtain the function control permissions of the two types of heterogeneous systems, and store function instruction parameters. After matching the communication protocol, it dynamically adapts to provide instruction data exchange.

[0083] The parsing unit 202 is used to process the instruction data exchanged by the two types of heterogeneous systems, perform bidirectional parsing on the processed instruction data, and convert the processed instruction data into a format recognizable by the joint platform.

[0084] The integration unit 203 is used to integrate the joint operation data set by allowing the management end user to customize the required operation goals, processes and expected results, and set the time, sequence and condition parameters required for the joint operation.

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

[0086] The simulation unit 205 is used to decompose the joint operation instruction into several operation steps after the command end receives the joint operation instruction in the joint operation data set, and analyze the sequential, parallel and conditional logic data between each step, open the instruction control authority of the corresponding system in turn according to the logic data, and receive and process the feedback data of the system in real time.

[0087] Furthermore, an embodiment of the present application also provides a joint simulation device for two types of heterogeneous systems, the device comprising a processor and a memory:

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

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

[0090] Furthermore, a computer-readable storage medium is provided in an embodiment of the present application, and the computer-readable storage medium is used to store program code, and the program code is used to execute the joint simulation method of two types of heterogeneous systems described in the above method embodiment.

[0091] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0092] The terms "first", "second", "third", "fourth", etc. (if any) in the specification of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein, for example. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0093] It should be understood that in this application, "at least one (item)" means one or more, and "plurality" means two or more. "And / or" is used to describe the association relationship of associated objects, indicating that three relationships may exist. For example, "A and / or B" can mean: only A exists, only B exists, and A and B exist at the same time, where A and B can be singular or plural. The character " / " generally indicates that the objects associated before and after are in an "or" relationship. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b or c can mean: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", where a, b, c can be single or multiple.

[0094] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.

[0095] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0096] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0097] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (full name in English: Read-Only Memory, English abbreviation: ROM), random access memory (full name in English: Random Access Memory, English abbreviation: RAM), disk or optical disk and other media that can store program codes.

[0098] As described above, the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims

1. A joint simulation method for two types of heterogeneous systems, characterized in that: include: Build a joint platform, integrate the hardware and software interfaces of the two types of heterogeneous systems, obtain the function control permissions of the two types of heterogeneous systems, store function instruction parameters, and dynamically adapt to provide instruction data exchange after matching the communication protocol; Processing the instruction data exchanged by the two types of heterogeneous systems, bidirectionally parsing the processed instruction data, and converting the processed instruction data into a format recognizable by the joint platform; The management end user customizes the required operation objectives, processes and expected results, and sets the time, sequence and condition parameters required for the joint operation, integrating the joint operation data set; Establishing a mapping relationship between the joint operation data set and the functional instructions of the two types of heterogeneous systems, and associating and matching the functional 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 breaks down the joint operation instruction into several operation steps, and analyzes the sequential, parallel and conditional logical data between each step, opens the instruction control authority of the corresponding system in turn according to the logical data, and receives and processes the system feedback data in real time.

2. The joint simulation method of two types of heterogeneous systems 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 used, and convert the instruction data of the different protocols in the protocol information through a protocol converter according to the characteristics and requirements of the two types of heterogeneous systems; standardize the data format, field and type of requests and responses for the integrated hardware and software interfaces of the two types of heterogeneous systems.

3. The joint simulation method of two types of heterogeneous systems according to claim 1, characterized in that: The dynamic adaptation provides instruction data exchange, specifically including: Through the load balancing mechanism, the communication protocol is dynamically allocated according to the current network and system load conditions. By detecting the network status, delay and packet loss rate, it is determined whether the currently used communication protocol is suitable to meet the communication needs. When it is detected that the current communication protocol cannot meet the communication needs, it automatically chooses to switch to another communication protocol based on the current communication content, network status, delay and packet loss rate.

4. The joint simulation method of two types of heterogeneous systems according to claim 1, characterized in that: The bidirectional parsing of the processed instruction data specifically includes: Map the parsed data into the data format of the target protocol, predefine the mapping rules 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; 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 parsed, and the components of the response packet are extracted; Mapping the parsed return data back to the data format of the original protocol, formatting the return data according to the requirements of the original protocol, and repackaging the converted return data into a response packet of the original protocol; The encapsulated response packet is sent back to the original requesting system through the communication channel of the original protocol.

5. The joint simulation method of two types of heterogeneous systems 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, 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 following is further included: Based on the deviation calculation formula, the deviation value is calculated for the result of the association matching, and the accuracy of the mapping is evaluated according to the deviation value; Wherein, the deviation calculation formula is: In the formula, represents the deviation value, It is the standard return value of a command in the joint operation data set. is the return value of the corresponding instruction in system A, is the return value of the corresponding instruction in system B, is the square difference between the return value of the system A instruction and the standard return value, It is the square difference between the return value of the system B instruction and the standard return value.

6. The joint simulation method of two types of heterogeneous systems according to claim 1, characterized in that: The data processing of the instruction data exchanged by the two types of heterogeneous systems specifically includes: The instruction data exchanged between the two types of heterogeneous systems are cleansed, standardized and verified.

7. The joint simulation method of two types of heterogeneous systems according to claim 1, characterized in that: After receiving the joint operation instruction in the joint operation data set, the command end disassembles the joint operation instruction into several operation steps, analyzes the logic data of sequence, parallelism and conditions between the steps, opens the instruction control authority of the corresponding system in turn according to the logic data, receives and processes the feedback data of the system in real time, and then includes: The simulation results are presented through the joint platform to visualize the data during the operation and the final results.

8. A joint simulation system of two types of heterogeneous systems, characterized in that: include: A construction unit is used 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 function instruction parameters, and dynamically adapt to provide instruction data exchange after matching the communication protocol; A parsing unit, used for processing the instruction data exchanged by the two types of heterogeneous systems, bidirectionally parsing the processed instruction data, and converting the processed instruction data into a format recognizable by the joint platform; Integration unit, used to customize the required operation objectives, processes and expected results through management end users, set the time, sequence and condition parameters required for joint operations, and integrate joint operation data sets; A matching unit, used to establish a mapping relationship between the joint operation data set and the functional instructions of the two types of heterogeneous systems, and associate and match the functional 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 decompose the joint operation instruction into several operation steps after the command end receives the joint operation instruction in the joint operation data set, and analyze the sequential, parallel and conditional logic data between each step, open the instruction control authority of the corresponding system in turn according to the logic data, and receive and process the feedback data of the system in real time.

9. A joint simulation device for two types of heterogeneous systems, characterized in that: The device comprises 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 two types of heterogeneous systems according to any one of claims 1-7 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 codes, and the program codes are used to execute the joint simulation method of two types of heterogeneous systems as described in any one of claims 1-7.

Citation Information

Cited By

  • Data transmission method and module, linear motor device, electronic device and medium

    CN119766900A

  • System platform and heterogeneous model decoupling method and device, computer equipment and medium

    CN119806637A

  • Isomerism method of logic unit, electronic equipment, storage medium and product

    CN120491907A

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

    WO2026040414A1