Simulation verification method and device based on distributed system, and electronic equipment

By building feedback functions in a distributed system to simulate the response behavior of associated nodes, the problems of high operation and maintenance costs and lack of data feedback in distributed system simulation verification are solved, and an efficient and economical simulation verification process is achieved.

CN119829402APending Publication Date: 2025-04-15INDUSTRIAL AND COMMERCIAL BANK OF CHINA
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202411822404.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-11
Publication Date
2025-04-15

AI Technical Summary

Technical Problem

Distributed system simulation verification is due to the high operation and maintenance costs and the inability to form a perfect closed loop, resulting in the lack of data feedback.

Method used

By obtaining simulation verification requirements and system parameter information of the target distributed system, determining the call link data of the target simulation application, identifying the target simulation node and its associated nodes, and building a feedback function to simulate the response behavior of the associated nodes, ensuring the closed-loop and integrity of the simulation process and data feedback.

Benefits of technology

It reduces the operation and maintenance difficulty and cost of distributed system simulation verification, improves the efficiency and economicality of simulation verification, and ensures the integrity of data feedback and the comprehensiveness of simulation process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119829402A_ABST
    Figure CN119829402A_ABST
Patent Text Reader

Abstract

The invention discloses a simulation verification method and device based on a distributed system and electronic equipment, and relates to the field of distributed technologies or other related fields, and the method comprises the steps: obtaining a simulation verification demand and system parameter information of a target distributed system, determining calling link data of the target simulation application based on the system parameter information; determining a target simulation node in the target distributed system based on the simulation verification demand, determining an association node of the target simulation node based on the calling link data, and obtaining association node information; based on the association node information, a feedback function corresponding to the association node is constructed, and the feedback function is used for simulating the response behavior of the association node in the operation process of the target simulation application; and running the target simulation application based on the feedback function to obtain a simulation verification result. Through the method and the device, the technical problem of data feedback deficiency caused by high operation and maintenance cost and incapability of forming a perfect closed loop in distributed system simulation verification in related technologies is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of distributed technology or other related fields, and in particular to a simulation verification method based on a distributed system and a device and electronic equipment thereof. Background Art

[0002] In recent years, with the continuous development of technologies such as cloud computing, big data, and artificial intelligence, distributed systems have become mainstream as infrastructure for various scenarios. Distributed systems involve the collaborative work of multiple components, and there are complex call links between each component. Each component running in a distributed system may fail during operation, thus affecting the entire system. Therefore, distributed systems require system simulation verification to ensure the robustness and stability of the system.

[0003] As an innovative model that combines efficient computing and virtual reality technology, distributed application simulation has demonstrated its unique value and wide applicability in many fields such as complex product design, operation training and process rehearsal. Through distributed simulation technology, each sub-model of the system can be assigned to different simulation engines for parallel computing. It can also be combined with virtual reality technology to provide the possibility for multi-user collaborative interaction, so that users in different locations can perform interactive simulation in the same virtual environment, greatly expanding its application scenarios. However, while showing its advantages, distributed application simulation also exposes some challenges and limitations. On the one hand, the full deployment of simulation equipment will significantly increase the operation and maintenance costs, especially in large-scale distributed systems, which not only includes the investment in hardware equipment, but also the human and time costs of software configuration, network connectivity and system maintenance; on the other hand, some simulations are difficult to form a complete closed loop, which affects the accuracy and efficiency of the simulation.

[0004] To address the above-mentioned problems, no effective solution has been proposed yet. Summary of the invention

[0005] The main purpose of the present application is to provide a simulation verification method based on a distributed system and its device and electronic equipment, so as to at least solve the technical problem of the lack of data feedback caused by the high operation and maintenance cost and the inability to form a perfect closed loop in the simulation verification of the distributed system in the related technology.

[0006] In order to achieve the above-mentioned purpose, according to one aspect of the present application, a simulation verification method based on a distributed system is provided, the method comprising: obtaining simulation verification requirements and system parameter information of a target distributed system, and determining call link data of a target simulation application based on the system parameter information, wherein the target distributed system is used to run the target simulation application; determining a target simulation node in the target distributed system based on the simulation verification requirements, determining an associated node of the target simulation node based on the call link data, and obtaining associated node information, wherein the associated node information includes interaction information between the target simulation node and the associated node during the running of the target simulation application; constructing a feedback function corresponding to the associated node based on the associated node information, wherein the feedback function is used to simulate the response behavior of the associated node during the running of the target simulation application; running the target simulation application based on the feedback function to obtain a simulation verification result.

[0007] Furthermore, the step of determining the call link data of the target simulation application based on the system parameter information includes: determining the processing logic involved in the target simulation application in the target distributed system, and determining the processing node information based on the processing logic, wherein the processing logic includes data flow logic and control flow logic, and the processing node information refers to the node information of N target system nodes contained in the processing logic, and N is a positive integer; based on the processing node information and the system parameter information, analyzing the actual call link of the target simulation application in the target distributed system to obtain the call link data, wherein the call link data includes the node call sequence and data transmission path of the N target system nodes.

[0008] Furthermore, the system parameter information includes: network configuration information of the target distributed system, node information and node dependency of each system node, and operation load information and network dynamic information during the operation of the target distributed system.

[0009] Furthermore, the step of determining the target simulation node in the target distributed system based on the simulation verification requirement includes: parsing the simulation verification requirement to obtain a parsing result, wherein the parsing result includes: a target application and / or target service to be simulated and verified in the target distributed system; obtaining verification target information corresponding to the target application and / or target service based on the parsing result; and filtering out R of the target simulation nodes from the N target system nodes contained in the call link data based on the verification target information, wherein R is a positive integer less than or equal to N.

[0010] Furthermore, the steps of determining the associated node of the target simulation node based on the call link data and obtaining the associated node information include: analyzing the context relationship of the target simulation node in the call link data; determining the target system node that has direct data interaction or indirect data interaction with the target simulation node as the associated node based on the context relationship; obtaining the node identification information, data input and output characteristic information and the first position information of the associated node in the call link data to obtain the associated node information.

[0011] Furthermore, the step of constructing a feedback function corresponding to the associated node based on the associated node information includes: for each of the associated nodes, analyzing the associated node information to obtain a data call relationship between the associated node and the target simulation node during the running of the target simulation application; and constructing the feedback function corresponding to the associated node according to the data call relationship.

[0012] Furthermore, the step of running the target simulation application based on the feedback function to obtain a simulation verification result includes: obtaining second position information of the target simulation node in the call link data, and generating monitoring trigger data based on the second position information, wherein the monitoring trigger data is used to trigger the calling action of the feedback function during the running of the target simulation application; running the target simulation application based on the monitoring trigger data to obtain the simulation verification result, wherein the simulation verification result includes at least: the running status, running progress and simulation function correctness of the target simulation application.

[0013] Furthermore, the step of running the target simulation application based on the feedback function to obtain a simulation verification result also includes: collecting simulation process data during the running of the target simulation application, wherein the simulation process data includes: data simulation results of the feedback function, behavior data of the target simulation node, and interaction data between the target simulation node and the associated node; and evaluating the correctness of the simulation function of the target simulation application based on the simulation process data and the simulation verification requirements to obtain the simulation verification result.

