Virtual simulation method and device, computer equipment and program product

By obtaining and processing the request identification information of the interface call request, querying the response information address and performing delayed operations, it solves the problem of insufficient hardware resources and limited software debugging time, realizes the restoration of real simulation data in multiple scenarios, and improves testing efficiency. and effect.

CN118797964AActive Publication Date: 2024-10-18HANGZHOU CHANGCHUAN TECH CO LTD

Patent Information

Application Number
CN202411273340.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-12
Publication Date
2024-10-18
Estimated Expiration
2044-09-12

AI Technical Summary

Technical Problem

In the process of joint debugging of large-scale software and hardware test systems, insufficient hardware resources and limited software debugging time make it impossible to fully test. Traditional methods can only simulate virtual data in a single scenario and cannot truly restore the details of on-machine testing.

Method used

By obtaining the interface call request and request identification information initiated by the client, query the initialization linked list to obtain the response information address, obtain the original call result information based on the persistent image, and implement delay operations to simulate the request response time to ensure the restoration of real simulation data.

Benefits of technology

It realizes the true and complete restoration of the interface running data details in the computer test in multiple scenarios, improving the simulation effect and efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118797964A_ABST
    Figure CN118797964A_ABST
Patent Text Reader

Abstract

The invention relates to a virtual simulation method and device, computer equipment and a computer program product. The method comprises the following steps: acquiring an interface calling request initiated by a client and request identification information of the interface calling request; an initialization chain table is inquired to obtain a response information address corresponding to the request identification information, each node in the initialization chain table is used for storing first calling information and the response information address obtained based on simulation data of persistent mirror images, and the first calling information comprises the request identification information; and obtaining response information based on the response information address, wherein the response information is obtained by performing persistent mirroring on original calling result information of the interface. By adopting the method, data details in the on-machine test can be truly and completely restored.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of simulation technology, and in particular to a virtual simulation method, device, computer equipment and computer program product. Background Art

[0002] In the joint debugging process of large-scale software and hardware test system projects, hardware is often in short supply due to its high price. Software debugging is often allocated less time and cannot be fully tested. On the other hand, customized hardware virtual data often simulates a very single scenario.

[0003] In traditional technology, debugging outside the hardware environment can only be done by creating fictitious hardware data in the program or by writing configuration files. However, this method can only debug a single scenario and requires modifying the code logic and rewriting the hardware access interface, which cannot fully restore the details of the on-machine test. Summary of the invention

[0004] Based on this, it is necessary to provide a virtual simulation method, device, computer equipment and computer program product that can truly and completely restore the details in the on-machine test in response to the above technical problems.

[0005] In a first aspect, the present application provides a virtual simulation method, the method comprising: Obtaining an interface call request initiated by a client and request identification information of the interface call request; Querying an initialization linked list to obtain a response information address corresponding to the request identification information, wherein each node in the initialization linked list is used to store first call information and a response information address obtained based on the simulation data of the persistent image, wherein the first call information includes the request identification information; Response information is obtained based on the response information address, wherein the response information is obtained by persistently mirroring the original call result information of the interface.

[0006] In one embodiment, the method further comprises: Recording the start time of the interface call request; Querying the request response time corresponding to the request identification information; Performing a delay operation based on the request response time and the start time; After the delay operation is completed, the response information is returned.

[0007] In one embodiment, the delay operation based on the request response time and the start time includes: Calculate the delay time based on the request response time and the loading time of the response information; When the delay time is greater than a preset time length, performing a delay operation based on the start time and the delay time; When the delay time is less than or equal to the preset time length, continue to execute the step of returning the response information.

[0008] In one embodiment, before querying the initialization linked list to obtain the response information address corresponding to the request identification information, the method further includes: receiving an initialization request, wherein the initialization request carries a file identifier; Creating the initialization linked list in a cache based on the initialization request; Querying each file corresponding to the file identifier; Based on the files, the first call information, the response information address corresponding to each of the first call information, and the next node address corresponding to each of the first call information are determined, and the first call information, the response information address and the next node address corresponding to each of the first call information are stored in the corresponding nodes of the initialization linked list.

[0009] In one embodiment, determining the first call information, the response information address corresponding to each of the first call information, and the next node address corresponding to each of the first call information based on the files, and storing the first call information, the response information address corresponding to each of the first call information, and the next node address respectively in the corresponding node of the initialization linked list includes: Determine a current file, read first call information of a current node in the current file, and store the first call information in a node corresponding to the initialization linked list; Determine the response information address of the current node in the current file based on the first address of the first call information and the size of the first call information, and store the response information address in the node corresponding to the initialization linked list; In the case where it is determined based on the response information address that the current file has an unread node, determining the next node address based on the first address of the first call information, the size of the first call information, and the size of the response information; Based on the next node address, a next node is obtained from the current file as the current node, and the step of reading the first call information of the current node in the current file is continued; When it is determined based on the response information address that there is no unread node in the current file and the file corresponding to the file identifier has not been loaded, the next file is obtained as the current file based on the file identifier, and the step of reading the first call information of the current node in the current file is continued until the files corresponding to the file identifier are all loaded.

[0010] In one embodiment, the method further comprises: When the mirror data collection thread receives a new client interface call request, query whether the initial identification information corresponding to the client interface call request has been cached; If the initial identification information corresponding to the interface call request has been cached, updating the execution sequence number of the interface call request; Generate request identification information based on the initial identification information and the execution sequence number; Generate second call information based on the request identification information, and store the second call information and original call result information corresponding to the interface call request in a cache as simulation data.

[0011] In one embodiment, the cache includes a target linked list, each node in the target linked list is used to store the second call information, the original call result information and the next node address, and the next node address is obtained based on the size of the second call information and the size of the original call result information.

