A simulation system step size allocation method and system

By quantitatively analyzing the subsystems of the digital simulation system and optimizing the simulation step allocation, the problem of low efficiency caused by reliance on manual judgment in step selection in the existing technology is solved, and the efficiency of the simulation system is improved.

CN115774658BActive Publication Date: 2024-09-24HUANENG CLEAN ENERGY RES INST +3
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202211430706.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-11-15
Publication Date
2024-09-24
Estimated Expiration
2042-11-15

AI Technical Summary

Technical Problem

The selection of simulation step sizes in existing digital simulation systems relies on manual judgment, resulting in poor flexibility, strong subjectivity, and inability to meet automation requirements, resulting in poor simulation efficiency.

Method used

By quantitatively analyzing indicators such as computing speed, data sensitivity, and data transmission delay for each subsystem in the simulation system, the simulation step combination scheme for each subsystem is obtained, and the step size allocation of the simulation system is optimized.

Benefits of technology

Without sacrificing the accuracy of the simulation system, the simulation speed is maximized and the efficiency of the simulation system is optimized.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115774658B
    Figure CN115774658B
Patent Text Reader

Abstract

The present invention discloses a simulation system step size distribution method and system. The simulation system includes multiple serial systems. Test data is input into each serial system to determine the calculation delay coefficient, transmission delay coefficient and data sensitivity of each serial system. The calculation speed, data sensitivity, data transmission delay and other indicators of each serial system in the simulation system are quantitatively analyzed to obtain the simulation comprehensive performance indicators of each serial system, thereby determining the optimal step size value of each serial system and obtaining the step size combination scheme of all serial systems. The simulation speed of the simulation system is maximized without sacrificing the accuracy of the entire simulation system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of digital simulation technology, and in particular to a simulation system step size allocation method and system. Background Art

[0002] The characteristic of digital simulation system is that before each step of simulation, the system has set the simulation step size. Usually, each subsystem in the system uses the same simulation step size for simulation. However, in some cases, some subsystems use different simulation step sizes.

[0003] In the existing technology, the simulation step lengths of different subsystems in the simulation platform are generally set by empirical methods. For example, it is manually determined which submodules have a large amount of data calculation, which submodules have low requirements for calculation accuracy, and which submodules have low data access speeds. Then these submodules will be set with larger simulation step lengths. Although this technical solution is flexible, it is highly subjective, with too many parameters to meet automation requirements and fail to achieve the optimal simulation efficiency of the system. Summary of the invention

[0004] The embodiment of the present invention provides a simulation system step size allocation method and system, which obtains a step size combination scheme of the subsystem simulation platform by quantitatively analyzing the calculation speed, data sensitivity, data transmission delay and other indicators of each subsystem in the simulation system.

[0005] In order to solve the above technical problems, this application provides the following technical solutions:

[0006] In a first aspect, the present application provides a simulation system step length allocation method, wherein the simulation system is composed of a plurality of serial systems, and the simulation system step length allocation method comprises:

[0007] Inputting test data into each of the serial systems to obtain a calculation delay coefficient, a transmission delay coefficient, and a data sensitivity index of each of the serial systems;

[0008] Obtaining a sub-step value of each serial system according to the calculation delay coefficient of each serial system, the transmission delay coefficient, the data sensitivity index and the overall step value of the simulation system;

[0009] The simulation system is assigned a step size according to each of the serial system sub-step size values ​​to assist the simulation system in simulating the entity to be simulated.

[0010] Preferably, inputting test data into each of the serial systems to obtain a calculated delay coefficient for each of the serial systems comprises:

[0011] Dividing each of the serial systems into a plurality of parallel systems;

[0012] Inputting test data into each of the parallel systems to obtain the computational delay of each of the parallel systems;

[0013] According to the calculation delay of the parallel system, a calculation delay coefficient corresponding to the serial system is obtained.

[0014] Preferably, inputting test data into each of the serial systems to obtain a transmission delay coefficient of each of the serial systems comprises:

[0015] Dividing each of the serial systems into a plurality of parallel systems;

[0016] Inputting test data into each of the parallel systems to obtain a transmission delay of each of the parallel systems;

[0017] According to the transmission delay of each of the parallel systems, a transmission delay coefficient of each of the serial systems is obtained.

[0018] Preferably, inputting test data into each of the serial systems to obtain a data sensitivity index of each of the serial systems includes:

[0019] Dividing each of the serial systems into a plurality of parallel systems;

[0020] Inputting test data into each of the parallel systems to obtain output data of each of the parallel systems;

[0021] A data sensitivity index of each of the serial systems is obtained according to the input test data and the output data of each of the parallel systems.

[0022] Preferably, obtaining the calculation delay coefficient of the serial system corresponding to the calculation delay of the parallel system includes:

[0023] For each of the serial systems, select all the corresponding parallel systems to calculate the maximum delay value;

[0024] The calculation delay coefficient of each serial system is obtained according to the maximum value of the calculation delay of each serial system.

[0025] Preferably, obtaining the transmission delay coefficient of each serial system according to the transmission delay of each parallel system includes:

[0026] For each of the serial systems, calculate the sum of the transmission delays of all the corresponding parallel systems;

[0027] A transmission delay coefficient of each serial system is obtained according to the sum of the transmission delays of each serial system.

[0028] Preferably, obtaining the data sensitivity index of each serial system according to the input test data and the output data of each parallel system includes:

[0029] Within a set time period, for each of the serial systems, calculate the difference in input test data and output data of the parallel system at all times in all the parallel systems corresponding to the serial system;

[0030] The data sensitivity index of each serial system is obtained according to the difference of the input test data, the difference of the output data and the set time length of each parallel system.

