CN114567627B - Simulation platform management method, system, equipment and medium - Google Patents

Simulation platform management method, system, equipment and medium Download PDF

Info

Publication number
CN114567627B
CN114567627B CN202210180563.8A CN202210180563A CN114567627B CN 114567627 B CN114567627 B CN 114567627B CN 202210180563 A CN202210180563 A CN 202210180563A CN 114567627 B CN114567627 B CN 114567627B
Authority
CN
China
Prior art keywords
simulation platform
characteristic parameters
linked list
mapping table
management server
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202210180563.8A
Other languages
Chinese (zh)
Other versions
CN114567627A (en
Inventor
何秋明
曲超
崔健
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shandong Yunhai Guochuang Cloud Computing Equipment Industry Innovation Center Co Ltd
Original Assignee
Shandong Yunhai Guochuang Cloud Computing Equipment Industry Innovation Center Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shandong Yunhai Guochuang Cloud Computing Equipment Industry Innovation Center Co Ltd filed Critical Shandong Yunhai Guochuang Cloud Computing Equipment Industry Innovation Center Co Ltd
Priority to CN202210180563.8A priority Critical patent/CN114567627B/en
Publication of CN114567627A publication Critical patent/CN114567627A/en
Application granted granted Critical
Publication of CN114567627B publication Critical patent/CN114567627B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/30Circuit design
    • G06F30/34Circuit design for reconfigurable circuits, e.g. field programmable gate arrays [FPGA] or programmable logic devices [PLD]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/2866Architectures; Arrangements
    • H04L67/30Profiles
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/16Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]
    • H04L69/163In-band adaptation of TCP data exchange; In-band control procedures
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/16Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]
    • H04L69/164Adaptation or special uses of UDP protocol
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/22Parsing or analysis of headers

Abstract

The invention discloses a simulation platform management method, which comprises the following steps: broadcasting the characteristic parameters of each simulation platform; responding to the broadcast information received by the management server, and determining whether the characteristic parameters of the newly added simulation platform need to be added into the first linked list according to the characteristic parameters of the simulation platform carried in the broadcast information; when a request for acquiring the simulation platform, which is sent by the test framework, is received, acquiring and returning the characteristic parameters of one of the simulation platforms from the first linked list, and simultaneously moving the simulation platform to the second linked list; and establishing a mapping table according to the characteristic parameters of the test frame and the characteristic parameters of the corresponding simulation platform so as to realize forwarding of data sent by the test frame through the mapping table. The invention also discloses a system, computer equipment and a readable storage medium. The scheme provided by the invention can dynamically acquire the proper chip simulation platform from the chip simulation platform resource pool according to the user requirements.

Description