[0012] In one embodiment, the method further comprises: When the initial identification information corresponding to the interface call request is not cached, the initial identification information corresponding to the interface call request is added to the cache, and after the execution number of the interface call request is updated, the step of generating the request identification information based on the initial identification information and the execution number is continued.

[0013] In one embodiment, after associating the second call information with the original call result information corresponding to the interface call request and storing them in the cache, the method further includes: When the image data acquisition thread receives an image data storage end instruction, a new file is generated based on the cached second call information and the original call result information corresponding to the interface call request, and the new file is stored in a persistent medium; The cache is cleared and the mirror data acquisition thread is terminated.

[0014] In one embodiment, after storing the second call information and the original call result information corresponding to the interface call request as simulation data in the cache, the method further includes: updating the size of the simulation data stored in the cache based on the size of the second call information and the size of the original call result information; In the case where the mirror data storage end instruction is not received, detecting whether the size of the simulation data stored in the cache is greater than or equal to a threshold; When the size of the simulation data stored in the cache is greater than or equal to the threshold, generating a new file based on the cached simulation data, and storing the new file in a persistent medium; The cache is cleared, and the mirror data acquisition thread continues to wait for the next mirror data storage end instruction.

[0015] In one embodiment, the method further comprises: When the mirror data acquisition thread receives an interface call request start instruction, recording a current request time of the interface call request; When the mirror data acquisition thread receives an interface call request end instruction, obtain the reception time of the interface call request end instruction, and obtain the request response time of the interface call request based on the reception time and the current request time; The request response time is added to the second call information.

[0016] In one embodiment, the method further comprises: Determine the simulation status through configuration files or configuration functions; When the simulation state is the simulation mode, continue to execute the step of obtaining the interface call request initiated by the client and the request identification information of the interface call request; When the simulation state is the mirror data acquisition mode, the step of querying whether the initial identification information corresponding to the interface call request of the client has been cached is continued when the mirror data acquisition thread receives a new interface call request of the client.

[0017] In a second aspect, the present application further provides a virtual simulation device, the device comprising: A call request acquisition module, used to acquire an interface call request initiated by a client and request identification information of the interface call request; A response information address acquisition module, used to query the initialization linked list to obtain the response information address corresponding to the request identification information, each node in the initialization linked list is used to store the first call information and the response information address obtained based on the simulation data of the persistent image, the first call information including the request identification information; The response information acquisition module is used to acquire the response information based on the response information address, wherein the response information is obtained by persistently mirroring the original call result information of the interface.

[0018] In a third aspect, the present application further provides a computer device, comprising a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of the above method when executing the computer program.

[0019] In a fourth aspect, the present application also provides a computer program product, including a computer program, which implements the steps of the above method when executed by a processor.

[0020] The above-mentioned virtual simulation method, device, computer equipment and computer program product obtain the interface call request initiated by the client and the request identification information of the interface call request, so that the initialization linked list can be queried to obtain the response information address corresponding to the request identification information. Each node in the initialization linked list is used to store the first call information and response information address obtained based on the simulation data of the persistent image. The first call information includes the request identification information. Based on the response address, the real simulation data of the persistent image can be obtained, so that the details of the interface operation data in the on-machine test can be truly and completely restored. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0022] Figure 1 An application environment diagram of a virtual simulation method in an embodiment; Figure 2 A schematic diagram of a flow chart of a virtual simulation method in an embodiment; Figure 3 is a flow chart of simulation steps in one embodiment; Figure 4 is a schematic diagram of an initialization linked list in an embodiment; Figure 5 A flowchart of the preloading steps in an example; Figure 6 A flowchart of the processing steps of the client during the image data collection process in one embodiment; Figure 7 A flowchart of a mirror data collection step in one embodiment; Figure 8is a schematic diagram of a target linked list in one embodiment; Fig. 9 A flowchart of the operation mode switching steps in one embodiment; Fig.10 A structural block diagram of a virtual simulation device in an embodiment; Fig.11 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION

[0023] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0024] The virtual simulation method provided in the embodiment of the present application can be applied to Figure 1 In the application environment shown. In large-scale test system supporting software, in order to avoid excessive load when a single instance runs the test program, a distributed architecture is usually used to split different components independently according to their responsibilities, thereby improving the operating efficiency of the software system. The interaction between different components usually uses remote procedure call technology, which usually encapsulates the original call through client stubs and server stubs. After the client program initiates a remote procedure call, it calls the client stub function, packages the target call data, transmits it to the server, and calls the server stub to unpack the data and call the service. After the service call is completed, the return value will be packaged and sent back to the client, and the client will unpack the data and return it to the user through the stub function.

[0025] Among them, in this application, the client pile function and the server stub are modified, and the data mirror function is pre-buried to store the operation data in the actual operation process as simulation data. Later, when simulation is needed, the client initiates the interface call request and the request identification information of the interface call request; the initialization linked list is queried to obtain the response information address corresponding to the request identification information, and each node in the initialization linked list is used to store the first call information and response information address obtained based on the simulation data of the persistent mirror, and the first call information includes the request identification information; based on the response information address, the response information is obtained by persistently mirroring the original call result information of the interface. In this way, the real simulation data of the persistent mirror can be obtained based on the response address, so that the details of the received operation data and the running time in the machine test can be truly and completely restored.

[0026] In an exemplary embodiment, Figure 2 As shown, a virtual simulation method is provided, which is applied to Figure 1The client in the example is used to illustrate, including the following steps 202 to 206. Among them: S202: Acquire the interface call request initiated by the client and the request identification information of the interface call request.

[0027] The interface call request is initiated by the client. After the client program initiates the remote procedure call, it is called to the client stub function. The data mirror function embedded in the client stub function forwards the interface call request to the mirror data collection thread. If the mirror data collection thread is not started, the mirror data collection thread is first requested to be started. After it is started, the mirror data collection thread can intercept the interface call request initiated by the client.