[0031] Preferably, obtaining each serial system sub-step value according to the calculation delay coefficient of each serial system, the transmission delay coefficient, the data sensitivity index and the overall step value of the simulation system includes:

[0032] Obtaining a step length coefficient of each serial system and a total step length coefficient of the serial system according to the calculation delay coefficient, the transmission delay coefficient and the data sensitivity index of each serial system;

[0033] Obtaining a step size allocation value for each of the serial systems according to each of the serial system coefficients and the total serial system coefficient;

[0034] According to each serial system step allocation value and the overall step value of the simulation system, each serial system sub-step value is obtained.

[0035] In a second aspect, the present application provides a simulation system step length allocation system, wherein the simulation system is composed of a plurality of serial systems, and the simulation system step length allocation system comprises:

[0036] Coefficient calculation module: input test data into each of the serial systems to obtain a calculation delay coefficient, a transmission delay coefficient and a data sensitivity index for each of the serial systems;

[0037] Sub-step calculation module: obtains the sub-step value of each serial system according to the calculation delay coefficient of each serial system, the transmission delay coefficient, the data sensitivity index and the overall step value of the simulation system;

[0038] Step size allocation module: optimizes the simulation system according to each sub-step size value of the serial system.

[0039] At the same time, the present invention also provides a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, and the above method is implemented when the processor executes the computer program.

[0040] At the same time, the present invention also provides a computer-readable storage medium, which stores a computer program for executing the above method.

[0041] It can be seen from the above technical scheme that the present application provides a simulation system step allocation method and system, wherein the simulation system includes multiple serial systems, and test data is input into each serial system to determine the calculation delay coefficient, transmission delay coefficient and data sensitivity of each serial system. By quantitatively analyzing indicators such as the calculation speed, data sensitivity, and data transmission delay of each serial system in the simulation system, the comprehensive simulation performance indicators of each serial system are obtained, and then the optimal step value of each serial system is determined, and the step combination scheme of all serial systems is obtained, so as to maximize the simulation speed of the simulation system without sacrificing the accuracy of the entire simulation system.

[0042] In order to make the above and other purposes, features and advantages of the present invention more obvious and easy to understand, preferred embodiments are specifically cited below and described in detail with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0043] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0044] Figure 1 It is a schematic diagram of a simulation system step allocation method in an embodiment of the present application.

[0045] Figure 2 It is a schematic diagram of a flow chart of calculating a delay coefficient of a serial system in a simulation system step allocation method in an embodiment of the present application.

[0046] Figure 3 Schematic diagram of the structure of a serial system and a parallel system in a simulation system step allocation method in an embodiment of the present application.

[0047] Figure 4 It is a schematic diagram of a flow chart of calculating a serial system transmission delay coefficient in a simulation system step allocation system in an embodiment of the present application.

[0048] Figure 5 It is a schematic diagram of a flow chart of calculating a data sensitivity index of a serial system in a simulation system step allocation system in an embodiment of the present application.

[0049] Figure 6It is a schematic diagram of the process of calculating the sub-step value of a serial system in a simulation system step allocation system in an embodiment of the present application.

[0050] Figure 7 It is a structural schematic diagram of a simulation system step allocation system in an embodiment of the present application.

[0051] Figure 8 This is a schematic diagram of the input and output of a simulation system step allocation system in an embodiment of the present application.

[0052] Fig. 9 It is a schematic diagram of the structure of an electronic device in an embodiment of the present application. DETAILED DESCRIPTION

[0053] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0054] Taking into account the current simulation system step size selection, although flexible, but has a strong subjectivity, too many parameters are set, can not meet the automation requirements, can not achieve the optimal simulation efficiency of the system, the present application provides a simulation system step size allocation method, system, electronic device and computer-readable storage medium, by quantifying the performance indicators of all subsystems of the simulation system to determine the optimal step size value of each subsystem, thereby maximizing the simulation speed of the system without sacrificing the system simulation accuracy.

[0055] Based on the above content, the present application also provides a simulation system step allocation device for implementing the simulation system step allocation method provided in one or more embodiments of the present application. The simulation system step allocation device can be communicatively connected with a user client device, and the user client terminal device can be provided with multiple ones. The simulation system step allocation device can specifically access the client terminal device through an application server.

[0056] Among them, the simulation system step length allocation device can receive the simulation system step length allocation instruction from the client terminal device, and obtain the input test data of the simulation system from the simulation system step length allocation instruction. The simulation system step length allocation device inputs the simulation system input test data into the simulation system according to the simulation system step length allocation. The simulation system step length allocation device outputs the optimal step length value of each serial system and the system step length combination scheme. Then, the simulation system step length allocation device can send the system step length combination scheme to the client device for display, so that the user can obtain the system step length combination scheme according to the client device and optimize the simulation system.

[0057] It is understandable that the client device may include a smart phone, a tablet electronic device, a portable computer, a desktop computer, a personal digital assistant (PDA), etc.

[0058] In another practical application scenario, the part of the simulation system step length allocation can be performed in the classification processing center as described above, or all operations can be completed in the client device. The specific selection can be made according to the processing capability of the client device and the limitations of the user's usage scenario. This application does not limit this. If all operations are completed in the client device, the client device can also include a processor for performing specific processing of the simulation system step length allocation.

[0059] The above-mentioned client device can have a communication module (i.e., a communication unit), which can be connected to a remote server for communication and data transmission with the server. For example, the communication unit can send the simulation system step length allocation instruction to the server of the classification processing center so that the server performs the simulation system step length allocation processing according to the simulation system step length allocation instruction. The communication unit can also receive the step length combination scheme returned by the server. The server can include a server on one side of the task scheduling center, and other implementation scenarios can also include a server of an intermediate platform, such as a server of a third-party server platform that has a communication link with the task scheduling center server. The server can include a single computer device, or a server cluster composed of multiple servers, or a server structure of a distributed device.