Simulation platform management method, system, equipment and medium
Technical Field
The invention relates to the field of simulation, in particular to a simulation platform management method, a system, equipment and a storage medium.
Background
As the complexity of chip design is continuously improved, the functions of the chip are more and more complex, and the corresponding functional modules in the chip are more and more. After the design code is iterated, the complete function verification needs to be performed on each module. Because each module has a corresponding development and verification personnel, the project group has a plurality of modules to be developed and verified simultaneously, a large number of simulation platforms are needed for the development and verification personnel to use, but compared with a large number of users, the resources of the simulation platforms are quite scarce.
The traditional chip verification is in a one-to-one mode, namely each user monopolizes one simulation platform, and the user cannot acquire the service condition of the simulation platform in time due to the fact that an effective management mode is not available, and meanwhile, after a certain user occupies a certain simulation platform, the user cannot return the service right of the simulation platform in time when the user does not need to use the simulation platform temporarily, so that the service rate of the simulation platform is very low.
Disclosure of Invention
In view of this, in order to overcome at least one aspect of the above-mentioned problems, an embodiment of the present invention provides a simulation platform management method, including the following steps:
broadcasting the characteristic parameters of each simulation platform;
responding to the broadcast information received by the management server, and judging whether the corresponding simulation platform is a newly added simulation platform according to the characteristic parameters of the simulation platform carried in the broadcast information;
responding to the newly added simulation platform, and adding the characteristic parameters of the newly added simulation platform into a first linked list;
responding to a request of acquiring the simulation platform, which is sent by a test frame and is received by a simulation platform acquisition interface of the management server, acquiring and returning the characteristic parameters of one simulation platform from a first linked list, and moving the characteristic parameters of the corresponding simulation platform from the first linked list to a second linked list;
and establishing a mapping table according to the characteristic parameters of the test frame and the characteristic parameters of the corresponding simulation platform, so that the management server forwards the data sent by the test frame to the corresponding simulation platform through the mapping table.
In some embodiments, further comprising:
and responding to the simulation platform release interface of the management server to receive a request for releasing the simulation platform sent by the test framework, moving the characteristic parameters of the simulation platform corresponding to the test framework from the second linked list to the first linked list, and deleting the corresponding mapping table.
In some embodiments, further comprising:
refreshing the first linked list and the second linked list every preset time period;
deleting characteristic parameters of the simulation platform exceeding the effective duration in response to the existence of the simulation platform exceeding the effective duration in the first linked list;
and deleting the corresponding mapping table and moving the characteristic parameters from the second linked list to the first linked list in response to detecting that the unused duration of the simulation platform in the second linked list exceeds a threshold value.
In some embodiments, a mapping table is established according to the characteristic parameters of the test frame and the characteristic parameters of the corresponding simulation platform, so that the management server forwards the data sent by the test frame to the corresponding simulation platform through the mapping table, and the method further includes:
responding to the data packet sent by the test frame received by the management server, and determining the characteristic parameters of the corresponding simulation platform in the mapping table according to the characteristic parameters of the test frame carried by the data packet and the types of the characteristic parameters of the simulation platform;
and forwarding the data packet to a corresponding simulation platform according to the determined characteristic parameters.
Based on the same inventive concept, according to another aspect of the present invention, an embodiment of the present invention further provides a simulation platform management system, including:
a broadcasting module configured to broadcast characteristic parameters of each simulation platform using broadcasting;
the judging module is configured to respond to the broadcast information received by the management server, and judge whether the corresponding simulation platform is a newly added simulation platform according to the characteristic parameters of the simulation platform carried in the broadcast information;
the first linked list module is configured to respond to the newly added simulation platform and add the characteristic parameters of the newly added simulation platform into the first linked list;
the first distribution module is configured to respond to the request of acquiring the simulation platform, which is sent by the test frame and is received by the simulation platform acquisition interface of the management server, acquire and return the characteristic parameters of one simulation platform from the first linked list, and move the characteristic parameters of the corresponding simulation platform from the first linked list to the second linked list;
the building module is configured to build a mapping table according to the characteristic parameters of the test frame and the characteristic parameters of the corresponding simulation platform, so that the management server forwards the data sent by the test frame to the corresponding simulation platform through the mapping table.
In some embodiments, the method further comprises a second allocation module configured to:
and responding to the simulation platform release interface of the management server to receive a request for releasing the simulation platform sent by the test framework, moving the characteristic parameters of the simulation platform corresponding to the test framework from the second linked list to the first linked list, and deleting the corresponding mapping table.
In some embodiments, the system further comprises a management module configured to:
refreshing the first linked list and the second linked list every preset time period;
deleting characteristic parameters of the simulation platform exceeding the effective duration in response to the existence of the simulation platform exceeding the effective duration in the first linked list;
and deleting the corresponding mapping table and moving the characteristic parameters from the second linked list to the first linked list in response to detecting that the unused duration of the simulation platform in the second linked list exceeds a threshold value.
In some embodiments, the setup module is further configured to:
responding to the data packet sent by the test frame received by the management server, and determining the characteristic parameters of the corresponding simulation platform in the mapping table according to the characteristic parameters of the test frame carried by the data packet and the types of the characteristic parameters of the simulation platform;
and forwarding the data packet to a corresponding simulation platform according to the determined characteristic parameters.
Based on the same inventive concept, according to another aspect of the present invention, an embodiment of the present invention further provides a computer apparatus, including:
at least one processor; and
a memory storing a computer program executable on the processor, wherein the processor, when executing the program, performs the steps of any of the simulation platform management methods described above.
Based on the same inventive concept, according to another aspect of the present invention, there is also provided a computer-readable storage medium storing a computer program which, when executed by a processor, performs the steps of any one of the simulation platform management methods described above.
The invention has one of the following beneficial technical effects: according to the scheme provided by the invention, a plurality of simulation platforms form the chip simulation platform resource pool, so that the proper chip simulation platform can be dynamically obtained from the chip simulation platform resource pool according to the requirements of users.
Drawings
In order to more clearly illustrate the embodiments of the invention or the technical solutions in the prior art, the drawings that are necessary for the description of the embodiments or the prior art will be briefly described, it being obvious that the drawings in the following description are only some embodiments of the invention and that other embodiments may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic flow chart of a simulation platform management method according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of connection between a simulation platform, a management server and a user according to an embodiment of the present invention;
FIG. 3 is a hardware block diagram of a chip emulation platform provided by an embodiment of the present invention;
FIG. 4 is a software framework of a chip firmware provided by an embodiment of the present invention;
FIG. 5 is a software architecture of a chip emulation platform according to an embodiment of the present invention;
fig. 6 is a schematic diagram of a broadcast protocol according to an embodiment of the present invention;
fig. 7 is a schematic software architecture of a management server according to an embodiment of the present invention;
FIG. 8 is a schematic diagram of a test flow of an automated test framework according to an embodiment of the present invention;
FIG. 9 is a schematic structural diagram of a simulation platform management system according to an embodiment of the present invention;
FIG. 10 is a schematic diagram of a computer device according to an embodiment of the present invention;
fig. 11 is a schematic structural diagram of a computer-readable storage medium according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the following embodiments of the present invention will be described in further detail with reference to the accompanying drawings.
It should be noted that, in the embodiments of the present invention, all the expressions "first" and "second" are used to distinguish two entities with the same name but different entities or different parameters, and it is noted that the "first" and "second" are only used for convenience of expression, and should not be construed as limiting the embodiments of the present invention, and the following embodiments are not described one by one.
According to an aspect of the present invention, an embodiment of the present invention proposes a simulation platform management method, as shown in fig. 1, which may include the steps of:
s1, broadcasting characteristic parameters of each simulation platform;
s2, responding to the broadcast information received by the management server, and judging whether the corresponding simulation platform is a newly added simulation platform according to the characteristic parameters of the simulation platform carried in the broadcast information;
s3, responding to the newly added simulation platform, and adding the characteristic parameters of the newly added simulation platform into a first linked list;
s4, responding to the simulation platform acquisition interface of the management server to receive a request for acquiring the simulation platform sent by the test frame, acquiring and returning the characteristic parameters of one simulation platform from the first linked list, and moving the characteristic parameters of the corresponding simulation platform from the first linked list to the second linked list;
and S5, establishing a mapping table according to the characteristic parameters of the test frame and the characteristic parameters of the corresponding simulation platform, so that the management server forwards the data sent by the test frame to the corresponding simulation platform through the mapping table.
According to the scheme provided by the invention, a plurality of simulation platforms form the chip simulation platform resource pool, so that the proper chip simulation platform can be dynamically obtained from the chip simulation platform resource pool according to the requirements of users. The management server classifies the plurality of chip simulation platforms according to the characteristics (item code, platform code, version information, network port and the like) of the chip simulation platforms to form a chip simulation platform resource pool, when a user needs to use the chip simulation platform, the management server matches the characteristics of the chip simulation platform which is idle in the chip simulation platform resource pool according to the characteristics provided by the user, forwards the matched network port of the chip simulation platform to the user, and the user communicates with the chip simulation platform through the port; after a network channel is built between a user and the chip simulation platform, an automatic test framework can be used for conveniently completing the FPGA program update, the firmware update, the sending of test instructions and the acquisition of test results.
In some embodiments, as shown in fig. 2, the chip simulation platform is composed of an FPGA and a simulation platform server, where the FPGA and the simulation platform server are connected by hard wires, such as UART, PCIe, JTAG, and other interfaces, and the simulation server is responsible for managing project code numbers, platform code numbers, version information, and the like of the FPGA, and also responsible for interface conversion, program update, and the like of the FPGA. The management server classifies the project code numbers, platform code numbers, version information and the like of the chip simulation platforms and forms a chip simulation platform resource pool, and the chip simulation platform management system can dynamically allocate a proper simulation platform for a user and is also responsible for network port forwarding work between the user and the chip simulation platform. The user may interact through an automated test framework.
In some embodiments, a chip emulation platform hardware block diagram is shown in FIG. 3, which includes an FPGA and an emulation server. The FPGA and the server are connected by hard wire, such as debug serial port, firmware download serial port JTAG, and other interfaces. The simulation server converts the original interface into a network interface and provides a virtual serial interface, a command forwarding interface and an FPGA/firmware updating interface outwards. The software framework of the chip firmware is shown in fig. 4, and includes a driving module and a command analysis module. The driving module is responsible for initializing and driving chip hardware and providing a corresponding hardware operation interface for the command analysis module; the command analysis module can receive related test instructions through the debugging serial port, and execute corresponding test functions according to the test instructions and input test parameters.
In some embodiments, the software architecture of the chip emulation platform is shown in fig. 5, and includes a virtual serial port module, an FTP service module, a command forwarding module, and a broadcasting module. The virtual serial port module is responsible for converting a debugging serial port of the FPGA into a network interface and forwarding serial port data to a user through a TCP protocol; the FTP service module is responsible for receiving an FPGA program or a firmware program sent by a user, calling a firmware download script according to the description of a configuration file or updating the firmware or the FPGA program through a JTAG interface after receiving the firmware or the FPGA program file and related configuration files sent by the user, and updating version information to the broadcast module; the command forwarding module is used for converting a debugging serial port of the FPGA into a network interface and providing a channel for a user to remotely execute firmware test instructions.
In some embodiments, step S1, the characteristic parameters of each simulation platform are broadcast by broadcasting, specifically, as shown in fig. 5, after the chip simulation platform is online, the broadcasting module of the simulation platform broadcasts its characteristics (item code, platform code, version information, network port, etc.) in a UDP broadcast mode to the local area network at a certain frequency, and the broadcasted information is encrypted by AES to ensure security, where U8 refers to an 8-bit unsigned integer, U16 refers to a 16-bit unsigned integer, and U32 refers to a 32-bit unsigned integer, as shown in fig. 6.
In some embodiments, step S2, in response to receiving the broadcast information by the management server, determines whether the corresponding simulation platform is a newly added simulation platform according to the feature parameters of the simulation platform carried in the broadcast information, and specifically, the management server maintains two linked lists, namely "free_list" and "active_list", in the platform resource management process, where the "free_list" stores simulation platforms that can be allocated. Stored in "active_list" is the simulation platform currently in use. The software architecture of the management server is shown in fig. 7, and includes a chip simulation platform management module, a chip simulation platform allocation module and a port forwarding module. The chip simulation platform management module is responsible for monitoring broadcast information on a broadcast port, after receiving the broadcast information from the chip simulation platform, firstly comparing all devices in the free_list and the active_list through parameters broadcast in the broadcast information, and adding the new device into the free_list if the new device is not in the two linked lists.
In some embodiments, step S4, in response to the simulation platform acquisition interface of the management server receiving the request for acquiring the simulation platform sent by the test frame, acquires and returns the feature parameter of one of the simulation platforms from the first linked list, and moves the feature parameter of the corresponding simulation platform from the first linked list to the second linked list. And then the framework can call the chip simulation platform provided by the management server to acquire an interface, and return a network port and some information of the chip simulation platform through the interface, wherein the network port and some information comprise a platform code number, a heartbeat port, a virtual serial port, a command port, a firmware/FPGA download port, an SSH port, FPGA version information and firmware version information.
In some embodiments, step S5 establishes a mapping table according to the feature parameters of the test frame and the feature parameters of the corresponding simulation platform, so that the management server forwards the data sent by the test frame to the corresponding simulation platform through the mapping table, specifically, as shown in fig. 7, a chip simulation platform allocation module of the management server provides a chip simulation platform acquisition interface and a chip simulation platform release interface for a user, and at the same time, a heartbeat detection service is also operated. When the framework calls the chip simulation platform to acquire an interface during testing, an idle chip simulation platform is acquired from the free_list, and if the idle chip simulation platform cannot be acquired, failure information is returned to a user. If a proper simulation platform is obtained, the chip simulation platform is deleted from the free_list and then added into the active_list, a port mapping table is established, the port mapping table comprises the mapping relation between the information of the test frame and the information such as the platform code number, the heartbeat port, the virtual serial port, the command port, the firmware/FPGA downloading port, the SSH port, the FPGA version information, the firmware version information and the like, and the ports and the information are packaged and returned to the test frame so that the test frame can operate the chip simulation platform by using the ports.
Meanwhile, the management server also provides port forwarding service, and the port forwarding service acquires a port mapping table established by the interface according to the chip simulation platform and forwards relevant TCP data sent to the management server by a user to the corresponding simulation platform. For example, when the management server receives the data sent by the test frame a, the management server analyzes the data to obtain that the data needs to be sent to the port a of the simulation platform (at this time, the management server does not know the simulation platform corresponding to the test frame and the parameters of the port), then the management server knows that the test frame a corresponds to the simulation platform a through the mapping table, so as to obtain the parameters of the port a, and finally the port a of the simulation platform a sent by the management server can be sent by using the port forwarding service.
In some embodiments, further comprising:
and responding to the simulation platform release interface of the management server to receive a request for releasing the simulation platform sent by the test framework, moving the characteristic parameters of the simulation platform corresponding to the test framework from the second linked list to the first linked list, and deleting the corresponding mapping table.
Specifically, when the user invokes the chip simulation platform release interface, the corresponding simulation platform is searched from the active_list, and if the corresponding simulation platform is not searched, failure is returned. If so, the simulation platform is deleted from the active_list and then added to the free_list, and the port mapping table is deleted.
In some embodiments, further comprising:
refreshing the first linked list and the second linked list every preset time period;
deleting characteristic parameters of the simulation platform exceeding the effective duration in response to the existence of the simulation platform exceeding the effective duration in the first linked list;
and deleting the corresponding mapping table and moving the characteristic parameters from the second linked list to the first linked list in response to detecting that the unused duration of the simulation platform in the second linked list exceeds a threshold value.
Specifically, the management server further provides a heartbeat detection service, which is used for detecting whether the user is using the current chip simulation platform, if the user does not use the simulation platform for a long time (for example, 15 minutes), the connection between the user and the simulation platform is automatically disconnected, the simulation platform is deleted from the active_list and then added to the free_list, and the port mapping table is deleted. Meanwhile, the chip simulation platform management module of the management server also refreshes the free_list and the active_list at fixed intervals (for example, 1 minute), and if the broadcasting information of the chip simulation platform is not received for a long time, the platform is automatically removed from the linked list.
In some embodiments, a mapping table is established according to the characteristic parameters of the test frame and the characteristic parameters of the corresponding simulation platform, so that the management server forwards the data sent by the test frame to the corresponding simulation platform through the mapping table, and the method further includes:
responding to the data packet sent by the test frame received by the management server, and determining the characteristic parameters of the corresponding simulation platform in the mapping table according to the characteristic parameters of the test frame carried by the data packet and the types of the characteristic parameters of the simulation platform;
and forwarding the data packet to a corresponding simulation platform according to the determined characteristic parameters.
Specifically, the automatic test framework can be based on some test methods written by Python, and comprises a simulation platform distribution module, a firmware/FPGA download module, a monitoring module, an SSH remote command execution module and a test instruction execution module. Based on the test flow of the automatic test framework, as shown in fig. 8, the simulation platform allocation module provides a method for obtaining the chip simulation platform for the user, and the user needs to provide the project code number of the required platform. The method returns a TCP port and some information of the chip simulation platform, including a platform code number, a heartbeat port, a virtual serial port, a command port, a firmware/FPGA download port, an SSH port, FPGA version information and firmware version information. The firmware/FPGA downloading module provides a firmware/FPGA downloading interface for a user, and the user can send the firmware/FPGA mirror image and the mirror image configuration file to the chip simulation platform through the firmware/FPGA downloading port by using the FTP protocol and burn the firmware/FPGA mirror image and the mirror image configuration file into the FPGA by the chip simulation platform server through the interface. The monitoring module can use the virtual serial port to check the relevant information printed by the FPGA debugging serial port in real time. The SSH remote command execution module uses the SSH port to execute shell instructions on the chip emulation platform server. The test instruction execution module can send and receive commands to the firmware through the command port to execute the test function in the firmware.
According to the scheme provided by the invention, a plurality of simulation platforms form the chip simulation platform resource pool, so that the proper chip simulation platform can be dynamically obtained from the chip simulation platform resource pool according to the requirements of users. The management server classifies the plurality of chip simulation platforms according to the characteristics (item code, platform code, version information, network port and the like) of the chip simulation platforms to form a chip simulation platform resource pool, when a user needs to use the chip simulation platform, the management server matches the characteristics of the chip simulation platform which is idle in the chip simulation platform resource pool according to the characteristics provided by the user, forwards the matched network port of the chip simulation platform to the user, and the user communicates with the chip simulation platform through the port; after a network channel is built between a user and the chip simulation platform, an automatic test framework can be used for conveniently completing the FPGA program update, the firmware update, the sending of test instructions and the acquisition of test results.
Based on the same inventive concept, according to another aspect of the present invention, there is further provided a simulation platform management system 400, as shown in fig. 9, including:
a broadcast module 401 configured to broadcast the characteristic parameters of each simulation platform using a broadcast;
the judging module 402 is configured to respond to the broadcast information received by the management server, and judge whether the corresponding simulation platform is a newly added simulation platform according to the characteristic parameters of the simulation platform carried in the broadcast information;
a first linked list module 403 configured to add the characteristic parameters of the newly added simulation platform to a first linked list in response to being the newly added simulation platform;
the first allocation module 404 is configured to obtain and return the characteristic parameters of one of the simulation platforms from the first linked list and move the characteristic parameters of the corresponding simulation platform from the first linked list to the second linked list in response to the simulation platform obtaining interface of the management server receiving the request for obtaining the simulation platform sent by the test frame;
the establishing module 405 is configured to establish a mapping table according to the feature parameters of the test frame and the feature parameters of the corresponding simulation platform, so that the management server forwards the data sent by the test frame to the corresponding simulation platform through the mapping table.
In some embodiments, the method further comprises a second allocation module configured to:
and responding to the simulation platform release interface of the management server to receive a request for releasing the simulation platform sent by the test framework, moving the characteristic parameters of the simulation platform corresponding to the test framework from the second linked list to the first linked list, and deleting the corresponding mapping table.
In some embodiments, the system further comprises a management module configured to:
refreshing the first linked list and the second linked list every preset time period;
deleting characteristic parameters of the simulation platform exceeding the effective duration in response to the existence of the simulation platform exceeding the effective duration in the first linked list;
and deleting the corresponding mapping table and moving the characteristic parameters from the second linked list to the first linked list in response to detecting that the unused duration of the simulation platform in the second linked list exceeds a threshold value.
In some embodiments, the setup module 405 is further configured to:
responding to the data packet sent by the test frame received by the management server, and determining the characteristic parameters of the corresponding simulation platform in the mapping table according to the characteristic parameters of the test frame carried by the data packet and the types of the characteristic parameters of the simulation platform;
and forwarding the data packet to a corresponding simulation platform according to the determined characteristic parameters.
Based on the same inventive concept, according to another aspect of the present invention, as shown in fig. 10, an embodiment of the present invention further provides a computer apparatus 501, including:
at least one processor 520; and
the memory 510, the memory 510 stores a computer program 511 executable on a processor, and the processor 520 executes the steps of any of the simulation platform management methods described above.
Based on the same inventive concept, according to another aspect of the present invention, as shown in fig. 11, an embodiment of the present invention further provides a computer readable storage medium 601, where the computer readable storage medium 601 stores computer program instructions 610, and the computer program instructions 610 when executed by a processor perform the steps of any of the simulation platform management methods as above.
Finally, it should be noted that, as will be appreciated by those skilled in the art, all or part of the procedures in implementing the methods of the embodiments described above may be implemented by a computer program for instructing relevant hardware, and the program may be stored in a computer readable storage medium, and the program may include the procedures of the embodiments of the methods described above when executed.
Further, it should be appreciated that the computer-readable storage medium (e.g., memory) herein can be either volatile memory or nonvolatile memory, or can include both volatile and nonvolatile memory.
Those of skill would further appreciate that the various illustrative logical blocks, modules, circuits, and algorithm steps described in connection with the disclosure herein may be implemented as electronic hardware, computer software, or combinations of both. To clearly illustrate this interchangeability of hardware and software, various illustrative components, blocks, modules, circuits, and steps have been described above generally in terms of their functionality. Whether such functionality is implemented as software or hardware depends upon the particular application and design constraints imposed on the overall system. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present disclosure.
The foregoing is an exemplary embodiment of the present disclosure, but it should be noted that various changes and modifications could be made herein without departing from the scope of the disclosure as defined by the appended claims. The functions, steps and/or actions of the method claims in accordance with the disclosed embodiments described herein need not be performed in any particular order. Furthermore, although elements of the disclosed embodiments may be described or claimed in the singular, the plural is contemplated unless limitation to the singular is explicitly stated.
It should be understood that as used herein, the singular forms "a", "an", and "the" are intended to include the plural forms as well, unless the context clearly supports the exception. It should also be understood that "and/or" as used herein is meant to include any and all possible combinations of one or more of the associated listed items.
The foregoing embodiment of the present invention has been disclosed with reference to the number of embodiments for the purpose of description only, and does not represent the advantages or disadvantages of the embodiments.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program for instructing relevant hardware, and the program may be stored in a computer readable storage medium, where the storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
Those of ordinary skill in the art will appreciate that: the above discussion of any embodiment is merely exemplary and is not intended to imply that the scope of the disclosure of embodiments of the invention, including the claims, is limited to such examples; combinations of features of the above embodiments or in different embodiments are also possible within the idea of an embodiment of the invention, and many other variations of the different aspects of the embodiments of the invention as described above exist, which are not provided in detail for the sake of brevity. Therefore, any omission, modification, equivalent replacement, improvement, etc. of the embodiments should be included in the protection scope of the embodiments of the present invention.