[0014] In order to achieve the above-mentioned purpose, according to another aspect of the present application, a simulation and verification device based on a distributed system is also provided, which includes: a first determination unit, used to obtain simulation and verification requirements and system parameter information of a target distributed system, and determine call link data of a target simulation application based on the system parameter information, wherein the target distributed system is used to run the target simulation application; a second determination unit, used to determine a target simulation node in the target distributed system based on the simulation and verification requirements, determine an associated node of the target simulation node based on the call link data, and obtain associated node information, wherein the associated node information includes interaction information between the target simulation node and the associated node during the running of the target simulation application; a construction unit, used to construct a feedback function corresponding to the associated node based on the associated node information, wherein the feedback function is used to simulate the response behavior of the associated node during the running of the target simulation application; and an operation unit, used to run the target simulation application based on the feedback function to obtain a simulation verification result.

[0015] Furthermore, the first determination unit includes: a first determination module, used to determine the processing logic involved in the target simulation application in the target distributed system, and determine the processing node information based on the processing logic, wherein the processing logic includes data flow logic and control flow logic, and the processing node information refers to the node information of N target system nodes contained in the processing logic, and N is a positive integer; a first analysis module, used to analyze the actual call link of the target simulation application in the target distributed system based on the processing node information and the system parameter information to obtain the call link data, wherein the call link data includes the node call sequence and data transmission path of the N target system nodes.

[0016] Furthermore, the system parameter information includes: network configuration information of the target distributed system, node information and node dependency of each system node, and operation load information and network dynamic information during the operation of the target distributed system.

[0017] Furthermore, the second determination unit includes: a parsing module, used to parse the simulation verification requirements and obtain a parsing result, wherein the parsing result includes: a target application and / or target service to be simulated and verified in the target distributed system; a first acquisition module, used to obtain verification target information corresponding to the target application and / or target service based on the parsing result; and a screening module, used to screen out R of the target simulation nodes from the N target system nodes contained in the call link data based on the verification target information, wherein R is a positive integer less than or equal to N.

[0018] Furthermore, the second determination unit also includes: a second analysis module, used to analyze the context relationship of the target simulation node in the call link data; a second determination module, used to determine, based on the context relationship, that a target system node that has direct data interaction or indirect data interaction with the target simulation node is the associated node; a second acquisition module, used to acquire the node identification information, data input and output characteristic information of the associated node, and the first position information of the associated node in the call link data to obtain the associated node information.

[0019] Furthermore, the construction unit includes: a third analysis module, used to analyze the associated node information for each associated node to obtain the data call relationship between the associated node and the target simulation node during the running of the target simulation application; a construction module, used to construct the feedback function corresponding to the associated node according to the data call relationship.

[0020] Furthermore, the running unit includes: a generation module, used to obtain the second position information of the target simulation node in the call link data, and generate monitoring trigger data based on the second position information, wherein the monitoring trigger data is used to trigger the calling action of the feedback function during the running of the target simulation application; an running module, used to run the target simulation application based on the monitoring trigger data to obtain the simulation verification result, wherein the simulation verification result includes at least: the running status, running progress and simulation function correctness of the target simulation application.

[0021] Furthermore, the operating unit also includes: a collection module, which is used to collect simulation process data during the operation of the target simulation application, wherein the simulation process data includes: data simulation results of the feedback function, behavior data of the target simulation node, and interaction data between the target simulation node and the associated node; an evaluation module, which is used to evaluate the correctness of the simulation function of the target simulation application based on the simulation process data and the simulation verification requirements to obtain the simulation verification result.

[0022] In order to achieve the above-mentioned purpose, according to another aspect of the present application, a computer-readable storage medium is also provided, and the computer-readable storage medium includes a stored computer program, wherein when the computer program is running, the device where the computer-readable storage medium is located is controlled to execute any one of the above-mentioned simulation verification methods based on distributed systems.

[0023] In order to achieve the above-mentioned purpose, according to another aspect of the present application, an electronic device is also provided, including one or more processors and a memory, wherein the memory is used to store one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors implement any one of the above-mentioned simulation verification methods based on distributed systems.

[0024] In the present invention, a simulation verification method based on a distributed system is proposed, which first obtains simulation verification requirements and system parameter information of a target distributed system, and determines call link data of a target simulation application based on the system parameter information, wherein the target distributed system is used to run a target simulation application, and then determines a target simulation node in the target distributed system based on the simulation verification requirements, determines an associated node of the target simulation node based on the call link data, and obtains associated node information, wherein the associated node information includes interaction information between the target simulation node and the associated node during the running of the target simulation application, and then constructs a feedback function corresponding to the associated node based on the associated node information, wherein the feedback function is used to simulate the response behavior of the associated node during the running of the target simulation application, and finally runs the target simulation application based on the feedback function to obtain a simulation verification result.

[0025] In the present invention, the method of using rules to simulate feedback data and constructing feedback functions achieves the purpose of reducing the difficulty and cost of operation and maintenance of distributed system simulation verification, thereby achieving the technical effect of ensuring simulation continuity and data feedback integrity without fully deploying simulation equipment. Specifically, the present invention first determines the call link data of the target simulation application based on the simulation verification requirements and the system parameter information of the target distributed system, and then identifies the target simulation node and its associated nodes by analyzing the call link data, and then constructs a feedback function to simulate the behavior of the associated nodes that are not directly involved in the simulation, ensuring that the simulation process can still form a closed loop even if some distributed nodes do not have simulation equipment, and complete comprehensive data feedback and verification, effectively improving the efficiency and economy of distributed application simulation verification, and thus solving the technical problem of data feedback loss caused by high operation and maintenance costs and inability to form a perfect closed loop in the related technology of distributed system simulation verification. BRIEF DESCRIPTION OF THE DRAWINGS

[0026] The drawings constituting a part of the present application are used to provide a further understanding of the present application. The illustrative embodiments and descriptions of the present application are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:

[0027] Figure 1 A hardware structure block diagram of a computer terminal for implementing a simulation verification method based on a distributed system is shown;

[0028] Figure 2 is a flow chart of an optional simulation verification method based on a distributed system according to an embodiment of the present invention;

[0029] Figure 3 is a flow chart of an optional distributed system simulation verification method according to an embodiment of the present invention;

[0030] Figure 4 is a schematic diagram of an optional distributed system simulation verification device according to an embodiment of the present invention;

[0031] Figure 5 is a schematic diagram of an optional simulation verification device based on a distributed system according to an embodiment of the present invention;

[0032] Figure 6 The present invention is a structural block diagram of an electronic device for executing a simulation verification method based on a distributed system according to an embodiment of the present invention. DETAILED DESCRIPTION

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

[0034] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention 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 interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof 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.

[0035] To facilitate those skilled in the art to understand the present invention, some terms or nouns involved in the embodiments of the present invention are explained below:

[0036] Distributed System, a network consisting of multiple independent computers, which communicate and collaborate through the network to complete one or more tasks. In the present invention, it refers to a group of computer nodes connected by a network to jointly run a simulation application, with each node responsible for a specific part or function of the simulation application.