[0060] The server and the client device may communicate with each other using any suitable network protocol, including network protocols that have not yet been developed on the date of filing this application. The network protocols may include, for example, TCP / IP, UDP / IP, HTTP, HTTPS, etc. Of course, the network protocols may also include, for example, RPC (Remote Procedure Call Protocol) and REST (Representational State Transfer) protocols used on top of the above protocols.

[0061] The present application provides a simulation system step size allocation method, system, electronic device and computer-readable storage medium. The simulation system includes multiple serial systems. Test data is input into each serial system to determine the calculation delay coefficient, transmission delay coefficient and data sensitivity of each serial system. The calculation speed, data sensitivity, data transmission delay and other indicators of each serial system in the simulation system are quantitatively analyzed to obtain the comprehensive simulation performance indicators of each serial system, thereby determining the optimal step size value of each serial system and obtaining the step size combination scheme of all serial systems. The simulation speed of the simulation system is maximized without sacrificing the accuracy of the entire simulation system.

[0062] The details are described through the following multiple embodiments and application examples.

[0063] In order to solve the problem that the step size allocation of the current simulation system relies on manual judgment and the simulation speed is low, the present application provides an embodiment of a method for allocating step sizes of a simulation system, see Figure 1 The simulation system is composed of several serial systems, and the simulation system step size allocation method specifically includes the following contents:

[0064] Step 100: inputting test data into each of the serial systems to obtain a calculation delay coefficient, a transmission delay coefficient and a data sensitivity index of each of the serial systems;

[0065] It can be understood that the simulation system includes multiple serial systems, and different data are input into each serial system respectively. According to the data calculation time, data transmission time and output data of each serial system, the calculation delay coefficient, transmission delay coefficient and data sensitivity index of each serial system can be obtained, and then the simulation performance of each serial system can be quantified.

[0066] Step 200: Obtaining a sub-step value of each serial system according to the calculation delay coefficient of each serial system, the transmission delay coefficient, the data sensitivity index and the overall step value of the simulation system;

[0067] It can be understood that the calculation delay coefficient, transmission delay coefficient and data sensitivity index of the entire simulation system can be obtained according to the calculation delay coefficient, transmission delay coefficient and data sensitivity index of each serial system, thereby obtaining the contribution value of the simulation performance of each serial system to the simulation performance of the entire simulation system, and then obtaining the sub-step value of each serial system. For example, if the simulation performance of one serial system is 2, the simulation performance of the entire simulation system is 10, and the step value of the entire simulation system is a, then the serial system contributes 20% of the simulation performance to the entire simulation system, and the sub-step value of the serial system is 20%*a.

[0068] Step 300: Allocate the step length of the simulation system according to each of the serial system sub-step length values ​​to assist the simulation system in simulating the entity to be simulated. All the serial system sub-step length values ​​are combined together to form a step length combination scheme for the entire simulation system, and the step length of the simulation system is allocated according to the step length combination scheme.

[0069] From the above description, it can be seen that an embodiment of the present application provides a simulation system step allocation method, wherein the simulation system includes multiple serial systems, and test data is input into each serial system to determine the calculation delay coefficient, transmission delay coefficient and data sensitivity of each serial system. By quantitatively analyzing indicators such as the calculation speed, data sensitivity, and data transmission delay of each serial system in the simulation system, the comprehensive simulation performance indicators of each serial system are obtained, thereby determining the optimal step value for each serial system, and obtaining the step combination scheme for all serial systems, thereby maximizing the simulation speed of the simulation system without sacrificing the accuracy of the entire simulation system.

[0070] In one embodiment of a simulation system step size allocation method provided in the present application, a preferred method for determining a serial system calculation delay coefficient is provided, see Figure 2 , the step of inputting test data into each of the serial systems to obtain a calculated delay coefficient for each of the serial systems comprises:

[0071] Step 111: Divide each of the serial systems into a plurality of parallel systems;

[0072] Step 112: inputting test data into each of the parallel systems to obtain the computational delay of each of the parallel systems;

[0073] Step 113: According to the calculation delay of the parallel system, obtain the calculation delay coefficient of the serial system corresponding thereto.

[0074] In this embodiment, the calculation delay is the calculation time of each parallel system from receiving the input test data to calculating the output data, see Figure 3, divide each serial system into multiple parallel systems, input different data into each parallel system respectively, and obtain its calculation delay according to the operation experience. According to the calculation delay of all parallel systems, the calculation delay coefficient of all serial systems can be obtained.

[0075] From the above description, it can be seen that an embodiment of the present application provides a simulation system step allocation method, which divides each serial system into multiple parallel systems, obtains the calculation delay of each parallel system, and then obtains the calculation delay coefficient of each serial system, thereby quantifying the calculation performance of each serial system.

[0076] In one embodiment of a simulation system step size allocation method provided in the present application, a preferred method for determining a serial system transmission delay coefficient is provided, see Figure 4 , the step of inputting test data into each of the serial systems to obtain a transmission delay coefficient of each of the serial systems comprises:

[0077] Step 121: Divide each of the serial systems into a plurality of parallel systems;

[0078] Step 122: inputting test data into each of the parallel systems to obtain a transmission delay of each of the parallel systems;

[0079] Step 123: Obtain a transmission delay coefficient of each of the serial systems according to the transmission delay of each of the parallel systems.

[0080] In this embodiment, the transmission delay is the time taken by each parallel system to transmit output data. Different data are input into each parallel system respectively, and each parallel system obtains different output data. Its transmission delay can be obtained based on operating experience. Based on the transmission delay of all parallel systems, the transmission delay coefficient of all serial systems can be obtained.