Claims (10)

1. The simulation platform management method is characterized by comprising the following steps of:
broadcasting the characteristic parameters of each simulation platform;
responding to the broadcast information received by the management server, and judging whether the corresponding simulation platform is a newly added simulation platform according to the characteristic parameters of the simulation platform carried in the broadcast information;
responding to the newly added simulation platform, and adding the characteristic parameters of the newly added simulation platform into a first linked list;
responding to a request of acquiring the simulation platform, which is sent by a test frame and is received by a simulation platform acquisition interface of the management server, acquiring and returning the characteristic parameters of one simulation platform from a first linked list, and moving the characteristic parameters of the corresponding simulation platform from the first linked list to a second linked list;
and establishing a mapping table according to the characteristic parameters of the test frame and the characteristic parameters of the corresponding simulation platform, so that the management server forwards the data sent by the test frame to the corresponding simulation platform through the mapping table.
2. The method as recited in claim 1, further comprising:
and responding to the simulation platform release interface of the management server to receive a request for releasing the simulation platform sent by the test framework, moving the characteristic parameters of the simulation platform corresponding to the test framework from the second linked list to the first linked list, and deleting the corresponding mapping table.
3. The method as recited in claim 1, further comprising:
refreshing the first linked list and the second linked list every preset time period;
deleting characteristic parameters of the simulation platform exceeding the effective duration in response to the existence of the simulation platform exceeding the effective duration in the first linked list;
and deleting the corresponding mapping table and moving the characteristic parameters from the second linked list to the first linked list in response to detecting that the unused duration of the simulation platform in the second linked list exceeds a threshold value.
4. The method of claim 1, wherein establishing a mapping table according to the characteristic parameters of the test frame and the characteristic parameters of the corresponding simulation platform to enable the management server to forward the data sent by the test frame to the corresponding simulation platform through the mapping table, further comprises:
responding to the data packet sent by the test frame received by the management server, and determining the characteristic parameters of the corresponding simulation platform in the mapping table according to the characteristic parameters of the test frame carried by the data packet and the types of the characteristic parameters of the simulation platform;
and forwarding the data packet to a corresponding simulation platform according to the determined characteristic parameters.
5. A simulation platform management system, comprising:
a broadcasting module configured to broadcast characteristic parameters of each simulation platform using broadcasting;
the judging module is configured to respond to the broadcast information received by the management server, and judge whether the corresponding simulation platform is a newly added simulation platform according to the characteristic parameters of the simulation platform carried in the broadcast information;
the first linked list module is configured to respond to the newly added simulation platform and add the characteristic parameters of the newly added simulation platform into the first linked list;
the first distribution module is configured to respond to the request of acquiring the simulation platform, which is sent by the test frame and is received by the simulation platform acquisition interface of the management server, acquire and return the characteristic parameters of one simulation platform from the first linked list, and move the characteristic parameters of the corresponding simulation platform from the first linked list to the second linked list;
the building module is configured to build a mapping table according to the characteristic parameters of the test frame and the characteristic parameters of the corresponding simulation platform, so that the management server forwards the data sent by the test frame to the corresponding simulation platform through the mapping table.
6. The system of claim 5, further comprising a second distribution module configured to:
and responding to the simulation platform release interface of the management server to receive a request for releasing the simulation platform sent by the test framework, moving the characteristic parameters of the simulation platform corresponding to the test framework from the second linked list to the first linked list, and deleting the corresponding mapping table.
7. The system of claim 5, further comprising a management module configured to:
refreshing the first linked list and the second linked list every preset time period;
deleting characteristic parameters of the simulation platform exceeding the effective duration in response to the existence of the simulation platform exceeding the effective duration in the first linked list;
and deleting the corresponding mapping table and moving the characteristic parameters from the second linked list to the first linked list in response to detecting that the unused duration of the simulation platform in the second linked list exceeds a threshold value.
8. The system of claim 5, wherein the setup module is further configured to:
responding to the data packet sent by the test frame received by the management server, and determining the characteristic parameters of the corresponding simulation platform in the mapping table according to the characteristic parameters of the test frame carried by the data packet and the types of the characteristic parameters of the simulation platform;
and forwarding the data packet to a corresponding simulation platform according to the determined characteristic parameters.
9. A computer device, comprising:
at least one processor; and
a memory storing a computer program executable on the processor, wherein the processor performs the steps of the method of any of claims 1-4 when the program is executed.
10. A computer readable storage medium storing a computer program, characterized in that the computer program when executed by a processor performs the steps of the method according to any of claims 1-4.
CN202210180563.8A 2022-02-25 2022-02-25 Simulation platform management method, system, equipment and medium Active CN114567627B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210180563.8A CN114567627B (en) 2022-02-25 2022-02-25 Simulation platform management method, system, equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210180563.8A CN114567627B (en) 2022-02-25 2022-02-25 Simulation platform management method, system, equipment and medium

