A method and apparatus for displaying test data

CN111522732BActive Publication Date: 2026-05-29VISIONVERA INFORMATION TECH CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
VISIONVERA INFORMATION TECH CO LTD
Filing Date
2020-03-13
Publication Date
2026-05-29

AI Technical Summary

Technical Problem

Existing technologies require the design of specific testing processes in product testing, resulting in high testing costs and low efficiency. Furthermore, test results need to be manually recorded and analyzed, increasing workload.

Method used

By generating a display page in the terminal, users can add test items corresponding to the test module, receive test data packets, generate test results, and display them in the corresponding test items. The system supports user-defined test processes and automatically records and analyzes the results.

Benefits of technology

It reduces testing costs, improves testing efficiency, simplifies the testing process, reduces the workload of manual recording and analysis, and makes it easier for users to manage test data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN111522732B_ABST
    Figure CN111522732B_ABST
Patent Text Reader

Abstract

The embodiment of the present application provides a kind of test data display method and device, the method can be applied to terminal, the terminal is equipped with one or more test modules, the terminal is communicated with test end, the method can receive the display operation of user acting on the terminal, according to the display operation generation display page;Add the at least one test item of preset to the display page, the test item is one-to-one with the test module;Receive the test data packet sent by the test end;The test data packet is sent to test module, and test result is generated;The test result is sent and displayed in corresponding test item.This embodiment proposes a kind of test data display method can generate one or more display pages according to the demand of user, can show multiple test data in the same display page, facilitate user to design specific test process, can reduce test cost, and can improve test efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer technology, and in particular, to a method for displaying test data and a device for displaying test data. Background Art

[0002] With the development of network technology, the network provides more convenience for people's lives. Among them, technological products are one of the main tools.

[0003] With the introduction of more and more technological network products with different functions, in order to improve the reliability, practicability and security of the products, different products need to be inspected and tested before being launched into the market. If the test results meet the conditions, the product passes. The currently commonly used test method is to calculate or obtain one or more test values of the product, and judge whether the product is qualified through the test values.

[0004] Due to the variety of product types and different functions, for different products, it is often necessary to design specific test processes or test programs during testing, which not only increases the test cost but also reduces the test efficiency. Moreover, the test results need to be manually recorded and then analyzed, which also increases the workload of testing. Summary of the Invention

[0005] In view of the above problems, embodiments of the present invention are proposed to provide a method for displaying test data and a device for displaying test data that overcome the above problems or at least partially solve the above problems.

[0006] To solve the above problems, an embodiment of the present invention discloses a method for displaying test data, which is applied to a terminal. The terminal is provided with one or more test modules, and the terminal communicates with a test end. The method includes:

[0007] Receiving a display operation performed by a user on the terminal, and generating a display page according to the display operation;

[0008] Adding at least one preset test item to the display page, where the test item corresponds to the test module one by one;

[0009] Receiving a test data packet sent by the test end;

[0010] Sending the test data packet to the test module, and generating a test result;

[0011] Sending and displaying the test result in the corresponding test item.

[0012] Optionally, before the step of receiving the display operation performed by the user on the terminal, the method further includes:

[0013] Receive the user's startup operation on the terminal;

[0014] In response to the startup operation, one or more preset test modules are registered on the terminal, and identification information corresponding to the test modules is generated and recorded.

[0015] Optionally, in response to the startup operation, one or more preset test modules are registered on the terminal, and identification information corresponding to the test modules is generated and recorded, including:

[0016] In response to the startup operation, a preset first process is started;

[0017] One or more test modules preset on the terminal are registered to the first process, and the first process is used to generate and record the corresponding identification information.

[0018] Optionally, receiving a display operation performed by the user on the terminal and generating a display page based on the display operation includes:

[0019] Receive display operations performed by the user on the terminal;

[0020] Respond to the display operation to obtain page parameters;

[0021] The page is generated using the page parameters.

[0022] Optionally, the display operation includes a project selection operation for the test module, and adding the test project to the display page includes:

[0023] Determine the target test module corresponding to the project selection operation;

[0024] Determine the target test items corresponding to the target test module;

[0025] Add the target test item to the display page.

[0026] Optionally, sending the test data packet to the test module and generating test results includes:

[0027] A pre-defined second process is initiated to determine whether the test data packet is valid;

[0028] If the test data packet is valid, then one or more data types of the test data packet are obtained, wherein the data type is the type of data being tested by the test module;

[0029] The number of the data types is determined, and the test data packet is split into one or more test type data according to the number of the data types, wherein one test type data corresponds to one test module;

[0030] Obtain the identification information corresponding to the test module;

[0031] The test type data is sent to the corresponding test module using the identification information, and test results are generated.

[0032] Optionally, the terminal is connected to an external device, the display page includes multiple pages, and the method further includes:

