Test system, test control method, test method, and storage medium

By designing a test system including server and client, the problem of frequent movement of testers in TV software testing is solved, and automated testing is achieved, which improves testing efficiency and accuracy.

CN120104475APending Publication Date: 2025-06-06TCL OVERSEAS ELECTRONIC (HUIZHOU) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510160872.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-02-13
Publication Date
2025-06-06

AI Technical Summary

Technical Problem

During the TV software testing process, testers need to frequently move to different locations to operate the test instruments, resulting in physical exhaustion, waste of time and error-prone problems.

Method used

Design a test system, including the server and the client, the server connects multiple test devices, the client communicates with the server, creates test items through the client and sends test instructions, the server selects the test tools/equipment according to the instructions for testing, and returns the results to the client.

Benefits of technology

It realizes that multiple test items are automatically completed without the need for testers to move to different test equipment, improving testing efficiency and reducing physical exhaustion and error rate.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120104475A_ABST
    Figure CN120104475A_ABST
Patent Text Reader

Abstract

The invention provides a test system, a test control method, a test method and a storage medium, the test system comprises a server and a client, and the server is connected with at least two test devices; the client is used for creating a test item and correspondingly selecting the test item in the test item after receiving the test command, and sending a test instruction comprising the test item to the server; the server side is used for selecting a corresponding test tool / equipment to test a test item in the test instruction according to the test instruction, and sending a test result to the client side; and the client is also used for ending the test and storing all the test results after receiving the test results of all the test items. The method comprises the following steps: establishing a test item by using a client, and sending the test item to a server in the form of a test instruction; and the server selects the corresponding test tool / equipment for testing according to the test instruction, so that simultaneous testing of multiple test items is realized, and the test efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of testing technology, and in particular to a testing system, a testing control method, a testing method and a storage medium. Background Art

[0002] With the vigorous development of the TV industry, ensuring the quality of TV software has become increasingly important. However, due to the continuous expansion of the development scale and the increase in complexity, more and more test items are required, and the steps are becoming more and more cumbersome. During the testing process, people need to use different test instruments to test various projects. However, considering various factors such as space and instrument placement, different tests need to be run to different instruments to perform related instrument operations, which is both physically demanding and time-consuming and prone to errors. Summary of the invention

[0003] The main purpose of the present invention is to provide a testing system, aiming to improve testing efficiency.

[0004] The test system comprises a server and a client, the server is connected to at least two test devices, and the client is in communication connection with the server;

[0005] The client is used to create a test project and select test items in the test project accordingly after receiving the test command when the communication with the server is normal, and send a test instruction including the test items to the server;

[0006] The server is used to select a corresponding test tool / device to test the test items in the test instruction according to the test instruction, and send the test result to the client;

[0007] The client is also used to end the test and store all the test results after receiving the test results of all the test items.

[0008] The present invention further provides a test control method, which is applied to a server, the server is connected to a plurality of test devices, and the test control method comprises:

[0009] After receiving the test instruction sent by the client, select the corresponding test tool or test equipment according to the test instruction to perform the corresponding test;

[0010] Get the test results and output them to the client.

[0011] The present invention also provides a testing method, which is applied to a client; the testing method comprises:

[0012] Check whether the communication with the server is normal;

[0013] When the communication between the server and the client is normal, a test project is created according to the user input instructions, and test items in the test project are selected;

[0014] After receiving the test command, send the corresponding test instructions to the server according to the test items in the test project;

[0015] After receiving the test results output by the server, determine whether all test items in the test project are completed;

[0016] If all test items are completed, the test ends and all test results are stored in the database.

[0017] The present invention also proposes a storage medium, which is a computer-readable storage medium. A computer program is stored on the storage medium. When the computer program is executed by a processor, the test control method and / or the test method are implemented.