[0028] The request identification information of the interface call request can uniquely identify the current interface call request. The request identification information includes the request thread identification, the request name and the execution sequence number, where the request thread identification is the thread identification of the request thread, the request name can be the business name, and the execution sequence number is the number of times the request has been made.

[0029] S204: query the initialization linked list to obtain the response information address corresponding to the request identification information, each node in the initialization linked list is used to store the first call information and the response information address obtained based on the simulation data of the persistent image, and the first call information includes the request identification information.

[0030] Each node in the initialization linked list is used to store the first call information and response information address obtained based on the simulation data of the persistent image. The initialization linked list is obtained based on the simulation data stored in the persistent image, wherein, before the simulation is performed, the simulation data stored in the persistent image can be preloaded into the cache to initialize the linked list based on the type of simulation. One point that needs to be explained is that during preloading, not all response information is preloaded into the cache, but only the response information address of the response information is preloaded, so as to avoid occupying more memory.

[0031] Wherein, before simulation, the simulation data stored based on the persistent image is preloaded to obtain an initialization linked list, the first call information in the initialization linked list corresponds to the second call information in the simulation data, and the first call information and the second call information include request identification information. The response information address in the initialization linked list is obtained based on the storage address of the original call result information in the simulation data. The initialization linked list may also include a next node address, which corresponds to the next node address in the simulation data.

[0032] In this way, after obtaining the request identification information, the request identification information can be compared with the request identification information included in the first call information in the initialization linked list, and the response information address corresponding to the first call information with successful comparison can be obtained.

[0033] S206: Acquire response information based on the response information address, wherein the response information is obtained by persistently mirroring the original call result information of the interface.

[0034] After obtaining the response information address, the corresponding original call result information is obtained from the simulation data of the persistent image based on the response information address as the response information. The subsequent client stub function deserializes the response information to complete the simulation. In addition, the corresponding system parameters, simulation parameters, etc. can be collected during the entire simulation process as simulation results, so that the data details in the machine test can be truly and completely restored to improve the simulation effect.

[0035] The above-mentioned virtual simulation method obtains the interface call request initiated by the client and the request identification information of the interface call request, so that the initialization linked list can be queried to obtain the response information address corresponding to the request identification information. Each node in the initialization linked list is used to store the first call information and response information address obtained based on the simulation data of the persistent image. The first call information includes the request identification information. Based on the response address, the real simulation data of the persistent image can be obtained, thereby truly and completely restoring the details of the interface operation data in the on-machine test.

[0036] In one of the optional embodiments, the method also includes: recording the start time of the interface call request; querying the request response time corresponding to the request identification information; performing a delay operation based on the request response time and the start time; and returning the response information after the delay operation is completed.

[0037] In this embodiment, after the mirror data acquisition thread obtains the interface call request, it also records the start time of the interface call request, and then queries the first call information in the initialization linked list to obtain the request response time corresponding to the request identification information and the response information address mentioned above, and obtains the response information from the simulation data stored in the persistent mirror based on the response information address. A delay operation is performed based on the request response time and the start time, and after the delay operation is completed, the response information is returned to simulate the request response time in the actual call process.

[0038] Among them, since the response information in this application is obtained from the simulation data stored in the persistent mirror based on the response information address, it takes a certain amount of time to obtain the response data, and the processing of the interface call request in the actual process also takes a certain amount of time, that is, the request response time. Therefore, it can be determined whether a delay is required based on the time it takes to obtain the response data and the request response time.

[0039] In one of the optional embodiments, a delay operation is performed based on the request response time and the start time, including: calculating the delay time based on the request response time and the loading time of the response information; when the delay time is greater than a preset time length, performing a delay operation based on the start time and the delay time; when the delay time is less than or equal to the preset time length, continuing to execute the step of returning the response information.

[0040] Specifically, the loading time of the response information is the time to obtain the response information from the simulation data stored in the persistent image. When the loading time of the response information is greater than the request response time, no delay is required. Otherwise, the delay time is obtained based on the difference between the request response time and the loading time of the response information, and the delay operation is performed based on the delay time.

[0041] In actual applications, the difference between the request response time and the response information loading time is directly used as the delay time. If the delay time is greater than 0, the delay is based on the delay time. Otherwise, the response information is directly returned without delay.

[0042] In the above embodiment, by storing the request response time, the details of the running time in the on-machine test can be truly and completely restored.

[0043] Among them, for the convenience of understanding, combined Figure 3 As shown, Figure 3 The flow chart of the simulation step in one embodiment, in this embodiment, the client first initiates an interface call request, and calls the client pile function, records the request start time, and then the client pile function serializes the client request parameters, and the mirror simulation function starts, and the corresponding response information address is found from the preloaded initialization linked list according to the request identification information, and the response information is obtained from the simulation data stored in the hardware (persistent mirror) based on the response information address, and the delay time is calculated, wherein the delay time is the difference obtained by subtracting the loading time of the response information from the request response time, if the delay time is greater than 0, then the delay operation is performed based on the delay time, otherwise the response information is directly deserialized by the client pile function to complete the whole simulation process. Wherein, the simulation data stored in the hardware is the simulation data of the persistent mirror.

[0044] In one of the optional embodiments, before querying the initialization linked list to obtain the response information address corresponding to the request identification information, it also includes: receiving an initialization request, the initialization request carrying a file identification; creating an initialization linked list in the cache based on the initialization request; querying each file corresponding to the file identification; determining each first call information, the response information address corresponding to each first call information, and the next node address corresponding to each first call information based on each file, and storing each first call information, the response information address and the next node address corresponding to each first call information respectively in the corresponding node of the initialization linked list.