[0033] Receive page-turning operations generated by the external device;

[0034] Obtain the page number parameter for the page turning operation, where each page number parameter corresponds to a display page;

[0035] Obtain the target display page corresponding to the page parameters;

[0036] Switch the current display page to the target display page.

[0037] This invention also discloses a test data display device applied to a terminal, wherein the terminal is provided with one or more test modules, the terminal communicates with a test terminal, and the device includes:

[0038] The display operation module is used to receive display operations performed by the user on the terminal and generate a display page based on the display operations.

[0039] An add module is used to add at least one preset test item to the display page, and the test item corresponds one-to-one with the test module;

[0040] The test data packet module is used to receive test data packets sent by the test terminal;

[0041] The test result module is used to send the test data packet to the test module and generate test results;

[0042] The display module is used to send and display the test results in the corresponding test project.

[0043] Optionally, the device further includes:

[0044] The startup operation module is used to receive startup operations performed by the user on the terminal;

[0045] The registration module is used to respond to the startup operation, register one or more preset test modules on the terminal, and generate and record the identification information corresponding to the test modules.

[0046] Optionally, the registration module includes:

[0047] The first process module is used to launch a preset first process in response to the startup operation;

[0048] The first process registration module is used to register one or more test modules preset on the terminal to the first process, and the first process is used to generate and record the corresponding identification information.

[0049] Optionally, the display operation module includes:

[0050] A display operation receiving module is used to receive display operations performed by the user on the terminal;

[0051] The page parameter module is used to obtain page parameters in response to the display operation;

[0052] The page display module is used to generate a display page using the page parameters.

[0053] Optionally, the display operation includes a project selection operation for the test module, and the adding module includes:

[0054] The target testing module is used to determine the target testing module corresponding to the project selection operation.

[0055] The target test item module is used to determine the target test item corresponding to the target test module.

[0056] The Add Target Test Item module is used to add the target test item to the display page.

[0057] Optionally, the test result module includes:

[0058] The judgment module is used to initiate a preset second process to determine whether the test data packet is valid.

[0059] The data type module is used to obtain one or more data types of the test data packet if the test data packet is valid, wherein the data type is the type of data being tested by the test module;

[0060] A quantity determination module is used to determine the quantity of the data type and, according to the quantity of the data type, split the test data packet into one or more test type data, wherein one test type data corresponds to one test module;

[0061] The identification information module is used to obtain the identification information corresponding to the test module;

[0062] The sending and generating module is used to send the test type data to the corresponding test module through the identification information and generate test results.

[0063] Optionally, the terminal is connected to an external device, the display page includes multiple pages, and the device further includes:

[0064] A page-turning module is used to receive page-turning operations generated by the external device;

[0065] The page number parameter module is used to obtain the page number parameters of the page turning operation, and each page number parameter corresponds to a display page;

[0066] The target display page module is used to obtain the target display page corresponding to the page parameters;

[0067] The switching module is used to switch the currently displayed page to the target display page.

[0068] This invention also discloses an apparatus comprising: one or more processors; and one or more machine-readable media having instructions stored thereon, which, when executed by the one or more processors, cause the apparatus to perform one or more methods as described above.

[0069] Embodiments of the present invention also disclose one or more machine-readable media having instructions stored thereon that, when executed by one or more processors, cause the processors to perform one or more methods as described above.

[0070] The present invention provides the following advantages: A method for displaying test data is proposed. This method can be applied to a terminal equipped with one or more test modules. The terminal communicates with a test terminal. The method receives display operations performed by a user on the terminal, generates a display page based on the display operations, adds at least one preset test item to the display page, and the test item corresponds one-to-one with the test module; receives test data packets sent by the test terminal; sends the test data packets to the test module and generates test results; and sends and displays the test results in the corresponding test item. This method for displaying test data can generate one or more display pages according to user needs, displaying corresponding test items on the display pages. Multiple test data can be displayed on the same display page, facilitating the design of specific test processes by users. This reduces testing costs, improves testing efficiency, and allows for recording and analyzing test results, further reducing the workload of testing. Attached Figure Description

[0071] Figure 1 This is a flowchart of the steps in one embodiment of a test data display method of the present invention;

[0072] Figure 2 This is a flowchart illustrating the steps of a second embodiment of a test data display method according to the present invention;

[0073] Figure 3 This is a schematic diagram of the connection between the terminal and the test terminal of the present invention;

[0074] Figure 4 This is a structural block diagram of the display page of the present invention;

[0075] Figure 5 This is a test schematic diagram of the terminal and test end of the present invention;

[0076] Figure 6 This is a flowchart illustrating the page-turning operation steps of a second embodiment of the test data display method of the present invention;

[0077] Figure 7 This is a structural block diagram of a test data display device according to a first embodiment of the present invention. Detailed Implementation