[0018] The present invention proposes a test system, a test control method, a test method and a storage medium, wherein the test system includes a server and a client, wherein the server is connected to at least two test devices, and the client is connected to the server in communication; the client is used to create a test project and select test items in the test project accordingly after receiving a test command when the communication with the server is normal, and send a test instruction including the test items to the server; the server is used to select a corresponding test tool / equipment to test the test items in the test instruction according to the test instruction, and send the test result to the client; the client is also used to end the test and store all the test results after receiving the test results of all the test items. The present invention establishes a test project according to the test command of the tester through the client, and sends it to the server in the form of a test instruction; and the server selects the corresponding test tool / equipment to test according to the test instruction, thereby realizing simultaneous testing of multiple test items, avoiding the tester from moving between the test devices, and improving the test efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] 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 some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the structures shown in these drawings without paying creative work.

[0020] Figure 1 A schematic diagram of a flow chart of an embodiment of a test system of the present invention;

[0021] Figure 2A schematic diagram of the steps of an embodiment of a test control method of the present invention;

[0022] Figure 3 Schematic diagram of the steps of an embodiment of the testing method of the present invention.

[0023] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0024] 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.

[0025] It should be noted that all directional indications in the embodiments of the present invention (such as up, down, left, right, front, back, etc.) are only used to explain the relative position relationship, movement status, etc. between the components under a certain specific posture (as shown in the accompanying drawings). If the specific posture changes, the directional indication will also change accordingly.

[0026] In the present invention, unless otherwise clearly specified and limited, the terms "connection", "fixation", etc. should be understood in a broad sense. For example, "fixation" can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, it can be the internal connection of two elements or the interaction relationship between two elements, unless otherwise clearly defined. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0027] In addition, in the present invention, descriptions such as "first", "second", etc. are only used for descriptive purposes and cannot be understood as indicating or implying their relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In addition, the technical solutions between the various embodiments can be combined with each other, but they must be based on the ability of ordinary technicians in the field to implement them. When the combination of technical solutions is contradictory or cannot be implemented, it should be deemed that such a combination of technical solutions does not exist and is not within the scope of protection required by the present invention.

[0028] With the vigorous development of the TV industry, ensuring the quality of TV software has become increasingly important. However, due to the continuous expansion of the development scale and the increase in complexity, more and more test items need to be carried out, and the steps are becoming more and more cumbersome. During the testing process, people need to use different test instruments to test various projects. However, considering various factors such as space and instrument placement, different tests need to be run to different instruments to perform related instrument operations, which is not only physically demanding and time-consuming, but also prone to errors.

[0029] By directly controlling the operation of related instruments through tools and saving them in the database in the form of projects, it can reduce the problem of people walking around and forgetting to modify parameters during the test process, which will cause errors. You only need to connect the wires of related equipment in advance, and then set all test items in one location, which improves test efficiency while ensuring test accuracy.

[0030] The present invention provides a test system, the test system comprising a server and a client, the server is connected to at least two test devices, the client is in communication connection with the server;

[0031] The client is used to create a test project and select test items in the test project accordingly after receiving the test command when the communication with the server is normal, and send a test instruction including the test items to the server;

[0032] The server is used to select a corresponding test tool / device to test the test items in the test instruction according to the test instruction, and send the test result to the client;

[0033] The client is also used to end the test and store all the test results after receiving the test results of all the test items.

[0034] It should be noted that the test system proposed in this solution includes a server and a service end; the server and the service end are connected in communication, and the server end is connected to multiple test devices. The operator can use the client to send a test instruction to the server end, and the server end connected to the test device selects the corresponding test device according to the test instruction to complete the test of the test item, or selects the test tool installed on the server end according to the test instruction to complete the test of the test item.

[0035] It is easy to understand that the client can send all the test items in the test project and the test equipment / tools corresponding to each test item to the server through test instructions; the server uses the corresponding test equipment / tools to test all the test items in the test project in sequence according to the test order in the test instructions; after obtaining the test results of the test items, the server sends the test results to the client; it is easy to understand that the server is connected to multiple test devices. When the test devices used by multiple test items are different, the corresponding test devices can be used to test multiple test items at the same time, thereby improving the test speed.