[0037] Simulation Verification refers to the process of verifying the correctness and performance of a design by building a model and running simulations during the design phase. It is widely used in integrated circuit design, system design and other fields to ensure that the design meets the predetermined specifications and functional requirements before actual deployment.

[0038] FMU, functional mock-up unit, is a part of the model exchange standard (Modelica), which is used to encapsulate model components for exchange and reuse in different simulation environments. In the present invention, it refers to a simulation model unit that can run independently in a distributed system, and FMUs of different subsystems can be deployed on different simulation engines.

[0039] Simulation Engine, a software environment for executing simulation models, can provide the computing resources and tools required for running simulations. Within the framework of the present invention, the simulation engine is responsible for running the FMUs on each node in the distributed system to perform simulation tasks.

[0040] It should be noted that the simulation verification method based on a distributed system and the device thereof in the present application can be used in the field of distributed technology to efficiently and economically verify the target simulation application, and can also be used in any field other than the field of distributed technology to efficiently and economically verify the target simulation application. The present application does not limit the application field of the simulation verification method based on a distributed system and the device thereof.

[0041] It should be noted that the relevant information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, storage, processing, transmission, provision, disclosure, use and processing of the relevant data comply with the laws, regulations and standards of the relevant regions, take necessary confidentiality measures, do not violate public order and good customs, and provide corresponding operation entrances for users to choose to authorize or refuse. For example, an interface is set up between this system and relevant users or organizations. Before obtaining relevant information, it is necessary to send an acquisition request to the aforementioned user or organization through the interface, and obtain relevant information after receiving the consent information fed back by the aforementioned user or organization.

[0042] The information collection (for example, user voice, video, and text collection) and analysis operations involved in this application have provided users with corresponding operation entrances when they are executed, allowing users to choose to agree or reject the automated decision-making results; if the user chooses to reject, the expert decision-making process will be entered.

[0043] The following embodiments of the present invention can be applied to various systems / applications / devices that require simulation verification and operation and maintenance optimization, and can improve verification efficiency while reducing costs. The present invention uses feedback functions to simulate information transmission, and then builds virtual interactions between target simulation nodes and associated nodes that are not directly simulated based on these functions, which can better solve the problem of missing data feedback in distributed system simulation verification due to cost constraints or the inability of some simulations to form a closed loop, ensuring the comprehensiveness of the verification process and the feedback integrity of the data, thereby optimizing the simulation verification process of distributed applications and improving the operating efficiency and economy of the overall system.

[0044] The present invention also adopts a method of regular simulation feedback data and utilizes the means of constructing feedback functions to achieve comprehensive verification of the running process of the target simulation application without directly simulating and deploying all distributed nodes. It is particularly suitable for low-cost and high-efficiency verification and testing of simulation applications in the fields of complex system design, operation training and process rehearsal.

[0045] The present invention is described in detail below in conjunction with various embodiments.

[0046] Embodiment 1

[0047] According to an embodiment of the present invention, an embodiment of a simulation verification method based on a distributed system is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although the logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0048] The method embodiment provided in the first embodiment of the present invention may be executed in a mobile terminal, a computer terminal or a similar computing device. Figure 1 The hardware structure block diagram of a computer terminal (or mobile device) for implementing a simulation verification method based on a distributed system is shown. Figure 1As shown, the computer terminal 10 (or mobile device) may include one or more (102a, 102b, ..., 102n are used to illustrate) processors 102 (the processor 102 may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA), a memory 104 for storing data, and a transmission device 106 for communication functions. In addition, it may also include: a display, an input / output interface (I / O interface), a universal serial bus (USB) port (which may be included as one of the ports of the BUS bus), a network interface, a power supply and / or a camera. It can be understood by those skilled in the art that Figure 1 The structure shown is only for illustration and does not limit the structure of the above electronic device. Figure 1 More or fewer components as shown, or with Figure 1 Different configurations shown.

[0049] It should be noted that the one or more processors 102 and / or other data processing circuits described above may generally be referred to herein as "data processing circuits". The data processing circuits may be embodied in whole or in part as software, hardware, firmware, or any other combination thereof. In addition, the data processing circuit may be a single independent processing module, or may be incorporated in whole or in part into any of the other components in the computer terminal 10 (or mobile device). As described in the embodiments of the present application, the data processing circuit acts as a processor control (e.g., selection of a variable resistor terminal path connected to an interface).

[0050] The memory 104 can be used to store software programs and modules of application software, such as the program instructions / data storage device corresponding to the simulation verification method based on the distributed system in the embodiment of the present application. The processor 102 executes various functional applications and data processing by running the software programs and modules stored in the memory 104, that is, realizing the above-mentioned simulation verification method based on the distributed system. The memory 104 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 104 may further include a memory remotely arranged relative to the processor 102, and these remote memories may be connected to the computer terminal 10 via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0051] The transmission device 106 is used to receive or send data via a network. The specific example of the above network may include a wireless network provided by a communication provider of the computer terminal 10. In one example, the transmission device 106 includes a network adapter (Network Interface Controller, NIC), which can be connected to other network devices through a base station so as to communicate with the Internet. In one example, the transmission device 106 can be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.

[0052] The display may be, for example, a touch screen liquid crystal display (LCD) that enables a user to interact with a user interface of the computer terminal 10 (or mobile device).

[0053] Under the above operating environment, the present invention provides Figure 2 The simulation verification method based on distributed systems shown in the figure is implemented by a distributed simulation verification system, which is combined with virtual feedback technology and is used in complex system design and verification scenarios, especially to solve the data feedback problem that a perfect closed loop cannot be formed under some simulation conditions. By means of constructing a feedback function, specifically by obtaining the call link data of the application simulation, determining the target simulation node and the associated node information, and constructing a feedback function, the simulation verification of the distributed system is completed, so as to reduce the operation and maintenance difficulty and cost of the distributed system simulation verification, improve the verification efficiency, and ensure the integrity of data feedback.

[0054] The embodiments of the present invention are described in detail below in conjunction with various specific steps.

[0055] Figure 2 is a flow chart of an optional simulation verification method based on a distributed system according to an embodiment of the present invention. Figure 2 As shown, the method comprises the following steps:

[0056] Step S201, obtaining simulation verification requirements and system parameter information of a target distributed system, and determining call link data of a target simulation application based on the system parameter information, wherein the target distributed system is used to run the target simulation application.

[0057] Before executing the simulation, you need to have a deep understanding of the specific requirements of the simulation verification, including the functions, performance indicators, expected results, and behavioral performance under specific conditions of the target simulation application you want to verify. At the same time, you need to obtain comprehensive parameter information of the target distributed system. Optionally, the system parameter information includes: network configuration information of the target distributed system, node information and node dependencies of each system node, and operating load information and network dynamic information during the operation of the target distributed system.

[0058] Specifically, network configuration information includes parameters such as the network connection mode, bandwidth, and delay between nodes in the target distributed system, which is the basis for analyzing data transmission paths and communication efficiency between nodes; node information of each system node includes the node's hardware configuration, software environment, processing capability, etc., which is used to evaluate the performance of the node when processing specific tasks; node dependencies are used to clarify the degree of mutual dependence of each node in data flow and control flow; operating load information is used to understand the actual load conditions during system operation, including CPU utilization, memory usage, I / O operations, etc.; network dynamic information includes network traffic, node status changes, etc. Dynamic data is crucial for real-time adjustment of simulation strategies and simulation of network behavior.