[0078] To make the above-mentioned objects, features and advantages of the present invention more apparent and understandable, the present invention will be further described in detail below with reference to the accompanying drawings and specific embodiments.

[0079] Reference Figure 1 The diagram illustrates a flowchart of a method for displaying test data according to a first embodiment of the present invention. In this embodiment, the method can be applied to a terminal that can communicate with a test terminal.

[0080] It should be noted that the terminal can be a computer, smart device, or portable device. The terminal is equipped with one or more testing modules, which can be data testing equipment or testing components. Corresponding detection programs or calculation formulas can be set on these testing modules. These modules can receive the data to be tested and generate test results. The testing terminal can be the device under test, such as a circuit board, communication device, etc.

[0081] Specifically, the method may include the following steps:

[0082] Step 101: Receive the display operation performed by the user on the terminal, and generate a display page based on the display operation.

[0083] It should be noted that the terminal may have a display screen, and the display operation can be a data input operation, a user swipe operation, etc. The display page may be a display page with a display border, and the size of the display page can be preset by the user or entered during the display operation. After receiving an operation from the user, the terminal can respond to the display operation and generate one or more display pages on the display screen.

[0084] For example, the display operation could be a left-to-right swipe, allowing the user to swipe from left to right on the terminal's screen. Upon receiving the user's input, the terminal could generate one or more display pages according to preset length and width. Alternatively, the display operation could be a data input operation, allowing the user to input data such as length, width, and page number. The user could then input length, width, and page number data into the terminal. Based on this data, the terminal could generate display pages of the corresponding size and number of pages.

[0085] Step 102: Add at least one preset test item to the display page, and the test item corresponds one-to-one with the test module.

[0086] It should be noted that the test item can be a project corresponding to a test module. For example, a test module may include an audio / video test module, a character test module, a capacity test module, and so on. Correspondingly, the test item may include audio / video, character, capacity, and so on.

[0087] In practice, users can select the number and type of test items on the terminal screen and add different test items to the display page by swiping on the screen. Users can also input addition parameters into the terminal, which can include the number and type of test items. The terminal can then use these parameters to add the corresponding number and type of test items to the display page.

[0088] Step 103: Receive the test data packet sent by the test terminal.

[0089] It should be noted that this test data packet is obtained by the testing end using a preset acquisition module or acquisition device. In actual operation, the testing end can use the acquisition device to collect multiple different data, and then package these multiple different data into a test data packet.

[0090] For example, the test terminal is a smart board, and the data acquisition device is a scanner. The smart board can control the movement of the scanner, and the scanner can detect and read the stored character data, image data, and voltage data of the smart board during operation. The test terminal can receive the various data and package them into a test data package, which is then sent to the terminal.

[0091] Step 104: Send the test data packet to the test module and generate the test results.

[0092] It should be noted that the test result can be generated by the test module after checking and verifying the test data packet.

[0093] In this embodiment, the test result can be an identifier, such as a color identifier or a text identifier. The test result can also be played or displayed as the data of the test data packet, or it can be used to test and identify the identification result of the test data packet.

[0094] For example, the testing module can be an audio / video testing module. The test data packet can include audio / video data, and the test result can be audio / video data. The audio / video testing module can determine whether the audio / video data is in a preset format. If so, the audio / video testing module can use the audio / video data as the test result. Another example is an image module. The test data packet can include image data, and the test result can be a confirmation identifier or a color identifier. This image module can determine whether the image data is in a preset format. If so, it generates a confirmation identifier or a color identifier. Yet another example is a character testing module. The test data packet can include character data, and the test result can be character data. The character testing module can recognize the character data, obtain the corresponding target character, and display the target character.

[0095] Step 105: Send and display the test results in the corresponding test project.

[0096] In this embodiment, after the test module generates the test results, it can send the test results to the display page, then assign them to the corresponding test items of the test module, and display them on the test items.

[0097] For example, if the test module is an audio / video module, it can determine whether the audio / video data is in a preset format. If so, the audio / video test module can use the audio / video data as the test result, and the audio / video data can be displayed and played in the test project. As another example, if the test module is an image module, it can determine whether the image data is in a preset format. If so, it generates a confirmation identifier or color identifier, which can be sent to the test project and displayed in the test project.

[0098] In an optional embodiment, a method for displaying test data is proposed. This method can be applied to a terminal equipped with one or more test modules. The terminal communicates with a test terminal. The method can receive display operations performed by a user on the terminal, generate a display page based on the display operations, add at least one preset test item to the display page, with each test item corresponding to a test module; receive test data packets sent by the test terminal; send the test data packets to the test modules and generate test results; and send and display the test results in the corresponding test items. This embodiment's method for displaying test data can generate one or more display pages according to user needs, displaying corresponding test items on the display pages. Multiple test data can be displayed on the same display page, facilitating the design of specific test processes by users. This reduces testing costs, improves testing efficiency, and allows for recording and analyzing test results, further reducing the workload of testing.

[0099] Reference Figure 2 The diagram illustrates a flowchart of a method for displaying test data according to a first embodiment of the present invention. In this embodiment, the method can be applied to a terminal that can communicate with a test terminal.

[0100] It should be noted that the terminal can be a computer, smart device, or portable device. The terminal is equipped with one or more testing modules, which can be data testing equipment or testing components. Corresponding detection programs or calculation formulas can be set on these testing modules. These modules can receive the data to be tested and generate test results. The testing terminal can be the device under test, such as a circuit board, communication device, etc.

[0101] In this embodiment, a personal computer (PC) is used as the terminal, and a device board is used as the test end. The computer has one or more test modules, which may include Boolean test modules, character test modules, audio / video test modules, etc. The specific test modules can be adjusted according to actual needs. The terminal and the test end can communicate via wireless network, Bluetooth, or wired network.

[0102] Reference Figure 3 This is a schematic diagram illustrating the connection between the terminal and the testing end of the present invention. In a specific implementation, the terminal and the testing end can communicate via a network cable.

[0103] Specifically, the method may include the following steps:

[0104] Step 201: Receive the user's startup operation on the terminal.

[0105] It should be noted that this startup operation can be the user's action of starting the terminal, such as the user powering on the terminal, or the user clicking on the terminal to start testing, etc.

[0106] Step 202: In response to the startup operation, register one or more preset test modules on the terminal, and generate and record the identification information corresponding to the test modules.

[0107] It should be noted that this identification information can be the address information, marking information, or encoding information of the test module, etc. By setting the identification information corresponding to the test module, the terminal can connect and communicate with the test module through the identification information.

[0108] In this embodiment, the terminal can preset the operation process, and the user can set the operation process in the terminal to perform the registration test module operation. Optionally, step 202 may include the following sub-steps:

[0109] Sub-step 2021: In response to the startup operation, start the preset first process.

[0110] It should be noted that this first process can be an operation process preset by the user on the terminal. This first process can be used to register multiple preset test processes on the terminal to the terminal.

[0111] Sub-step 2022: Register one or more test modules preset on the terminal to the first process, the first process being used to generate and record corresponding identification information.

[0112] It should be noted that after the first process registers multiple test modules to the terminal, it can generate a corresponding identification information for each terminal. This identification information can be used for communication between the terminal and the test module.

[0113] In the specific implementation, the first process can generate a corresponding process ID (PID) for each registered test module. The process ID is a value used by the terminal kernel to uniquely identify the process.

[0114] For example, the test module includes a Boolean test module, a character test module, and an audio / video test module. The first process can generate the process ID corresponding to the Boolean test module, such as 001, the process ID corresponding to the character test module, such as 010, the process ID corresponding to the audio / video test module, such as 100, and so on.

[0115] Step 203: Receive the display operation performed by the user on the terminal, and generate a display page based on the display operation.

[0116] It should be noted that this display operation can be an action by the user to input page parameters, an action by the user to receive test data on the terminal, an action by the user to click on the terminal, or an action by the user to select the test item corresponding to the test module. The terminal can generate a corresponding display page through this display operation, in which the test item selected by the user can be displayed.

[0117] In this embodiment, step 203 may include the following sub-steps:

[0118] Sub-step 2031: Receive the display operation performed by the user on the terminal.

[0119] In its implementation, the display operation includes inputting page parameters and test items, or triggering test operations, starting display operations, etc. The terminal can be connected to external devices, such as remote controls, smart devices, or mobile phones.

[0120] For example, users can input the corresponding page parameters and test items through an external device and send the page parameters and test items to the terminal; or users can input a start display signal through an external device, and the external device will then send the start display signal to the terminal.

[0121] Sub-step 2032: Respond to the display operation to obtain page parameters.

[0122] Specifically, after receiving the user's display operation, the terminal can obtain the page parameters input by the user, including the length, width, and number of pages of the displayed page.

[0123] Optionally, users can also preset corresponding page parameters in the terminal, and the terminal can generate a display page with the corresponding area or size according to the preset page parameters.

[0124] Sub-step 2033: Generate a display page using the page parameters.

[0125] In this embodiment, the terminal can generate a display page with the upper left corner as the origin on the display screen, using the page length and page width input by the user, and generate a corresponding number of display pages according to the page number.

[0126] Step 204: Add at least one preset test item to the display page, and the test item corresponds one-to-one with the test module.

[0127] It should be noted that the test items correspond to the test modules. For example, test modules include Boolean test modules, character test modules, and audio / video test modules; correspondingly, test items can include Boolean test items, character test items, and audio / video test items. In the specific implementation, after the terminal registers multiple test modules through the first process, it can generate the test items corresponding to the test modules through the first process and store the test items.

[0128] Users can send added test items to the terminal via external devices, or they can directly enter the type of test item in the terminal.

[0129] For details, please refer to Figure 4 The diagram shows the structural block diagram of the display page of this invention. When adding test items, different test items can be arranged in different positions on the display page, which can be adjusted according to actual needs.

[0130] In this embodiment, the display operation includes a project selection operation for the test module. Optionally, step 204 may include the following sub-steps:

[0131] Sub-step 2041: Determine the target test module corresponding to the project selection operation.

[0132] Sub-step 2042: Determine the target test item corresponding to the target test module.

[0133] Sub-step 2043: Add the target test item to the display page.

[0134] It should be noted that users can select the target test module to be displayed from multiple test modules, then determine the test item corresponding to the target test module to be displayed through an external device or the terminal, and finally add the target test item to the display page.

[0135] For example, if a user needs to display audio and video test items, the user can select the audio and video test module from multiple test modules, determine the corresponding audio and video test items, and then send the audio and video test items to the terminal. The terminal then adds the audio and video test items to the display page.

[0136] Step 205: Receive the test data packet sent by the test terminal.

[0137] It should be noted that this test data includes a data packet generated by integrating multiple data points obtained from various tests performed on the test board by the test end. After generating this test data packet, the test end can send it directly to the terminal via a network cable.

[0138] Step 206: Send the test data packet to the test module and generate the test results.

[0139] It should be noted that if the testing end performs one test, obtains one test data and generates a test data packet, the terminal can directly send the test data packet to the testing module after receiving it to generate the test result. If the testing end performs multiple tests, obtains multiple test data, and combines the multiple test data into one test data packet, the terminal can split the test data packet after receiving it to obtain multiple different data, and then send the multiple different data to the testing module according to the data type to generate multiple test results.

[0140] In this embodiment, step 206 may include the following sub-steps:

[0141] Sub-step 2061: Start a preset second process to determine whether the test data packet is valid.

[0142] It should be noted that after the test client generates the test data packet, it can start a second process, which will call the calculation formula corresponding to the test module to determine whether the test data packet is valid.

[0143] For example, if the test data packet includes Boolean data, the true and false values ​​of this Boolean data can be calculated using the coupling formula corresponding to the Boolean test module. Typically, the numbers 1 and 0 can be used to represent these values. If both values ​​can be calculated, the test data packet is valid. As another example, if the test data packet includes character data, the character data can be set in the terminal according to user requirements. A second process is then started to call the character test module, which compares the character data with the character data stored in the terminal. If they are the same, the test data packet is valid. Yet another example is a test data packet that includes audio and video data. The audio and video format can be set in the terminal according to user requirements. A second process is then started to call the audio and video test module, which obtains the format of the audio and video data and compares it with the audio and video format stored in the terminal. If they are the same, the test data packet is valid.

[0144] Sub-step 2062: If the test data packet is valid, then obtain one or more data types of the test data packet, wherein the data type is the type of data tested by the test module.

[0145] It should be noted that this data type can be a user-defined data identifier type, specifically a data identifier set at the end of the data.

[0146] In practice, users can input multiple data types on both the test and terminal sides before testing. Each data type corresponds to a specific type of test data, and each test module is used to test that specific test data. For example, users can define the data termination identifier as 123 for character data, 654 for Boolean data, 789 for audio / video data, and so on. The terminal can directly obtain the data termination identifier of the test data packet after receiving it, thus determining the data type. Alternatively, the number of data types can be determined through data type calculations.

[0147] Sub-step 2063: Determine the number of the data types, and according to the number of the data types, split the test data packet into one or more test type data, wherein one test type data corresponds to one test module.

[0148] In practice, the terminal can directly obtain the data terminal identifiers in the test data packet, calculate the types of the obtained data terminal identifiers, and determine the number of data types. For example, if the data terminal identifiers in the test data packet include 123 and 654, the terminal can calculate that the number of data types is 2. The terminal can split the test data packet into two different test type data, one of which is character data and the other is boolean data. The character data corresponds to the character test module, and the boolean data corresponds to the boolean test module.

[0149] Sub-step 2064: Obtain the identification information corresponding to the test module.

[0150] In the implementation, after generating a corresponding process ID for each registered test module, the first process can send that process ID to the terminal, which can then store it. The process ID can be retrieved by starting a second process.

[0151] Sub-step 2065: The test type data is sent to the corresponding test module through the identification information, and the test result is generated.

[0152] In the specific implementation, after obtaining the process ID corresponding to the test module, the second process can send the split test type data to the corresponding test module through the process ID.

[0153] For example, if a test data packet is split into two different test types, one being character data and the other being boolean data, the character data can be sent to the character test module using the process ID corresponding to the character test module. Similarly, the boolean data can be sent to the boolean test module using the process ID corresponding to the boolean test module.

[0154] Additionally, it should be noted that the test results can be calculation results, recognition results, or judgment results. For example, the Boolean test module can calculate Boolean data and obtain one of the two possible values, such as 1 or 0. For example, the character test module can recognize character data and obtain multiple different data such as memory size, flash memory size, and character capacity. For yet another example, the audio / video test module can determine the data format of audio / video data; if the data format matches the preset data format, the audio / video data can be directly input.

[0155] Step 207: Send and display the test results in the corresponding test project.

[0156] In the actual implementation, after generating the test results, the test module can add the test results to the test project on the display page, where users can view the test results.

[0157] For example, the Boolean test module can calculate Boolean data and obtain one of the two possible values, such as 1 or 0, which can be directly displayed in the test project. To improve the display effect, colors can be used to represent 1 and 0; for example, red can represent 1 and green can represent 0, and the test project can display either red or green. As another example, if the acquired character data includes 100 MB of memory, 500 MB of flash memory, and 10 MB of character capacity, the character data can be directly displayed in the test project. Furthermore, the audio / video test module can directly input the audio / video data, add it to the test project, and play the audio / video data within the test project.

[0158] You can refer to Figure 5 The diagram illustrates a test setup for the terminal and test unit of the present invention. In an optional embodiment, the display page may include two Boolean-type test items, or it may include two audio / video test items.

[0159] Additionally, it's important to note that for testing and display efficiency, one test project can correspond to multiple test modules. For example, one audio / video test project can correspond to 3 to 5 audio / video test modules, capable of receiving multiple audio / video streams from multiple test terminals. In the specific implementation, the terminal and test terminals can communicate via the User Datagram Protocol (UDP), allowing the terminal to receive audio / video streams sent from multiple different test terminals. The audio / video test modules can be configured to loop through multiple data channels to distinguish between different audio / video data streams.

[0160] Reference Figure 6The diagram illustrates a flowchart of the page-turning operation steps in a second embodiment of a test data display method according to the present invention. In an optional embodiment, the terminal is connected to an external device, which may be an external remote control, a smart terminal, or a portable device, etc.

[0161] In this optional embodiment, the display page may include multiple pages, and the method may further include the following steps:

[0162] Step 208: Receive the page-turning operation generated by the external device.

[0163] It should be noted that this page-turning operation can be a page-turning signal sent by the user to the terminal via an external device. The user can click on the external device, which can then respond to the user's click by generating a corresponding page-turning operation and sending it to the terminal.

[0164] Step 209: Obtain the page number parameter for the page turning operation, where each page number parameter corresponds to a display page.

[0165] It should be noted that the page parameters can be user input, and the page parameters can be page numbers, with each page number corresponding to a display page.

[0166] In a specific implementation, the page-turning operation may include page parameters input by the user, and the terminal can obtain these page parameters through the page-turning operation.

[0167] Step 210: Obtain the target display page corresponding to the page parameters.

[0168] In this embodiment, each page number corresponds to a display page. For example, if there are 5 display pages with 5 page numbers, namely 1, 2, 3, 4, and 5, the terminal can obtain the page parameter, such as 3, and can obtain the display page with page number 3.

[0169] Step 211: Switch the current display page to the target display page.

[0170] After obtaining the target display page, you can switch the current page to the target display page.

[0171] In the implementation, it can be determined whether the current page and the target display page are the same. If the current page and the target display page are the same, the current page is switched to the target display page. If the current page and the target display page are the same, the switching operation is not performed.

[0172] By setting up external devices to allow users to operate the display page, users can display different test items according to their actual needs, which makes it convenient for users to organize and analyze test data.

[0173] In a preferred embodiment, a method for displaying test data is proposed. This method can be applied to a terminal equipped with one or more test modules. The terminal communicates with a test terminal. The method can receive a user's startup operation on the terminal; then, in response to the startup operation, register one or more preset test modules on the terminal, generate and record identification information corresponding to the test modules; then, receive a user's display operation on the terminal, generate a display page according to the display operation; add at least one preset test item to the display page, with each test item corresponding to a test module; then, receive a test data packet sent by the test terminal; send the test data packet to the test module and generate test results; finally, send and display the test results in the corresponding test item, and can also receive page-turning operations generated by external devices; then, obtain the page number parameter of the page-turning operation, with each page number parameter corresponding to a display page; then, obtain the target display page corresponding to the page parameter; finally, switch the current display page to the target display page. The test data display method proposed in this embodiment can generate one or more display pages according to user needs, displaying corresponding test items on the display pages. Multiple test data can be displayed on the same display page, which is convenient for users to design specific test processes. This can reduce testing costs and improve testing efficiency. In addition, test results can be recorded and analyzed, which can also reduce the workload of testing. Furthermore, different test results can be displayed according to user needs, which can effectively improve the efficiency of user data management.

[0174] It should be noted that, for the sake of simplicity, the method embodiments are all described as a series of actions. However, those skilled in the art should understand that the embodiments of the present invention are not limited to the described order of actions, because according to the embodiments of the present invention, some steps can be performed in other orders or simultaneously. Furthermore, those skilled in the art should also understand that the embodiments described in the specification are preferred embodiments, and the actions involved are not necessarily essential to the embodiments of the present invention.

[0175] Reference Figure 7 The diagram illustrates a structural block diagram of a test data display device according to a first embodiment of the present invention. This device can be applied to a terminal, which has one or more test modules and communicates with a test terminal. The device includes:

[0176] Display operation module 701 is used to receive display operations performed by the user on the terminal and generate a display page based on the display operations;

[0177] Add module 702, used to add at least one preset test item to the display page, wherein the test item corresponds one-to-one with the test module;

[0178] The test data packet module 703 is used to receive the test data packet sent by the test terminal;

[0179] The test result module 704 is used to send the test data packet to the test module and generate test results;

[0180] Display module 705 is used to send and display the test results in the corresponding test project.

[0181] Optionally, the device further includes:

[0182] The startup operation module is used to receive startup operations performed by the user on the terminal;

[0183] The registration module is used to respond to the startup operation, register one or more preset test modules on the terminal, and generate and record the identification information corresponding to the test modules.

[0184] Optionally, the registration module includes:

[0185] The first process module is used to launch a preset first process in response to the startup operation;

[0186] The first process registration module is used to register one or more test modules preset on the terminal to the first process, and the first process is used to generate and record the corresponding identification information.

[0187] Optionally, the display operation module includes:

[0188] A display operation receiving module is used to receive display operations performed by the user on the terminal;

[0189] The page parameter module is used to obtain page parameters in response to the display operation;

[0190] The page display module is used to generate a display page using the page parameters.

[0191] Optionally, the display operation includes a project selection operation for the test module, and the adding module includes:

[0192] The target testing module is used to determine the target testing module corresponding to the project selection operation.

[0193] The target test item module is used to determine the target test item corresponding to the target test module.

[0194] The Add Target Test Item module is used to add the target test item to the display page.

[0195] Optionally, the test result module includes:

[0196] The judgment module is used to initiate a preset second process to determine whether the test data packet is valid.

[0197] The data type module is used to obtain one or more data types of the test data packet if the test data packet is valid, wherein the data type is the type of data being tested by the test module;

[0198] A quantity determination module is used to determine the quantity of the data type and, according to the quantity of the data type, split the test data packet into one or more test type data, wherein one test type data corresponds to one test module;

[0199] The identification information module is used to obtain the identification information corresponding to the test module;

[0200] The sending and generating module is used to send the test type data to the corresponding test module through the identification information and generate test results.

[0201] Optionally, the terminal is connected to an external device, the display page includes multiple pages, and the device further includes:

[0202] A page-turning module is used to receive page-turning operations generated by the external device;

[0203] The page number parameter module is used to obtain the page number parameters of the page turning operation, and each page number parameter corresponds to a display page;

[0204] The target display page module is used to obtain the target display page corresponding to the page parameters;

[0205] The switching module is used to switch the currently displayed page to the target display page.

[0206] The test data display device proposed in this embodiment can generate one or more display pages according to user needs, displaying the corresponding test items on the display pages. Multiple test data can be displayed on the same display page, which is convenient for users to design specific test processes. This can reduce testing costs and improve testing efficiency. In addition, test results can be recorded and analyzed, which can also reduce the workload of testing. Furthermore, different test results can be displayed according to user needs, which can effectively improve the efficiency of user data management.

[0207] As the device embodiment is basically similar to the method embodiment, the description is relatively simple, and relevant parts can be found in the description of the method embodiment.

[0208] This invention also provides an apparatus comprising: one or more processors; and one or more machine-readable media having instructions stored thereon, which, when executed by the one or more processors, cause the apparatus to perform the method described in this invention.

[0209] This invention also provides one or more machine-readable media storing instructions that, when executed by one or more processors, cause the processors to perform the methods described in this invention.

[0210] The various embodiments in this specification are described in a progressive manner, with each embodiment focusing on the differences from other embodiments. The same or similar parts between the various embodiments can be referred to each other.

[0211] Those skilled in the art will understand that embodiments of the present invention can be provided as methods, apparatus, or computer program products. Therefore, embodiments of the present invention can take the form of entirely hardware embodiments, entirely software embodiments, or embodiments combining software and hardware aspects. Furthermore, embodiments of the present invention can take the form of computer program products implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0212] This invention is described with reference to flowchart illustrations and / or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing terminal device to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal device, generate instructions for implementing the flowchart illustrations and / or block diagrams. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.