Publications (2)

Publication Number Publication Date
CN114567627A CN114567627A (en) 2022-05-31
CN114567627B true CN114567627B (en) 2024-01-26

Family

ID=81716541

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210180563.8A Active CN114567627B (en) 2022-02-25 2022-02-25 Simulation platform management method, system, equipment and medium

Country Status (1)

Country Link
CN (1) CN114567627B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101873233A (en) * 2009-04-22 2010-10-27 电子科技大学 Simulation method compatible with PeerCast network
CN104615502A (en) * 2015-01-16 2015-05-13 北京仿真中心 Fault-tolerant method based on high-performance simulation cloud
CN104899404A (en) * 2015-07-06 2015-09-09 广州特种机电设备检测研究院 Simulation cloud platform and implementation method
WO2016101638A1 (en) * 2014-12-23 2016-06-30 国家电网公司 Operation management method for electric power system cloud simulation platform
CN107065837A (en) * 2017-05-31 2017-08-18 河南思维轨道交通技术研究院有限公司 Simulation test platform, automatic simulation test system and method for testing
CN107632879A (en) * 2017-10-31 2018-01-26 中国人民解放军国防科技大学 Cloud simulation platform
CN110442041A (en) * 2019-08-05 2019-11-12 西藏宁算科技集团有限公司 A kind of emulation platform construction method and analogue system based on isomery cloud computing framework
CN112560377A (en) * 2020-12-11 2021-03-26 珠海全志科技股份有限公司 Simulation verification method and system based on combination of virtual platform and FPGA
CN113867889A (en) * 2021-09-24 2021-12-31 北京机电工程研究所 Distributed real-time simulation platform

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070294337A1 (en) * 2006-03-31 2007-12-20 Maria Gaos Client-side information processing system, apparatus and methods
JP5902229B2 (en) * 2013-07-09 2016-04-13 エヌエイチエヌ エンターテインメント コーポレーションNHN Entertainment Corporation Simulation method and system
US10719644B2 (en) * 2017-06-30 2020-07-21 Synopsys, Inc. Method and framework to dynamically split a testbench into concurrent simulatable multi-processes and attachment to parallel processes of an accelerated platform
US20190155985A1 (en) * 2017-11-22 2019-05-23 Mentor Graphics Corporation Communication protocols design verification through database systems for hardware-based emulation platforms
CN108768583A (en) * 2018-03-30 2018-11-06 重庆邮电大学 A kind of data source analog platform based on LTE-A
US20200007934A1 (en) * 2018-06-29 2020-01-02 Advocates, Inc. Machine-learning based systems and methods for analyzing and distributing multimedia content
US10929276B2 (en) * 2019-06-14 2021-02-23 Paypal, Inc. Simulation computing services for testing application functionalities
CN111885268B (en) * 2020-06-12 2022-03-22 北京百度网讯科技有限公司 Testing method and device for conversation platform, electronic equipment and storage medium

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101873233A (en) * 2009-04-22 2010-10-27 电子科技大学 Simulation method compatible with PeerCast network
WO2016101638A1 (en) * 2014-12-23 2016-06-30 国家电网公司 Operation management method for electric power system cloud simulation platform
CN104615502A (en) * 2015-01-16 2015-05-13 北京仿真中心 Fault-tolerant method based on high-performance simulation cloud
CN104899404A (en) * 2015-07-06 2015-09-09 广州特种机电设备检测研究院 Simulation cloud platform and implementation method
CN107065837A (en) * 2017-05-31 2017-08-18 河南思维轨道交通技术研究院有限公司 Simulation test platform, automatic simulation test system and method for testing
CN107632879A (en) * 2017-10-31 2018-01-26 中国人民解放军国防科技大学 Cloud simulation platform
CN110442041A (en) * 2019-08-05 2019-11-12 西藏宁算科技集团有限公司 A kind of emulation platform construction method and analogue system based on isomery cloud computing framework
CN112560377A (en) * 2020-12-11 2021-03-26 珠海全志科技股份有限公司 Simulation verification method and system based on combination of virtual platform and FPGA
CN113867889A (en) * 2021-09-24 2021-12-31 北京机电工程研究所 Distributed real-time simulation platform

