Switch test method and device, storage medium and electronic equipment

Through automated testing methods and devices, the switch testing process is simplified, the testing efficiency and accuracy are improved, the problems of cumbersome operations in the existing technology are solved, and efficient automated testing of the switch is realized.

CN118612128APending Publication Date: 2024-09-06北京傲星科技有限公司
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202410707412.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-03
Publication Date
2024-09-06

AI Technical Summary

Technical Problem

Existing switch testing methods are cumbersome and have low testing efficiency. They require testers to spend a lot of time configuring commands, which affects testing efficiency.

Method used

A switch testing method and device are provided. By displaying a test project interface, the user selects a target test control, generates test instructions and sends them to the test component for execution, obtains test results and generates test reports, thereby realizing automated testing.

Benefits of technology

It simplifies the testing process, improves testing efficiency, reduces errors and costs caused by human factors, enhances testing accuracy and reliability, and supports complex testing scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118612128A
    Figure CN118612128A
Patent Text Reader

Abstract

The invention provides a switch test method and device, a storage medium and electronic equipment, and the method comprises the steps: responding to a first operation of a user, and displaying a test item interface; the test item interface comprises a plurality of preset test controls, and configuration information of a corresponding test item is packaged in each test control; under the condition that a control selection operation of a user is received, determining a target test control selected by the user in each test control of the test item interface; generating a test instruction according to the configuration information packaged by the target test control; the test instruction is sent to a preset test component, so that the test component executes a test operation of a test item corresponding to the target test control on the to-be-tested switch, and test result information is obtained; and according to the test result information, generating a test report of the test item corresponding to the target test control. By applying the method provided by the embodiment of the invention, the test efficiency of the switch can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of equipment testing, and in particular to a switch testing method, device, storage medium and electronic equipment. Background Art

[0002] As a key device in network communication, the performance stability and functional perfection of the switch are crucial to the operation of the entire network system, so the switch needs to be tested.

[0003] At present, when testing, test engineers need to manually build the switch test environment first; then, they log in to the switch system through the serial port or telnet, and enter the corresponding commands in the system for configuration according to different test items. Since switches are rich in functions and involve a wide variety of test commands, this testing method is not only cumbersome in operation steps, but also requires testers to spend a lot of time on command configuration, which seriously affects the test efficiency. Summary of the invention

[0004] The technical problem to be solved by the present invention is to provide a switch testing method, device, storage medium and electronic device, which can improve the test efficiency of the switch. The specific scheme is as follows:

[0005] A switch testing method, comprising:

[0006] In response to a first operation of the user, a test item interface is displayed; the test item interface includes a plurality of preset test controls, each of which encapsulates configuration information of a corresponding test item;

[0007] In the case of receiving a control selection operation of the user, determining a target test control selected by the user from among the test controls in the test item interface;

[0008] Generate a test instruction according to the configuration information encapsulated by the target test control;

[0009] Sending the test instruction to a preset test component, so that the test component performs a test operation of the test item corresponding to the target test control on the switch to be tested, and obtains test result information;

[0010] A test report for the test item corresponding to the target test control is generated based on the test result information.

[0011] In the above method, optionally, the step of determining the target test control selected by the user from among the test controls in the test item interface includes:

[0012] Obtaining operation information included in the control selection operation;

[0013] According to the control identifier included in the operation information, a target test control selected by the user from among the test controls in the test item interface is determined.

[0014] The above method, optionally, generating a test report of the test item corresponding to the target test control according to the test result information includes:

[0015] Determining a data structure of the test result information;

[0016] According to the data structure of the test result information, the test result information is filled into a preset test report template to obtain a test report of the test item corresponding to the target test control.

[0017] The above method may optionally generate a test instruction according to the configuration information encapsulated by the target test control, including:

[0018] Obtaining configuration information encapsulated by the target test control, wherein the configuration information includes a test process definition of a test item corresponding to the target test control;

[0019] A test instruction is generated according to the configuration information encapsulated by the target test control and a predetermined instruction format.

[0020] The above method, optionally, after generating a test report of the test item corresponding to the target test control according to the test result information, further comprises:

[0021] The test report is output.

[0022] A switch testing device, comprising:

[0023] A display unit, configured to display a test item interface in response to a first operation of a user; the test item interface includes a plurality of preset test controls, each of which encapsulates configuration information of a corresponding test item;

[0024] A determination unit, configured to determine, upon receiving a control selection operation from a user, a target test control selected by the user from among the test controls in the test item interface;

[0025] A first generating unit, configured to generate a test instruction according to the configuration information encapsulated by the target test control;

[0026] A sending unit, configured to send the test instruction to a preset test component, so that the test component performs a test operation of the test item corresponding to the target test control on the switch to be tested, and obtains test result information;

[0027] The second generating unit is used to generate a test report of the test item corresponding to the target test control according to the test result information.

[0028] In the above device, optionally, the determining unit includes:

[0029] An acquisition subunit, used to acquire operation information included in the control selection operation;

[0030] The first determining subunit is used to determine a target test control selected by the user from among the test controls in the test item interface according to a control identifier included in the operation information.

[0031] In the above device, optionally, the second generating unit includes:

[0032] A second determining subunit, used to determine the data structure of the test result information;

[0033] The execution subunit is used to fill the test result information into a preset test report template according to the data structure of the test result information, and obtain a test report of the test item corresponding to the target test control.

[0034] A storage medium includes storage instructions, wherein when the instructions are executed, the device where the storage medium is located is controlled to execute the switch testing method as described above.

[0035] An electronic device includes a memory and one or more instructions, wherein the one or more instructions are stored in the memory and are configured to be executed by one or more processors to perform the switch testing method as described above.

[0036] Based on the above-mentioned implementation of the present invention, a switch testing method, device, storage medium and electronic device are provided, the method comprising: in response to a first operation of a user, displaying a test item interface; the test item interface comprises a plurality of preset test controls, each of which encapsulates configuration information of a corresponding test item; upon receiving a control selection operation of a user, determining a target test control selected by the user in each of the test controls in the test item interface; generating a test instruction according to the configuration information encapsulated by the target test control; sending the test instruction to a preset test component, so that the test component performs a test operation of the test item corresponding to the target test control on the switch to be tested, and obtains test result information; generating a test report of the test item corresponding to the target test control according to the test result information. Through the method provided by the embodiment of the present invention, a user can select a test item to be tested, and then generate a corresponding test instruction to realize automatic testing of the switch, which can effectively improve the test efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0038] Figure 1 A method flow chart of a switch testing method provided by the present invention;

[0039] Figure 2 A flowchart of a process for determining a target test control selected by a user provided by the present invention;

[0040] Figure 3 A flowchart of a process for generating a test report of a test item corresponding to a target test control provided by the present invention;

[0041] Figure 4 A schematic diagram of the structure of a switch testing system provided by the present invention;

[0042] Figure 5 A schematic diagram of a test flow provided by the present invention;

[0043] Figure 6 A schematic diagram of the structure of a switch testing device provided by the present invention;

[0044] Figure 7 The present invention provides a schematic structural diagram of an electronic device. DETAILED DESCRIPTION

[0045] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions 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 are within the scope of protection of the present invention.

[0046] In this application, the terms "comprises", "comprising" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprising a ..." does not exclude the presence of other identical elements in the process, method, article or device comprising the element.

[0047] The embodiment of the present invention provides a switch testing method, which can be applied to electronic devices, such as personal computers, platforms, mobile phones, servers, or various smart wearable devices. The method flow chart of the method is as follows: Figure 1 As shown, specifically including:

[0048] S101: In response to a first operation of a user, a test item interface is displayed; the test item interface includes a plurality of preset test controls, each of which encapsulates configuration information of a corresponding test item.

[0049] In this embodiment, the first operation may be a click operation of a software icon by a user, or an access operation of a test item interface, etc.; wherein the first operation may be used to instruct to display the test item interface.

[0050] Optionally, when the first operation is a click operation of the user on the software icon, the test software can be started to display the test item interface.