[0081] From the above description, it can be seen that an embodiment of the present application provides a simulation system step allocation method, which divides each serial system into multiple parallel systems, obtains the transmission delay for each parallel system, and then obtains the transmission delay coefficient of each serial system, thereby quantifying the transmission performance of each serial system.

[0082] In one embodiment of a simulation system step size allocation method provided in the present application, a preferred method for determining a serial system data sensitivity index is provided, see Figure 5 , the step of inputting test data into each of the serial systems to obtain a data sensitivity index of each of the serial systems comprises:

[0083] Step 131: Divide each of the serial systems into a plurality of parallel systems;

[0084] Step 132: Input test data to each of the parallel systems to obtain output data of each of the parallel systems;

[0085] Step 133: Obtain a data sensitivity index for each of the serial systems according to the input test data and the output data of each of the parallel systems.

[0086] In this embodiment, data sensitivity is the data change of each parallel system output data relative to the input test data. Different data are input to each parallel system respectively, and each parallel system obtains different output data. The data sensitivity index of each serial system can be obtained based on all the output data and their corresponding output data.

[0087] From the above description, it can be seen that an embodiment of the present application provides a simulation system step allocation method, which divides each serial system into multiple parallel systems, inputs different data into each parallel system respectively, and each parallel system obtains different output data, thereby obtaining a data sensitivity index for each serial system.

[0088] In one embodiment of a simulation system step size allocation method provided in the present application, a preferred method for calculating a calculation delay coefficient of a serial system is provided, wherein the calculation delay coefficient corresponding to the serial system is obtained according to the calculation delay of the parallel system, including:

[0089] For each of the serial systems, select all the corresponding parallel systems to calculate the maximum delay value;

[0090] The calculation delay coefficient of each serial system is obtained according to the maximum value of the calculation delay of each serial system.

[0091] In this embodiment, multiple parallel systems corresponding to each serial system are grouped together, the maximum value of the calculation delay in each group of parallel systems is selected, and the calculation delay coefficient of each serial system is obtained according to the maximum value of the calculation delay.

[0092] In one embodiment of a simulation system step size allocation method provided in the present application, a preferred method for calculating a serial system transmission delay coefficient is provided, wherein the transmission delay coefficient of each serial system is obtained according to the transmission delay of each parallel system, including:

[0093] For each of the serial systems, calculate the sum of the transmission delays of all the corresponding parallel systems;

[0094] A transmission delay coefficient of each serial system is obtained according to the sum of the transmission delays of each serial system.

[0095] In this embodiment, multiple parallel systems corresponding to each serial system are grouped together, the sum of all transmission delays in each group of parallel systems is calculated, and the transmission delay coefficient of each serial system is obtained according to the sum of the transmission delays.

[0096] In one embodiment of a simulation system step size allocation method provided in the present application, a preferred method for calculating a serial system data sensitivity index is provided, wherein the transmission delay coefficient of each serial system is obtained according to the transmission delay of each parallel system, including:

[0097] Within a set time period, for each of the serial systems, calculate the difference in input test data and output data of the parallel system at all times in all the parallel systems corresponding to the serial system;

[0098] The data sensitivity index of each serial system is obtained according to the difference of the input test data, the difference of the output data and the set time length of each parallel system.

[0099] In this embodiment, the data sensitivity index reflects the sensitivity of the serial system as a whole to the fluctuation of the input test data by summing the ratio of the input and output data values ​​and their absolute values. By using this fast calculated sensitivity, the resource demand of the serial subsystem for the current data calculation can be accurately estimated, thereby providing an important reference index for the allocation of the step length of the subsystem. The multiple parallel systems corresponding to each serial system are grouped together. For each group of parallel systems, the output data and input test data of each parallel system at all times are obtained within a set time length, and the ratio of the absolute value of the difference between the output data and the absolute value of the difference between the input test data is calculated, and then the sum of the ratios of all parallel systems in each serial system is calculated. The data sensitivity index of each serial system is obtained according to the ratio of the sum of the ratios to the set time length.

[0100] Combine the following Figure 8 , a simulation system step size allocation method process provided in an embodiment of the present application is specifically described:

[0101] In a specific scenario, the simulation system step allocation system contains 4 inputs and 1 output. Input 1 is the overall step value of the simulation system; input 2 is the calculation delay of each parallel system; input 3 is the data transmission delay of each subsystem; input 4 is all the input and output data of each subsystem at each previous calculation moment. The output is the step combination scheme of the simulation system, which includes the step value of each serial system.

[0102] 1) Set the simulation system according to Figure 1 The method shown is divided into n serial subsystems. For the i-th subsystem in 1 to n, the mi-th subsystem is numbered as i-mi

[0103] Therefore, there are subsystem.

[0104] 2) Input the calculation delay of each subsystem from the outside. The calculation delay of the i-th serial subsystem is Tcali, and the calculation delay coefficient of the i-th serial subsystem is STcali, which is calculated as follows:

[0105] Tcali=max{Tcali-1,Tcali-2,...,Tcali-mi}

[0106] STcali=e Tcali

[0107] Among them, Tcali-1 is the calculation delay of the first parallel subsystem in the i-th serial subsystem, Tcali-2 is the calculation delay of the second parallel subsystem in the i-th serial subsystem, and Tcali-mi is the calculation delay of the mi-th parallel subsystem in the i-th serial subsystem.

[0108] 3) Input the transmission delay of each subsystem from the outside (including only the output time of data), the transmission delay of the i-th serial subsystem is Ttransi, and the calculated delay coefficient of the i-th serial subsystem is STtransi, which is calculated as follows:

[0109]

[0110] STtransi=e Ttransi

[0111] Wherein, Ttransi-j is the transmission delay of the jth parallel subsystem in the i-th serial subsystem.