Also Published As

Publication number Publication date
CN114567627A (en) 2022-05-31

Similar Documents

Publication Publication Date Title
CN111200837B (en) Wi-Fi software testing system and method
CN104461897A (en) Application program test method and device
JP2011155660A (en) Analysis device, method and device for product acceptance testing
CN107769986B (en) Network performance test system, extension system and test method
CN111554219A (en) Display equipment testing method and device, electronic product and storage medium
CN113672441A (en) Method and device for testing intelligent equipment
CN108512682B (en) Method and device for determining false terminal identification
CN111858336A (en) Software automation test method and system
CN114567627B (en) Simulation platform management method, system, equipment and medium
CN114040408A (en) Shooting range system based on 4G mobile network simulation environment
CN112527589A (en) Process monitoring method and process monitoring device
CN110990221A (en) Kernel LKM-based Android platform malicious software automatic detection method and system
CN107864488B (en) Method, device and system for automatically testing base station service
CN116166536A (en) Test method, test device, electronic equipment and storage medium
CN115150300A (en) Management system and method for vehicle safety attack and defense
CN106997291B (en) Control method, master node and slave node
CN114390574A (en) Wireless network throughput testing method, device and computer readable storage medium
CN114338461A (en) Network connection monitoring method and related equipment
CN114071467A (en) Shooting range system based on 4G mobile network simulation environment
CN112433938A (en) Method and device for testing application of mobile terminal
Díaz-Zayas et al. Remote control and instrumentation of Android devices
CN112671814A (en) Cross-platform equipment development method, device and system
WO2023185533A1 (en) Detection processing method, apparatus and system, and storage medium and electronic apparatus
JP3564324B2 (en) Network management device
US20240004782A1 (en) Remote debugging of local gui rendering by playing back a capture file to recreate a real-time local network environment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant