System testing method, device, equipment and medium
By automatically testing the connection relationship between connectors in the target prototype verification system, the problems of low manual detection efficiency and poor accuracy are solved, and efficient and accurate connector testing is achieved.
Patent Information
- Application Number
- CN202411974180.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-30
- Publication Date
- 2025-03-28
AI Technical Summary
In the target prototype verification system, the network interconnection between chips requires hundreds or thousands of interconnect wires, which makes it easy to cause interconnect wire errors when connecting cables, and the manual detection efficiency is low and the accuracy is low.
By obtaining the current connector set of the target prototype verification system, determining the current connector, controlling it to send preset test information to the remaining connectors, recording connection relationship data, updating the connector set, and realizing automated testing.
Improves the efficiency and accuracy of connection relationship testing between multiple connectors in the target prototype verification system, and reduces the time-consuming and error rate of manual detection.
Smart Images

Figure CN119716671A_ABST
Abstract
Description
Technical Field
[0001] Embodiments of the present invention relate to the field of computer technology, and in particular to a system testing method, device, equipment and medium. Background Art
[0002] The target prototype verification system often includes multiple system boards containing at least one chip, and multiple chips are usually networked and interconnected using interconnection signal lines. Since the networking and interconnection between chips in the target prototype verification system often requires hundreds or thousands of interconnection lines, engineers are prone to misconnecting the interconnection lines when connecting cables. Once the interconnection connectors are wired incorrectly, the chip design in the target prototype verification system will operate abnormally. Therefore, it is particularly important to test the connection relationship between connectors in the target prototype verification system.
[0003] In the related art, the test method of the connection relationship between connectors in the target prototype verification system often requires relevant technicians to check each connection line one by one, which is labor-intensive and inefficient. Moreover, manual testing is easily affected by human factors, such as operating errors and visual fatigue, which makes the test accuracy low. Summary of the invention
[0004] The present invention provides a system testing method, device, equipment and medium to realize relatively convenient and rapid intelligent testing of the connection relationship between multiple connectors in a target prototype verification system, thereby improving the testing efficiency and accuracy.
[0005] According to one aspect of the present invention, a system testing method is provided, the method comprising:
[0006] Acquire a current connector set of a target prototype verification system, determine a current connector in the current connector set, and control the current connector to send preset test information to other connectors in the current connector set, wherein the current connector set includes some or all connectors of the target prototype verification system;
[0007] In the case of detecting that the remaining connectors receive the preset test information, recording the connector connection relationship data between the remaining connectors and the current connector, deleting the current connector and the connectors that have a connection relationship with the current connector in the current connector set, so as to update the current connector set of the target prototype verification system;
[0008] When the number of connectors in the current connector set is greater than or equal to 2, returning to the step of determining the current connector in the current connector set;
[0009] When the number of connectors in the current connector set is less than 2, the actual connection relationship data of some or all of the connectors are obtained based on all the recorded connection relationship data of the connectors.
[0010] Optionally, the method includes: when it is detected that the remaining connectors have not received the preset test information, deleting the current connector in the current connector set to update the current connector set of the target prototype verification system.
[0011] Optionally, determining the current connector in the current connector set includes: determining connector data corresponding to the current connector set; wherein the connector data includes multiple connector identifiers and a connector identifier corresponding to each of the connector identifiers; determining the current connector identifier in response to a connector identifier selection operation, and determining the current connector in the current connector set based on the correspondence between the connector identifier and the connector identifier.
[0012] Optionally, the current connector is configured as an information sending mode, and the remaining connectors are configured as an information receiving mode.
[0013] Optionally, after controlling the current connector to send preset test information to other connectors in the current connector set, the method further includes: generating a connector reset instruction, and resetting all connectors in the current connector set based on the connector reset instruction.
[0014] Optionally, the method also includes: obtaining expected connection relationship data of all connectors in the current connector set, and comparing the expected connection relationship data with the actual connection relationship data of all connectors in the current connector set; based on the comparison results, determining whether there are any abnormalities in the connection relationship between all connectors in the current connector set.
[0015] Optionally, the determining whether there is an abnormality in the connection relationship between all connectors in the current connector set based on the comparison result includes: when the actual connection relationship data at least includes the expected connection relationship data, determining that there is no abnormality in the connection relationship between the connectors in the target prototype verification system; when the actual connection relationship data does not include the expected connection relationship data, determining that there is an abnormality in the connection relationship between the connectors in the target prototype verification system. According to another aspect of the present invention, a system testing device is provided. The device includes:
[0016] A test information sending module, used to obtain a current connector set of a target prototype verification system, determine a current connector in the current connector set, and control the current connector to send preset test information to other connectors in the current connector set, wherein the current connector set includes some or all connectors of the target prototype verification system;
[0017] A connection relationship recording module, for recording the connector connection relationship data between the remaining connectors and the current connector, deleting the current connector and the connectors having a connection relationship with the current connector in the current connector set, in the case where it is detected that the remaining connectors have received the preset test information, so as to update the current connector set of the target prototype verification system;
[0018] a current connector updating module, configured to return to the step of determining the current connector in the current connector set when the number of connectors in the current connector set is greater than or equal to 2;
[0019] The connection relationship obtaining module is used to obtain the actual connection relationship data of some or all of the connectors based on all the recorded connection relationship data of the connectors when the number of connectors in the current connector set is less than 2.
[0020] According to another aspect of the present invention, an electronic device is provided, the electronic device comprising:
[0021] at least one processor; and
[0022] a memory communicatively connected to the at least one processor; wherein,
[0023] The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the system testing method described in any embodiment of the present invention.
[0024] According to another aspect of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the system testing method described in any embodiment of the present invention when executed.
[0025] The technical solution of the embodiment of the present invention is to obtain the current connector set of the target prototype verification system, determine the current connector in the current connector set, and control the current connector to send preset test information to the remaining connectors in the current connector set, wherein the current connector set includes some or all connectors of the target prototype verification system. In the case of detecting that the remaining connectors have received the preset test information, the connector connection relationship data between the remaining connectors and the current connector is recorded, and the current connector in the current connector set and the connectors that have a connection relationship with the current connector are deleted to update the current connector set of the target prototype verification system. In the case that the number of connectors in the current connector set is greater than or equal to 2, the step of determining the current connector in the current connector set is returned; in the case that the number of connectors in the current connector set is less than 2, the actual connection relationship data of some or all connectors is obtained based on all the recorded connector connection relationship data. The technical solution of the embodiment of the present invention solves the technical problem of time-consuming, labor-intensive and low-accuracy in the related art of manually detecting the wiring between connectors in the target prototype verification system, and realizes a relatively convenient and rapid intelligent test of the connection relationship between multiple connectors in the target prototype verification system, thereby improving the test efficiency and accuracy.
[0026] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0028] Figure 1 A schematic diagram of a flow chart of a system testing method provided by an embodiment of the present invention;
[0029] Figure 2 A schematic diagram of a flow chart of a system testing method provided by an embodiment of the present invention;
[0030] Figure 3 A schematic diagram of the structure of a system testing device provided by an embodiment of the present invention;
[0031] Figure 4 A schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0032] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.
[0033] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0034] It is understandable that the data involved in this technical solution (including but not limited to the data itself, the acquisition or use of the data) shall comply with the requirements of relevant laws, regulations and relevant provisions.
[0035] Figure 1 The present invention provides a flow chart of a system testing method. This embodiment is applicable to the case of testing the wiring between multiple connectors in a prototype system. The method can be executed by a system testing device. The system testing device can be implemented in the form of hardware and / or software. The system testing device can be configured in an electronic device such as a computer or a server. Figure 1 As shown, the method of this embodiment includes:
[0036] S110. Obtain a current connector set of a target prototype verification system, determine a current connector in the current connector set, and control the current connector to send preset test information to other connectors in the current connector set, wherein the current connector set includes some or all connectors of the target prototype verification system.
[0037] Among them, the target prototype verification system can be understood as a prototype verification system that needs to be tested for wiring between connectors. In an embodiment of the present invention, the target prototype verification system may include multiple system boards (Boards), and each Board may be controlled by a separate CPU, each Board may include at least one chip, and each chip has at least one connector. In an embodiment of the present invention, when the chips in the target prototype verification system are networked and interconnected, the networked and interconnected signal lines can be used through the connectors on the chip. Optionally, the connectors included in the target prototype verification system may include connectors on a programmable logic gate array (Field Programmable Gate Array, FPGA) chip. Then, the actual connection relationship of the connectors in the current connector set of the target prototype verification system can be obtained to perform a networking test on the chips on multiple system boards in the target prototype verification system. The current connector set may include some or all connectors in the target prototype verification system that need to be tested for connection relationship. In practical applications, the number of connectors in the current connector set is usually multiple. The current connector can be understood as a connector in the current connector set that needs to send preset test information to the remaining connectors in the current connector set.
[0038] In an embodiment of the present invention, there are multiple ways to determine the current connector in the current connector set. For example, a connector can be randomly selected from the connectors in the current connector set as the current connector. Alternatively, the current connector in the current connector set is determined based on a preset selection order of the connectors in the current connector set. The preset test information can be understood as pre-set test information for testing the connection relationship between connectors in the target prototype verification system. In an embodiment of the present invention, the preset test information can be set according to actual needs, which is not specifically limited here. In the case where the connector included in the target prototype verification system is a connector on a chip, the preset test information can be a preset code stream.
[0039] Specifically, a set of connectors including the connectors whose connection relationships need to be tested in the target prototype verification system can be used as the current connector set of the target prototype verification system. It can be understood that the current connector set can include all connectors and some connectors in the target prototype verification system. After obtaining the current connector set of the target prototype verification system, a connector can be selected from the current connector set as the current connector in the current connector set. Afterwards, the current connector can be controlled to send preset test information to the remaining connectors in the current connector set.
[0040] In an embodiment of the present invention, the controlling the current connector to send preset test information to other connectors in the current connector set includes: first determining a preset test connector corresponding to the current connector. Then, the current connector can be controlled to send the preset test information corresponding to the current connector to other connectors in the current connector set. In an embodiment of the present invention, the preset test information corresponding to different current connectors may be the same or different.
[0041] In an embodiment of the present invention, the determining of the current connector in the current connector set includes: determining connector data corresponding to the current connector set. The connector data may include multiple connector identifiers and a connector identifier corresponding to each of the connector identifiers. The current connector identifier is determined in response to a connector identifier selection operation, and the current connector in the current connector set is determined based on the correspondence between the connector identifier and the connector identifier. In an embodiment of the present invention, the connector data may also include information such as the location of the connector, the chip index to which it belongs, the number of pins input and / or output of the connector, the code stream sent, the code stream received, etc. It can be understood that in an embodiment of the present invention, the storage form of the connector data may be a data table. That is, a data table may be used to store multiple connector identifiers and a connector identifier corresponding to each of the connector identifiers. Such storage can improve query efficiency, so as to quickly determine the corresponding connector based on the connector identifier. In an embodiment of the present invention, the connector identifier selection operation may be understood as an operation for selecting a connector identifier, so as to determine the current connector in the current connector set based on the selected connector identifier.
[0042] In an embodiment of the present invention, determining the current connector identifier in response to a connector identifier selection operation, and determining the current connector in the current connector set based on the correspondence between the connector identifier and the connector identifier, may include: displaying a target interface, wherein the target interface includes multiple connector identifiers. Upon receiving a selection operation for a connector identifier, a selected connector identifier may be determined. Further, a connector identifier that matches the selected connector identifier among multiple connector identifiers in the connector data may be determined. Further, based on the correspondence between the connector identifier and the connector identifier, a connector identifier corresponding to the selected connector identifier may be determined. Thus, the connector with the connector identifier corresponding to the selected connector identifier may be used as the current connector in the current connector set.
[0043] In an embodiment of the present invention, the current connector may be configured in an information sending mode, and the remaining connectors may be configured in an information receiving mode. In an embodiment of the present invention, the current connector is configured in an information sending mode, and the current connector may be used as a sender of information. The remaining connectors are configured in an information receiving mode, and the second connector may be used as a receiver of information. The number of the remaining connectors may be one, two, or more than two.
[0044] In the embodiment of the present invention, before controlling the current connector to send preset test information to the remaining connectors in the current connector set, the method may further include: downloading the same connector design file for all connectors in the current connector set.
[0045] On the basis of the above embodiment, after controlling the current connector to send preset test information to the remaining connectors in the current connector set, the method further includes: generating a connector reset instruction, and resetting all connectors in the current connector set based on the connector reset instruction. The connector reset instruction can be understood as an instruction for resetting the connector on the chip. In an embodiment of the present invention, the connector reset instruction can include a connector identifier. The connector identifier can be used to distinguish different connectors.
[0046] As an optional implementation in the embodiment of the present invention, when the connector reset instruction may include a connector identifier, the connector corresponding to the connector identifier in the connector reset instruction may be reset based on the connector reset instruction. As another optional implementation in the embodiment of the present invention, when the connector identifier is not included in the connector reset instruction, the connector to be reset may be determined first. Afterwards, the connector to be reset may be reset based on the connector reset instruction, so as to facilitate the subsequent testing of the connection relationship between connectors in the target prototype verification system.
[0047] S120. When it is detected that the remaining connectors have received the preset test information, record the connector connection relationship data between the remaining connectors and the current connector, delete the current connector in the current connector set and the connectors that have a connection relationship with the current connector, so as to update the current connector set of the target prototype verification system.
[0048] Among them, the connector connection relationship data may include connector identifiers of two connectors having a connection relationship, or may include connector identifiers of two connectors corresponding to the two connectors having a connection relationship. In short, the current connector is connector A, and the remaining connectors include connector B and connector C. The connector connection relationship data may include connector A and connector B, and connector A and connector C. In an embodiment of the present invention, when the number of the remaining connectors is multiple, the connector connection relationship data between the remaining connectors and the current connector is recorded. Specifically, data may be used to record the connector connection relationship data between the remaining connectors and the current connector. A record in a data table, that is, a row of data in a data table may include the connector identifier of the current connector and the connector identifier of one of the remaining connectors.
[0049] Specifically, when it is detected that the remaining connectors have received the preset test information and there are multiple remaining connectors, the connector connection relationship data between each remaining connector and the current connector can be generated for the connector identifier of each remaining connector and the connector identifier of the current connector. Afterwards, the current connector and the connectors that have a connection relationship with the current connector in the current connector set can be deleted to update the current connector set of the target prototype verification system.
[0050] S130: When the number of connectors in the current connector set is greater than or equal to 2, return to the step of determining the current connector in the current connector set.
[0051] Specifically, when the number of connectors in the current connector set is greater than or equal to 2, the process may return to the step of determining the current connector in the current connector set and controlling the current connector to send preset test information to other connectors in the current connector set.
[0052] S140: When the number of connectors in the current connector set is less than 2, obtain actual connection relationship data of some or all connectors based on all recorded connection relationship data of the connectors.
[0053] The actual connection relationship data may be connection relationship data of some or all of the connectors obtained based on all the recorded connector connection relationship data. Optionally, the actual connection relationship data may be understood as data including all the recorded connector connection relationships. The actual connection relationship data may be stored in the form of a data table to store all the recorded connector connection relationship data.
[0054] Specifically, when the number of connectors in the current connector set is less than 2, the actual connection relationship data of some or all of the connectors may be obtained based on all the recorded connection relationship data of the connectors.
[0055] Based on the above embodiment, the method may further include: when it is detected that the remaining connectors have not received the preset test information, the current connector in the current connector set may be deleted to update the current connector set of the target prototype verification system.
[0056] The technical solution of the embodiment of the present invention is to obtain the current connector set of the target prototype verification system, determine the current connector in the current connector set, and control the current connector to send preset test information to the remaining connectors in the current connector set, wherein the current connector set includes some or all connectors of the target prototype verification system. In the case of detecting that the remaining connectors have received the preset test information, the connector connection relationship data between the remaining connectors and the current connector is recorded, and the current connector in the current connector set and the connectors that have a connection relationship with the current connector are deleted to update the current connector set of the target prototype verification system. In the case that the number of connectors in the current connector set is greater than or equal to 2, the step of determining the current connector in the current connector set is returned; in the case that the number of connectors in the current connector set is less than 2, the actual connection relationship data of some or all connectors is obtained based on all the recorded connector connection relationship data. The technical solution of the embodiment of the present invention solves the technical problem of time-consuming, labor-intensive and low-accuracy in the related art of manually detecting the wiring between connectors in the target prototype verification system, and realizes a relatively convenient and rapid intelligent test of the connection relationship between multiple connectors in the target prototype verification system, thereby improving the test efficiency and accuracy.
[0057] Figure 2 A flowchart of a system testing method provided for an embodiment of the present invention. Based on the aforementioned embodiment, optionally, the system testing method implemented by the present invention further includes: obtaining expected connection relationship data of all connectors in the current connector set, and comparing the expected connection relationship data with the actual connection relationship of all connectors in the current connector set; based on the comparison result, determining whether there is an abnormality in the connection relationship between all connectors in the current connector set. Among them, the technical features that are the same or similar to the aforementioned embodiments are not repeated here. Figure 2 As shown, the method of this embodiment specifically includes:
[0058] S210. Obtain a current connector set of a target prototype verification system, determine a current connector in the current connector set, and control the current connector to send preset test information to other connectors in the current connector set, wherein the current connector set includes some or all connectors of the target prototype verification system.
[0059] S220. When it is detected that the remaining connectors have received the preset test information, record the connector connection relationship data between the remaining connectors and the current connector, delete the current connector in the current connector set and the connectors that have a connection relationship with the current connector, so as to update the current connector set of the target prototype verification system.
[0060] S230: When the number of connectors in the current connector set is greater than or equal to 2, return to the step of determining the current connector in the current connector set.
[0061] S240: When the number of connectors in the current connector set is less than 2, obtain actual connection relationship data of some or all connectors based on all recorded connection relationship data of the connectors.
[0062] S250: Obtain expected connection relationship data of all connectors in the current connector set, and compare the expected connection relationship data with actual connection relationships of all connectors in the current connector set.
[0063] The expected connection relationship data may be understood as the expected connection relationship between all connectors in the current connector set. The expected connection relationship data may be connection relationship data pre-set for all connectors in the current connector set.
[0064] Specifically, the expected connection relationship data of all connectors in the current connector set is obtained. Thus, the expected connection relationship data and the actual connection relationship data of all connectors in the current connector set can be compared for consistency. In an embodiment of the present invention, the expected connection relationship data may include one or more expected connection relationship data. The actual connection relationship data may include one or more connector connection relationships.
[0065] Optionally, the expected connection relationship data is compared with the actual connection relationship data of all connectors in the current connector set, including: for each expected connection relationship data in the expected connection relationship data, it can be determined whether there is connection relationship data consistent with the expected connection relationship data in the actual connection relationship data of all connectors in the current connector set.
[0066] S260: Based on the comparison result, determine whether there is any abnormality in the connection relationship between all connectors in the current connector set.
[0067] In an embodiment of the present invention, the determination of whether there is any abnormality in the connection relationship between all connectors in the current connector set based on the comparison result includes: when the actual connection relationship data at least includes the expected connection relationship data, it can be determined that there is no abnormality in the connection relationship between the connectors in the target prototype verification system; when the actual connection relationship data does not include the expected connection relationship data, it can be determined that there is an abnormality in the connection relationship between the connectors in the target prototype verification system.
[0068] On the basis of the above-mentioned embodiment, the embodiment of the present invention may further include: displaying the identifier of the connector having abnormal connection relationship of the connector, so as to correct the abnormal connection connector in time.
[0069] The technical solution of the embodiment of the present invention obtains the expected connection relationship data of all connectors in the current connector set, and compares the expected connection relationship data with the actual connection relationship of all connectors in the current connector set; based on the comparison result, it is determined whether there is an abnormality in the connection relationship between all connectors in the current connector set, thereby realizing verification of the actual connector connection relationship based on the expected connector connection relationship, so as to ensure the accuracy of the connection between connectors in the target prototype verification system.
[0070] Figure 3 The structure diagram of a system testing device provided by an embodiment of the present invention is shown in FIG. Figure 3 As shown, the device includes: a test information sending module 310, a connection relationship recording module 320, a current connector updating module 330 and a connection relationship obtaining module 340.
[0071] Among them, the test information sending module 310 is used to obtain the current connector set of the target prototype verification system, determine the current connector in the current connector set, and control the current connector to send preset test information to the remaining connectors in the current connector set, wherein the current connector set includes some or all connectors of the target prototype verification system; the connection relationship recording module 320 is used to record the connector connection relationship data between the remaining connectors and the current connector when it is detected that the remaining connectors have received the preset test information, delete the current connector in the current connector set and the connector that has a connection relationship with the current connector to update the current connector set of the target prototype verification system; the current connector updating module 330 is used to return to the step of determining the current connector in the current connector set when the number of connectors in the current connector set is greater than or equal to 2; the connection relationship obtaining module 340 is used to obtain the actual connection relationship data of some or all connectors based on all the recorded connector connection relationship data when the number of connectors in the current connector set is less than 2.
[0072] The technical solution of the embodiment of the present invention is to obtain the current connector set of the target prototype verification system through a test information sending module, determine the current connector in the current connector set, and control the current connector to send preset test information to the remaining connectors in the current connector set, wherein the current connector set includes some or all connectors of the target prototype verification system; when the connection relationship recording module detects that the remaining connectors have received the preset test information, the connector connection relationship data between the remaining connectors and the current connector is recorded, and the current connector and the connector that has a connection relationship with the current connector in the current connector set are deleted to update the current connector set of the target prototype verification system; when the number of connectors in the current connector set is greater than or equal to 2, the current connector updating module returns to the step of determining the current connector in the current connector set; when the number of connectors in the current connector set is less than 2, the actual connection relationship data of the part or all connectors is obtained based on all the recorded connector connection relationship data by the connection relationship obtaining module. The technical solution of the embodiment of the present invention solves the technical problem of time-consuming, labor-intensive and low-accuracy manual detection of wiring between connectors in the target prototype verification system in the related art, and realizes relatively convenient and rapid intelligent testing of the connection relationship between multiple connectors in the target prototype verification system, thereby improving the test efficiency and accuracy.
[0073] Optionally, the device further comprises a set updating module, wherein the set updating module is used to delete the current connector in the current connector set when it is detected that the remaining connectors have not received the preset test information, so as to update the current connector set of the target prototype verification system.
[0074] Optionally, the test information sending module 310 is used to determine the connector data corresponding to the current connector set; wherein the connector data includes multiple connector identifiers and a connector identifier corresponding to each of the connector identifiers; the current connector identifier is determined in response to a connector identifier selection operation, and the current connector in the current connector set is determined based on the correspondence between the connector identifier and the connector identifier.
[0075] Optionally, the current connector is configured as an information sending mode, and the remaining connectors are configured as an information receiving mode.
[0076] Optionally, the connector reset module is used to generate a connector reset instruction after controlling the current connector to send preset test information to other connectors in the current connector set, and reset all connectors in the current connector set based on the connector reset instruction.
[0077] Optionally, the device further includes a connection relationship verification module, wherein the connection relationship verification module is used to obtain expected connection relationship data of all connectors in the current connector set, compare the expected connection relationship data with actual connection relationship data of all connectors in the current connector set, and determine whether there is an abnormality in the connection relationship between all connectors in the current connector set based on the comparison result.
[0078] Optionally, the connection relationship verification module is used to determine that there is no abnormality in the connection relationship between the connectors in the target prototype verification system when the actual connection relationship data at least includes the expected connection relationship data; and to determine that there is an abnormality in the connection relationship between the connectors in the target prototype verification system when the actual connection relationship data does not include the expected connection relationship data.
[0079] The system testing device provided in the embodiment of the present invention can execute the system testing method provided in any embodiment of the present invention, and has the functional modules and beneficial effects corresponding to the execution method.
[0080] It is worth noting that the various units and modules included in the above-mentioned system testing device are only divided according to functional logic, but are not limited to the above-mentioned division, as long as the corresponding functions can be achieved; in addition, the specific names of the functional units are only for the convenience of distinguishing each other, and are not used to limit the protection scope of the embodiments of the present invention.
[0081] Figure 4 A schematic diagram of the structure of an electronic device 10 that can be used to implement an embodiment of the present invention is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or required herein.
[0082] like Figure 4 As shown, the electronic device 10 includes at least one processor 11, and a memory connected to the at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 to the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other through a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.
[0083] A number of components in the electronic device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0084] The processor 11 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 11 executes the various methods and processes described above, such as a system testing method.
[0085] In some embodiments, the system test method may be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 18. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the system test method described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured to execute the system test method in any other appropriate manner (e.g., by means of firmware).
[0086] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations may include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0087] Computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.
[0088] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in combination with an instruction execution system, device or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0089] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).
[0090] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.
[0091] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.
[0092] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.
[0093] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. A system testing method, characterized in that: The method comprises: Acquire a current connector set of a target prototype verification system, determine a current connector in the current connector set, and control the current connector to send preset test information to other connectors in the current connector set, wherein the current connector set includes some or all connectors of the target prototype verification system; In the case of detecting that the remaining connectors receive the preset test information, recording the connector connection relationship data between the remaining connectors and the current connector, deleting the current connector and the connectors that have a connection relationship with the current connector in the current connector set, so as to update the current connector set of the target prototype verification system; When the number of connectors in the current connector set is greater than or equal to 2, returning to the step of determining the current connector in the current connector set; When the number of connectors in the current connector set is less than 2, the actual connection relationship data of some or all of the connectors are obtained based on all the recorded connection relationship data of the connectors.
2. The method according to claim 1, characterized in that The method comprises: In the case where it is detected that none of the remaining connectors receive the preset test information, the current connector in the current connector set is deleted to update the current connector set of the target prototype verification system.
3. The method according to claim 1, characterized in that The determining of the current connector in the current connector set includes: Determine connector data corresponding to the current connector set; wherein the connector data includes a plurality of connector identifiers and a connector identifier corresponding to each of the connector identifiers; In response to the connector identification selection operation, a current connector identification is determined, and based on the connector identification and the corresponding relationship between the connector identifications, a current connector in the current connector set is determined.
4. The method according to claim 1, characterized in that The current connector is configured in an information sending mode, and the remaining connectors are configured in an information receiving mode.
5. The method according to claim 4, characterized in that After controlling the current connector to send preset test information to other connectors in the current connector set, the method further includes: A connector reset instruction is generated, and reset processing is performed on all connectors in the current connector set based on the connector reset instruction.
6. The method according to claim 1, characterized in that The method further comprises: Acquire expected connection relationship data of all connectors in the current connector set, and compare the expected connection relationship data with actual connection relationship data of all connectors in the current connector set; Based on the comparison result, it is determined whether there is any abnormality in the connection relationship between all the connectors in the current connector set.
7. The method according to claim 6, characterized in that The determining, based on the comparison result, whether there is an abnormality in the connection relationship between all the connectors in the current connector set includes: In a case where the actual connection relationship data at least includes the expected connection relationship data, determining that there is no abnormality in the connection relationship between the connectors in the target prototype verification system; In a case where the actual connection relationship data does not include the expected connection relationship data, it is determined that an abnormality exists in the connection relationship between the connectors in the target prototype verification system.
8. A system testing device, characterized in that: include: A test information sending module, used to obtain a current connector set of a target prototype verification system, determine a current connector in the current connector set, and control the current connector to send preset test information to other connectors in the current connector set, wherein the current connector set includes some or all connectors of the target prototype verification system; A connection relationship recording module, for recording the connector connection relationship data between the remaining connectors and the current connector, deleting the current connector and the connectors having a connection relationship with the current connector in the current connector set, in the case where it is detected that the remaining connectors have received the preset test information, so as to update the current connector set of the target prototype verification system; a current connector updating module, configured to return to the step of determining the current connector in the current connector set when the number of connectors in the current connector set is greater than or equal to 2; The connection relationship obtaining module is used to obtain the actual connection relationship data of some or all of the connectors based on all the recorded connection relationship data of the connectors when the number of connectors in the current connector set is less than 2.
9. An electronic device, characterized in that: The electronic device comprises: at least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can perform the system testing method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the system testing method according to any one of claims 1 to 7 when executed.