[0112] 4) Let the current time be t0, and the previous time be 1 to (t0-1). Input the input test data and output data of each serial subsystem at each previous time from the outside. (If the serial system contains multiple parallel systems, the input test data and output data of these parallel systems are combined respectively as the input test data and output data of the serial system) It should be noted that the input test data or output data are column vectors.

[0113] In this way, the input test data xit and output data yit of the i-th serial subsystem at time t (t is an integer value between 1 and (t0-1)) are obtained. Then, the data sensitivity index of the i-th serial subsystem is

[0114]

[0115] 5) The step value of the entire simulation platform is input from the outside as R0. Then the step value of the i-th serial subsystem (including all parallel subsystems therein) is

[0116]

[0117] The step value of all serial systems is the step combination solution result of the entire simulation system. The calculation is completed.

[0118] In one embodiment of a simulation system step allocation method provided in the present application, a preferred method for calculating the sub-step value of a serial system is provided. Figure 6 , obtaining each serial system sub-step value according to the calculated delay coefficient of each serial system, the transmission delay coefficient, the data sensitivity index and the overall step value of the simulation system, comprises:

[0119] Step 201: Obtaining a step length coefficient of each serial system and a total step length coefficient of the serial system according to the calculated delay coefficient, the transmission delay coefficient and the data sensitivity index of each serial system;

[0120] Step 202: Obtaining a step size allocation value for each of the serial systems according to each of the serial system coefficients and the total serial system coefficient;

[0121] Step 203: Obtain each serial system sub-step value according to each serial system step allocation value and the overall step value of the simulation system.

[0122] In this embodiment, the product of the calculation delay coefficient, transmission delay coefficient and data sensitivity index of each serial system is calculated to obtain the coefficient of each serial system, and the total coefficient of the entire simulation system is obtained according to the product of the calculation delay coefficients, transmission delay coefficients and data sensitivity index of all serial systems. The total coefficient is the sum of the products of the calculation delay coefficients, transmission delay coefficients and data sensitivity index of all serial systems. The ratio of the coefficient of each serial system and the total coefficient of the entire simulation system is calculated to obtain the step allocation value of each serial system, and the product of the step allocation value of each serial system and the overall step value of the simulation system is calculated to obtain the sub-step value of each serial system.

[0123] From the above description, it can be seen that the present application provides a simulation system step allocation method and system, wherein the simulation system includes multiple serial systems, and different data are input into each serial system respectively to determine the calculation delay coefficient, transmission delay coefficient and data sensitivity of each serial system. By quantitatively analyzing indicators such as the calculation speed, data sensitivity, and data transmission delay of each serial system in the simulation system, the comprehensive simulation performance indicators of each serial system are obtained, thereby determining the optimal step value for each serial system, and obtaining the step combination scheme for all serial systems, thereby maximizing the simulation speed of the simulation system without sacrificing the accuracy of the entire simulation system.

[0124] On the other hand, in order to solve the problem that the step size selection of the current simulation system is flexible but has strong subjectivity, too many setting parameters and low automation, the present application provides an embodiment of a simulation system step size allocation system, see Figure 7 The simulation system is composed of several serial systems, and the simulation system step allocation system specifically includes the following contents:

[0125] Coefficient calculation module 01: input test data to each of the serial systems to obtain a calculation delay coefficient, a transmission delay coefficient and a data sensitivity index for each of the serial systems;

[0126] Sub-step calculation module 02: obtains a sub-step value of each serial system according to the calculation delay coefficient of each serial system, the transmission delay coefficient, the data sensitivity index and the overall step value of the simulation system;

[0127] Step allocation module 03: optimizes the simulation system according to each sub-step value of the serial system.

[0128] In this embodiment, the simulation system includes multiple serial systems, and the coefficient calculation module 01 inputs different data into each serial system respectively. According to the data calculation time, data transmission time and output data of each serial system, the calculation delay coefficient, transmission delay coefficient and data sensitivity index of each serial system can be obtained, and the calculation delay coefficient, transmission delay coefficient and data sensitivity index of each serial system are input into the sub-step calculation module 02.

[0129] The sub-step calculation module 02 can obtain the calculation delay coefficient, transmission delay coefficient and data sensitivity index of the entire simulation system according to the calculation delay coefficient, transmission delay coefficient and data sensitivity index of each serial system. Therefore, the sub-step calculation module 02 can obtain the contribution value of the simulation performance of each serial system to the simulation performance of the entire simulation system, and then obtain the sub-step value of each serial system, and input each serial system sub-step value into the step allocation module 03. For example, if the simulation performance of one serial system is 2, the simulation performance of the entire simulation system is 10, and the step value of the entire simulation system is a, then the serial system contributes 20% of the simulation performance to the entire simulation system, and the sub-step value of the serial system is 20%*a.

[0130] The step length allocation module 03 combines all the serial system sub-step length values ​​together to form a step length combination scheme for the entire simulation system, and allocates the step length of the simulation system according to the step length combination scheme.

[0131] From the above description, it can be seen that an embodiment of the present application provides a simulation system step allocation system, wherein the simulation system includes multiple serial systems, and test data is input into each serial system to determine the calculation delay coefficient, transmission delay coefficient and data sensitivity of each serial system. By quantitatively analyzing indicators such as the calculation speed, data sensitivity, and data transmission delay of each serial system in the simulation system, the comprehensive simulation performance indicators of each serial system are obtained, thereby determining the optimal step value for each serial system, and obtaining the step combination scheme for all serial systems, thereby maximizing the simulation speed of the simulation system without sacrificing the accuracy of the entire simulation system.

[0132] In some other embodiments, the step allocation module 03 may also perform some sub-step calculation functions. The sub-step calculation module 02 may calculate the contribution value of the simulation performance of each serial system to the simulation performance of the entire simulation system. The contribution value is the step allocation value for each serial system. The sub-step calculation module 02 inputs the step allocation value of each serial system into the step allocation module 03. The step allocation module 03 obtains the sub-step value of each serial system based on the step allocation value of each serial system and the step value of the entire simulation system, and performs step allocation according to the sub-step value of each serial system.

[0133] Combine the following Figure 8 , a simulation system step size allocation method and system process provided in an embodiment of the present application are specifically described:

[0134] The simulation system step size distribution system contains 4 inputs and 1 output. Input 1 is the overall step size value of the simulation system; input 2 is the calculation delay of each parallel system; input 3 is the data transmission delay of each subsystem; input 4 is all the input and output data of each subsystem at each previous calculation moment. The output is the step size combination scheme of the simulation system, which includes the step size value of each serial system.

[0135] 1) Set the simulation system according to Figure 1 The method shown is divided into n serial subsystems. For the i-th subsystem in 1 to n, the mi-th subsystem is numbered as i-mi

[0136] Therefore, there are subsystem.

[0137] 2) Input the calculation delay of each subsystem from the outside. The calculation delay of the i-th serial subsystem is Tcali, and the calculation delay coefficient of the i-th serial subsystem is STcali, which is calculated as follows:

[0138] Tcali=max{Tcali-1,Tcali-2,...,Tcali-mi}

[0139] STcali=e Tcali

[0140] Among them, Tcali-1 is the calculation delay of the first parallel subsystem in the i-th serial subsystem, Tcali-2 is the calculation delay of the second parallel subsystem in the i-th serial subsystem, and Tcali-mi is the calculation delay of the mi-th parallel subsystem in the i-th serial subsystem.

[0141] 3) Input the transmission delay of each subsystem from the outside (including only the output time of data), the transmission delay of the i-th serial subsystem is Ttransi, and the calculated delay coefficient of the i-th serial subsystem is STtransi, which is calculated as follows:

[0142]

[0143] STtransi=e Ttransi

[0144] Wherein, Ttransi-j is the transmission delay of the jth parallel subsystem in the i-th serial subsystem.

[0145] 4) Let the current time be t0, and the previous time be 1 to (t0-1). Input the input test data and output data of each serial subsystem at each previous time from the outside. (If the serial system contains multiple parallel systems, the input test data and output data of these parallel systems are combined respectively as the input test data and output data of the serial system) It should be noted that the input test data or output data are column vectors.

[0146] In this way, the input test data xit and output data yit of the i-th serial subsystem at time t (t is an integer value between 1 and (t0-1)) are obtained. Then, the data sensitivity index of the i-th serial subsystem is

[0147]

[0148] 5) The step value of the entire simulation platform is input from the outside as R0. Then the step value of the i-th serial subsystem (including all parallel subsystems therein) is

[0149]

[0150] The step value of all serial systems is the step combination solution result of the entire simulation system. The calculation is completed.

[0151] From the hardware level, in order to solve the problem that the step size selection of the current simulation system is flexible but has strong subjectivity, too many setting parameters, and low automation, the present application provides an embodiment of an electronic device that includes all or part of the contents of the step size allocation method of the simulation system, and the electronic device specifically includes the following contents:

[0152] Fig. 9 FIG. 9 is a schematic block diagram of the system structure of the electronic device 9600 according to an embodiment of the present application. Fig. 9 As shown, the electronic device 9600 may include a central processor 9100 and a memory 9140; the memory 9140 is coupled to the central processor 9100. It is worth noting that Fig. 9 is exemplary; other types of structures may also be used to supplement or replace this structure to implement telecommunication functions or other functions.

[0153] In one embodiment, the simulation system step size allocation function may be integrated into a central processing unit. The central processing unit may be configured to perform the following control:

[0154] Step 100: inputting test data into each of the serial systems to obtain a calculation delay coefficient, a transmission delay coefficient and a data sensitivity index of each of the serial systems;

[0155] It can be understood that the simulation system includes multiple serial systems, and different data are input into each serial system respectively. According to the data calculation time, data transmission time and output data of each serial system, the calculation delay coefficient, transmission delay coefficient and data sensitivity index of each serial system can be obtained, and then the simulation performance of each serial system can be quantified.

[0156] Step 200: Obtaining a sub-step value of each serial system according to the calculation delay coefficient of each serial system, the transmission delay coefficient, the data sensitivity index and the overall step value of the simulation system;

[0157] It can be understood that the calculation delay coefficient, transmission delay coefficient and data sensitivity index of the entire simulation system can be obtained according to the calculation delay coefficient, transmission delay coefficient and data sensitivity index of each serial system, thereby obtaining the contribution value of the simulation performance of each serial system to the simulation performance of the entire simulation system, and then obtaining the sub-step value of each serial system. For example, if the simulation performance of one serial system is 2, the simulation performance of the entire simulation system is 10, and the step value of the entire simulation system is a, then the serial system contributes 20% of the simulation performance to the entire simulation system, and the sub-step value of the serial system is 20%*a.

[0158] Step 300: Allocate the step length of the simulation system according to each of the serial system sub-step length values ​​to assist the simulation system in simulating the entity to be simulated. All the serial system sub-step length values ​​are combined together to form a step length combination scheme for the entire simulation system, and the step length of the simulation system is allocated according to the step length combination scheme.

[0159] From the above description, it can be seen that an electronic device provided in an embodiment of the present application inputs test data into each serial system to determine the calculation delay coefficient, transmission delay coefficient and data sensitivity of each serial system, and obtains the comprehensive simulation performance index of each serial system by quantitatively analyzing the calculation speed, data sensitivity, data transmission delay and other indicators of each serial system in the simulation system, thereby determining the optimal step value for each serial system, and obtaining the step combination scheme for all serial systems, thereby maximizing the simulation speed of the simulation system without sacrificing the accuracy of the entire simulation system.