[0045] Among them, this embodiment is a process of preloading simulation data before the simulation starts. Specifically, in the simulation mode, it is possible to confirm whether the required simulation data has been collected and add the simulation data storage path by means of a configuration file or a configuration function. For the configuration file method, the user is required to modify the running mode in the configuration file, and confirm whether the required simulation data has been collected, and add the simulation data storage path in the configuration file; for the configuration function method, the user confirms whether the required simulation data has been collected and adds the simulation data storage path by modifying the configuration function; after the modification is completed and saved, a pop-up window will appear to remind the user that the software will enter the mirror simulation mode, and the user is required to click to confirm; after the user clicks to confirm, the client's pre-embedded data mirror simulation mode will be enabled, and the simulation data storage path will be obtained from the configuration file or based on the configuration function. At this time, the solidified simulation data information will be preloaded. In order to avoid the simulation data occupying the running memory, only the request identification information (RequestInfo) of each packet of data and the corresponding response information address are preloaded into the initialization linked list (DataList) through file mapping.

[0046] Among them, combined Figure 4 As shown, Figure 4 is a schematic diagram of an initialization linked list in an embodiment, each node of the initialization linked list includes first call information (such as Figure 4 Header, Header1, Header2...HeaderN in the first call information), the response information address corresponding to each first call information (such as Figure 4 DataPtr, DataPtr1, DataPtr2...DataPtrN) and the next node address corresponding to each first call information (such as Figure 4NextPtr in the first call information), the first call information includes request identification information and other call information, wherein the limitation of the request identification information can be found above, other call information includes the size of the response information of the current request and the request response time, the response information address corresponding to each first call information is obtained based on the simulation data of the persistent image, and the next node data address is the starting address of the next node data.

[0047] In one of the optional embodiments, first call information, a response information address corresponding to each first call information, and a next node address corresponding to each first call information are determined based on each file, and the first call information, the response information address corresponding to each first call information, and the next node address are stored in the corresponding node of the initialization linked list, including: determining the current file, reading the first call information of the current node in the current file, and storing the first call information in the node corresponding to the initialization linked list; determining the response information address of the current node in the current file based on the first address of the first call information and the size of the first call information, and storing the response information address in the node corresponding to the initialization linked list; in the case where it is determined based on the response information address that there are unread nodes in the current file, determining the next node address based on the first address of the first call information, the size of the first call information, and the size of the response information; obtaining the next node from the current file as the current node based on the next node address, and continuing to execute the step of reading the first call information of the current node in the current file; in the case where it is determined based on the response information address that there are no unread nodes in the current file and the file corresponding to the file identifier has not been loaded, obtaining the next file as the current file based on the file identifier, and continuing to execute the step of reading the first call information of the current node in the current file until all files corresponding to the file identifier are loaded.

[0048] Among them, combined Figure 5 As shown, Figure 5 The flowchart of the preloading step in an example is shown. In this embodiment, the client initiates a request to create an initialization linked list, which is used to store the first call information, response information address and next node address loaded from the hard disk. Then, it is retrieved whether the above-mentioned data solidification path is in the solidified data file. If so, the identifier of the solidified data file corresponding to the solidified data path is saved, such as the name of the solidified data file. Then, the current file is determined and a memory mapping operation is performed on the current file. Specifically, the first call information of the current node in the current file is read, and the first call information is stored in the node corresponding to the initialization linked list. Then, based on the first address of the first call information and the size of the first call information, the response information address of the current node in the current file is determined (the response information address is also the address of the next node). Figure 5The data address in the response information is determined, and based on the response information address, it is determined whether there is an unread node in the current file, for example, whether the response information address is the file tail address of the current file. If so, the next file is obtained as the current file, and the above file reading steps are continued until all the solidified data files corresponding to the solidified data path are read. If it is determined based on the response information address that there are still unread nodes in the current file, the next node address is determined based on the first address of the first call information, the size of the first call information, and the size of the response information, wherein the size of the first call information is generally fixed and known. For example, in the present application, the size of the first call information is 100 bytes, and the size of the response information is generally fixed. Since the type of call is determined, the size of the response information corresponding to the call type is also determined, so the next node address can be the sum of the first address of the first call information, the size of the first call information, and the size of the response information.

[0049] In the above embodiment, the solidified simulation data is preloaded, and during the preloading process, only the request identification information (RequestInfo) of each packet of data and the corresponding response information address are preloaded into the initialization linked list by file mapping, so as to avoid the response information occupying the memory and improve the processing efficiency. In the subsequent simulation process, whether to delay is determined based on the time of loading the response information and the request response time, so that the time of loading the response information and the request response time have a certain overlap, which can improve the processing efficiency.

[0050] In one of the optional embodiments, the method also includes: when the mirror data acquisition thread receives an interface call request from a new client, querying whether the initial identification information corresponding to the interface call request from the client has been cached; when the initial identification information corresponding to the interface call request has been cached, updating the execution sequence number of the interface call request; generating request identification information based on the initial identification information and the execution sequence number; generating second call information based on the request identification information, and storing the second call information and the original call result information corresponding to the interface call request as simulation data in the cache.

[0051] Among them, the present application involves the storage process of simulation data, and the storage of simulation data is realized during the processing of the actual client's interface call request, so that the simulation data can be obtained during the subsequent simulation, thereby truly and completely restoring the details of the interface operation data and operation time in the on-machine test.

[0052] Specifically, a data mirror function is embedded in the client pile function, so that during the actual execution process of the client, the client initiates an interface call request, calls the client pile function, and informs the mirror data acquisition thread of the request start. The client then processes the interface call request normally, including serializing the client request parameters, packaging the request data information corresponding to the interface call request, including packaging the request name, request data size, request thread identifier, and communication connection number, and sending the packaged data to the server. The server calls the target hardware interface according to the request information, serializes the hardware acquisition data returned by the target hardware interface, packages the returned data, and transmits it to the client pile function, wherein the returned data includes the request name, return data size, request thread identifier (request thread number), and communication connection number, etc. After receiving the returned data, the client pile function notifies the mirror data acquisition thread, and the request processing ends. The subsequent client pile function deserializes the returned data, and ends the call processing after returning the data to the user. The specific process can be seen in Figure 6 shown.