[0059] Another thing that needs to be explained is that the call link data is used to describe the call relationship and data flow between various functional modules or nodes during the operation of the simulation application. It is key information for analyzing the internal interaction mode of the distributed system and determining the simulation verification goals and associated nodes.

[0060] Optionally, the step of determining the call link data of the target simulation application based on the system parameter information includes: determining the processing logic involved in the target simulation application in the target distributed system, determining the processing node information based on the processing logic, wherein the processing logic includes data flow logic and control flow logic, and the processing node information refers to the node information of N target system nodes contained in the processing logic, and N is a positive integer; based on the processing node information and the system parameter information, analyzing the actual call link of the target simulation application in the target distributed system to obtain the call link data, wherein the call link data includes the node call sequence and data transmission path of the N target system nodes.

[0061] In the process of determining the call link data, it is necessary to first determine the processing logic involved in the target simulation application in the target distributed system, including data flow logic and control flow logic. Data flow logic refers to how the target simulation application transmits and processes data between different nodes during operation, including the complete path of data generation, transmission, reception and processing, which is used to determine the source of the data, the data transmission path between nodes, and the final processing target of the data; control flow logic refers to how the control instructions of the simulation application are propagated and executed in the system, which is used to guide the application's running order, conditional branches and loop control, and ensure the accuracy and completeness of the call link.

[0062] After determining the processing logic, the processing node information can be determined through the processing logic, and all nodes involved in the data flow and control flow operations can be identified and recorded, including but not limited to: data generation nodes, intermediate processing nodes, and final receiving and processing nodes. The node information of each node (such as ID, location, processing capabilities, etc.) will be recorded in detail to build a complete call link.

[0063] Furthermore, analyzing the actual call link of the target simulation application in the target distributed system and obtaining the call link data refers to analyzing the relationship between the processing node information and the system parameter information, and constructing the actual running path of the target simulation application in the target distributed system through logical reasoning and data analysis, that is, generating the call link data, which clearly records the node call sequence, data transmission path, and possible data processing and control instructions between the N target system nodes. The call link data is the key basis for the subsequent determination of the target simulation node and the associated node information, and is also the basis for building the feedback function.

[0064] Through the above steps, based on the in-depth analysis of system parameter information, the running trajectory and data interaction dynamics of the target simulation application in the distributed environment can be accurately captured, including the logical processing of data flow and control flow, as well as the dependencies and load conditions between nodes. The refined construction of call link data avoids the waste of resources caused by traditional full-scale simulation, and solves the problem of missing closed-loop feedback under some simulation conditions. It not only significantly reduces the cost of simulation verification, but also ensures the comprehensiveness of verification and the continuity of data feedback, thereby greatly improving the efficiency and accuracy of distributed system simulation verification, and providing strong support for the efficient design and optimization of complex systems.

[0065] Step S202, based on the simulation verification requirements, determine the target simulation node in the target distributed system, determine the associated node of the target simulation node based on the call link data, and obtain the associated node information, wherein the associated node information includes the interaction information between the target simulation node and the associated node during the operation of the target simulation application. That is, from the complex target distributed system, according to the specific requirements of the simulation verification, the target simulation node and its related associated nodes are accurately locked to achieve efficient management of the simulation verification process and accurate simulation of data interaction.

[0066] It should be noted that the associated node information refers to the detailed information of the nodes that interact with the target simulation node during the running of the simulation application, including but not limited to: node ID, node location, node function, node input and output data, etc., which is crucial for building feedback functions and simulating the behavior of nodes that are not directly simulated.

[0067] Optionally, the step of determining the target simulation node in the target distributed system based on the simulation verification requirements includes: parsing the simulation verification requirements to obtain parsing results, wherein the parsing results include: the target application and / or target service to be simulated and verified in the target distributed system; obtaining verification target information corresponding to the target application and / or target service based on the parsing results; and filtering out R target simulation nodes from the N target system nodes contained in the call link data based on the verification target information, wherein R is a positive integer less than or equal to N.

[0068] It should be noted that the purpose of in-depth analysis of simulation verification requirements is to identify the core object of this verification, that is, the target application or target service to be verified in the target distributed system. The verification target information can be obtained through the analysis process, including but not limited to: the name of the target application or service, functional description, expected verification indicators, and may also involve specific operating environment, version information, etc., which is the key basis for selecting the target simulation node in the subsequent steps.

[0069] Based on the verification target information obtained through analysis, R target simulation nodes directly related to the target application or service can be identified from the call link data. These nodes are the objects that need to be focused on and simulated during the simulation verification process, and directly or indirectly affect the operation effect of the target application or service.

[0070] The screening process of the target simulation nodes is based on the node information and system parameter information in the call link data. By analyzing the dependencies between nodes and the data transmission path, it ensures that the selected target simulation nodes can fully cover the operating environment and data interaction requirements of the verification target.

[0071] Optionally, the steps of determining the associated nodes of the target simulation node based on the call link data and obtaining the associated node information include: analyzing the context relationship of the target simulation node in the call link data; determining the target system node that has direct data interaction or indirect data interaction with the target simulation node as the associated node based on the context relationship; obtaining the node identification information, data input and output characteristic information and the first position information of the associated node in the call link data to obtain the associated node information.

[0072] Specifically, for each target simulation node, its contextual relationship in the call link data is analyzed, including: nodes that have direct data interaction and indirect data dependency with the target simulation node.

[0073] The above-mentioned detailed node relationship analysis can identify those associated nodes that are not directly used as verification targets, but whose status or output has a direct impact on the verification results of the target simulation nodes. The identification of associated nodes is crucial to building a complete simulation verification scenario and can ensure the accuracy and comprehensiveness of the verification results.

[0074] Further obtain detailed information of each associated node, including node identification information (such as node ID, location information, etc.), data input and output characteristics (such as data format, type, transmission protocol, etc.), and the first position information of the associated node in the call link data (i.e., the position in the node call sequence). The acquisition of the above information provides the necessary data support for the subsequent construction of the feedback function, ensuring the authenticity of data interaction and the continuity of data feedback during the simulation verification process.

[0075] Through the above steps, accurate identification and information acquisition of the target simulation nodes and their associated nodes in the target distributed system are achieved, laying a solid foundation for building feedback functions and completing efficient simulation verification of distributed systems. It not only significantly reduces the consumption of simulation resources, but also improves the accuracy and efficiency of verification, providing strong technical support for the rapid iteration and optimization of complex systems.

[0076] Step S203, constructing a feedback function corresponding to the associated node based on the associated node information, wherein the feedback function is used to simulate the response behavior of the associated node during the operation of the target simulation application. That is, constructing a feedback function that can accurately simulate the response behavior of these nodes when the target simulation application is running based on the acquired associated node information, thereby ensuring the integrity and accuracy of the simulation verification without actually deploying the simulation device.

[0077] It should be noted that the feedback function is a function used to simulate the behavior of associated nodes that are not directly involved in the simulation verification process. It is constructed based on the function logic of the input and output data in the associated node information, so that the response of these nodes can be simulated without actually deploying simulation equipment, thereby forming a simulation closed loop and ensuring complete data feedback.