[0051] Optionally, when the first operation is an access operation, the permission information in the access operation may be verified, and when the permission information is verified to be passed, the test item interface is displayed; the permission information may include one or more of user identity information, password information, etc.

[0052] In this embodiment, the test items may be various test items of the switch, for example, may be one or more of a function test item, a performance test item, a protocol test item, a security test item, and the like.

[0053] Optionally, functional testing items may include port function testing, link aggregation testing, port mirroring testing, communication testing and the like; performance testing items may include rate testing, throughput testing, delay testing and the like; security testing items may include port security testing, VLAN security testing, MAC address security testing and the like.

[0054] In this embodiment, each test control in the test item interface corresponds to a different test item, and each test control may correspond to each test item one by one.

[0055] S102: upon receiving a control selection operation from a user, determining a target test control selected by the user from among the test controls in the test item interface.

[0056] Optionally, the control selection operation may be one or more of a click operation, a selection operation, a sliding operation, etc. on the control.

[0057] In this embodiment, the user can perform a control selection operation in the test item interface according to the test requirements to select the corresponding target test control; for example, when it is necessary to test the switch port function, the test control corresponding to the port function test item can be clicked, so that the electronic device responds to the user's click operation and determines the test control corresponding to the port function test item as the target test control.

[0058] Optionally, the number of target test controls selected by the user may be one or more.

[0059] S103: Generate a test instruction according to the configuration information encapsulated by the target test control.

[0060] Optionally, the test instruction is used to instruct to execute a test operation of a test item corresponding to a target test control on the switch.

[0061] S104: Send the test instruction to a preset test component, so that the test component performs a test operation of the test item corresponding to the target test control on the switch to be tested, and obtains test result information.

[0062] In this embodiment, the test component can be an FPGA test board, and the test component can communicate with the electronic device and the switch. Specifically, it can receive the test instruction sent by the electronic device, and control the switch to perform the corresponding test operation according to the configuration information in the test instruction. Specifically, it can obtain the interface identifier and interface parameters in the configuration information, and call the corresponding interface in the switch according to the interface identifier and interface parameters, so as to control the switch to perform the corresponding test operation.

[0063] The switch in this embodiment may be any type of switch, for example, a reinforced switch.

[0064] S105: Generate a test report for the test item corresponding to the target test control according to the test result information.

[0065] In this embodiment, the test component can receive the test result information fed back by the switch, and then transmit the test result information to the electronic device, and the electronic device generates a test report of the test item corresponding to the target test control according to the received test result information.

[0066] Optionally, when there are multiple target test controls, the test report may include test result information of test items corresponding to the multiple target test controls.

[0067] The method provided by the embodiment of the present invention has the following advantages: 1. The test process can be simplified: the present invention reduces the tedious steps of manually setting up the test environment, logging into the switch system, and inputting the test command by the test engineer by introducing the automated test technology. The test process is more intuitive and convenient, which greatly improves the test efficiency. 2. The test efficiency can be improved: due to the introduction of automated testing, the test engineer can handle multiple test items at the same time, reducing the test delay and error caused by human factors. At the same time, the automated test can also achieve continuous operation, reducing the waiting time during the test process, and further improving the test efficiency. 3. Reduce the test cost: by reducing the repetitive work and human errors of the test engineer, the present invention reduces the human resource cost during the test process. At the same time, due to the improvement of the test efficiency, the time and resource consumption required for the test are also reduced, thereby reducing the overall test cost. 4. Enhance the test accuracy: the test component can accurately execute the test command, avoiding the error caused by human factors. In addition, the present invention can also automatically analyze and process the test results, improving the accuracy and reliability of the test. 5. Support complex test scenarios: the present invention has good scalability and flexibility, and can support a variety of test scenarios and test requirements. Whether it is functional testing, performance testing or protocol testing, it can be achieved through simple configuration and adjustment.

[0068] In an embodiment provided by the present invention, based on the above solution, optionally, the process of determining the target test control selected by the user from among the test controls in the test item interface is as follows: Figure 2 As shown, including:

[0069] S201: Acquire operation information included in the control selection operation.