[0160] In another embodiment, the simulation system step length allocation device can be configured separately from the central processing unit 9100. For example, the simulation system step length allocation device can be configured as a chip connected to the central processing unit 9100, and the simulation system step length allocation function is realized through the control of the central processing unit.

[0161] like Fig. 9As shown, the electronic device 9600 may also include: a communication module 9110, an input unit 9120, an audio processor 9130, a display 9160, and a power supply 9170. It is worth noting that the electronic device 9600 does not necessarily have to include Fig. 9 In addition, the electronic device 9600 may also include Fig. 9 For components not shown, reference may be made to the prior art.

[0162] like Fig. 9 As shown, the central processing unit 9100 is sometimes also referred to as a controller or an operation control, and may include a microprocessor or other processor device and / or logic device. The central processing unit 9100 receives input and controls the operation of various components of the electronic device 9600.

[0163] The memory 9140 may be, for example, one or more of a cache, a flash memory, a hard drive, a removable medium, a volatile memory, a non-volatile memory or other suitable devices. The above-mentioned information related to the failure may be stored, and a program for executing the relevant information may also be stored. The CPU 9100 may execute the program stored in the memory 9140 to implement information storage or processing, etc.

[0164] The input unit 9120 provides input to the central processing unit 9100. The input unit 9120 is, for example, a key or a touch input device. The power supply 9170 is used to provide power to the electronic device 9600. The display 9160 is used to display display objects such as images and texts. The display may be, for example, an LCD display, but is not limited thereto.

[0165] The memory 9140 may be a solid-state memory, such as a read-only memory (ROM), a random access memory (RAM), a SIM card, etc. It may also be a memory that saves information even when the power is off, can be selectively erased, and is provided with more data, examples of which are sometimes referred to as EPROMs, etc. The memory 9140 may also be some other type of device. The memory 9140 includes a buffer memory 9141 (sometimes referred to as a buffer). The memory 9140 may include an application / function storage unit 9142, which is used to store application programs and function programs or processes for executing the operation of the electronic device 9600 through the central processor 9100.

[0166] The memory 9140 may also include a data storage unit 9143 for storing data, such as contacts, digital data, pictures, sounds, and / or any other data used by the electronic device. The driver storage unit 9144 of the memory 9140 may include various drivers for communication functions of the electronic device and / or for executing other functions of the electronic device (such as messaging applications, address book applications, etc.).

[0167] The communication module 9110 is a transmitter / receiver 9110 that sends and receives signals via an antenna 9111. The communication module (transmitter / receiver) 9110 is coupled to the central processor 9100 to provide input signals and receive output signals, which may be the same as the case of a conventional mobile communication terminal.

[0168] Based on different communication technologies, multiple communication modules 9110 may be provided in the same electronic device, such as a cellular network module, a Bluetooth module and / or a wireless LAN module, etc. The communication module (transmitter / receiver) 9110 is also coupled to a speaker 9131 and a microphone 9132 via an audio processor 9130 to provide an audio output via the speaker 9131 and receive an audio input from the microphone 9132, thereby realizing a common telecommunication function. The audio processor 9130 may include any suitable buffer, decoder, amplifier, etc. In addition, the audio processor 9130 is also coupled to the central processor 9100, so that recording can be performed on the local machine through the microphone 9132, and the sound stored on the local machine can be played through the speaker 9131.

[0169] The embodiment of the present application also provides a computer-readable storage medium capable of implementing all the steps in the simulation system step length allocation method in the above embodiment. The computer-readable storage medium stores a computer program. When the computer program is executed by a processor, all the steps in the simulation system step length allocation method in the above embodiment are implemented by the execution subject being a server or a client. For example, when the processor executes the computer program, the following steps are implemented:

[0170] Step 100: inputting test data into each of the serial systems to obtain a calculation delay coefficient, a transmission delay coefficient and a data sensitivity index of each of the serial systems;

[0171] It can be understood that the simulation system includes multiple serial systems, and different data are input into each serial system respectively. According to the data calculation time, data transmission time and output data of each serial system, the calculation delay coefficient, transmission delay coefficient and data sensitivity index of each serial system can be obtained, and then the simulation performance of each serial system can be quantified.

[0172] Step 200: Obtaining a sub-step value of each serial system according to the calculation delay coefficient of each serial system, the transmission delay coefficient, the data sensitivity index and the overall step value of the simulation system;

[0173] It can be understood that the calculation delay coefficient, transmission delay coefficient and data sensitivity index of the entire simulation system can be obtained according to the calculation delay coefficient, transmission delay coefficient and data sensitivity index of each serial system, thereby obtaining the contribution value of the simulation performance of each serial system to the simulation performance of the entire simulation system, and then obtaining the sub-step value of each serial system. For example, if the simulation performance of one serial system is 2, the simulation performance of the entire simulation system is 10, and the step value of the entire simulation system is a, then the serial system contributes 20% of the simulation performance to the entire simulation system, and the sub-step value of the serial system is 20%*a.

[0174] Step 300: Allocate the step length of the simulation system according to each of the serial system sub-step length values ​​to assist the simulation system in simulating the entity to be simulated. All the serial system sub-step length values ​​are combined together to form a step length combination scheme for the entire simulation system, and the step length of the simulation system is allocated according to the step length combination scheme.

[0175] From the above description, it can be seen that an embodiment of the present application provides a computer-readable storage medium, and the simulation system includes multiple serial systems. By inputting test data into each serial system, the calculation delay coefficient, transmission delay coefficient and data sensitivity of each serial system are determined. By quantitatively analyzing indicators such as the calculation speed, data sensitivity, and data transmission delay of each serial system in the simulation system, the comprehensive simulation performance indicators of each serial system are obtained, thereby determining the optimal step value for each serial system, and obtaining the step combination scheme for all serial systems, thereby maximizing the simulation speed of the simulation system without sacrificing the accuracy of the entire simulation system.

[0176] It will be appreciated by those skilled in the art that embodiments of the present invention may be provided as methods, devices, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0177] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (apparatus), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0178] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0179] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0180] The present invention uses specific embodiments to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea. At the same time, for those skilled in the art, according to the idea of ​​the present invention, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as a limitation on the present invention.

Claims

1. A simulation system step size allocation method, characterized in that: The simulation system is composed of several serial systems, and the simulation system step size allocation method comprises: Inputting test data into each of the serial systems to obtain a calculation delay coefficient, a transmission delay coefficient, and a data sensitivity index of each of the serial systems; Obtaining a sub-step value of each of the serial systems according to the calculation delay coefficient of each of the serial systems, the transmission delay coefficient, the data sensitivity index and the overall step value of the simulation system; Allocating steps to the simulation system according to the sub-step value of each serial system to assist the simulation system in simulating the entity to be simulated; The step of obtaining each sub-step value of the serial system according to the calculated delay coefficient, the transmission delay coefficient, the data sensitivity index and the overall step value of the simulation system of each serial system comprises: Obtaining a step length coefficient of each serial system and a total step length coefficient of the serial system according to the calculation delay coefficient, the transmission delay coefficient and the data sensitivity index of each serial system; Obtaining a step length allocation value for each of the serial systems according to a step length coefficient of each of the serial systems and a total step length coefficient of the serial systems; Obtaining a sub-step value of each serial system according to the step distribution value of each serial system and the overall step value of the simulation system; The coefficient of each serial system is obtained by calculating the product of the calculation delay coefficient, transmission delay coefficient and data sensitivity index of each serial system. The total coefficient of the entire simulation system is obtained according to the product of the calculation delay coefficient, transmission delay coefficient and data sensitivity index of all serial systems. The total coefficient is the sum of the products of the calculation delay coefficients, transmission delay coefficients and data sensitivity index of all serial systems. The ratio of the coefficient of each serial system and the total coefficient of the entire simulation system is calculated to obtain the step allocation value of each serial system. The product of the step allocation value of each serial system and the overall step value of the simulation system is calculated to obtain the sub-step value of each serial system.

2. The simulation system step size allocation method according to claim 1, characterized in that: The step of inputting test data into each of the serial systems to obtain a calculated delay coefficient for each of the serial systems comprises: Dividing each of the serial systems into a plurality of parallel systems; Inputting test data into each of the parallel systems to obtain the computational delay of each of the parallel systems; According to the calculation delay of the parallel system, a calculation delay coefficient corresponding to the serial system is obtained.

3. The simulation system step size allocation method according to claim 1, characterized in that: The step of inputting test data into each of the serial systems to obtain a transmission delay coefficient of each of the serial systems comprises: Dividing each of the serial systems into a plurality of parallel systems; Inputting test data into each of the parallel systems to obtain a transmission delay of each of the parallel systems; According to the transmission delay of each of the parallel systems, a transmission delay coefficient of each of the serial systems is obtained.

4. The simulation system step size allocation method according to claim 1, characterized in that: Inputting test data into each of the serial systems to obtain a data sensitivity index of each of the serial systems includes: Dividing each of the serial systems into a plurality of parallel systems; Inputting test data into each of the parallel systems to obtain output data of each of the parallel systems; A data sensitivity index of each of the serial systems is obtained according to the input test data and the output data of each of the parallel systems.

5. The simulation system step size allocation method as claimed in claim 2, characterized in that: The obtaining, according to the calculation delay of the parallel system, a calculation delay coefficient corresponding to the serial system, comprises: For each of the serial systems, select all the corresponding parallel systems to calculate the maximum delay value; The calculation delay coefficient of each serial system is obtained according to the maximum value of the calculation delay of each serial system.

6. The simulation system step size allocation method as claimed in claim 3, characterized in that: The step of obtaining a transmission delay coefficient of each serial system according to the transmission delay of each parallel system includes: For each of the serial systems, calculate the sum of the transmission delays of all the corresponding parallel systems; A transmission delay coefficient of each serial system is obtained according to the sum of the transmission delays of each serial system.

7. The simulation system step size allocation method as claimed in claim 4, characterized in that: The step of obtaining the data sensitivity index of each serial system according to the input test data and the output data of each parallel system comprises: Within a set time period, for each of the serial systems, calculate the difference in input test data and output data of the parallel system at all times in all the parallel systems corresponding to the serial system; The data sensitivity index of each serial system is obtained according to the difference of the input test data, the difference of the output data and the set time length of each parallel system.

8. A simulation system step size allocation system, characterized in that: Implement the simulation system step length allocation method according to any one of claims 1 to 7; the simulation system is composed of a plurality of serial systems, and the simulation system step length allocation system comprises: Coefficient calculation module: input test data into each of the serial systems to obtain a calculation delay coefficient, a transmission delay coefficient and a data sensitivity index for each of the serial systems; Sub-step calculation module: obtains the sub-step value of each serial system according to the calculation delay coefficient of each serial system, the transmission delay coefficient, the data sensitivity index and the overall step value of the simulation system; Step size allocation module: optimizes the simulation system according to each sub-step size value of the serial system.

9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the program, the simulation system step size allocation method described in any one of claims 1 to 7 is implemented.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the simulation system step size allocation method described in any one of claims 1 to 7 is implemented.