[0078] Optionally, the step of constructing a feedback function corresponding to the associated node based on the associated node information includes: for each associated node, analyzing the associated node information to obtain a data call relationship between the associated node and the target simulation node during the running of the target simulation application; and constructing a feedback function corresponding to the associated node according to the data call relationship.

[0079] It should be noted that in the process of analyzing the associated node information to obtain the data call relationship, the node information of each system node identified as an associated node is deeply analyzed, especially focusing on the data flow and control flow interaction with the target simulation node, including: the characteristics of data input and output, the frequency of data calls, the time delay of data processing, and any specific data processing rules or algorithms, so as to understand the data call relationship between each associated node and the target simulation node during the operation of the target simulation application, that is, how the data flows from the target simulation node to the associated node, and how the data returns from the associated node to the target simulation node, or how the associated node directly or indirectly affects the data processing process of the target simulation node.

[0080] Once the data call relationship between the associated node and the target simulation node is clear, the feedback function can be constructed. The design goal of the feedback function is to accurately simulate the data processing and response behavior of the associated node during the operation of the target simulation application. The embodiment of the present invention constructs a logical expression (or mathematical model) based on the data input and output characteristics, processing logic, and interaction mode with the target simulation node of the associated node, which is used to receive data or control instructions issued by the target simulation node, generate outputs that match the actual response behavior of the associated node after simulation processing, and then feed these outputs back to the target simulation node to ensure that the data flow and control flow in the simulation verification process can form a closed loop, thereby achieving the purpose of simulation verification.

[0081] The process of constructing the feedback function involves a variety of technologies, including but not limited to machine learning (used to learn and predict the response mode of the associated node), state machine model (used to simulate the migration and response of the node state), and rule-based logic processing (used to directly map the simple relationship between input and output). In the actual application of the embodiment of the present invention, the complexity and accuracy of the feedback function will be adjusted according to the specific functions of the associated node and the strictness of the simulation verification requirements.

[0082] The above steps can reduce the simulation verification process's dependence on physical simulation equipment, reduce simulation costs and operation and maintenance difficulties, and ensure the efficiency and accuracy of simulation verification. Even under some simulation conditions, precise feedback function simulation can be used to achieve a comprehensive evaluation of the target simulation application's operating status, providing strong support for the optimal design of complex systems.

[0083] Step S204: running the target simulation application based on the feedback function to obtain a simulation verification result.

[0084] The above step S204 is the core execution link in the simulation verification method. By calling the feedback function to simulate the behavior of the associated nodes and then running the target simulation application, the simulation verification result is finally obtained. It not only verifies the functional correctness of the application, but also comprehensively evaluates its running status, progress and interaction effects with other nodes in the system.

[0085] Optionally, step S204 includes: obtaining second position information of the target simulation node in the call link data, and generating monitoring trigger data based on the second position information, wherein the monitoring trigger data is used to trigger the calling action of the feedback function during the running of the target simulation application; running the target simulation application based on the monitoring trigger data to obtain a simulation verification result, wherein the simulation verification result includes at least: the running status, running progress and simulation function correctness of the target simulation application.

[0086] In the process of generating monitoring trigger data, the call link data is further analyzed and the specific position of the target simulation node therein, i.e., the second position information, is determined. Based on the second position information, the monitoring trigger data is generated. It should be noted that the monitoring trigger data is a special signal or data packet that can automatically trigger the execution of the feedback function when the target simulation application runs to a specific node, ensuring that the data interaction during the simulation process can be carried out according to the expected call link. The generation of monitoring trigger data relies on a deep understanding of the node call sequence and data transmission path in the target distributed system, ensuring the synchronization and coordination between the feedback function and the target simulation node.

[0087] In the process of running the target simulation application, the target simulation application is run in the target distributed system based on the guidance of the monitoring trigger data. Whenever the application runs to a call point related to a specific associated node, the monitoring trigger data will automatically activate the corresponding feedback function, simulate the response behavior of the associated node, and feed back the simulation result to the target simulation node, completing the closed loop of data flow and control flow. The above process is repeated until the target simulation application completes its entire running process.

[0088] The running status of the simulation application (such as whether errors or exceptions occur), running progress (such as the number of completed nodes and the overall completion percentage), and correctness of the simulation function (such as whether the function implementation meets the design expectations) are continuously monitored and finally summarized as simulation verification results.

[0089] Evaluating the correctness of simulation functions refers to continuously collecting simulation process data during the entire operation of the target simulation application, including but not limited to: data simulation results of feedback functions, behavior data of target simulation nodes, and interaction data between target simulation nodes and associated nodes.

[0090] The above interaction data is not only used to monitor the simulation progress and status in real time, but also provides a detailed basis for evaluating the correctness of the simulation functions of the target simulation application. By comparing the simulation process data with the simulation verification requirements, it is possible to determine whether the function of the target simulation application is implemented accurately and whether the actual operation performance of the application in the target distributed system meets expectations.

[0091] Optionally, step S204 includes: collecting simulation process data during the operation of the target simulation application, wherein the simulation process data includes: data simulation results of the feedback function, behavior data of the target simulation node, and interaction data between the target simulation node and associated nodes; based on the simulation process data and simulation verification requirements, evaluating the correctness of the simulation function of the target simulation application to obtain a simulation verification result.

[0092] It should be noted that the collected simulation process data is compared with the pre-set simulation verification requirements to comprehensively evaluate the correctness of the simulation function of the target simulation application and then form a simulation verification result, which is used to reflect the functional implementation of the application while also comprehensively considering its operating efficiency, stability and interaction with other nodes in the distributed system. Through the above-mentioned simulation operation strategy based on the feedback function, the target simulation application can be fully verified in the target distributed system with lower resource consumption and cost, providing strong support and guarantee for the system's optimized design and subsequent deployment and operation.

[0093] Through the above steps S201 to S204, the simulation verification requirements and the system parameter information of the target distributed system can be obtained first, and the call link data of the target simulation application can be determined based on the system parameter information, wherein the target distributed system is used to run the target simulation application, and then the target simulation node in the target distributed system is determined based on the simulation verification requirements, and the associated nodes of the target simulation node are determined based on the call link data, and the associated node information is obtained, wherein the associated node information includes the interaction information between the target simulation node and the associated node during the running of the target simulation application, and then a feedback function corresponding to the associated node is constructed based on the associated node information, wherein the feedback function is used to simulate the response behavior of the associated node during the running of the target simulation application, and finally the target simulation application is run based on the feedback function to obtain the simulation verification result.

[0094] In the embodiment of the present invention, the method of using rules to simulate feedback data is adopted, and the purpose of reducing the operation and maintenance difficulty and cost of distributed system simulation verification is achieved by constructing a feedback function, thereby achieving the technical effect of ensuring simulation continuity and data feedback integrity without fully deploying simulation equipment. Specifically, the present invention first determines the call link data of the target simulation application based on the simulation verification requirements and the system parameter information of the target distributed system, and then identifies the target simulation node and its associated nodes by analyzing the call link data, and then constructs a feedback function to simulate the behavior of the associated nodes that are not directly involved in the simulation, ensuring that the simulation process can still form a closed loop even when some distributed nodes do not have simulation equipment, and complete comprehensive data feedback and verification, effectively improving the efficiency and economy of distributed application simulation verification, and thus solving the technical problem of data feedback loss caused by high operation and maintenance costs and inability to form a perfect closed loop in the related technology of distributed system simulation verification.