[0053] The processing steps of the mirror data collection thread can be combined Figure 7 As shown, the mirror data acquisition thread obtains the interface call request initiated by the client and receives the request end instruction from the client. In this way, it is queried whether the initial identification information corresponding to the interface call request of the client has been cached. If it has been cached, the execution sequence number of the interface call request is updated, such as adding one. In one of the optional embodiments, when the initial identification information corresponding to the interface call request is not cached, the initial identification information corresponding to the interface call request is added to the cache, and after the execution sequence number of the interface call request is updated, the step of generating the request identification information based on the initial identification information and the execution sequence number is continued.

[0054] Subsequently, the second calling information is generated based on the request identification information. For the specific definition of the second calling information, please refer to the first calling information above, which will not be repeated here.

[0055] Subsequently, the second calling information and the original calling result information corresponding to the interface calling request are stored in the cache as simulation data.

[0056] In one of the optional embodiments, the cache includes a target linked list, each node in the target linked list is used to store the second call information, the original call result information and the next node address, and the next node address is obtained based on the size of the second call information and the size of the original call result information.

[0057] Specifically, combined Figure 8 As shown, Figure 8is a schematic diagram of a target linked list in an embodiment. In this embodiment, each node in the target linked list is used to store the second call information (such as Figure 8 Header, Header1, Header2...HeaderN in the original call result information (such as Figure 8 Data, Data1, Data2...DataN) and the next node address (such as Figure 8 NextPtr in the target list), where the original call result information is the response information mentioned above. Each node in the target list is used to store the above information corresponding to a call, so as to facilitate subsequent search. Specifically, combined with Figure 8 As shown, Figure 8 is a schematic diagram of a target linked list in an embodiment. In this embodiment, each node in the target linked list is used to store the second call information (such as Figure 8 Header, Header1, Header2...HeaderN in the original call result information (such as Figure 8 Data, Data1, Data2...DataN) and the next node address (such as Figure 8 NextPtr in the target list), where the original call result information is the response information mentioned above. Each node in the target list is used to store the above information corresponding to a call for subsequent search.

[0058] Continuing from the above, after the initial identification information corresponding to the interface call request has been included in the cache, the second call information is constructed, wherein optionally, the size of the second call information is fixed, the second call information is used as the node header of the current node, and the serialized return data returned by the server is stored as the original call result information in the current node to realize the storage of simulation data.

[0059] In one of the optional embodiments, after the second call information is associated with the original call result information corresponding to the interface call request and stored in the cache, it also includes: when the mirror data acquisition thread receives the mirror data storage end instruction, a new file is generated based on the cached second call information and the original call result information corresponding to the interface call request, and the new file is stored in a persistent medium; the cache is cleared, and the mirror data acquisition thread is ended.

[0060] The mirror data storage end instruction refers to the end instruction of the simulation data collection, or the call completion instruction, so there is no need to collect data. Figure 7As shown, after the data collection is completed, in order to avoid the loss of the original call result information stored in the cache, the original call result information is persistently stored, for example, stored in a persistent medium, such as a hard disk, wherein the persistent storage can be storing the simulation data stored in the cache as a new file, wherein the identifier of the file, for example, the name of the file can be the request identification information in the second call information in the simulation data, and after the simulation data storage is completed, the cache is cleared and the mirror data collection thread is ended.

[0061] In one of the optional embodiments, after storing the second call information and the original call result information corresponding to the interface call request as simulation data in the cache, it also includes: updating the size of the simulation data stored in the cache based on the size of the second call information and the size of the original call result information; when no mirror data storage end instruction is received, detecting whether the size of the simulation data stored in the cache is greater than or equal to a threshold; when the size of the simulation data stored in the cache is greater than or equal to the threshold, generating a new file based on the cached simulation data, and storing the new file in a persistent medium; clearing the cache, and continuing to wait for the next mirror data storage end instruction through the mirror data acquisition thread.

[0062] Among them, in this embodiment, if the mirror data storage end instruction is not received, the simulation data is always stored in the cache. In order to avoid occupying too much cache and affecting the normal operation of the system, the size of the simulation data is calculated after each storage of the second call information and the original call result information. If the size of the simulation data is greater than or equal to the threshold, the simulation data stored in the cache is mapped to a new file in the persistent medium, and the simulation data stored in the cache is cleared.

[0063] The threshold value may be the size of the pre-applied cache, which may be determined based on different call request types, so that a certain amount of simulation data of interface call requests can be stored in the cache, avoiding multiple IO reads and improving system efficiency. In addition, the size of the cache can be selected to a suitable size through a configuration file, which can effectively reduce the efficiency impact of the pre-embedded interface. The purpose of caching rather than directly storing data on the hard disk is to reduce the time overhead of frequent hard disk storage.

[0064] In one of the optional embodiments, the method also includes: when the mirror data acquisition thread receives an interface call request start instruction, recording the current request time of the interface call request; when the mirror data acquisition thread receives an interface call request end instruction, obtaining the reception time of the interface call request end instruction, and obtaining the request response time of the interface call request based on the reception time and the current request time; and adding the request response time to the second call information.

[0065] In this embodiment, the mirror data acquisition thread uses the current and initiating call time to record a complete interface execution time, and adds a request response time record in the second call information. Specifically, when the mirror data acquisition thread receives an interface call request start instruction, the current request time of the interface call request is recorded; when the mirror data acquisition thread receives an interface call request end instruction, the reception time of the interface call request end instruction is obtained, so that the request response time can be obtained by subtracting the current request time from the reception time.

[0066] Among them, for the convenience of understanding, combined Figure 7 As shown in the figure, the simulation data storage process is introduced in detail. This step is mainly to persistently mirror the simulation data on the computer. This step is used to obtain the original communication data and running time of the interface, which is the key information in the virtualization process. The first step is to open the simulation data storage step through the configuration function or configuration file. The method of configuring the function usually requires adding the configuration function and recompiling the code. The method of dynamically detecting the configuration file does not require modifying the code. After modifying the configuration file, the test project path is added to the configuration file at the same time. After the modification is completed and saved, a pop-up window will appear to remind the user that the software will enter the simulation data acquisition mode, and the user needs to click to confirm. After the user clicks to confirm, the embedded data mirror function in the client stub function and the server stub is enabled, and a larger memory is applied in the client system as a cache (buffer) for temporary storage of simulation data. A global target linked list manages all call related information. The cache (buffer) size can be selected to a suitable size through the configuration file, which can effectively reduce the efficiency impact of the embedded interface. The time overhead of frequent hard disk storage of data is reduced by caching (buffer) instead of directly storing it on the hard disk. The management of the buffer uses a linked list to store simulation data. The head of the linked list stores the necessary management information and simulation data. The management information contains the starting address of the next node, and the tail of the linked list marks itself as the termination node.

[0067] When the client initiates an interface call request, the mirror data collection thread embedded in the client is notified to record the currently executed thread information and the start time of the request.

[0068] First, lock the target linked list (InfoList) and accumulate the execution sequence number under the interface call request. Then add and record all the currently packaged information, including the request name, thread ID, and execution sequence number. At the same time, the client requests to send the simulation data to the server stub through a remote procedure call, execute the target service function, and pass the return value to the server stub after the target service function is executed. The server stub packages the data and returns it to the client stub function. After the client stub function receives the return information, it records the data as the original call result information and notifies the mirror data acquisition thread that the current request ends. The mirror data acquisition thread records the reception time of the call request end instruction, and records a complete request response time through the reception time and the call initiation time, and increases the request response time in the cache. Secondly, the management ownership of the simulation data is transferred to the cache. The management ownership refers to the release ownership of resources. When the available cache is sufficient, all information is flushed into the target linked list in the cache for management, and the data is copied or transferred to the cache by ownership transfer.

[0069] Then determine whether the mirror data storage end instruction is received and decide whether to save the file. The file is saved incrementally. If the mirror data storage end instruction is not received and the size of the simulation data reaches the target limit, a new file is re-stored with an increasing serial number index to avoid a single file being too large.

[0070] In the above embodiment, the data is collected through the background monitoring thread to minimize the impact on the operation of the main task. The simulation data that needs to be collected is managed through the pre-applied cache. The simulation data stored in the cache is stored in the hardware only when it meets certain conditions, reducing the efficiency loss caused by I / O operations. In addition, a request response time statistics function is embedded to perform request response time statistics, and the program operation process is restored to the greatest extent during simulation.

[0071] In one of the optional embodiments, the method also includes: determining the simulation state in the form of a configuration file or a configuration function; when the simulation state is the simulation mode, continuing to execute the step of obtaining the interface call request initiated by the client and the request identification information of the interface call request; when the simulation state is the mirror data acquisition mode, continuing to execute the step of querying whether the initial identification information corresponding to the client's interface call request has been cached when the mirror data acquisition thread receives a new client's interface call request.

[0072] Specifically, combined Fig. 9 As shown, in this application, various modes are configured using a configuration file as an example. After startup, the client opens the configuration file and parses the configuration file to obtain the mirror mode flag. If it is a normal mode, that is, a normal client operation mode, the client runs normally to implement the interface call request.

[0073] If it is the mirror data collection mode, a pop-up window will be displayed to indicate whether to enter the mirror data collection mode. After receiving the confirmation instruction, the configuration file will be parsed to obtain the test project path, and the test project path will be verified to be valid. If the test project path is invalid, an error will be returned. Otherwise, mirror data collection will be performed. The specific collection process can be combined with the above Figure 7 If an instruction to refuse to enter the mirror data collection mode is received and the configuration parameters of the configuration file are the default values, the process is carried out in the normal mode.

[0074] If it is simulation mode, a pop-up window will be displayed to indicate whether to enter simulation mode. After receiving the confirmation command, the configuration file will be parsed to obtain the test project path and verify whether the test project path is correct. If the test project path is invalid, an error will be returned. Otherwise, the simulation step will be performed. The simulation step can be combined with the above Figure 3 , I will not go into details here.

[0075] It should be understood that, although the steps in the flowcharts involved in the above embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps is not strictly limited in order, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above embodiments may include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.

[0076] Based on the same inventive concept, the embodiment of the present application also provides a virtual simulation device for implementing the virtual simulation method involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in one or more virtual simulation device embodiments provided below can refer to the limitations on the virtual simulation method above, and will not be repeated here.

[0077] In an exemplary embodiment, Fig.10 As shown, a virtual simulation device is provided, including: a call request acquisition module 1001, a response information address acquisition module 1002 and a response information acquisition module 1003, wherein: The calling request obtaining module 1001 is used to obtain the interface calling request initiated by the client and the request identification information of the interface calling request; The response information address acquisition module 1002 is used to query the initialization linked list to obtain the response information address corresponding to the request identification information, each node in the initialization linked list is used to store the first call information and the response information address obtained based on the simulation data of the persistent image, and the first call information includes the request identification information; The response information acquisition module 1003 is used to acquire the response information based on the response information address, wherein the response information is obtained by persistently mirroring the original call result information of the interface.

[0078] In one of the optional embodiments, the above-mentioned device also includes: a delay module, used to record the start time of the interface call request; query the request response time corresponding to the request identification information; perform a delay operation based on the request response time and the start time; after the delay operation is completed, return the response information.

[0079] In one of the optional embodiments, the above-mentioned delay module is specifically used to calculate the delay time based on the request response time and the loading time of the response information; when the delay time is greater than the preset time length, a delay operation is performed based on the start time and the delay time; when the delay time is less than or equal to the preset time length, the step of returning the response information is continued.

[0080] In one of the optional embodiments, the above-mentioned device also includes: an initialization module, used to receive an initialization request, the initialization request carries a file identifier; create an initialization linked list in the cache based on the initialization request; query each file corresponding to the file identifier; determine the first call information, the response information address corresponding to each first call information, and the next node address corresponding to each first call information based on each file, and store the first call information, the response information address and the next node address corresponding to each first call information respectively in the corresponding node of the initialization linked list.

[0081] In one of the optional embodiments, the above-mentioned initialization module is specifically used to determine the current file, and read the first call information of the current node in the current file, and store the first call information in the node corresponding to the initialization linked list; based on the first address of the first call information and the size of the first call information, determine the response information address of the current node in the current file, and store the response information address in the node corresponding to the initialization linked list; when it is determined based on the response information address that there are unread nodes in the current file, determine the next node address based on the first address of the first call information, the size of the first call information and the size of the response information; based on the next node address, obtain the next node from the current file as the current node, and continue to execute the step of reading the first call information of the current node in the current file; when it is determined based on the response information address that there are no unread nodes in the current file and the file corresponding to the file identifier has not been loaded, obtain the next file as the current file based on the file identifier, and continue to execute the step of reading the first call information of the current node in the current file until all files corresponding to the file identifier are loaded.

[0082] In one of the optional embodiments, the above-mentioned device also includes: a simulation data acquisition module, which is used to query whether the initial identification information corresponding to the client's interface call request has been cached when the mirror data acquisition thread receives a new client's interface call request; if the initial identification information corresponding to the interface call request has been cached, update the execution sequence number of the interface call request; generate request identification information based on the initial identification information and the execution sequence number; generate second call information based on the request identification information, and store the second call information and the original call result information corresponding to the interface call request as simulation data in the cache.

[0083] In one of the optional embodiments, the cache includes a target linked list, each node in the target linked list is used to store the second call information, the original call result information and the next node address, and the next node address is obtained based on the size of the second call information and the size of the original call result information.

[0084] In one of the optional embodiments, the above-mentioned simulation data acquisition module is also specifically used to add the initial identification information corresponding to the interface call request to the cache when the initial identification information corresponding to the interface call request is not cached, and after updating the execution sequence number of the interface call request, continue to execute the step of generating request identification information based on the initial identification information and the execution sequence number.

[0085] In one of the optional embodiments, the above-mentioned simulation data acquisition module is also specifically used to generate a new file based on the cached second call information and the original call result information corresponding to the interface call request when the mirror data acquisition thread receives the mirror data storage end instruction, and store the new file in a persistent medium; clear the cache and end the mirror data acquisition thread.

[0086] In one of the optional embodiments, the above-mentioned simulation data acquisition module is also specifically used to update the size of the simulation data stored in the cache based on the size of the second call information and the size of the original call result information; when no mirror data storage end instruction is received, detect whether the size of the simulation data stored in the cache is greater than or equal to a threshold; when the size of the simulation data stored in the cache is greater than or equal to the threshold, generate a new file based on the cached simulation data, and store the new file in a persistent medium; clear the cache, and continue to wait for the next mirror data storage end instruction through the mirror data acquisition thread.

[0087] In one of the optional embodiments, the above-mentioned simulation data acquisition module is also specifically used to record the current request time of the interface call request when the mirror data acquisition thread receives the interface call request start instruction; when the mirror data acquisition thread receives the interface call request end instruction, obtain the reception time of the interface call request end instruction, and obtain the request response time of the interface call request based on the reception time and the current request time; and add the request response time to the second call information.

[0088] In one of the optional embodiments, the above-mentioned device also includes: determining the simulation state in the form of a configuration file or a configuration function; when the simulation state is the simulation mode, continuing to execute the step of obtaining the interface call request initiated by the client and the request identification information of the interface call request; when the simulation state is the mirror data acquisition mode, continuing to execute the step of querying whether the initial identification information corresponding to the client's interface call request has been cached when the mirror data acquisition thread receives a new client's interface call request.

[0089] Each module in the above virtual simulation device can be implemented in whole or in part by software, hardware and a combination thereof. Each module can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute operations corresponding to each module above.

[0090] In an exemplary embodiment, a computer device is provided. The computer device may be a terminal, and its internal structure diagram may be as shown in FIG. Fig.11As shown. The computer device includes a processor, a memory, an input / output interface, a communication interface, a display unit and an input device. The processor, the memory and the input / output interface are connected through a system bus, and the communication interface, the display unit and the input device are connected to the system bus through the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be implemented through WIFI, a mobile cellular network, near field communication (NFC) or other technologies. When the computer program is executed by the processor, a virtual simulation method is implemented. The display unit of the computer device is used to form a visually visible picture, which can be a display screen, a projection device or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covering the display screen, or a button, trackball or touchpad set on the computer device shell, or an external keyboard, touchpad or mouse.

[0091] Those skilled in the art will understand that Fig.11 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0092] In one embodiment, a computer device is further provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps in the above method embodiments when executing the computer program.

[0093] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments are implemented.

[0094] In one embodiment, a computer program product is provided, including a computer program, which implements the steps in the above method embodiments when executed by a processor.

[0095] A person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment method can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, an artificial intelligence (AI) processor, etc., but are not limited to this.

[0096] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.

[0097] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be construed as limiting the scope of the present application. It should be noted that, for a person of ordinary skill in the art, several modifications and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.

Claims

1. A virtual simulation method, characterized in that: The method comprises: Obtaining an interface call request initiated by a client and request identification information of the interface call request; Querying an initialization linked list to obtain a response information address corresponding to the request identification information, wherein each node in the initialization linked list is used to store first call information and a response information address obtained based on the simulation data of the persistent image, wherein the first call information includes the request identification information; Response information is obtained based on the response information address, wherein the response information is obtained by persistently mirroring the original call result information of the interface.

2. The method according to claim 1, characterized in that The method further comprises: Recording the start time of the interface call request; Querying the request response time corresponding to the request identification information; Performing a delay operation based on the request response time and the start time; After the delay operation is completed, the response information is returned.

3. The method according to claim 2, characterized in that The delay operation based on the request response time and the start time includes: Calculate the delay time based on the request response time and the loading time of the response information; When the delay time is greater than a preset time length, performing a delay operation based on the start time and the delay time; When the delay time is less than or equal to the preset time length, continue to execute the step of returning the response information.

4. The method according to claim 1, characterized in that: Before querying the initialization linked list to obtain the response information address corresponding to the request identification information, the method further includes: receiving an initialization request, wherein the initialization request carries a file identifier; Creating the initialization linked list in a cache based on the initialization request; Querying each file corresponding to the file identifier; Based on the files, the first call information, the response information address corresponding to each of the first call information, and the next node address corresponding to each of the first call information are determined, and the first call information, the response information address and the next node address corresponding to each of the first call information are stored in the corresponding nodes of the initialization linked list.

5. The method according to claim 4, characterized in that The determining, based on the files, first call information, response information addresses corresponding to each of the first call information, and next node addresses corresponding to each of the first call information, and storing the first call information, the response information addresses corresponding to each of the first call information, and the next node addresses respectively corresponding to the first call information in the corresponding nodes of the initialization linked list, includes: Determine a current file, read first call information of a current node in the current file, and store the first call information in a node corresponding to the initialization linked list; Determine the response information address of the current node in the current file based on the first address of the first call information and the size of the first call information, and store the response information address in the node corresponding to the initialization linked list; In the case where it is determined based on the response information address that the current file has an unread node, determining the next node address based on the first address of the first call information, the size of the first call information, and the size of the response information; Based on the next node address, a next node is obtained from the current file as the current node, and the step of reading the first call information of the current node in the current file is continued; When it is determined based on the response information address that there is no unread node in the current file and the file corresponding to the file identifier has not been loaded, the next file is obtained as the current file based on the file identifier, and the step of reading the first call information of the current node in the current file is continued until the files corresponding to the file identifier are all loaded.

6. The method according to claim 1, characterized in that The method further comprises: When the mirror data collection thread receives a new client interface call request, query whether the initial identification information corresponding to the client interface call request has been cached; If the initial identification information corresponding to the interface call request has been cached, updating the execution sequence number of the interface call request; Generate request identification information based on the initial identification information and the execution sequence number; Generate second call information based on the request identification information, and store the second call information and original call result information corresponding to the interface call request in a cache as simulation data.

7. The method according to claim 6, characterized in that The cache includes a target linked list, each node in the target linked list is used to store the second call information, the original call result information and the next node address, and the next node address is obtained based on the size of the second call information and the size of the original call result information.

8. The method according to claim 6, characterized in that The method further comprises: When the initial identification information corresponding to the interface call request is not cached, the initial identification information corresponding to the interface call request is added to the cache, and after the execution number of the interface call request is updated, the step of generating the request identification information based on the initial identification information and the execution number is continued.

9. The method according to claim 6, characterized in that After associating the second call information with the original call result information corresponding to the interface call request and storing them in the cache, the method further includes: When the image data acquisition thread receives an image data storage end instruction, a new file is generated based on the cached second call information and the original call result information corresponding to the interface call request, and the new file is stored in a persistent medium; The cache is cleared and the mirror data acquisition thread is terminated.

10. The method according to claim 6, characterized in that After storing the second call information and the original call result information corresponding to the interface call request as simulation data in the cache, the method further includes: updating the size of the simulation data stored in the cache based on the size of the second call information and the size of the original call result information; In the case where the mirror data storage end instruction is not received, detecting whether the size of the simulation data stored in the cache is greater than or equal to a threshold; When the size of the simulation data stored in the cache is greater than or equal to the threshold, generating a new file based on the cached simulation data, and storing the new file in a persistent medium; The cache is cleared, and the mirror data acquisition thread continues to wait for the next mirror data storage end instruction.

11. The method according to claim 6, characterized in that The method further comprises: When the mirror data acquisition thread receives an interface call request start instruction, recording a current request time of the interface call request; When the mirror data acquisition thread receives an interface call request end instruction, obtain the reception time of the interface call request end instruction, and obtain the request response time of the interface call request based on the reception time and the current request time; The request response time is added to the second call information.

12. The method according to any one of claims 6 to 11, characterized in that: The method further comprises: Determine the simulation status through configuration files or configuration functions; When the simulation state is the simulation mode, continue to execute the step of obtaining the interface call request initiated by the client and the request identification information of the interface call request; When the simulation state is the mirror data acquisition mode, the step of querying whether the initial identification information corresponding to the interface call request of the client has been cached is continued when the mirror data acquisition thread receives a new interface call request of the client.

13. A virtual simulation device, characterized in that: The device comprises: A call request acquisition module, used to acquire an interface call request initiated by a client and request identification information of the interface call request; A response information address acquisition module, used to query the initialization linked list to obtain the response information address corresponding to the request identification information, each node in the initialization linked list is used to store the first call information and the response information address obtained based on the simulation data of the persistent image, the first call information including the request identification information; The response information acquisition module is used to acquire the response information based on the response information address, wherein the response information is obtained by persistently mirroring the original call result information of the interface.

14. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 12 are implemented.

15. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 12 are implemented.

Citation Information

Patent Citations

  • Simulation data access method and device based on FPGA

    CN106776372A

  • Data processing method and device, computer equipment and storage medium

    CN111405019A

  • Database data acquisition method and device

    CN112035522A

  • Data caching method and device based on linked list, electronic equipment and storage medium

    CN112860592A

  • Interface testing method and device, equipment and storage medium

    CN114780432A

Cited By

  • Monitor-based request analysis system

    CN121543523A