[0036] Alternatively, after the client establishes a test project according to the test command and selects the test items in the test project, it integrates the first test item into a test instruction according to the test sequence and transmits it to the server. After receiving the test result from the server, it determines whether all the test items in the test project have been completed. If not, the test instruction corresponding to the next test item is transmitted to the server; if all are completed, the test is terminated and all test results are stored. It is easy to understand that there can be a clear test priority relationship between the test items in the test project. After establishing the test project, the client can autonomously identify whether there is a test priority relationship between the test items in the test project. If so, the test order is adjusted accordingly to make it conform to the test priority relationship.

[0037] Alternatively, after the client establishes a test project according to the test command and selects the test items in the test project, the client classifies the test items according to the test equipment / tools to be used; the client outputs the first test item corresponding to each test equipment / tool ​​to the server through a test instruction, so that the server can efficiently use the test equipment / tool ​​to complete the test project. After the test of the test item is completed, the server sends the test result to the client, and the client determines whether all the test items in the test project have been completed based on the test result. If not, the client sends a test instruction including the next test item of the test equipment / tool ​​corresponding to the test result to the server.

[0038] The server is connected to multiple test devices. By integrating the control functions of multiple test devices, testers can set up and execute multiple test tasks at one time, avoiding the tedious steps of connecting and configuring devices one by one. This greatly saves test time and improves test efficiency.

[0039] It should be noted that the client can be a portable computer, a computer or a computing station, etc.; the server can be a computer or a PLC, etc. The server is connected to multiple test devices, and the client communicates with the server; the tester can enter the test command on the client, create a test project and select the test item, so as to complete multiple test tasks on a fixed client. There is no need to move back and forth between multiple test devices to test each project. It is only necessary to connect the wires of the relevant equipment in advance, and then set all the test items on the client, thereby improving the test efficiency while ensuring the accuracy of the test. Specifically, by defining the relevant content of the TCP / IP protocol and based on the rules of the protocol itself, the client can communicate with the server, so as to control the testing of multiple test instruments and equipment according to different test items at the same time, thereby improving the test efficiency.

[0040] Considering the real-life scenario, it is easy to understand that the test equipment can be placed in a dedicated test room, and the server connected to the test computer is installed in the test room; the client can be installed in the test room or in other rooms; the client is connected to the server for communication; the client can be a work computer installed at the tester's workstation.

[0041] The present invention proposes a test system, which includes a server and a client, wherein the server is connected to at least two test devices, and the client is connected to the server in communication; the client is used to create a test project and select test items in the test project accordingly after receiving a test command when the communication with the server is normal, and send a test instruction including the test items to the server; the server is used to select a corresponding test tool / equipment to test the test items in the test instruction according to the test instruction, and send the test result to the client; the client is also used to end the test and store all the test results after receiving the test results of all the test items. The present invention establishes a test project according to the test command of the tester through the client, and sends it to the server in the form of a test instruction; and the server selects the corresponding test tool / equipment to test according to the test instruction, so as to realize the simultaneous testing of multiple test items, avoid the tester from moving between the test devices, and improve the test efficiency.

[0042] In one embodiment, the client is used to create a test project and select test items in the test project accordingly after receiving the test command, and send a test instruction including the first test item to the server;

[0043] The server is used to select a corresponding test tool / device to test the test items in the test instruction according to the test instruction, and send the test result to the client;

[0044] The client is also used to send a test instruction for the next test item to the server after receiving the test result if the test results of all test items have not been received, until all test items are completed.

[0045] In this embodiment, it is easy to understand that there is a test order between multiple test items of the test project; the test order can be set by the tester; in particular, the order in which the test items are selected by the tester is used as the test order. The client sends the test item to the server, and after receiving the test result of the test item sent by the server, determines whether the test item is the last test item in the test project; in addition to knowing whether all test items are completed according to the sequence number of each test item in the test project, it can also be known in the following way: if the test item is the last test item in the test project, it means that the test results of all test items have been obtained, so it can be known whether all test items are completed by comparing the number of test items and the number of test results obtained. If all test items are not completed, a subsequent test item is sent until all test items are completed. In particular, after creating a test project and selecting the test items in the test project accordingly, the client sends a test instruction including the first test item to the server.

