CN108874605B - Display screen testing method and device, electronic equipment and storage medium - Google Patents

Display screen testing method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN108874605B
CN108874605B CN201810694456.0A CN201810694456A CN108874605B CN 108874605 B CN108874605 B CN 108874605B CN 201810694456 A CN201810694456 A CN 201810694456A CN 108874605 B CN108874605 B CN 108874605B
Authority
CN
China
Prior art keywords
display screen
tested
state
screen
state conversion
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.)
Active
Application number
CN201810694456.0A
Other languages
Chinese (zh)
Other versions
CN108874605A (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201810694456.0A priority Critical patent/CN108874605B/en
Publication of CN108874605A publication Critical patent/CN108874605A/en
Application granted granted Critical
Publication of CN108874605B publication Critical patent/CN108874605B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2205Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested
    • G06F11/2221Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested to test input/output devices or peripheral units
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2273Test methods

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Controls And Circuits For Display Device (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The application provides a display screen testing method and device, electronic equipment and a storage medium, and belongs to the technical field of electronics. Wherein, the method comprises the following steps: acquiring firmware data of a display screen to be tested; analyzing the firmware data, and determining state conversion information corresponding to the display screen to be tested, wherein the state conversion information comprises state conversion time; and adjusting the mode of the electronic equipment where the downlink data access to the display screen to be tested is located in the test process according to the state conversion time corresponding to the display screen to be tested. Therefore, by the display screen testing method, the problem that the display screen to be tested is not bright in probability is avoided, the reliability of the test result of the display screen is improved, the testing efficiency is improved, and the economic loss of an enterprise is reduced.

Description

Display screen testing method and device, electronic equipment and storage medium
Technical Field
The present application relates to the field of electronic technologies, and in particular, to a display screen testing method and apparatus, an electronic device, and a storage medium.
Background
With the continuous development of science and technology, various electronic devices are continuously developed to meet various requirements of people, and great convenience is brought to the life of people. For example, electronic products such as mobile phones and tablet computers have become essential necessities in life. The electronic equipment brings convenience to people, and meanwhile, the stability and the safety of the electronic equipment in use also need to be ensured.
In order to eliminate the possible functional abnormality or potential safety hazard of the electronic device during the use process as much as possible, before the electronic device leaves the factory, various functions, hardware performance and the like of the electronic device are usually required to be tested before leaving the factory. When the display screen of the electronic device is tested, the applicant finds that a problem of probability screen non-lighting sometimes occurs in the testing process, so that the display screen needs to be tested repeatedly, time is wasted, and economic loss of enterprises is caused.
Disclosure of Invention
The application provides a display screen testing method, a display screen testing device, electronic equipment and a storage medium, which are used for solving the problem that in the related art, in the process of testing the display screen of the electronic equipment, the display screen is not bright at probability sometimes, so that the display screen needs to be tested repeatedly, time is wasted, and economic loss of enterprises is caused.
An embodiment of an aspect of the present application provides a display screen testing method, including: acquiring firmware data of a display screen to be tested; analyzing the firmware data, and determining state conversion information corresponding to the display screen to be tested, wherein the state conversion information comprises state conversion time; and adjusting the mode of accessing the electronic equipment where the display screen to be tested is located by downlink data in the test process according to the state conversion time corresponding to the display screen to be tested.
The display screen testing arrangement that this application another aspect embodiment provided includes: the acquisition module is used for acquiring firmware data of the display screen to be detected; the determining module is used for analyzing the firmware data and determining state conversion information corresponding to the display screen to be tested, wherein the state conversion information comprises state conversion time; and the adjusting module is used for adjusting the mode of accessing the electronic equipment where the display screen to be tested is located by downlink data in the testing process according to the state conversion time corresponding to the display screen to be tested.
An embodiment of another aspect of the present application provides an electronic device, which includes: memory, processor and computer program stored on the memory and executable on the processor, characterized in that the processor implements the display screen testing method as described above when executing the program.
In another aspect, the present application provides a computer-readable storage medium, on which a computer program is stored, where the computer program is executed by a processor to implement the display screen testing method as described above.
In another aspect of the present application, a computer program is provided, which is executed by a processor to implement the display screen testing method according to the embodiment of the present application.
According to the display screen testing method, the display screen testing device, the electronic equipment, the computer readable storage medium and the computer program, the acquired firmware data of the display screen to be tested can be analyzed, the state conversion information corresponding to the display screen to be tested is determined, and then the mode of downlink data accessing the electronic equipment where the display screen to be tested is located in the testing process is adjusted according to the state conversion time in the state conversion information. Therefore, the mode of the electronic equipment where the display screen to be tested is accessed by downlink data in the test process is adjusted according to the state conversion time corresponding to the display screen to be tested, so that the problem that the display screen to be tested is not bright probabilistically is solved, the reliability of the test result of the display screen is improved, the test efficiency is improved, and the economic loss of an enterprise is reduced.
Additional aspects and advantages of the present application will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the present application.
Drawings
The foregoing and/or additional aspects and advantages of the present application will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
fig. 1 is a schematic flowchart of a display screen testing method according to an embodiment of the present disclosure;
fig. 2 is a schematic flowchart of another display screen testing method according to an embodiment of the present disclosure;
fig. 3 is a schematic structural diagram of a display screen testing apparatus according to an embodiment of the present disclosure;
fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
Reference will now be made in detail to the embodiments of the present application, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the like or similar elements throughout. The embodiments described below with reference to the drawings are exemplary and intended to be used for explaining the present application and should not be construed as limiting the present application.
The embodiment of the application aims at the problem that the screen is not bright in probability sometimes in the process of testing the display screen of the electronic equipment, so that the display screen needs to be tested repeatedly, time is wasted, and economic loss of enterprises is caused.
According to the display screen testing method provided by the embodiment of the application, the acquired firmware data of the display screen to be tested can be analyzed, the state conversion information corresponding to the display screen to be tested is determined, and then the mode of accessing the electronic equipment where the display screen to be tested is located by downlink data in the testing process is adjusted according to the state conversion time in the state conversion information. Therefore, the mode of the electronic equipment where the display screen to be tested is accessed by downlink data in the test process is adjusted according to the state conversion time corresponding to the display screen to be tested, so that the problem that the display screen to be tested is not bright probabilistically is solved, the reliability of the test result of the display screen is improved, the test efficiency is improved, and the economic loss of an enterprise is reduced.
The following describes in detail a display screen testing method, apparatus, electronic device, storage medium, and computer program provided by the present application with reference to the drawings.
Fig. 1 is a schematic flowchart of a display screen testing method according to an embodiment of the present application.
As shown in fig. 1, the display screen testing method includes the following steps:
step 101, acquiring firmware data of a display screen to be tested.
The firmware refers to a device "driver" stored inside the device. The operating system can only implement the running action of a specific machine according to a standard device driver through firmware, and the firmware determines the function and the performance of hardware equipment. The nature of firmware is a program written into Erasable Read Only Memory (EROM) or Electrically Erasable Programmable Read Only Memory (EEPROM). Correspondingly, the firmware data of the display screen to be tested refers to a program code for driving the display screen to be tested to complete the functions of the display screen to be tested.
It should be noted that the display screen testing method provided in the embodiment of the present application may be executed by the display screen testing apparatus provided in the embodiment of the present application. The display screen testing device can read the firmware data from the ROM for storing the firmware data of the display screen to be tested.
And 102, analyzing the firmware data, and determining state conversion information corresponding to the display screen to be tested, wherein the state conversion information comprises state conversion time.
The state conversion information corresponding to the display screen to be tested refers to relevant information when the display screen to be tested is converted from a bright screen state to a dead screen state or from the dead screen state to the bright screen state. The state conversion time refers to the duration of the display screen to be tested which is converted from the bright screen state to the dead screen state or from the dead screen state to the bright screen state.
It should be noted that the firmware of the display screen can be burned in the module of the electronic device when the single body is supplied. The state transition information corresponding to the display screen is set through firmware of the display screen, that is, the state transition information corresponding to the display screen is inherent information that has been determined before the electronic device leaves a factory.
And 103, adjusting the mode of accessing the electronic equipment where the display screen to be tested is located by downlink data in the test process according to the state conversion time corresponding to the display screen to be tested.
The downlink data refers to communication data of the electronic equipment where the display screen to be tested is requested to be accessed in the communication link. In the process of testing the display screen of the electronic device, the downlink data may be data sent to the electronic device by the simulated base station.
It should be noted that, in the process of testing the display screen of the electronic device, the problem of probabilistic screen non-lighting may occur, and most of the reason is that downlink data accesses the electronic device where the display screen to be tested is located during the time of performing state conversion on the display screen to be tested. Therefore, in a possible implementation form of the embodiment of the application, the mode of accessing the electronic device where the display screen to be tested is located by downlink data in the test process is adjusted according to the state conversion time corresponding to the display screen to be tested, so that it is ensured that no downlink data accesses the electronic device where the display screen to be tested is located within the time of performing state conversion on the display screen to be tested, and the problem that the display screen to be tested is not bright probabilistically is avoided.
In a possible implementation form of the embodiment of the present application, the state transition information may further include a state transition start time. Accordingly, the step 103 may include:
and pausing the downlink data to access the electronic equipment where the display screen to be tested is located from the state transition starting moment corresponding to the display screen to be tested to the state transition time.
It should be noted that, when testing the display screen of the electronic device, it is necessary to issue various test instructions to the electronic device, and simulate the base station to send communication data to the electronic device. Generally, the frequency or the time of accessing the electronic device where the display screen to be tested is located by the downlink data is preset in the test file in advance. Therefore, when the display screen to be tested is tested, the downlink data can be controlled to access the electronic equipment where the display screen to be tested is located according to the setting in the test file. In the embodiment of the application, in order to avoid that the downlink data accesses the electronic device where the display screen to be tested is located when the state of the display screen to be tested is converted, the frequency or the time for accessing the electronic device by the downlink data set in the test file can be adjusted according to the firmware data corresponding to the display screen to be tested.
It can be understood that the specific time period for the state transition of the display screen to be tested can be determined according to the state transition starting time and the state transition time corresponding to the display screen to be tested. If the moment when the downlink data access the electronic equipment where the display screen to be detected is in the time period when the state of the display screen to be detected is converted is detected, the access of the downlink data to the electronic equipment where the display screen to be detected is located can be suspended, so that the situation that the downlink data access the electronic equipment where the display screen to be detected is located in the time period when the state of the display screen to be detected is converted is avoided.
According to the display screen testing method provided by the embodiment of the application, the acquired firmware data of the display screen to be tested can be analyzed, the state conversion information corresponding to the display screen to be tested is determined, and then the mode of accessing the electronic equipment where the display screen to be tested is located by downlink data in the testing process is adjusted according to the state conversion time and the state conversion starting time in the state conversion information. Therefore, the mode of the electronic equipment where the display screen to be tested is accessed by downlink data in the test process is adjusted according to the state conversion information corresponding to the display screen to be tested, so that the problem that the display screen to be tested is not bright probabilistically is solved, the reliability of the test result of the display screen is improved, the test efficiency is improved, and the economic loss of an enterprise is reduced.
In a possible implementation form of the present application, the firmware data of the display screen to be tested may also be updated according to a mode of accessing the electronic device where the display screen to be tested is located by the downlink data in the test script, so that no downlink data accesses the electronic device where the display screen to be tested is located in a process of performing state conversion on the display screen to be tested.
Another display screen testing method provided in the embodiment of the present application is further described below with reference to fig. 2.
Fig. 2 is a schematic flowchart of another display screen testing method according to an embodiment of the present disclosure.
As shown in fig. 2, the display screen testing method includes the following steps:
step 201, acquiring firmware data of a display screen to be tested, and a test script for testing the display screen to be tested.
The test script refers to a series of instructions for a specific test. Correspondingly, the test script for testing the display screen to be tested refers to a series of instructions for testing the display screen to be tested.
It should be noted that the test script needs to be constructed before it is executed. Test scripts are computer readable instructions that automatically perform a test procedure. The test script can be created or automatically generated using a test automation tool, or be implemented using programming language programming, or be implemented by combining the three approaches.
Step 202, analyzing the firmware data, and determining state conversion information corresponding to the display screen to be tested.
The detailed implementation process and principle of the steps 201-202 can refer to the detailed description of the above embodiments, and are not described herein again.
Step 203, analyzing the test script, and determining a target access mode corresponding to the downlink data in the test script.
The target access mode corresponding to the downlink data refers to a mode of the downlink data set in the test script for accessing the electronic device where the display screen to be tested is located, and includes at least one of the following information: access frequency, access conditions, access duration.
It should be noted that the access frequency refers to a frequency set in the test script for issuing downlink data to the electronic device where the display screen to be tested is located, for example, the access frequency may be 2 hz; the access condition refers to a time when the downlink data set in the test script can access the electronic device where the display screen to be tested is located, for example, when the state of the display screen to be tested is not converted, the downlink data can access the electronic device where the display screen to be tested is located; the access duration refers to a time interval from the initial time of the downlink data accessing the electronic equipment where the display screen to be tested is located to the access ending time.
In practical use, the target access mode corresponding to the downlink data may be determined according to the actual need in the test, which is not limited in the embodiment of the present application.
And 204, updating the firmware data of the display screen to be tested according to the target access mode.
It should be noted that the firmware data of the display screen to be tested sets the state conversion information corresponding to the display screen to be tested, so that the state conversion information corresponding to the display screen to be tested can be determined by analyzing and processing the firmware data. When the target access mode corresponding to the downlink data conflicts with the state conversion information corresponding to the display screen to be tested, the setting of the state conversion information corresponding to the display screen to be tested in the firmware data can be adjusted according to the target access mode corresponding to the downlink data, that is, the firmware data of the display screen to be tested is updated, so that no downlink data accesses the electronic equipment where the display screen to be tested is located in the process of state conversion of the display screen to be tested.
Further, in a possible implementation form of the embodiment of the present application, the step 204 may include:
determining target state conversion information corresponding to the display screen to be tested according to the target access mode;
and updating the firmware data of the display screen to be tested according to the target state conversion information.
The target state conversion information refers to state conversion information corresponding to the display screen to be tested when the state conversion process of the display screen to be tested does not conflict with the target access mode corresponding to the downlink data. Therefore, the state conversion information in the firmware data of the display screen to be tested is adjusted to the target state conversion information to complete the update of the firmware data of the display screen to be tested, so that no downlink data can access the electronic equipment where the display screen to be tested is located in the process of state conversion of the display screen to be tested.
For example, if the access frequency of the downlink data is 2 hz, that is, the time interval of downlink data access is 500 ms, the specific time of downlink data access to the electronic device where the display screen to be detected is located in a period of time after the specific time can be determined according to the time when the downlink data last access to the electronic device where the display screen to be detected is located. For example, if it is determined that the specific time when the downlink data accesses the electronic device where the display screen to be tested is located within a period of time thereafter is 9: 59 minutes, and it is determined that the display screen to be tested starts the state transition operation at 9: 58: 59 seconds according to the firmware data of the display screen to be tested, and the corresponding state transition time length is 1200 milliseconds, that is, when the downlink data accesses the electronic device, the electronic device is still in the state transition process, so that the state transition process of the electronic device at this time can be shortened, so that the state transition process is ended before 9: 59 minutes, for example, the state transition time length is set to 800 milliseconds, 1000 milliseconds, and the like.
That is to say, if the time when the downlink data accesses the electronic device where the display screen to be tested is located is in the process of performing state conversion on the display screen to be tested, the state conversion information of the display screen to be tested can be modified, for example, the state conversion time of the display screen to be tested can be shortened, so that no downlink data accesses the electronic device when the display screen to be tested performs state conversion.
According to the display screen testing method provided by the embodiment of the application, the acquired firmware data of the display screen to be tested and the test script for testing the display screen to be tested can be analyzed, the target access mode corresponding to the downlink data in the test script is determined, and then the firmware data of the display screen to be tested is updated according to the target access mode. Therefore, the firmware data of the display screen to be tested is updated, so that in the process of state conversion of the display screen to be tested, no downlink data access is available for the electronic equipment where the display screen to be tested is located, the problem that the display screen to be tested is not bright in probability is avoided, the reliability of the test result of the display screen is improved, the test efficiency is improved, and the economic loss of enterprises is reduced.
In order to realize the embodiment, the application further provides a display screen testing device.
Fig. 3 is a schematic structural diagram of a display screen testing apparatus according to an embodiment of the present application.
As shown in fig. 3, the display screen testing apparatus 30 includes:
the obtaining module 31 is configured to obtain firmware data of the display screen to be tested.
The determining module 32 is configured to analyze the firmware data and determine state transition information corresponding to the display screen to be tested, where the state transition information includes state transition time.
And the adjusting module 33 is configured to adjust a mode of accessing, by downlink data, the electronic device where the display screen to be tested is located in the test process according to the state transition time corresponding to the display screen to be tested.
In practical use, the display screen testing device provided by the embodiment of the application can be configured in electronic equipment to execute the display screen testing method.
The display screen testing device provided by the embodiment of the application can analyze and process the acquired firmware data of the display screen to be tested, determine the state conversion information corresponding to the display screen to be tested, and adjust the mode of accessing the electronic equipment where the display screen to be tested is located by downlink data in the testing process according to the state conversion time and the state conversion starting time in the state conversion information. Therefore, the mode of the electronic equipment where the display screen to be tested is accessed by downlink data in the test process is adjusted according to the state conversion information corresponding to the display screen to be tested, so that the problem that the display screen to be tested is not bright probabilistically is solved, the reliability of the test result of the display screen is improved, the test efficiency is improved, and the economic loss of an enterprise is reduced.
In a possible implementation form of the present application, the display screen testing apparatus 30 further includes a state transition starting time in the state transition information;
the adjusting module 33 is specifically configured to:
and pausing the downlink data to access the electronic equipment where the display screen to be tested is located from the state transition starting moment corresponding to the display screen to be tested to the state transition time.
Further, in another possible implementation form of the present application, the display screen testing apparatus 30 is further configured to:
acquiring a test script for testing the display screen to be tested;
analyzing the test script and determining a target access mode corresponding to downlink data in the test script;
and updating the firmware data of the display screen to be tested according to the target access mode.
Wherein the target access pattern comprises at least one of the following information: access frequency, access conditions, access duration.
Further, in another possible implementation form of the present application, the display screen testing apparatus 30 is further configured to:
determining target state conversion information corresponding to the display screen to be tested according to the target access mode;
and updating the firmware data of the display screen to be tested according to the target state conversion information.
It should be noted that the foregoing explanation of the embodiment of the display screen testing method shown in fig. 1 and fig. 2 is also applicable to the display screen testing apparatus 30 of this embodiment, and is not repeated here.
The display screen testing device provided by the embodiment of the application can analyze and process the acquired firmware data of the display screen to be tested and the test script used for testing the display screen to be tested, determine the target access mode corresponding to the downlink data in the test script, and update the firmware data of the display screen to be tested according to the target access mode. Therefore, the firmware data of the display screen to be tested is updated, so that in the process of state conversion of the display screen to be tested, no downlink data access is available for the electronic equipment where the display screen to be tested is located, the problem that the display screen to be tested is not bright in probability is avoided, the reliability of the test result of the display screen is improved, the test efficiency is improved, and the economic loss of enterprises is reduced.
In order to implement the above embodiments, the present application further provides an electronic device.
Fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
As shown in fig. 4, the electronic device 400 includes:
a memory 410 and a processor 420, and a bus 430 connecting different components (including the memory 410 and the processor 420), wherein the memory 410 stores a computer program, and when the processor 420 executes the program, the display screen testing method according to the embodiment of the present application is implemented.
Bus 430 represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, and a processor or local bus using any of a variety of bus architectures. By way of example, such architectures include, but are not limited to, Industry Standard Architecture (ISA) bus, micro-channel architecture (MAC) bus, enhanced ISA bus, Video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus.
Electronic device 400 typically includes a variety of electronic device readable media. Such media may be any available media that is accessible by electronic device 400 and includes both volatile and nonvolatile media, removable and non-removable media.
Memory 410 may also include computer system readable media in the form of volatile memory, such as Random Access Memory (RAM)440 and/or cache memory 450. The electronic device 400 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 460 may be used to read from and write to non-removable, nonvolatile magnetic media (not shown in FIG. 4, commonly referred to as a "hard drive"). Although not shown in FIG. 4, a magnetic disk drive for reading from and writing to a removable, nonvolatile magnetic disk (e.g., a "floppy disk") and an optical disk drive for reading from or writing to a removable, nonvolatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to bus 430 by one or more data media interfaces. Memory 410 may include at least one program product having a set (e.g., at least one) of program modules that are configured to carry out the functions of embodiments of the application.
A program/utility 480 having a set (at least one) of program modules 470 may be stored, for example, in memory 410, such program modules 470 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which examples or some combination thereof may comprise an implementation of a network environment. Program modules 470 generally perform the functions and/or methodologies of the embodiments described herein.
The electronic device 400 may also communicate with one or more external devices 490 (e.g., keyboard, pointing device, display 491, etc.), one or more devices that enable a user to interact with the electronic device 400, and/or any devices (e.g., network card, modem, etc.) that enable the electronic device 400 to communicate with one or more other computing devices. Such communication may occur via an input/output (I/O) interface 492. Also, the electronic device 400 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network such as the internet) through the network adapter 493. As shown, the network adapter 493 communicates with other modules of the electronic device 400 over a bus 430. It should be appreciated that although not shown in the figures, other hardware and/or software modules may be used in conjunction with electronic device 400, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
The processor 420 executes various functional applications and data processing by executing programs stored in the memory 410.
It should be noted that, for the implementation process and the technical principle of the electronic device of this embodiment, reference is made to the foregoing explanation of the display screen testing method of the embodiment of the present application, and details are not described here again.
The electronic device provided by the embodiment of the application can execute the display screen testing method, analyze and process the acquired firmware data of the display screen to be tested, determine the state conversion information corresponding to the display screen to be tested, and adjust the mode of accessing the electronic device where the display screen to be tested is located by downlink data in the testing process according to the state conversion time and the state conversion starting time in the state conversion information. Therefore, the mode of the electronic equipment where the display screen to be tested is accessed by downlink data in the test process is adjusted according to the state conversion information corresponding to the display screen to be tested, so that the problem that the display screen to be tested is not bright probabilistically is solved, the reliability of the test result of the display screen is improved, the test efficiency is improved, and the economic loss of an enterprise is reduced.
In order to implement the above embodiments, the present application also proposes a computer-readable storage medium.
The computer readable storage medium stores thereon a computer program, and the computer program is executed by a processor to implement the display screen testing method according to the embodiment of the present application.
In order to implement the foregoing embodiments, an embodiment of a further aspect of the present application provides a computer program, which is executed by a processor to implement the display screen testing method according to the embodiments of the present application.
In an alternative implementation, the embodiments may be implemented in any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the consumer electronic device, partly on the consumer electronic device, as a stand-alone software package, partly on the consumer electronic device and partly on a remote electronic device, or entirely on the remote electronic device or server. In the case of remote electronic devices, the remote electronic devices may be connected to the consumer electronic device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external electronic device (e.g., through the internet using an internet service provider).
Other embodiments of the present application will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the application and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the application being indicated by the following claims.
It will be understood that the present application is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the application is limited only by the appended claims.

Claims (10)

1. A display screen testing method is characterized by comprising the following steps:
acquiring firmware data of a display screen to be tested;
analyzing the firmware data, and determining state conversion information corresponding to the display screen to be tested, wherein the state conversion information comprises state conversion time; the state conversion information refers to information when the display screen to be tested is converted from a bright screen state to a dead screen state or from the dead screen state to the bright screen state; the state conversion time refers to the duration of the display screen to be tested which is converted from the bright screen state to the off screen state or from the off screen state to the bright screen state;
and adjusting the mode of accessing the electronic equipment where the display screen to be tested is located by downlink data in the test process according to the state conversion time corresponding to the display screen to be tested.
2. The method of claim 1, wherein the state transition information further includes a state transition start time;
the mode that downlink data access the electronic equipment of display screen place that awaits measuring in the adjustment test process includes:
and pausing the downlink data to access the electronic equipment where the display screen to be tested is located from the state transition starting moment corresponding to the display screen to be tested to the state transition time.
3. The method of claim 1, wherein after acquiring the firmware data of the display screen to be tested, the method further comprises:
acquiring a test script for testing the display screen to be tested;
analyzing the test script and determining a target access mode corresponding to downlink data in the test script;
and updating the firmware data of the display screen to be tested according to the target access mode.
4. The method of claim 3, wherein the target access pattern includes at least one of: access frequency, access conditions, access duration.
5. The method of claim 3, wherein the updating the firmware data of the display screen under test comprises:
determining target state conversion information corresponding to the display screen to be tested according to the target access mode;
and updating the firmware data of the display screen to be tested according to the target state conversion information.
6. A display screen testing device, comprising:
the acquisition module is used for acquiring firmware data of the display screen to be detected;
the determining module is used for analyzing the firmware data and determining state conversion information corresponding to the display screen to be tested, wherein the state conversion information comprises state conversion time; the state conversion information refers to information when the display screen to be tested is converted from a bright screen state to a dead screen state or from the dead screen state to the bright screen state; the state conversion time refers to the duration of the display screen to be tested which is converted from the bright screen state to the off screen state or from the off screen state to the bright screen state;
and the adjusting module is used for adjusting the mode of accessing the electronic equipment where the display screen to be tested is located by downlink data in the testing process according to the state conversion time corresponding to the display screen to be tested.
7. The apparatus of claim 6, wherein the state transition information further includes a state transition start time;
the adjustment module includes:
and the suspension unit is used for suspending the downlink data from accessing the electronic equipment where the display screen to be tested is located from the state transition starting moment corresponding to the display screen to be tested to the state transition time.
8. The apparatus of claim 6, wherein the acquisition module comprises:
the acquisition unit is used for acquiring a test script used for testing the display screen to be tested;
the determining unit is used for analyzing the test script and determining a target access mode corresponding to downlink data in the test script;
and the updating unit is used for updating the firmware data of the display screen to be tested according to the target access mode.
9. An electronic device, comprising: memory, processor and program stored on the memory and executable on the processor, characterized in that the processor implements the display screen testing method according to any of claims 1-5 when executing the program.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out a display screen testing method according to any one of claims 1 to 5.
CN201810694456.0A 2018-06-29 2018-06-29 Display screen testing method and device, electronic equipment and storage medium Active CN108874605B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810694456.0A CN108874605B (en) 2018-06-29 2018-06-29 Display screen testing method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810694456.0A CN108874605B (en) 2018-06-29 2018-06-29 Display screen testing method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN108874605A CN108874605A (en) 2018-11-23
CN108874605B true CN108874605B (en) 2021-09-17

Family

ID=64297138

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810694456.0A Active CN108874605B (en) 2018-06-29 2018-06-29 Display screen testing method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN108874605B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114624008B (en) * 2022-03-07 2023-12-15 Oppo广东移动通信有限公司 Smear test method, device and system, computer equipment and readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104183205A (en) * 2014-07-30 2014-12-03 三星半导体(中国)研究开发有限公司 Method for testing screen of portable electronic equipment via portable electronic equipment
WO2015145425A1 (en) * 2014-03-23 2015-10-01 B.G. Negev Technologies And Applications Ltd., At Ben-Gurion University System and method for detecting activities within a computerized device based on monitoring of its power consumption
CN105652114A (en) * 2015-12-25 2016-06-08 广东欧珀移动通信有限公司 Power supply method, power supply device and testing jig in testing display screen
CN107665081A (en) * 2017-10-16 2018-02-06 广东欧珀移动通信有限公司 Display screen condition control method, device, storage medium and terminal
CN107703395A (en) * 2017-10-31 2018-02-16 惠州市德赛西威汽车电子股份有限公司 A kind of pulse test system and method for testing for vehicle-carrying display screen

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108109580B (en) * 2018-01-05 2019-12-17 深圳市灰度软件有限公司 parameter adaptation method, device, equipment and storage medium of LED display screen

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015145425A1 (en) * 2014-03-23 2015-10-01 B.G. Negev Technologies And Applications Ltd., At Ben-Gurion University System and method for detecting activities within a computerized device based on monitoring of its power consumption
CN104183205A (en) * 2014-07-30 2014-12-03 三星半导体(中国)研究开发有限公司 Method for testing screen of portable electronic equipment via portable electronic equipment
CN105652114A (en) * 2015-12-25 2016-06-08 广东欧珀移动通信有限公司 Power supply method, power supply device and testing jig in testing display screen
CN107665081A (en) * 2017-10-16 2018-02-06 广东欧珀移动通信有限公司 Display screen condition control method, device, storage medium and terminal
CN107703395A (en) * 2017-10-31 2018-02-16 惠州市德赛西威汽车电子股份有限公司 A kind of pulse test system and method for testing for vehicle-carrying display screen

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
《基于labVIEW的AM-OLED显示屏测试系统》;马雪雪;《液晶与显示》;20140828;733-738 *

Also Published As

Publication number Publication date
CN108874605A (en) 2018-11-23

Similar Documents

Publication Publication Date Title
CN106598835B (en) Application testing method, device and system
EP3101547A1 (en) Control system, method, program and information processing device
KR102158754B1 (en) Method and apparatus for operating on smart network interface card
CN107463500B (en) Debugging method, medium, system and computing device of test script
CN113407393B (en) Chip verification method, terminal device, verification platform and storage medium
CN108536579B (en) Resource-constrained device testing system and method
WO2023125851A1 (en) Remote diagnostics method and apparatus, electronic device and storage medium
CN110659210A (en) Information acquisition method and device, electronic equipment and storage medium
CN112416775A (en) Software automation testing method and device based on artificial intelligence and electronic equipment
CN113268416A (en) Application program testing method and device, storage medium and terminal
CN108874605B (en) Display screen testing method and device, electronic equipment and storage medium
CN104487935A (en) Recording external processes
CN107452427B (en) Method and system for testing data integrity of storage equipment
CN113709243A (en) Equipment remote control method and device, electronic equipment and storage medium
CN112131092A (en) Page debugging method and device
CN110806981B (en) Application program testing method, device, equipment and storage medium
CN110602162B (en) Terminal evidence obtaining method, device, equipment and storage medium
CN113973060A (en) Internet of things simulation method, device and system and storage medium
CN110443180B (en) System, method, device, medium and equipment for processing brightness of fingerprint image under screen
CN110958243A (en) Network vulnerability submitting method and device, storage medium and electronic equipment
CN113722231B (en) User operation simulation method and device, electronic equipment and storage medium
CN111382057A (en) Test case generation method, test method and device, server and storage medium
CN116010026B (en) Micro-service control method and control system based on virtual path
CN117408060B (en) Whole vehicle model simulation performance optimization method, storage medium and electronic equipment
CN117408061B (en) Whole vehicle model simulation performance optimization system and computer device

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