[0213] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing terminal device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.

[0214] These computer program instructions can also be loaded onto a computer or other programmable data processing terminal equipment, causing a series of operational steps to be performed on the computer or other programmable terminal equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable terminal equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.

[0215] Although preferred embodiments of the present invention have been described, those skilled in the art, upon learning the basic inventive concept, can make other changes and modifications to these embodiments. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments as well as all changes and modifications falling within the scope of the embodiments of the present invention.

[0216] Finally, it should be noted that in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or terminal device that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or terminal device. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or terminal device that includes said element.

[0217] The present invention has provided a detailed description of a method for displaying test data and a device for displaying test data. Specific examples have been used to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only for the purpose of helping to understand the method and core ideas of the present invention. At the same time, for those skilled in the art, there will be changes in the specific implementation methods and application scope based on the ideas of the present invention. Therefore, the content of this specification should not be construed as a limitation of the present invention.

Claims

1. A method for displaying test data, characterized in that, Applied to a terminal, the terminal is equipped with one or more test modules, the terminal communicates with the test terminal, and the method includes: Receive display operations from the user on the terminal, and generate a display page based on the display operations; Add at least one preset test item to the display page, and the test item corresponds one-to-one with the test module; Receive test data packets sent by the test terminal; The test data packet is sent to the test module, and test results are generated. The test results are sent and displayed in the corresponding test project; The terminal is connected to an external device, the display page includes multiple pages, and the method further includes: Receive page-turning operations generated by the external device; Obtain the page number parameter for the page turning operation, where each page number parameter corresponds to a display page; Obtain the target display page corresponding to the page parameters; Switch the current display page to the target display page; Before the step of receiving the display operation performed by the user on the terminal, the method further includes: Receive the user's startup operation on the terminal; In response to the startup operation, one or more preset test modules are registered on the terminal, and identification information corresponding to the test modules is generated and recorded. The response to the startup operation registers one or more preset test modules on the terminal, generates and records identification information corresponding to the test modules, including: In response to the startup operation, a preset first process is started, which is used to register multiple preset test processes in the terminal to the terminal; One or more test modules preset on the terminal are registered to the first process, and the first process is used to generate and record the corresponding identification information.

2. The method according to claim 1, characterized in that, The step of receiving a display operation from a user on the terminal and generating a display page based on the display operation includes: Receive display operations performed by the user on the terminal; Respond to the display operation to obtain page parameters; The page is generated using the page parameters.

3. The method according to claim 1, characterized in that, The display operation includes a project selection operation for the test module, and adding the test project to the display page includes: Determine the target test module corresponding to the project selection operation; Determine the target test items corresponding to the target test module; Add the target test item to the display page.

4. The method according to claim 1, characterized in that, The step of sending the test data packet to the test module and generating test results includes: A pre-defined second process is initiated to determine whether the test data packet is valid; If the test data packet is valid, then one or more data types of the test data packet are obtained, wherein the data type is the type of data being tested by the test module; The number of the data types is determined, and the test data packet is split into one or more test type data according to the number of the data types, wherein one test type data corresponds to one test module; Obtain the identification information corresponding to the test module; The test type data is sent to the corresponding test module using the identification information, and test results are generated.

5. A device for displaying test data, characterized in that, Applied to a terminal, the terminal is equipped with one or more test modules, the terminal communicates with a test terminal, and the device includes: The display operation module is used to receive display operations performed by the user on the terminal and generate a display page based on the display operations. An add module is used to add at least one preset test item to the display page, and the test item corresponds one-to-one with the test module; The test data packet module is used to receive test data packets sent by the test terminal; The test result module is used to send the test data packet to the test module and generate test results; The display module is used to send and display the test results in the corresponding test project; The terminal is connected to external devices, the display page includes multiple pages, and the device further includes: A page-turning module is used to receive page-turning operations generated by the external device; The page number parameter module is used to obtain the page number parameters of the page turning operation, and each page number parameter corresponds to a display page; The target display page module is used to obtain the target display page corresponding to the page parameters; The switching module is used to switch the currently displayed page to the target display page; The device further includes: The startup operation module is used to receive startup operations performed by the user on the terminal; The registration module is used to respond to the startup operation, register one or more preset test modules on the terminal, and generate and record identification information corresponding to the test modules. The registration module includes: The first process module is used to launch a preset first process in response to the startup operation; The first process registration module is used to register one or more test modules preset on the terminal to the first process, and the first process is used to generate and record the corresponding identification information.

6. An apparatus, characterized in that, include: One or more processors; and One or more machine-readable media having instructions stored thereon, which, when executed by the one or more processors, cause the device to perform one or more methods as described in claims 1-4.

7. One or more machine-readable media having instructions stored thereon that, when executed by one or more processors, cause the processors to perform one or more methods as described in claims 1-4.