[0046] Optionally, a TCP / IP communication protocol is established between the client and the server.

[0047] The present invention further provides a test control method, which is applied to a server, the server is connected to a plurality of test devices, and the test control method comprises:

[0048] After receiving the test instruction sent by the client, select the corresponding test tool or test equipment according to the test instruction to perform the corresponding test;

[0049] Get the test results and output them to the client.

[0050] It should be noted that the executor of the test control method is a processor or controller on the server side. The test instruction includes at least the test items in the client test project and the corresponding test equipment / test tools. It is easy to understand that after receiving the test instruction, the server side needs to first determine the test equipment / test tool corresponding to the test item in the test instruction. The multiple test devices connected to the server side are respectively connected to the server side for communication. Optionally, the test device and the server side can establish a connection through a network protocol. It is easy to understand that after obtaining the test results output by the test device or test tool, the server side outputs the test results to the client.

[0051] According to the test instruction, the corresponding test tool or test equipment is selected to perform the corresponding test. It is easy to understand that each test item has a corresponding test equipment / test tool, that is, when selecting a test item, the test equipment / test tool required to complete the test item can be determined. The test instruction includes the test equipment / test tool required to complete the test item; the test instruction can be classified by the test equipment or test tool required to test the test item in the test instruction.

[0052] In one embodiment, if the test instruction received by the server includes a test device / test tool specifically corresponding to the test item, the server selects the test device / test tool to complete the test item.

[0053] In one example, selecting a corresponding test tool or test equipment according to the test instruction to perform a corresponding test specifically also includes:

[0054] If a software development kit is available, the test tool corresponding to the test instruction is selected through the interface of the software development kit to perform the test;

[0055] If there is no software development kit, select a test tool to perform testing according to input instructions from an external input device.

[0056] It should be noted that SDK (Software Development Kit) has a test tool program, and the corresponding test tool can be called through the reserved interface of SDK to complete the test. After determining that the test tool is needed to complete the test, it is determined whether the server has SDK; if it has SDK, the test tool corresponding to the test instruction is selected through the SDK interface for testing. The SDK toolkit can pre-place the test tools needed during the test. Automated testing can be completed through SDK.

[0057] If there is no SDK, a test tool is selected for testing according to the input instruction of the external input device. It should be noted that, in the absence of SDK, a test tool in the server needs to be manually selected for testing.

[0058] When the server is connected to multiple test devices, the test device identification may be unclear, resulting in the server being unable to send test item data to the correct test device.

[0059] In another embodiment, selecting a corresponding test tool or test equipment according to the test instruction to perform a corresponding test specifically includes:

[0060] Step S110: selecting a test device for testing according to the type of the test instruction;

[0061] Step S120, sending serial port instructions corresponding to the test instruction type to the connected multiple test devices in sequence;

[0062] Step S130, taking the test device that correctly responds to the serial port command as the test device corresponding to the test command;

[0063] Step S140: output the test instruction to the test device to perform the test.