[0095] The present invention is described below in conjunction with another specific implementation manner.

[0096] Distributed systems require system simulation verification to ensure the robustness and stability of the system. However, the simulation verification of distributed systems in the existing technology requires simulating the call links between distributed components and building complex and large test cases, which leads to low efficiency of simulation verification of distributed systems and low accuracy and coverage of verification.

[0097] The embodiment of the present invention relates to the technical field of distributed system simulation, and proposes a simulation verification method for a distributed system. Figure 3 is a flow chart of an optional distributed system simulation verification method according to an embodiment of the present invention, such as Figure 3 As shown, the method comprises the following steps:

[0098] Step S301, obtaining call link data of application simulation, where the call link data is based on parameter information of the distributed system.

[0099] Furthermore, the call link data is determined based on the processing logic of the application, or can also be determined based on the processing log or message of the application in the historical data.

[0100] Step S302, determining the target simulation node and its associated node information.

[0101] Further, the associated node information is determined by screening the nodes in the call link data that interact with the target simulation node.

[0102] Step S303: construct a feedback function for the associated node.

[0103] Furthermore, the process of constructing the feedback function is based on the calling relationship between the associated node and the target simulation node, and simulates the relationship between the input and output data through the function logic.

[0104] Step S304, completing simulation verification of the distributed system using the feedback function and simulation verification requirements.

[0105] It should be noted that the processing progress is tracked by monitoring the trigger data, and feedback functions are used to pass information between key nodes to ensure that verification is continuous.

[0106] Based on the above method, the embodiment of the present invention also provides a simulation verification device for a distributed system. Figure 4 is a schematic diagram of an optional distributed system simulation verification device according to an embodiment of the present invention, such as Figure 4 As shown, the device comprises:

[0107] An analysis module 41 is used to obtain call link data of application simulation;

[0108] A screening module 42, used to determine the target simulation node and its associated node information;

[0109] A construction module 43, used to construct a feedback function for the associated node;

[0110] The verification module 44 is used to complete the simulation verification of the distributed system using the feedback function and the simulation verification requirements.

[0111] The implementation method of the present invention simulates the response behavior of the associated nodes by constructing a feedback function, so that the operation of the target simulation application in the simulation environment is closer to the operation state of the actual distributed system, and the accuracy and reliability of the simulation verification are improved. At the same time, by monitoring the trigger data tracking processing progress, the continuity and integrity of the simulation verification are ensured, and the efficiency and quality of the distributed system simulation verification are effectively improved, which provides strong support for the development and maintenance of the distributed system, reduces the risk after the system goes online, and improves the user experience and system stability.

[0112] The present invention is described below in conjunction with another optional embodiment.

[0113] Embodiment 2

[0114] An embodiment of the present invention also provides a simulation and verification device based on a distributed system. It should be noted that the simulation and verification device based on a distributed system in the embodiment of the present invention includes multiple implementation units, which can be used to execute the simulation and verification method based on a distributed system provided in the above-mentioned embodiment one, and each implementation unit corresponds to each implementation step in the above-mentioned embodiment one.

[0115] Figure 5 is a schematic diagram of an optional simulation verification device based on a distributed system according to an embodiment of the present invention, such as Figure 5 As shown, the device may include: a first determining unit 51 , a second determining unit 52 , a constructing unit 53 , and an operating unit 54 .

[0116] The first determination unit 51 is used to obtain simulation verification requirements and system parameter information of a target distributed system, and determine call link data of a target simulation application based on the system parameter information, wherein the target distributed system is used to run the target simulation application.

[0117] The second determination unit 52 is used to determine the target simulation node in the target distributed system based on the simulation verification requirements, determine the associated node of the target simulation node based on the call link data, and obtain the associated node information, wherein the associated node information includes the interaction information between the target simulation node and the associated node during the operation of the target simulation application.

[0118] The construction unit 53 is used to construct a feedback function corresponding to the associated node based on the associated node information, wherein the feedback function is used to simulate the response behavior of the associated node during the operation of the target simulation application.

[0119] The running unit 54 is used to run the target simulation application based on the feedback function to obtain a simulation verification result.

[0120] The above-mentioned simulation verification device based on a distributed system can first obtain the simulation verification requirements and the system parameter information of the target distributed system through the first determination unit 51, and determine the call link data of the target simulation application based on the system parameter information, wherein the target distributed system is used to run the target simulation application, and then determine the target simulation node in the target distributed system based on the simulation verification requirements through the second determination unit 52, determine the associated node of the target simulation node based on the call link data, and obtain the associated node information, wherein the associated node information includes the interaction information between the target simulation node and the associated node during the operation of the target simulation application, and then construct the feedback function corresponding to the associated node based on the associated node information through the construction unit 53, wherein the feedback function is used to simulate the response behavior of the associated node during the operation of the target simulation application, and finally run the target simulation application based on the feedback function through the operation unit 54 to obtain the simulation verification result.

[0121] In an embodiment of the present invention, a method of simulating feedback data by rules is adopted, and by means of constructing a feedback function, the purpose of reducing the difficulty and cost of operation and maintenance of distributed system simulation verification is achieved, thereby achieving the technical effect of ensuring simulation continuity and data feedback integrity without fully deploying simulation equipment. Specifically, the present invention first determines the call link data of the target simulation application based on the simulation verification requirements and the system parameter information of the target distributed system, and then identifies the target simulation node and its associated nodes by analyzing the call link data, and then constructs a feedback function to simulate the behavior of the associated nodes that are not directly involved in the simulation, ensuring that the simulation process can still form a closed loop even when some distributed nodes do not have simulation equipment, and complete comprehensive data feedback and verification, effectively improving the efficiency and economy of distributed application simulation verification, and thus solving the technical problem of data feedback loss caused by high operation and maintenance costs and inability to form a perfect closed loop in the related technology of distributed system simulation verification.

[0122] Optionally, the first determination unit includes: a first determination module, used to determine the processing logic involved in the target simulation application in the target distributed system, and determine the processing node information based on the processing logic, wherein the processing logic includes data flow logic and control flow logic, and the processing node information refers to the node information of N target system nodes contained in the processing logic, and N is a positive integer; a first analysis module, used to analyze the actual call link of the target simulation application in the target distributed system based on the processing node information and system parameter information, and obtain call link data, wherein the call link data includes the node call sequence and data transmission path of the N target system nodes.

[0123] Optionally, the system parameter information includes: network configuration information of the target distributed system, node information and node dependency of each system node, and operation load information and network dynamic information during the operation of the target distributed system.

[0124] Optionally, the second determination unit includes: a parsing module, used to parse the simulation verification requirements and obtain a parsing result, wherein the parsing result includes: a target application and / or target service to be simulated and verified in the target distributed system; a first acquisition module, used to obtain verification target information corresponding to the target application and / or target service based on the parsing result; and a screening module, used to screen out R target simulation nodes from the N target system nodes contained in the call link data based on the verification target information, wherein R is a positive integer less than or equal to N.