[0070] In this embodiment, the operation information may include a control identifier of a test control selected by a user, and the number of the control identifiers may be one or more.

[0071] S202: Determine, according to the control identifier included in the operation information, a target test control selected by the user from among the test controls in the test item interface.

[0072] In this embodiment, a control corresponding to a control identifier may be determined from among various test controls in the test item interface, and the control corresponding to the test identifier may be determined as a target test control selected by the user.

[0073] In an embodiment provided by the present invention, based on the above scheme, optionally, the process of generating a test report of the test item corresponding to the target test control according to the test result information is as follows: Figure 3 As shown, including:

[0074] S301: Determine the data structure of the test result information.

[0075] In this embodiment, the data structure may include various fields, various data types, description information, etc. For example, it may include test values ​​and description information of data types corresponding to fields such as switch model, data packet transmission status, port configuration status, etc.

[0076] S302: According to the data structure of the test result information, fill the test result information into a preset test report template to obtain a test report of the test item corresponding to the target test control.

[0077] In this embodiment, the information in the test result information can be filled into the corresponding position in the test report model to obtain a test report.

[0078] In an embodiment provided by the present invention, based on the above solution, optionally, generating a test instruction according to the configuration information encapsulated by the target test control includes:

[0079] Obtaining configuration information encapsulated by the target test control, wherein the configuration information includes a test process definition of a test item corresponding to the target test control;

[0080] A test instruction is generated according to the configuration information encapsulated by the target test control and a predetermined instruction format.

[0081] In this embodiment, the test process definition may include the order of the interfaces of the switch that need to be called, the order of the interface parameters passed in when calling each interface, and the like.

[0082] In an embodiment provided by the present invention, based on the above solution, optionally, after generating a test report of the test item corresponding to the target test control according to the test result information, the method includes:

[0083] The test report is output.

[0084] In this embodiment, the test report may be output and displayed on a preset display interface, or the test report may be sent to a preset terminal.

[0085] In some embodiments, if the test result information indicates that the switch is abnormal, alarm information corresponding to the test result may be output.

[0086] The embodiment of the present invention also provides a switch testing system, such as Figure 4As shown, it includes an electronic device, an FPGA test card and a switch to be tested, wherein the electronic device can be a personal computer PC, a test software (host computer) is running on the computer, the computer is connected to the FPGA test card via USB3.0, and the FPGA test card is connected to the switch via multiple optical ports and electrical ports.

[0087] like Figure 5 As shown, it is a test flow diagram provided by an embodiment of the present invention. The test engineer can open the test software in the computer, and then click to start the test, so that the FPGA test card automatically runs different test operations to obtain the test results fed back by the switch.

[0088] The following example illustrates the specific test process: First, the engineer sets up the test environment and connects the FPGA test card, reinforced switch, computer and other equipment; then logs in through the PC host computer and enters the user password to start the test, and executes the test according to the items to be tested. During the test, the client browser will send the test command to the system server; after receiving the test command, the FPGA test card will communicate with the service program inside the reinforced switch, and the system server will call the corresponding configuration interface of the reinforced switch and carry the corresponding test command data; the reinforced switch receives the test command, executes the relevant program inside the switch system, and returns the result to the system server after the execution is completed; the FPGA test card receives the test data of the reinforced switch and returns it to the PC host computer; the PC host computer receives the data returned by the FPGA test card, generates a test report for this test based on the data structure and the predefined test report template, and presents it to the test engineer in a fixed format, thereby completing the test project.

[0089] In this embodiment, all the test items can be listed on the PC, and through visual operation, it is convenient for the test engineer to select specific items to be tested; at the same time, a mapping of the interface program for the interaction between the test items and the reinforced switch is established in the system, so that the test commands can accurately reach the reinforced switch and be executed; finally, a test report template is predefined, which corresponds to the test items one by one, so as to facilitate the output of the final test report; by establishing a set of reinforced switch command interfaces, the command interface means some predefined programs of the reinforced switch, which can receive the parameters passed in when calling the interface, and then execute the functions or methods inside these programs, so that the reinforced switch can perform related operations, such as configuring an IP address or MAC address for the switch, opening or closing port network communication, and other operations.