[0064] It should be noted that each test device can perform different test items, and correspondingly, the types and numbers of test parameters of each test device are also different. For example: in the aging experiment, it is necessary to detect temperature, humidity or oxygen content. In screen detection, it is necessary to detect brightness, contrast, resolution, color gamut, color temperature or refresh rate. The types and numbers of parameters set for different test items will also be different. The detection device has an input detection function, which will detect the input setting parameters. When the input parameters do not meet the conditions, it will not run and report an error accordingly; when the input parameters meet the conditions, the correct response information will be sent. It is easy to understand that the test end is connected to a plurality of test devices, and the plurality of test devices may belong to different technical fields, such as material testing equipment, semiconductor testing equipment, environmental testing equipment, electrical testing equipment and communication testing equipment, etc. The differences in test equipment in different fields are large and generally cannot be mixed. Since the test end is connected to a plurality of test devices, in order to use the appropriate test equipment to complete the test item, the server, after receiving the test instruction issued by the client, selects the test device corresponding to the test instruction type for testing according to the type of the test instruction. In the present invention, the type of obtaining the test instruction has the following two scenarios. First, the test instruction includes the type information of the test instruction. After the server extracts the type information from the test instruction, it selects the corresponding test equipment according to the type information. Second, the test instruction does not include the type information of the test instruction. The server extracts the test items in the test instruction and analyzes the specific content of the test items to obtain the type of the test instruction. For example, if the test instruction includes an impact test item, the type of the test instruction is classified as the material testing field, and an impact tester is selected for testing.

[0065] It should be noted that if the test instruction contains multiple test items, the test equipment corresponding to each test item is obtained according to the specific content or type information of each test item, and then the test equipment is selected accordingly for testing.

[0066] In the case that it is unclear whether the test device can perform the test items, a serial port command corresponding to the test command type can be sent to the multiple connected test devices. In particular, in order to avoid distinguishing the response information of each test device, the server can send serial port commands corresponding to the test command type to the multiple connected test devices in sequence.

[0067] After receiving the correct response information, the server will use the test device that correctly responds to the serial port command as the test device corresponding to the test command and mark it to facilitate subsequent testing.

[0068] The test device that correctly corresponds to the test instruction can be obtained by sending serial port instructions corresponding to the test instruction type to multiple test devices and detecting the responses of the test devices.

[0069] The present invention also proposes a testing method, which is applied to a client; the testing method comprises:

[0070] Step S210, detecting whether the communication with the server is normal;

[0071] Step S220: When the communication with the server is normal, create a test project according to the user input instruction, and select a test item in the test project;

[0072] Step S230: after receiving the test command, send the corresponding test instruction to the server according to the test items in the test project;

[0073] Step S240: after receiving the test result output by the server, determine whether all the test items in the test project are completed;

[0074] Step S250: If all test items are completed, the test is terminated and all test results are stored in the database.

[0075] It should be noted that the executor of the test method is the processor or controller in the client. It is easy to understand that before the operator issues instructions to the server through the client, it is necessary to detect whether the communication with the server is normal. If the communication is abnormal, the corresponding statement is displayed to prompt the operator to check and repair. It is easy to understand that the detection of whether the communication with the server is normal also includes: if the connection to the server fails, reconnect and display a preset prompt statement. The preset prompt statement is set by the R&D personnel.

[0076] When the communication with the server is normal, the operator inputs instructions on the client. Specifically, the operator can input instructions to the client through input devices such as a keyboard and a mouse as user input instructions. The client creates a test project according to the user input instructions and selects a test item in the test project. After creating the test project and selecting the test item, the client waits until it receives the test command from the operator and starts the test.

[0077] After receiving the test command, the server sends the corresponding test instructions according to the test items in the test project. After that, the server waits for the test results output by the server, and determines whether all the test items in the test project are completed according to the test results. Specifically, it can be checked whether the test item corresponding to the test result is the last test item in the test project, or whether there are untested items in the test project. If all test items are completed, the client ends the test and stores all test results in the database.

[0078] In one embodiment, after receiving the test instruction, sending the corresponding test instruction to the server according to the test items in the test project specifically includes:

[0079] After receiving the test instruction, send the corresponding test instruction to the server according to the first test item in the test project;

[0080] After receiving the test result output by the server, determining whether all the test items in the test project are completed, and then further comprising:

[0081] If all test items are not completed, a test instruction is sent to the server according to the next test item in the test item, and after returning to execute the test result output by the server, it is determined whether all test items in the test item are completed until all test items are completed.