[0125] Optionally, the second determination unit also includes: a second analysis module, used to analyze the context relationship of the target simulation node in the call link data; a second determination module, used to determine that the target system node that has direct data interaction or indirect data interaction with the target simulation node is an associated node based on the context relationship; a second acquisition module, used to obtain the node identification information, data input and output characteristic information of the associated node and the first position information of the associated node in the call link data to obtain the associated node information.

[0126] Optionally, the construction unit includes: a third analysis module, used to analyze the associated node information for each associated node to obtain the data call relationship between the associated node and the target simulation node during the operation of the target simulation application; a construction module, used to construct a feedback function corresponding to the associated node according to the data call relationship.

[0127] Optionally, the running unit includes: a generation module, used to obtain the second position information of the target simulation node in the call link data, and generate monitoring trigger data based on the second position information, wherein the monitoring trigger data is used to trigger the calling action of the feedback function during the running of the target simulation application; an running module, used to run the target simulation application based on the monitoring trigger data to obtain a simulation verification result, wherein the simulation verification result includes at least: the running status, running progress and simulation function correctness of the target simulation application.

[0128] Optionally, the running unit also includes: a collection module, which is used to collect simulation process data during the running of the target simulation application, wherein the simulation process data includes: data simulation results of the feedback function, behavior data of the target simulation node, and interaction data between the target simulation node and associated nodes; an evaluation module, which is used to evaluate the correctness of the simulation function of the target simulation application based on the simulation process data and simulation verification requirements to obtain a simulation verification result.

[0129] It should be noted that the first determining unit 51, the second determining unit 52, the constructing unit 53, and the running unit 54 correspond to steps S201 to S204 in the first embodiment, and the examples and application scenarios implemented by the above units and the corresponding steps are the same, but are not limited to the contents disclosed in the first embodiment. It should be noted that the above modules or units can be hardware components or software components stored in a memory (e.g., memory 104) and processed by one or more processors (e.g., processors 102a, 102b, ..., 102n), and the above modules or units can also be part of the device and can be run in the computer terminal 10 provided in the first embodiment.

[0130] The present invention is described below in conjunction with another optional embodiment.

[0131] Embodiment 3

[0132] An embodiment of the present invention may also provide an electronic device, Figure 6 is a structural block diagram of an electronic device that executes a simulation verification method based on a distributed system according to an embodiment of the present invention. Figure 6 As shown, the electronic device may include: one or more ( Figure 6 (only one is shown) processor 602, memory 604, storage controller, and peripheral interface, wherein the peripheral interface is connected to the radio frequency module, audio module and display.

[0133] Among them, the memory can be used to store software programs and modules, such as program instructions / modules corresponding to the methods and devices in the embodiments of the present application, and the processor executes various functional applications and data processing by running the software programs and modules stored in the memory, that is, realizing the above-mentioned method. The memory may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory may further include a memory remotely arranged relative to the processor, and these remote memories may be connected to the terminal via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0134] The processor can call the information and application stored in the memory through the transmission device to perform the following steps: obtain the simulation verification requirements and the system parameter information of the target distributed system, and determine the call link data of the target simulation application based on the system parameter information, wherein the target distributed system is used to run the target simulation application; determine the target simulation node in the target distributed system based on the simulation verification requirements, determine the associated node of the target simulation node based on the call link data, and obtain the associated node information, wherein the associated node information includes the interaction information between the target simulation node and the associated node during the operation of the target simulation application; construct a feedback function corresponding to the associated node based on the associated node information, wherein the feedback function is used to simulate the response behavior of the associated node during the operation of the target simulation application; run the target simulation application based on the feedback function to obtain the simulation verification result.

[0135] The processor can also call the information and application programs stored in the memory through the transmission device to perform the following steps: determine the processing logic involved in the target simulation application in the target distributed system, and determine the processing node information based on the processing logic, wherein the processing logic includes data flow logic and control flow logic, and the processing node information refers to the node information of N target system nodes contained in the processing logic, and N is a positive integer; based on the processing node information and system parameter information, analyze the actual call link of the target simulation application in the target distributed system to obtain the call link data, wherein the call link data includes the node call sequence and data transmission path of the N target system nodes.

[0136] The processor can also call the information and application programs stored in the memory through the transmission device to perform the following steps: parse the simulation verification requirements to obtain the parsing results, wherein the parsing results include: the target application and / or target service to be simulated and verified in the target distributed system; obtain the verification target information corresponding to the target application and / or target service based on the parsing results; and filter out R target simulation nodes from the N target system nodes contained in the call link data based on the verification target information, wherein R is a positive integer less than or equal to N.

[0137] The processor can call the information and application stored in the memory through the transmission device to perform the following steps: analyze the context relationship of the target simulation node in the call link data; determine the target system node that has direct data interaction or indirect data interaction with the target simulation node as an associated node based on the context relationship; obtain the node identification information, data input and output characteristic information and the first position information of the associated node in the call link data to obtain the associated node information.

[0138] The processor can also call the information and application programs stored in the memory through the transmission device to perform the following steps: for each associated node, analyze the associated node information to obtain the data call relationship between the associated node and the target simulation node during the operation of the target simulation application; and construct a feedback function corresponding to the associated node based on the data call relationship.

[0139] The processor can also call the information and application stored in the memory through the transmission device to perform the following steps: obtain the second position information of the target simulation node in the call link data, and generate monitoring trigger data based on the second position information, wherein the monitoring trigger data is used to trigger the calling action of the feedback function during the running of the target simulation application; run the target simulation application based on the monitoring trigger data to obtain the simulation verification result, wherein the simulation verification result includes at least: the running status, running progress and simulation function correctness of the target simulation application.

[0140] The processor can also call the information and application programs stored in the memory through the transmission device to perform the following steps: collect simulation process data during the operation of the target simulation application, wherein the simulation process data includes: data simulation results of the feedback function, behavior data of the target simulation node, and interaction data between the target simulation node and associated nodes; based on the simulation process data and simulation verification requirements, evaluate the correctness of the simulation function of the target simulation application to obtain the simulation verification results.

[0141] By adopting the embodiment of the present invention, the method of using rules to simulate feedback data and constructing feedback functions achieves the purpose of reducing the difficulty and cost of operation and maintenance of distributed system simulation verification, thereby achieving the technical effect of ensuring simulation continuity and data feedback integrity without fully deploying simulation equipment. Specifically, the present invention first determines the call link data of the target simulation application based on the simulation verification requirements and the system parameter information of the target distributed system, and then identifies the target simulation node and its associated nodes by analyzing the call link data, and then constructs a feedback function to simulate the behavior of the associated nodes that are not directly involved in the simulation, ensuring that the simulation process can still form a closed loop even when some distributed nodes do not have simulation equipment, and complete comprehensive data feedback and verification, effectively improving the efficiency and economy of distributed application simulation verification, and thus solving the technical problem of data feedback loss caused by high operation and maintenance costs and inability to form a perfect closed loop in the related technology of distributed system simulation verification.

[0142] It can be understood by those skilled in the art that Figure 6 The structure shown is for illustration only, and the electronic device may also be a smart phone, a tablet computer, a PDA, a mobile Internet device (MID), a PAD or other terminal device. Figure 6The structure of the electronic device is not limited. Figure 6 More or fewer components (such as network interfaces, display devices, etc.) shown in, or having Figure 6 Different configurations shown.

[0143] A person of ordinary skill in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by instructing the hardware related to the terminal device through a program, and the program can be stored in a computer-readable storage medium, and the storage medium may include: a flash drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.

[0144] The present invention is described below in conjunction with another optional embodiment.

[0145] Embodiment 4

[0146] The embodiment of the present invention further provides a computer-readable storage medium. Optionally, in the embodiment of the present invention, the computer-readable storage medium can be used to store the program code executed by the simulation verification method based on the distributed system provided in the first embodiment.

[0147] Optionally, in an embodiment of the present invention, the above-mentioned storage medium may be located in any computer terminal in a computer terminal group in a computer network, or in any mobile terminal in a mobile terminal group.

[0148] An embodiment of the present invention also provides a computer program product, which, when executed on a data processing device, is suitable for executing the steps of a simulation verification method based on a distributed system: obtaining simulation verification requirements and system parameter information of a target distributed system, and determining call link data of a target simulation application based on the system parameter information, wherein the target distributed system is used to run the target simulation application; determining a target simulation node in the target distributed system based on the simulation verification requirements, determining an associated node of the target simulation node based on the call link data, and obtaining associated node information, wherein the associated node information includes interaction information between the target simulation node and the associated node during the running of the target simulation application; constructing a feedback function corresponding to the associated node based on the associated node information, wherein the feedback function is used to simulate the response behavior of the associated node during the running of the target simulation application; running the target simulation application based on the feedback function to obtain a simulation verification result.

[0149] The serial numbers of the above-mentioned embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.

[0150] In the above embodiments of the present application, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, please refer to the relevant description of other embodiments.

[0151] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, 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. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.

[0152] 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.

[0153] 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.

[0154] 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, in essence, 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, and the computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, disk or optical disk and other media that can store program codes.

[0155] The above is only a preferred implementation of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.

Claims

1. A simulation verification method based on a distributed system, characterized in that: include: Acquire simulation verification requirements and system parameter information of a target distributed system, and determine call link data of a target simulation application based on the system parameter information, wherein the target distributed system is used to run the target simulation application; Determine a target simulation node in the target distributed system based on the simulation verification requirement, determine an associated node of the target simulation node based on the call link data, and obtain associated node information, wherein the associated node information includes interaction information between the target simulation node and the associated node during the running of the target simulation application; Constructing a feedback function corresponding to the associated node based on the associated node information, wherein the feedback function is used to simulate the response behavior of the associated node during the operation of the target simulation application; The target simulation application is run based on the feedback function to obtain a simulation verification result.

2. The simulation verification method according to claim 1, characterized in that: The step of determining the call link data of the target simulation application based on the system parameter information includes: Determine the processing logic involved in the target simulation application in the target distributed system, and determine processing node information based on the processing logic, wherein the processing logic includes data flow logic and control flow logic, and the processing node information refers to node information of N target system nodes included in the processing logic, where N is a positive integer; Based on the processing node information and the system parameter information, the actual call link of the target simulation application in the target distributed system is analyzed to obtain the call link data, wherein the call link data includes the node call sequence and data transmission path of N nodes of the target system.

3. The simulation verification method according to claim 1 or 2, characterized in that: The system parameter information includes: network configuration information of the target distributed system, node information and node dependency of each system node, and operation load information and network dynamic information during the operation of the target distributed system.

4. The simulation verification method according to claim 2, characterized in that: The step of determining a target simulation node in the target distributed system based on the simulation verification requirement includes: Parsing the simulation verification requirement to obtain a parsing result, wherein the parsing result includes: a target application and / or a target service to be simulated and verified in the target distributed system; Acquire verification target information corresponding to the target application and / or target service based on the analysis result; Based on the verification target information, R target simulation nodes are selected from the N target system nodes included in the call link data, where R is a positive integer less than or equal to N.

5. The simulation verification method according to claim 1, characterized in that: The step of determining the associated node of the target simulation node based on the call link data and acquiring the associated node information includes: Analyzing the context relationship of the target simulation node in the call link data; Determine, based on the contextual relationship, a target system node that has direct data interaction or indirect data interaction with the target simulation node as the associated node; The node identification information, data input and output characteristic information of the associated node and the first position information of the associated node in the call link data are acquired to obtain the associated node information.

6. The simulation verification method according to claim 1, characterized in that: The step of constructing a feedback function corresponding to the associated node based on the associated node information includes: For each of the associated nodes, analyzing the associated node information to obtain a data call relationship between the associated node and the target simulation node during the running of the target simulation application; The feedback function corresponding to the associated node is constructed according to the data call relationship.

7. The simulation verification method according to claim 1, characterized in that: The step of running the target simulation application based on the feedback function to obtain a simulation verification result includes: Acquire second position information of the target simulation node in the call link data, and generate monitoring trigger data based on the second position information, wherein the monitoring trigger data is used to trigger a calling action of the feedback function during the running of the target simulation application; The target simulation application is run based on the monitoring trigger data to obtain the simulation verification result, wherein the simulation verification result at least includes: the running state, running progress and simulation function correctness of the target simulation application.

8. The simulation verification method according to claim 7, characterized in that: The step of running the target simulation application based on the feedback function to obtain a simulation verification result also includes: Collecting simulation process data during the operation of the target simulation application, wherein the simulation process data includes: data simulation results of the feedback function, behavior data of the target simulation node, and interaction data between the target simulation node and the associated node; The simulation function correctness of the target simulation application is evaluated based on the simulation process data and the simulation verification requirements to obtain the simulation verification result.

9. A simulation verification device based on a distributed system, characterized in that: include: A first determining unit is used to obtain simulation verification requirements and system parameter information of a target distributed system, and determine call link data of a target simulation application based on the system parameter information, wherein the target distributed system is used to run the target simulation application; a second determination unit, configured to determine a target simulation node in the target distributed system based on the simulation verification requirement, determine an associated node of the target simulation node based on the call link data, and obtain associated node information, wherein the associated node information includes interaction information between the target simulation node and the associated node during the running of the target simulation application; A construction unit, configured to construct a feedback function corresponding to the associated node based on the associated node information, wherein the feedback function is used to simulate a response behavior of the associated node during the operation of the target simulation application; The running unit is used to run the target simulation application based on the feedback function to obtain a simulation verification result.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored computer program, wherein when the computer program is running, the device where the computer-readable storage medium is located is controlled to execute the simulation verification method based on a distributed system according to any one of claims 1 to 8.

11. An electronic device, characterized in that: It includes one or more processors and a memory, wherein the memory is used to store one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors implement the simulation verification method based on a distributed system as described in any one of claims 1 to 8.

12. A computer program product, characterized in that The method comprises computer instructions, wherein when the computer instructions are executed by a processor, the steps of the simulation verification method based on a distributed system described in any one of claims 1 to 8 are implemented.

Citation Information

Cited By

  • Multi-chip link management method and device in multi-chip verification environment

    CN120822474A