[0090] The method provided by the embodiment of the present invention makes the test process of the reinforced switch more convenient and faster. It no longer relies on the test engineer to manually input commands one by one in the switch system to perform the test. It bids farewell to the monotonous and complicated command input test mode. It only needs to select the items to be tested in the automated test system and execute the test commands. At the same time, the test report can also conveniently and intuitively present the test results. It can help test engineers better complete the test work, from the original single-person single-machine test to single-person multi-device test, greatly improving the test efficiency.

[0091] and Figure 1 Corresponding to the method described above, an embodiment of the present invention further provides a switch testing device for testing Figure 1 The specific implementation of the method is shown in the following diagram: Figure 6 As shown, including:

[0092] The display unit 601 is used to display a test item interface in response to a first operation of the user; the test item interface includes a plurality of preset test controls, each of which encapsulates configuration information of a corresponding test item;

[0093] A determination unit 602 is configured to determine a target test control selected by the user from among the test controls in the test item interface when receiving a control selection operation from the user;

[0094] A first generating unit 603 is used to generate a test instruction according to the configuration information encapsulated by the target test control;

[0095] The sending unit 604 is used to send the test instruction to a preset test component, so that the test component performs the test operation of the test item corresponding to the target test control on the switch to be tested, and obtains the test result information;

[0096] The second generating unit 605 is used to generate a test report of the test item corresponding to the target test control according to the test result information.

[0097] In an embodiment provided by the present invention, based on the above solution, optionally, the determining unit 602 includes:

[0098] An acquisition subunit, used to acquire operation information included in the control selection operation;

[0099] The first determining subunit is used to determine a target test control selected by the user from among the test controls in the test item interface according to a control identifier included in the operation information.

[0100] In an embodiment provided by the present invention, based on the above solution, optionally, the second generating unit includes:

[0101] A second determining subunit, used to determine the data structure of the test result information;

[0102] The execution subunit is used to fill the test result information into a preset test report template according to the data structure of the test result information, and obtain a test report of the test item corresponding to the target test control.

[0103] In an embodiment provided by the present invention, based on the above solution, optionally, the first generating unit 603 includes:

[0104] A processing subunit, configured to obtain configuration information encapsulated by the target test control, wherein the configuration information includes a test flow definition of a test item corresponding to the target test control;

[0105] The generating subunit is used to generate a test instruction according to the configuration information encapsulated by the target test control and a predetermined instruction format.

[0106] In an embodiment provided by the present invention, based on the above solution, optionally, the switch testing device further includes:

[0107] An output unit is used to output the test report.

[0108] The specific principles and execution processes of each unit and module in the switch testing device disclosed in the above embodiment of the present invention are the same as those of the switch testing method disclosed in the above embodiment of the present invention. Please refer to the corresponding parts of the switch testing method provided in the above embodiment of the present invention, and no further details will be given here.

[0109] An embodiment of the present invention further provides a storage medium, which includes stored instructions, wherein when the instructions are executed, the device where the storage medium is located is controlled to execute the above switch testing method.

[0110] The embodiment of the present invention further provides an electronic device, the structural diagram of which is shown in FIG. Figure 7 As shown, it specifically includes a memory 701 and one or more instructions 702, wherein the one or more instructions 702 are stored in the memory 701 and are configured to be executed by one or more processors 703 to perform the following operations:

[0111] In response to a first operation of the user, a test item interface is displayed; the test item interface includes a plurality of preset test controls, each of which encapsulates configuration information of a corresponding test item;

[0112] In the case of receiving a control selection operation of the user, determining a target test control selected by the user from among the test controls in the test item interface;

[0113] Generate a test instruction according to the configuration information encapsulated by the target test control;

[0114] Sending the test instruction to a preset test component, so that the test component performs a test operation of the test item corresponding to the target test control on the switch to be tested, and obtains test result information;

[0115] A test report for the test item corresponding to the target test control is generated based on the test result information.