[0082] In this embodiment, the client sends the test instructions corresponding to the test items to the server in sequence; specifically, after receiving the test result of the previous test item, the client sends the test instructions corresponding to the next test item in the test sequence until the test of all test items in the test project is completed. The tester only needs to set up the test project and the test items in the test project, and the client can automatically send the test instructions to the server to complete the test of all test items in the test project, perform automated testing, and improve the test efficiency.

[0083] The present invention also proposes a storage medium, which is a computer-readable storage medium. A computer program is stored on the storage medium. When the computer program is executed by a processor, the test control method and / or the test method are implemented.

[0084] The above descriptions are only optional embodiments of the present invention, and are not intended to limit the patent scope of the present invention. All equivalent structural changes made using the contents of the present invention's specification and drawings, or directly / indirectly applied in other related technical fields, are included in the patent protection scope of the present invention.

Claims

1. A testing system, characterized in that: The test system comprises a server and a client, the server is connected to at least two test devices, and the client is in communication connection with the server; The client is used to create a test project and select test items in the test project accordingly after receiving the test command when the communication with the server is normal, and send a test instruction including the test items to the server; The server is used to select a corresponding test tool / device to test the test items in the test instruction according to the test instruction, and send the test result to the client; The client is also used to end the test and store all the test results after receiving the test results of all the test items.

2. The test system according to claim 1, characterized in that: The client is used to create a test project and select test items in the test project accordingly after receiving the test command, and send a test instruction including the first test item to the server; The server is used to select a corresponding test tool / device to test the test items in the test instruction according to the test instruction, and send the test result to the client; The client is also used to send a test instruction for the next test item to the server after receiving the test result if the test results of all test items have not been received, until all test items are completed.

3. The test system according to any one of claims 1 to 2, characterized in that: The client and the server establish a TCP / IP communication protocol.

4. A test control method, characterized in that: The test control method is applied to a server, the server is connected to a plurality of test devices, and the test control method comprises: After receiving the test instruction sent by the client, select the corresponding test tool or test equipment according to the test instruction to perform the corresponding test; Get the test results and output them to the client.

5. The test control method according to claim 4, characterized in that: The selecting a corresponding test tool or test equipment according to the test instruction to perform a corresponding test specifically includes: According to the type of the test instruction, select a test device to perform the test; Sending serial port commands corresponding to the test command types to the connected multiple test devices in sequence; The test device that correctly responds to the serial port command is used as the test device corresponding to the test command; The test instruction is output to the test device to perform the test.

6. The test control method according to claim 5, characterized in that: The selecting a corresponding test tool or test equipment according to the test instruction to perform a corresponding test specifically also includes: If a software development kit is available, the test tool corresponding to the test instruction is selected through the interface of the software development kit to perform the test; If there is no software development kit, select a test tool to perform testing according to input instructions from an external input device.

7. A testing method, characterized in that: The test method is applied to the client; the test method includes: Check whether the communication with the server is normal; When the communication between the server and the client is normal, a test project is created according to the user input instructions, and test items in the test project are selected; After receiving the test command, send the corresponding test instructions to the server according to the test items in the test project; After receiving the test results output by the server, determine whether all test items in the test project are completed; If all test items are completed, the test ends and all test results are stored in the database.

8. The testing method according to claim 7, characterized in that: After receiving the test instruction, sending the corresponding test instruction to the server according to the test items in the test project specifically includes: After receiving the test instruction, send the corresponding test instruction to the server according to the first test item in the test project; After receiving the test result output by the server, determining whether all the test items in the test project are completed, and then further comprising: If all test items are not completed, a test instruction is sent to the server according to the next test item in the test item, and after returning to execute the test result output by the server, it is determined whether all test items in the test item are completed until all test items are completed.

9. The testing method according to claim 7, characterized in that: Check whether the communication with the server is normal, and then include: If the connection to the server fails, reconnect and display the preset prompt statement.

10. A storage medium, characterized in that: The storage medium is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by the processor, it implements the test control method as described in any one of claims 4 to 6, and / or implements the test method as described in any one of claims 7 to 9.