CN112770108A - Performance test method, device and system and computer readable storage medium - Google Patents

Performance test method, device and system and computer readable storage medium Download PDF

Info

Publication number
CN112770108A
CN112770108A CN202011532413.6A CN202011532413A CN112770108A CN 112770108 A CN112770108 A CN 112770108A CN 202011532413 A CN202011532413 A CN 202011532413A CN 112770108 A CN112770108 A CN 112770108A
Authority
CN
China
Prior art keywords
performance
data
test
tested
state
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202011532413.6A
Other languages
Chinese (zh)
Other versions
CN112770108B (en
Inventor
王秀梅
岳顺
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Skyworth RGB Electronics Co Ltd
Original Assignee
Shenzhen Skyworth RGB Electronics Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Skyworth RGB Electronics Co Ltd filed Critical Shenzhen Skyworth RGB Electronics Co Ltd
Priority to CN202011532413.6A priority Critical patent/CN112770108B/en
Publication of CN112770108A publication Critical patent/CN112770108A/en
Application granted granted Critical
Publication of CN112770108B publication Critical patent/CN112770108B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N17/00Diagnosis, testing or measuring for television systems or their details
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N17/00Diagnosis, testing or measuring for television systems or their details
    • H04N17/04Diagnosis, testing or measuring for television systems or their details for receivers

Landscapes

  • Engineering & Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Biomedical Technology (AREA)
  • General Health & Medical Sciences (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Testing, Inspecting, Measuring Of Stereoscopic Televisions And Televisions (AREA)

Abstract

The application discloses a performance testing method, a device, a system and a computer readable storage medium, wherein the method comprises the following steps: determining a scene to be tested and performance data to be tested corresponding to the scene to be tested, and determining a test state required by the scene to be tested; adjusting the equipment state of the television equipment based on the test state, and testing the performance data to be tested based on the equipment state to obtain corresponding performance index data; and determining a performance test result corresponding to the performance data to be tested based on the performance index data. According to the method and the device, the equipment state of the television equipment is automatically adjusted to the test state required by the scene to be tested according to the test state required by the scene to be tested, manual operation adjustment is not needed, full automation of performance test of the television equipment is achieved, and accuracy of the performance test is improved.

Description

Performance test method, device and system and computer readable storage medium
Technical Field
The present application relates to the field of television device performance testing technologies, and in particular, to a performance testing method, apparatus, system, and computer-readable storage medium.
Background
In order to meet the requirements of people on high-quality products and improve the competitiveness of the products, various television manufacturers are all improving the running smoothness of television equipment to the utmost extent, so that the television equipment needs to be tested for various performance indexes, the performance indexes are used for measuring the performance of the television equipment, through testing various models and versions, the performance difference of the television equipment with different models can be transversely compared, the difference between different versions can be compared, and the performance test result can guide software developers to optimize the performance of the television equipment.
Because of numerous models and frequent version iteration of television equipment, in order to better monitor the performance change condition and guide optimization, a large amount of manpower is required to be invested for testing the performance indexes continuously for a long time, and at present, although partial performance index tests can be replaced by scripts, manual participation is still required and the test is only limited to individual scenes. Moreover, the test items of the performance indexes are numerous, a large amount of manpower is required to be invested, and the accuracy of the performance index test is low due to manual participation.
The above is only for the purpose of assisting understanding of the technical solutions of the present application, and does not represent an admission that the above is prior art.
Disclosure of Invention
The present application is directed to a method, an apparatus, a system and a computer readable storage medium for testing performance, and aims to realize full automation of performance testing and improve accuracy of performance testing.
In order to achieve the above object, an embodiment of the present application provides a performance testing method, where the performance testing method is applied to a television device, and the performance testing method includes:
determining a scene to be tested and performance data to be tested corresponding to the scene to be tested, and determining a test state required by the scene to be tested;
adjusting the equipment state of the television equipment based on the test state, and testing the performance data to be tested based on the equipment state to obtain corresponding performance index data;
and determining a performance test result corresponding to the performance data to be tested based on the performance index data.
Optionally, the test states include a standby test state and a power-on test state, and the step of adjusting the device state of the television device based on the test states includes:
if the test state is determined to be a standby test state, adjusting the equipment state of the television equipment to a standby state;
and if the test state is determined to be the starting test state, adjusting the equipment state of the television equipment to the starting state.
Optionally, the step of adjusting the device state of the television device to the power-on state includes:
sending an instruction page requesting for starting up to a computer terminal, so that the computer terminal can generate a corresponding standby code based on the instruction page and send the standby code to the television equipment;
and after receiving the standby code sent by the computer terminal group, adjusting the equipment state of the television equipment to a starting state.
Optionally, the step of determining the performance test result corresponding to the performance data to be tested based on the performance index data includes:
comparing the performance index data with preset evaluation data corresponding to the scene to be tested to obtain a corresponding comparison result;
and determining a performance test result corresponding to the to-be-tested performance data based on the comparison result.
Optionally, the step of determining a performance test result corresponding to the to-be-tested performance data based on the comparison result includes:
if the comparison result is determined to be matched with the preset character, determining that the performance data to be tested passes the test;
and if the comparison result is not matched with the preset character, determining that the performance data to be tested does not pass the test.
Optionally, the step of testing the performance data to be tested based on the device status to obtain corresponding performance index data includes:
determining the data complexity of the performance data to be tested, and determining whether data processing needs to be carried out on the performance data to be tested based on the data complexity;
if the data complexity is determined to be needed to carry out data processing on the performance data to be tested, determining the data complexity to determine a corresponding data algorithm, and carrying out data processing on the performance data to be tested based on the data algorithm;
and determining a test case corresponding to the scene to be tested, and testing the processed performance data to be tested based on the test case in the equipment state to obtain corresponding performance index data.
Optionally, after the step of determining the performance test result corresponding to the performance data to be tested based on the performance index data, the method further includes:
and displaying the performance test result on a display interface of the television equipment, sending the performance test result to a server end, storing the performance test result after the server end receives the performance test result, and generating a corresponding historical data list based on the performance test result.
The embodiment of the present application further provides a performance testing apparatus, where the performance testing apparatus is applied to a television device, and the performance testing apparatus includes:
the system comprises a determining module, a judging module and a judging module, wherein the determining module is used for determining a scene to be tested and performance data to be tested corresponding to the scene to be tested and determining a test state required by the scene to be tested;
the adjusting module is used for adjusting the equipment state of the television equipment based on the test state;
the test module is used for testing the performance data to be tested based on the equipment state to obtain corresponding performance index data;
the determining module is further configured to determine a performance test result corresponding to the to-be-tested performance data based on the performance index data.
The embodiment of the present application further provides a system, where the system includes a memory, a processor, and a performance test program stored in the memory and running on the processor, and when the performance test program is executed by the processor, the method for testing performance as described above is implemented.
The embodiment of the present application further provides a computer-readable storage medium, where a performance testing program is stored on the computer-readable storage medium, and when the performance testing program is executed by a processor, the steps of the performance testing method are implemented as described above.
The performance testing method, the device, the system and the computer readable storage medium provided by the embodiment of the application determine a scene to be tested and performance data to be tested corresponding to the scene to be tested, and determine a testing state required by the scene to be tested; adjusting the equipment state of the television equipment based on the test state, and testing the performance data to be tested based on the equipment state to obtain corresponding performance index data; and determining a performance test result corresponding to the performance data to be tested based on the performance index data. According to the method and the device, the equipment state of the television equipment is automatically adjusted to the test state required by the scene to be tested according to the test state required by the scene to be tested, manual operation adjustment is not needed, full automation of performance test of the television equipment is achieved, and accuracy of the performance test is improved.
Drawings
FIG. 1 is a system diagram illustrating a hardware operating environment according to an embodiment of the present disclosure;
FIG. 2 is a schematic flow chart of a first embodiment of a method for testing the performance of the present application;
FIG. 3 is a schematic flow chart diagram of another embodiment of a method for testing the performance of the present application;
FIG. 4 is a functional diagram of the overall implementation of the performance testing method of the present application;
fig. 5 is a functional block diagram of a test apparatus for testing the performance of the present application.
The implementation, functional features and advantages of the objectives of the present application will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
The main solution of the embodiment of the application is as follows: determining a scene to be tested and performance data to be tested corresponding to the scene to be tested, and determining a test state required by the scene to be tested; adjusting the equipment state of the television equipment based on the test state, and testing the performance data to be tested based on the equipment state to obtain corresponding performance index data; and determining a performance test result corresponding to the performance data to be tested based on the performance index data. According to the method and the device, the equipment state of the television equipment is automatically adjusted to the test state required by the scene to be tested according to the test state required by the scene to be tested, manual operation adjustment is not needed, full automation of performance test of the television equipment is achieved, and accuracy of the performance test is improved.
Specifically, referring to fig. 1, fig. 1 is a schematic system structure diagram of a hardware operating environment according to an embodiment of the present application.
As shown in fig. 1, the system is a performance testing system, and the performance testing system may include: a processor 1001, such as a CPU (Central Processing Unit), a memory 1005, a user interface 1003, a network interface 1004, and a communication bus 1002. A communication bus 1002 is used to enable connection communications between these components. The user interface 1003 may include a Display screen (Display), an input unit such as a keyboard (board), and the user interface 1003 may optionally include a standard wired interface (e.g., a USB (Universal Serial Bus) interface), and a wireless interface (e.g., a bluetooth interface). The network interface 1004 may include a standard wired interface, a Wireless interface (e.g., a WI-FI interface). The memory 1005 may be a high-speed RAM memory or a non-volatile memory (e.g., a magnetic disk memory). The memory 1005 may alternatively be a storage device separate from the processor 1001.
Those skilled in the art will appreciate that the configuration of the performance testing system shown in FIG. 1 does not constitute a limitation of the performance testing system, and may include more or fewer components than shown, or some components in combination, or a different arrangement of components.
As shown in fig. 1, a memory 1005, which is a kind of computer-readable storage medium, may include therein an operating system, a network communication module, a user interface module, and a performance test program. Among them, the operating system is a program that manages and controls the performance test system hardware and software resources, a test program that supports performance, and the running of other software or programs.
In the performance testing system shown in fig. 1, the network interface 1004 is mainly used for connecting to a background server and performing data communication with the background server; the user interface 1003 is mainly used for connecting a user terminal and performing data communication with the user terminal; among other things, the processor 1001 may be configured to call a performance test program stored in the memory 1005, and perform the following operations:
determining a scene to be tested and performance data to be tested corresponding to the scene to be tested, and determining a test state required by the scene to be tested;
adjusting the equipment state of the television equipment based on the test state, and testing the performance data to be tested based on the equipment state to obtain corresponding performance index data;
and determining a performance test result corresponding to the performance data to be tested based on the performance index data.
Further, the processor 1001 may call a performance test program stored in the memory 1005, and also perform the following operations:
if the test state is determined to be a standby test state, adjusting the equipment state of the television equipment to a standby state;
and if the test state is determined to be the starting test state, adjusting the equipment state of the television equipment to the starting state.
Further, the processor 1001 may call a performance test program stored in the memory 1005, and also perform the following operations:
sending an instruction page requesting for starting up to a computer terminal, so that the computer terminal can generate a corresponding standby code based on the instruction page and send the standby code to the television equipment;
and after receiving the standby code sent by the computer terminal group, adjusting the equipment state of the television equipment to a starting state.
Further, the processor 1001 may call a performance test program stored in the memory 1005, and also perform the following operations:
comparing the performance index data with preset evaluation data corresponding to the scene to be tested to obtain a corresponding comparison result;
and determining a performance test result corresponding to the to-be-tested performance data based on the comparison result.
Further, the processor 1001 may call a performance test program stored in the memory 1005, and also perform the following operations:
if the comparison result is determined to be matched with the preset character, determining that the performance data to be tested passes the test;
and if the comparison result is not matched with the preset character, determining that the performance data to be tested does not pass the test.
Further, the processor 1001 may call a performance test program stored in the memory 1005, and also perform the following operations:
determining the data complexity of the performance data to be tested, and determining whether data processing needs to be carried out on the performance data to be tested based on the data complexity;
if the data complexity is determined to be needed to carry out data processing on the performance data to be tested, determining the data complexity to determine a corresponding data algorithm, and carrying out data processing on the performance data to be tested based on the data algorithm;
and determining a test case corresponding to the scene to be tested, and testing the processed performance data to be tested based on the test case in the equipment state to obtain corresponding performance index data.
Further, the processor 1001 may call a performance test program stored in the memory 1005, and also perform the following operations:
and displaying the performance test result on a display interface of the television equipment, sending the performance test result to a server end, storing the performance test result after the server end receives the performance test result, and generating a corresponding historical data list based on the performance test result.
Based on the above described performance testing system architecture, but not limited to the above described architecture, embodiments of the present application provide embodiments of a performance testing method, and it should be noted that although a logical order is shown in the flow chart, under certain data, the steps shown or described may be performed in an order different from that shown or described herein.
In the embodiment of the application, the automatic test equipment of the television equipment in the performance test system is taken as an execution main body for example. Referring to fig. 2, fig. 2 is a schematic flow chart of a first embodiment of the performance testing method of the present application. The performance testing method comprises the following steps:
step S10, determining a scene to be tested and performance data to be tested corresponding to the scene to be tested, and determining a test state required by the scene to be tested.
It should be noted that the performance testing system includes an automatic testing portion and a device status adjusting portion, the automatic testing portion is mainly a television device, and the television device includes, but is not limited to, an automatic testing device, a time data providing device, and a system resource parameter providing device. The automatic test device is provided with an automatic test app (application program), and the automatic test app has the functions of UI (User Interface) interaction, test scene simulation realization, performance test data acquisition, performance test data processing and performance test result display. The time data providing device is provided with an app for providing time data, and the app is used for sending the time data to the automatic testing app. A system resource parameter provisioning process in the system resource parameter provisioning device is used to send the system resource parameters to the automation test app. The equipment state adjusting part is mainly a standby awakening function module which at least comprises a camera, an infrared emission module and a computer terminal.
Before the automatic test of the performance test system, a file cool-open system upgrade package, a native system upgrade package, a third-party app to be tested and an automatic test app need to be put into a USB flash disk, then the automatic test app is installed and operated, the test upgrade package and the non-system preset app are selected, the automatic test of the performance test system is started, and all subsequent processes are automatically realized. And then, the performance test system executes the test case of the whole system, and executes the upper application test case after the automatic preparation working stage of the performance test system is completed.
After the performance test system starts automatic test, the requirement of each application program for acquiring time data is supported through an ftrace (framework) mechanism, the function of ftrace is opened through a linux (open source system) kernel, when the performance test system is started, a tracefs file system is mounted, the time point data is written into a trace _ marker file, the time point data is read from a trace _ pipe file, the output format of the time point data is fixed, and the corresponding flow is conveniently analyzed and analyzed. Each time data providing app calls an Interface provided by writing or reading after through a JNI (Java Native Interface, Java local Interface writing program), records time node data of each test scene, and sends the time node data to the automatic test app so as to call the time node data by the automatic test app. The system resource parameter providing device is a daemon Process, has root authority, and sends corresponding system resource parameter data to the automatic test app through an Inter-Process Communication (IPC) Communication mode of AF _ LOCAL of a socket so that the automatic test app can call the system resource parameter data.
The automatic test app determines each time node data sent by each time data providing app and a test scene corresponding to each time node data, and determines each system resource parameter data sent by the system resource parameter providing device and a test scene corresponding to each system resource parameter data, wherein the time node data and the system resource parameter data are performance data to be tested, which are required to be obtained by the automatic test app. And then, performing scene analysis on each test scene by the automatic test app to determine the test state required by each test scene, wherein if the test state required by the test scene 1 is a standby test state, namely the television equipment is in the standby state, the performance test can be performed, and if the test state required by the test scene 2 is a power-on test state, namely the television equipment is in the power-on state, the performance test can be performed.
And step S20, adjusting the equipment state of the television equipment based on the test state, and testing the performance data to be tested based on the equipment state to obtain corresponding performance index data.
After the automatic test app determines the test states required by the test scenes, the equipment state of the television equipment is adjusted according to the test states required by the test scenes, and the equipment state of the television equipment is adjusted to be consistent with the test states required by the test scenes, if the test states required by the test scenes are the starting test states, the equipment state of the television equipment is adjusted to be the starting state by the automatic test app.
After the automatic test app adjusts the equipment state of the television equipment, the performance test is performed on the to-be-tested performance data corresponding to the test scene in the equipment state corresponding to the test scene, and the performance index data of the to-be-tested performance data corresponding to the test scene in the equipment state is obtained.
Further, the step S20 adjusts the device status of the television device based on the test status, including:
step S201, if the test state is determined to be a standby test state, adjusting the equipment state of the television equipment to a standby state;
step S202, if the test state is determined to be the power-on test state, adjusting the equipment state of the television equipment to the power-on state.
Specifically, if the automatic test app determines that the test state is the standby test state, the automatic test app adjusts the device state of the television device to the standby state, and if the automatic test app determines that the test state is the power-on test state, the automatic test app adjusts the device state of the television device to the power-on state.
Further, the step S202 includes:
step S2021, sending an instruction page requesting for starting up to a computer terminal, so that the computer terminal can generate a corresponding standby code based on the instruction page and send the standby code to the television equipment;
step S2022, after receiving the standby code sent by the computer terminal, adjusting the device state of the television device to the power-on state.
Specifically, the automatic test app in the television device sends a command page requesting for startup to the computer terminal, the computer terminal compares the received command page with a preset page in the computer terminal, determines whether the received command page is consistent with the preset page, if the computer terminal determines that the received command page is consistent with the preset page, the computer terminal determines that the device state of the television device needs to be adjusted to the startup state, generates a corresponding standby code, and sends the standby code to the television device through the infrared sending module, and after the automatic test app determines that the infrared receiving module in the television device receives the standby code, the device state of the television device is adjusted to the startup state, wherein the preset page is set by a technician, which is not limited in this embodiment. And if the computer terminal determines that the received instruction page is inconsistent with the preset page, the computer terminal does not execute any operation.
Further, it can be understood that the automatic test app displays a request page requesting to press the standby key, after the camera in the standby wakeup function module captures the request picture, software of the computer terminal in the standby wakeup function module compares the request picture with a preset picture pre-stored in the computer terminal, if the computer terminal determines that the request picture is the same as the preset picture, the computer terminal sends a command for transmitting the standby infrared code to the infrared transmission module, the infrared transmission module transmits the infrared standby code after receiving the command, and after the automatic test app determines that the infrared reception module in the television device receives the standby code, the device state of the television device is adjusted to the power-on state.
Further, the step S20 tests the performance data to be tested based on the device status to obtain corresponding performance index data, including:
step S203, determining the data complexity of the performance data to be tested, and determining whether data processing needs to be carried out on the performance data to be tested based on the data complexity;
step S204, if it is determined that the performance data to be tested needs to be processed based on the data complexity, determining the data complexity to determine a corresponding data algorithm, and processing the performance data to be tested based on the data algorithm;
step S205, determining a test case corresponding to the scene to be tested, and testing the processed performance data to be tested based on the test case in the equipment state to obtain corresponding performance index data.
Specifically, the automatic test app determines the data complexity of the performance data to be tested according to the data type of the performance data to be tested, and then determines whether data processing needs to be performed on the performance data to be tested according to the data complexity. If the automatic test app determines that the data complexity is greater than or equal to the preset complexity, the automatic test app determines that data processing needs to be performed on the performance data to be tested, determines a data algorithm corresponding to the data complexity, and performs data processing on the performance data to be tested through the data algorithm to obtain the processed performance data to be tested, wherein the preset complexity is set by a user according to requirements, and the embodiment is not limited. Then, the automatic test app determines a test case corresponding to the scene to be tested, and tests the processed performance data to be tested through the test case in the equipment state (standby state or power-on state) to obtain performance index data corresponding to the performance data to be tested. If the automatic test app determines that the data complexity is smaller than the preset complexity, the automatic test app determines that data processing is not required to be performed on the performance data to be tested, determines a test case corresponding to the scene to be tested, and directly tests the performance data to be tested through the test case in the equipment state to obtain performance index data corresponding to the performance data to be tested.
And step S30, determining a performance test result corresponding to the to-be-tested performance data based on the performance index data.
It should be noted that before the user performs the automatic test on the automatic test app, the user needs to preset each test case and preset evaluation data corresponding to each test scene in a storage system of the television device, where each test case is designed by the user according to needs, and the preset evaluation data corresponding to each test scene is data obtained by the user according to an experiment, which is not limited in this embodiment.
After the automatic test app obtains the performance index data of the performance data to be tested, the performance index data is compared with preset evaluation data corresponding to a scene to be tested, and whether the performance data to be tested passes the performance test or not is determined according to the comparison result of the performance index data and the preset evaluation data.
Further, the step S30 includes:
step S301, comparing the performance index data with preset evaluation data corresponding to the scene to be tested to obtain a corresponding comparison result;
step S302, determining a performance test result corresponding to the performance data to be tested based on the comparison result.
Specifically, the automatic test app compares the performance index data with preset evaluation data corresponding to the scene to be tested to obtain a corresponding comparison result. Then, the automatic test app detects whether the comparison result is consistent with the preset result, and determines a performance test result corresponding to the performance data to be tested according to the detection result, where the comparison result and the preset result may be represented in a character form or a text form, such as "Pass", "Fail", "Pass", and "Fail", and the embodiment is not limited.
Further, the step S302 includes:
step S3021, if the comparison result is determined to be matched with a preset character, determining that the performance data to be tested passes the test;
step S3022, if it is determined that the comparison result does not match the preset character, determining that the performance data to be tested fails the test.
Specifically, if the automatic test app determines that the comparison result matches the preset characters, the automatic test app determines that the performance data to be tested passes the test, and if the automatic test app determines that the comparison result does not match the preset characters, the automatic test app determines that the performance data to be tested does not pass the test. The preset characters may be represented in a character form, or may be represented in a text form, such as "Pass", and "success", and the present embodiment is not limited.
In this embodiment, for example, the comparison result and the preset character are represented in a character form, the preset character is "Pass", the comparison result is "Fail", the automatic test app determines that the comparison result does not match the preset character, and determines that the performance data to be tested does not Pass the test.
It should be noted that, in the process of the automated testing app, information such as the currently completed test percentage and the remaining completion time is displayed on the device screen of the television device through the UI interface of the software, so as to feed back the test progress of the test state.
The embodiment determines a scene to be tested and performance data to be tested corresponding to the scene to be tested, and determines a test state required by the scene to be tested; adjusting the equipment state of the television equipment based on the test state, and testing the performance data to be tested based on the equipment state to obtain corresponding performance index data; and determining a performance test result corresponding to the performance data to be tested based on the performance index data. According to the method and the device for testing the television equipment, the equipment state of the television equipment is automatically adjusted to the testing state required by the scene to be tested according to the testing state required by the scene to be tested, the manual operation part is converted into the program and the auxiliary equipment, manual operation adjustment is not needed, full automation of performance testing of the television equipment is achieved, and accuracy of the performance testing is improved.
Referring to fig. 3, fig. 3 is a schematic flow chart of another embodiment of the performance testing method of the present application.
Step S40, displaying the performance test result on a display interface of the television device, and sending the performance test result to a server, so that after the server receives the performance test result, the server stores the performance test result, and generates a corresponding historical data list based on the performance test result.
And after the performance test of the automatic test app is finished, displaying the performance test result on a display interface of the television equipment, and sending the performance test result to the server side in a file form through a network in the television equipment. After receiving the performance test result file, the server displays the performance test result file through an HTML (HyperText Markup Language) interface, meanwhile, a program in the server stores the performance test result sent by the automatic test app each time in a database, sorts all the performance test results according to the time sequence, compares all the performance test results with data and derives the data, and generates a historical data list corresponding to the performance test results. And meanwhile, the server side sends the performance test result to the user terminal through the mail.
In the embodiment, the performance test result is displayed on the display interface of the television equipment and sent to the server side, so that the server side stores the performance test result after receiving the performance test result, and generates the corresponding historical data list based on the performance test result. Therefore, a user can check the performance test result through the equipment screen of the television equipment, meanwhile, the performance test result is automatically uploaded to the server side and sent to the user terminal through the mail, the server side can also display data, compare the data, export the data and the like, the manual operation part is converted into a program and auxiliary equipment, manual operation is not needed, and full automation of performance test of the television equipment is achieved.
Further, referring to fig. 4, fig. 4 is a general implementation functional diagram of the performance testing method of the present application. The performance test system comprises an automatic test part (television equipment part) and an equipment state adjusting part (standby awakening function module part). The television device comprises automatic test equipment (automatic test apps), time data providing equipment (providing time node data apps) and system resource parameter providing equipment (system resource parameter providing processes), requirements of providing the time node data apps and acquiring time node data are supported through a ftrace (framework) mechanism, the time node data apps are acquired and sent to the automatic test apps, and the system resource parameter providing processes send system resource parameters to the automatic test apps. The method comprises the steps that a request page which requires pressing of a standby key is displayed by an automatic test app, after a camera in a standby awakening function module catches a request picture, software of a computer terminal in the standby awakening function module can compare the request picture with a preset picture stored in the computer terminal in advance, if the computer terminal determines that the request picture is the same as the preset picture, the computer terminal sends a command of transmitting a standby infrared code to an infrared transmitting module, the infrared transmitting module transmits the infrared standby code after receiving the command, and after the automatic test app determines that an infrared receiving module in the television equipment receives the standby code, the equipment state of the television equipment is adjusted to a starting state.
The application also provides a performance testing device. Referring to fig. 5, fig. 5 is a functional block diagram of a testing device for testing the performance of the present application. The performance testing device comprises:
the system comprises a determining module 10, a judging module and a judging module, wherein the determining module is used for determining a scene to be tested and performance data to be tested corresponding to the scene to be tested, and determining a test state required by the scene to be tested;
an adjusting module 20, configured to adjust a device state of the television device based on the test state;
the test module 30 is configured to test the to-be-tested performance data based on the device state to obtain corresponding performance index data;
the determining module 10 is further configured to determine a performance test result corresponding to the to-be-tested performance data based on the performance index data.
Further, the adjusting module 20 is further configured to adjust the device state of the television device to a standby state if it is determined that the test state is a standby test state;
the adjusting module 20 is further configured to adjust the device state of the television device to the power-on state if it is determined that the test state is the power-on test state.
Further, the adjusting module 20 includes:
and the sending unit is used for sending the instruction page requesting for starting up to the computer terminal so that the computer terminal can generate a corresponding standby code based on the instruction page and send the standby code to the television equipment.
The adjusting module 20 is further configured to adjust the device state of the television device to the power-on state after receiving the standby code sent by the computer terminal.
Further, the determining module 10 includes:
and the comparison unit is used for comparing the performance index data with preset evaluation data corresponding to the scene to be tested to obtain a corresponding comparison result.
Further, the determining module 10 is further configured to determine a performance test result corresponding to the performance data to be tested based on the comparison result;
the determining module 10 is further configured to determine that the to-be-tested performance data passes the test if it is determined that the comparison result matches a preset character;
the determining module 10 is further configured to determine that the performance data to be tested fails the test if it is determined that the comparison result is not matched with the preset character.
The determining module 10 is further configured to determine a data complexity of the to-be-tested performance data, and determine whether data processing needs to be performed on the to-be-tested performance data based on the data complexity;
the determining module 10 is further configured to determine the data complexity to determine a corresponding data algorithm if it is determined that data processing needs to be performed on the performance data to be tested based on the data complexity.
Further, the test module 30 includes:
and the processing unit is used for processing the data of the performance data to be tested based on the data algorithm.
Further, the determining module 10 is further configured to determine a test case corresponding to the scene to be tested;
the test module 30 is further configured to test the processed performance data to be tested based on the test case in the device state, so as to obtain corresponding performance index data.
Further, the performance testing apparatus further includes:
the display module is used for displaying the performance test result on a display interface of the television equipment;
and the sending module is used for sending the performance test result to a server end so that the server end can store the performance test result after receiving the performance test result, and a corresponding historical data list is generated based on the performance test result.
The function implementation of each module in the performance testing apparatus corresponds to each step in the performance testing method embodiment, and the function and implementation process are not described in detail here.
The present application further provides a computer readable storage medium having stored thereon a performance testing program, which when executed by a processor implements the steps of the method of testing performance as described in any of the above embodiments.
The specific embodiment of the computer-readable storage medium of the present application is substantially the same as the embodiments of the performance testing method described above, and is not described herein again.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The above-mentioned serial numbers of the embodiments of the present application are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but the former is a better implementation manner in many cases. Based on this understanding, the technical solutions of the present application may be embodied in the form of software goods stored in a computer-readable storage medium (e.g., ROM/RAM, magnetic disk, optical disk) and including instructions for enabling a performance testing system to complete the methods according to the embodiments of the present application.

Claims (10)

1. A performance testing method is applied to television equipment, and is characterized in that the performance testing method comprises the following steps:
determining a scene to be tested and performance data to be tested corresponding to the scene to be tested, and determining a test state required by the scene to be tested;
adjusting the equipment state of the television equipment based on the test state, and testing the performance data to be tested based on the equipment state to obtain corresponding performance index data;
and determining a performance test result corresponding to the performance data to be tested based on the performance index data.
2. The method for testing performance of claim 1, wherein the test states comprise a standby test state and a power-on test state, and the step of adjusting the device state of the television device based on the test states comprises:
if the test state is determined to be a standby test state, adjusting the equipment state of the television equipment to a standby state;
and if the test state is determined to be the starting test state, adjusting the equipment state of the television equipment to the starting state.
3. The method for testing performance of claim 2, wherein the step of adjusting the device state of the television device to the on state comprises:
sending an instruction page requesting for starting up to a computer terminal, so that the computer terminal can generate a corresponding standby code based on the instruction page and send the standby code to the television equipment;
and after receiving the standby code sent by the computer terminal group, adjusting the equipment state of the television equipment to a starting state.
4. The method for testing performance of claim 1, wherein the step of determining the performance test result corresponding to the performance data to be tested based on the performance index data comprises:
comparing the performance index data with preset evaluation data corresponding to the scene to be tested to obtain a corresponding comparison result;
and determining a performance test result corresponding to the to-be-tested performance data based on the comparison result.
5. The method for testing performance of claim 4, wherein the step of determining the performance test result corresponding to the performance data to be tested based on the comparison result comprises:
if the comparison result is determined to be matched with the preset character, determining that the performance data to be tested passes the test;
and if the comparison result is not matched with the preset character, determining that the performance data to be tested does not pass the test.
6. The method for testing performance of claim 1, wherein the step of testing the performance data to be tested based on the device status to obtain corresponding performance index data comprises:
determining the data complexity of the performance data to be tested, and determining whether data processing needs to be carried out on the performance data to be tested based on the data complexity;
if the data complexity is determined to be needed to carry out data processing on the performance data to be tested, determining the data complexity to determine a corresponding data algorithm, and carrying out data processing on the performance data to be tested based on the data algorithm;
and determining a test case corresponding to the scene to be tested, and testing the processed performance data to be tested based on the test case in the equipment state to obtain corresponding performance index data.
7. The method for testing performance of any one of claims 1 to 6, wherein after the step of determining the performance test result corresponding to the performance data to be tested based on the performance index data, the method further comprises:
and displaying the performance test result on a display interface of the television equipment, sending the performance test result to a server end, storing the performance test result after the server end receives the performance test result, and generating a corresponding historical data list based on the performance test result.
8. A performance testing apparatus, wherein the performance testing apparatus is applied to a television device, the performance testing apparatus comprises:
the system comprises a determining module, a judging module and a judging module, wherein the determining module is used for determining a scene to be tested and performance data to be tested corresponding to the scene to be tested and determining a test state required by the scene to be tested;
the adjusting module is used for adjusting the equipment state of the television equipment based on the test state;
the test module is used for testing the performance data to be tested based on the equipment state to obtain corresponding performance index data;
the determining module is further configured to determine a performance test result corresponding to the to-be-tested performance data based on the performance index data.
9. A system comprising a memory, a processor and a performance test program stored on the memory and running on the processor, the performance test program when executed by the processor implementing the steps of the method of testing performance as claimed in any one of claims 1 to 7.
10. A computer-readable storage medium, on which a performance testing program is stored, which, when executed by a processor, implements the steps of the method of testing performance according to any one of claims 1 to 7.
CN202011532413.6A 2020-12-22 2020-12-22 Performance test method, device and system and computer readable storage medium Active CN112770108B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011532413.6A CN112770108B (en) 2020-12-22 2020-12-22 Performance test method, device and system and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011532413.6A CN112770108B (en) 2020-12-22 2020-12-22 Performance test method, device and system and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN112770108A true CN112770108A (en) 2021-05-07
CN112770108B CN112770108B (en) 2022-07-19

Family

ID=75694806

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011532413.6A Active CN112770108B (en) 2020-12-22 2020-12-22 Performance test method, device and system and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN112770108B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113515460A (en) * 2021-07-30 2021-10-19 深圳康佳电子科技有限公司 Function testing method and device, terminal equipment and storage medium
CN114885156A (en) * 2022-07-13 2022-08-09 龙旗电子(惠州)有限公司 Identification method, device, equipment, storage medium and program product

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102567203A (en) * 2011-12-28 2012-07-11 创新科软件技术(深圳)有限公司 Method and system for testing performance of distributed file system (DFS)
CN106707771A (en) * 2015-11-12 2017-05-24 丰唐物联技术(深圳)有限公司 Test method and system for intelligent appliance
CN107529057A (en) * 2017-07-07 2017-12-29 广州视源电子科技股份有限公司 Television set stews machine method of testing, system and storage medium
CN108156456A (en) * 2017-12-25 2018-06-12 深圳创维-Rgb电子有限公司 A kind of TV performance test methods, device and storage medium
CN109726100A (en) * 2018-04-19 2019-05-07 平安普惠企业管理有限公司 Application performance test method, apparatus, equipment and computer readable storage medium
CN110324612A (en) * 2019-07-05 2019-10-11 深圳市康冠技术有限公司 Test method, testing and control terminal and the television set of television set
CN110446026A (en) * 2019-07-03 2019-11-12 深圳创维-Rgb电子有限公司 A kind of method and system of electric performance test equipment integrated test
CN110830796A (en) * 2019-11-01 2020-02-21 深圳创维-Rgb电子有限公司 Television application testing method, television application testing device and readable storage medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102567203A (en) * 2011-12-28 2012-07-11 创新科软件技术(深圳)有限公司 Method and system for testing performance of distributed file system (DFS)
CN106707771A (en) * 2015-11-12 2017-05-24 丰唐物联技术(深圳)有限公司 Test method and system for intelligent appliance
CN107529057A (en) * 2017-07-07 2017-12-29 广州视源电子科技股份有限公司 Television set stews machine method of testing, system and storage medium
CN108156456A (en) * 2017-12-25 2018-06-12 深圳创维-Rgb电子有限公司 A kind of TV performance test methods, device and storage medium
CN109726100A (en) * 2018-04-19 2019-05-07 平安普惠企业管理有限公司 Application performance test method, apparatus, equipment and computer readable storage medium
CN110446026A (en) * 2019-07-03 2019-11-12 深圳创维-Rgb电子有限公司 A kind of method and system of electric performance test equipment integrated test
CN110324612A (en) * 2019-07-05 2019-10-11 深圳市康冠技术有限公司 Test method, testing and control terminal and the television set of television set
CN110830796A (en) * 2019-11-01 2020-02-21 深圳创维-Rgb电子有限公司 Television application testing method, television application testing device and readable storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113515460A (en) * 2021-07-30 2021-10-19 深圳康佳电子科技有限公司 Function testing method and device, terminal equipment and storage medium
CN114885156A (en) * 2022-07-13 2022-08-09 龙旗电子(惠州)有限公司 Identification method, device, equipment, storage medium and program product

Also Published As

Publication number Publication date
CN112770108B (en) 2022-07-19

Similar Documents

Publication Publication Date Title
CN109840206B (en) Data testing method, device, terminal and storage medium
CN112770108B (en) Performance test method, device and system and computer readable storage medium
GB2407893A (en) Software development for a wireless mobile device
CN110825618B (en) Method and related device for generating test case
CN110955600B (en) Interface testing method and device
CN111475417A (en) Automatic testing method, device, equipment and storage medium
CN107656872B (en) Software testing method, device, equipment and computer storage medium
CN108347356B (en) Multi-protocol unit testing method and device, electronic equipment and storage medium
CN111475390A (en) Log collection system deployment method, device, equipment and storage medium
CN111737073B (en) Automatic testing method, device, equipment and medium
CN112115051A (en) Page traversal detection method, device and equipment for application and readable storage medium
CN115757014A (en) Power consumption testing method and device
CN112231206A (en) Script editing method for application program test, computer readable storage medium and test platform
CN115543324B (en) Method, device, equipment and medium for generating interactive interface
CN110874278A (en) Embedding method of external system, workflow system, device and storage medium
CN110825649A (en) Application testing method, device, equipment and storage medium
CN116298340A (en) Product defect detection method and system based on task scheduling
CN115061912A (en) Test case generation and test method, system and medium
CN113761402A (en) Link debugging method, device, equipment and storage medium
CN116049020B (en) Automatic test method, device and equipment for software products and readable storage medium
CN111151008A (en) Game operation data verification method, device, configuration background and medium
CN109710509B (en) Data checking method, device, equipment and computer readable storage medium
CN114860570B (en) Development board evaluation method and device for SaaS mode
CN113094281B (en) Test method and device for hybrid App
CN113608996B (en) Mirror image compiling test method, system, device and readable storage medium

Legal Events

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