[0116] It should be noted that each embodiment in this specification is described in a progressive manner, and each embodiment focuses on the differences from other embodiments, and the same or similar parts between the embodiments can be referred to each other. For the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0117] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are merely used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations.

[0118] For the convenience of description, the above device is described as being divided into various units according to their functions. Of course, when implementing the present invention, the functions of each unit can be implemented in the same or multiple software and / or hardware.

[0119] It can be known from the description of the above implementation methods that those skilled in the art can clearly understand that the present invention can be implemented by means of software plus a necessary general hardware platform. Based on such an understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which can be stored in a storage medium such as ROM / RAM, a magnetic disk, an optical disk, etc., and includes a number of instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in the various embodiments of the present invention or certain parts of the embodiments.

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

Claims

1. A switch testing method, characterized in that: include: In response to a first operation of the user, a test item interface is displayed; the test item interface includes a plurality of preset test controls, each of which encapsulates configuration information of a corresponding test item; In the case of receiving a control selection operation of the user, determining a target test control selected by the user from among the test controls in the test item interface; Generate a test instruction according to the configuration information encapsulated by the target test control; Sending the test instruction to a preset test component, so that the test component performs a test operation of the test item corresponding to the target test control on the switch to be tested, and obtains test result information; A test report for the test item corresponding to the target test control is generated based on the test result information.

2. The method according to claim 1, characterized in that The determining the target test control selected by the user from among the test controls in the test item interface includes: Obtaining operation information included in the control selection operation; According to the control identifier included in the operation information, a target test control selected by the user from among the test controls in the test item interface is determined.

3. The method according to claim 1, characterized in that The step of generating a test report for the test item corresponding to the target test control according to the test result information includes: Determining a data structure of the test result information; According to the data structure of the test result information, the test result information is filled into a preset test report template to obtain a test report of the test item corresponding to the target test control.

4. The method according to claim 1, characterized in that: Generate a test instruction according to the configuration information encapsulated by the target test control, including: Obtaining configuration information encapsulated by the target test control, wherein the configuration information includes a test process definition of a test item corresponding to the target test control; A test instruction is generated according to the configuration information encapsulated by the target test control and a predetermined instruction format.

5. The method according to claim 1, characterized in that After generating a test report of the test item corresponding to the target test control according to the test result information, the method further includes: The test report is output.

6. A switch testing device, characterized in that: include: A display unit, configured to display a test item interface in response to a first operation of a user; the test item interface includes a plurality of preset test controls, each of which encapsulates configuration information of a corresponding test item; A determination unit, configured to determine, upon receiving a control selection operation from a user, a target test control selected by the user from among the test controls in the test item interface; A first generating unit, configured to generate a test instruction according to the configuration information encapsulated by the target test control; A sending unit, configured to send the test instruction to a preset test component, so that the test component performs a test operation of the test item corresponding to the target test control on the switch to be tested, and obtains test result information; The second generating unit is used to generate a test report of the test item corresponding to the target test control according to the test result information.

7. The device according to claim 6, characterized in that The determining unit comprises: An acquisition subunit, used to acquire operation information included in the control selection operation; The first determining subunit is used to determine a target test control selected by the user from among the test controls in the test item interface according to a control identifier included in the operation information.

8. The device according to claim 6, characterized in that The second generating unit comprises: A second determining subunit, used to determine the data structure of the test result information; The execution subunit is used to fill the test result information into a preset test report template according to the data structure of the test result information, and obtain a test report of the test item corresponding to the target test control.

9. A storage medium, characterized in that: The storage medium includes storage instructions, wherein when the instructions are executed, the device where the storage medium is located is controlled to execute the switch testing method according to any one of claims 1 to 5.

10. An electronic device, characterized in that: The system comprises a memory and one or more instructions, wherein the one or more instructions are stored in the memory and configured to be executed by one or more processors to perform the switch testing method according to any one of claims 1 to 5.

Citation Information

Cited By

  • Embedded multimedia memory card test method and system, equipment and storage medium

    CN119905136A

  • Embedded multimedia memory card testing method and system, device and storage medium

    CN119905136B