CN111045876A - Splash screen detection method and device, storage medium and electronic equipment - Google Patents

Splash screen detection method and device, storage medium and electronic equipment Download PDF

Info

Publication number
CN111045876A
CN111045876A CN201911098133.6A CN201911098133A CN111045876A CN 111045876 A CN111045876 A CN 111045876A CN 201911098133 A CN201911098133 A CN 201911098133A CN 111045876 A CN111045876 A CN 111045876A
Authority
CN
China
Prior art keywords
screen
brightness
determining
splash
value
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.)
Pending
Application number
CN201911098133.6A
Other languages
Chinese (zh)
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.)
Guangzhou Shiyuan Electronics Thecnology Co Ltd
Guangzhou Shirui Electronics Co Ltd
Original Assignee
Guangzhou Shiyuan Electronics Thecnology Co Ltd
Guangzhou Shirui 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 Guangzhou Shiyuan Electronics Thecnology Co Ltd, Guangzhou Shirui Electronics Co Ltd filed Critical Guangzhou Shiyuan Electronics Thecnology Co Ltd
Priority to CN201911098133.6A priority Critical patent/CN111045876A/en
Publication of CN111045876A publication Critical patent/CN111045876A/en
Pending legal-status Critical Current

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
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01MTESTING STATIC OR DYNAMIC BALANCE OF MACHINES OR STRUCTURES; TESTING OF STRUCTURES OR APPARATUS, NOT OTHERWISE PROVIDED FOR
    • G01M11/00Testing of optical apparatus; Testing structures by optical methods not otherwise provided for
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/0706Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation the processing taking place on a specific hardware platform or in a specific software environment
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/0766Error or fault reporting or storing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/079Root cause analysis, i.e. error or fault diagnosis
    • 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

Abstract

The invention provides a splash screen detection method, a device and electronic equipment, which are used for determining whether the brightness of a screen changes or not; if the brightness of the screen changes, determining the number of times of the brightness change of the screen within a preset time; and if the number of times of the brightness change is larger than a number threshold, determining that the screen is flickered. The invention can determine whether the electronic equipment has the screen flashing phenomenon through brightness detection. Compared with a screen flashing mode through manual detection, the screen flashing method can reduce the input of labor cost and improve the detection efficiency.

Description

Splash screen detection method and device, storage medium and electronic equipment
Technical Field
The invention relates to the technical field of terminals, in particular to a splash screen detection method and device, a storage medium and electronic equipment.
Background
In the process of research and development or use of the electronic equipment, due to reasons such as unreasonable software configuration or hardware faults, a screen of the electronic equipment can be flashed. The phenomenon of screen flashing can seriously affect the use of the electronic device by the user. Therefore, the problem of screen flashing of the electronic equipment needs to be detected in time and processed as soon as possible.
In the prior art, the problem of screen flashing of a screen is usually determined by observing with human eyes. Therefore, the detection of the splash screen consumes high labor cost.
Disclosure of Invention
In order to solve the above problem, embodiments of the present invention provide a method and an apparatus for detecting a splash screen, a storage medium, and an electronic device.
In a first aspect, an embodiment of the present invention provides a splash screen detection method, including the following steps:
determining whether a brightness of a screen has changed;
if the brightness of the screen changes, determining the number of times of the brightness change of the screen within a preset time;
and if the number of times of the brightness change is larger than a number threshold, determining that the screen is flickered.
Optionally, the determining whether the brightness of the screen has changed includes:
detecting the brightness of a preset area of the screen as a first brightness value at a first time;
detecting the brightness of the preset area as a second brightness value at a second time;
and if the difference value between the first brightness value and the second brightness value is larger than a difference threshold value, determining that the brightness of the screen is changed.
Optionally, the method further comprises:
and if the difference value between the first brightness value and the second brightness value is smaller than or equal to the difference threshold value, determining that the brightness of the screen is not changed.
Optionally, the method further comprises:
and if the number of times of the brightness change is smaller than or equal to the number threshold, determining that the screen flicker phenomenon does not occur on the screen.
Optionally, after determining that the screen flickers, the method further includes:
reading system data;
and generating a system log according to the system data, wherein the system log is used for debugging the system.
Optionally, the method further comprises:
determining a system time;
the generating a system log according to the system data includes:
and generating the system log according to the system time and the system data.
Optionally, after determining that the screen flickers, the method further includes:
and outputting the flashing prompt information which is used for indicating that the screen has the flashing phenomenon.
In a second aspect, an embodiment of the present invention provides a splash screen detection apparatus, including:
a first determination unit for determining whether or not a brightness of a screen has changed;
a second determining unit, configured to determine, if the brightness of the screen changes, the number of times that the brightness of the screen changes within a predetermined time;
and the third determining unit is used for determining that the screen is subjected to the screen flashing phenomenon if the number of times of the brightness change is greater than a number threshold.
In a third aspect, the present invention provides a computer-readable storage medium, on which a computer program is stored, which when executed by a processor implements the steps of any one of the above methods.
In a fourth aspect, an embodiment of the present invention provides an electronic device, including a memory, a processor, and a computer program stored on the memory and executable on the processor, where the processor implements the steps of any one of the above methods when executing the program.
The invention provides a splash screen detection method, a device, a storage medium and electronic equipment, which are used for determining whether the brightness of a screen is changed; if the brightness of the screen changes, determining the number of times of the brightness change of the screen within a preset time; and if the number of times of the brightness change is larger than a number threshold, determining that the screen is flickered. The invention can determine whether the electronic equipment has the screen flashing phenomenon through brightness detection. Compared with a mode of detecting the splash screen through human eye observation, the method and the device can reduce the input of labor cost and improve the detection efficiency.
Drawings
Fig. 1a is a schematic view of an application scenario in which a splash screen detection method or a splash screen detection apparatus according to an embodiment of the present application may be applied;
fig. 1b is a schematic view of an application scenario of another splash screen detection method or apparatus to which the embodiment of the present application may be applied;
FIG. 2 is a schematic flow chart of a method for detecting a splash screen according to an embodiment of the present invention;
FIG. 3 is a schematic flowchart of a method for detecting a change in screen brightness according to an embodiment of the present invention;
FIG. 4 is a schematic flow chart of another method for detecting a splash screen according to an embodiment of the present invention;
FIG. 5 is a schematic flow chart illustrating a further method for detecting a splash screen according to an embodiment of the present invention;
FIG. 6 is a schematic structural diagram of a splash screen detection apparatus according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
The present application is further described with reference to the following figures and examples.
In the following description, the terms "first" and "second" are used for descriptive purposes only and are not intended to indicate or imply relative importance. The following description provides embodiments of the invention, which may be combined or substituted for various embodiments, and this application is therefore intended to cover all possible combinations of the same and/or different embodiments described. Thus, if one embodiment includes feature A, B, C and another embodiment includes feature B, D, then this application should also be considered to include an embodiment that includes one or more of all other possible combinations of A, B, C, D, even though this embodiment may not be explicitly recited in text below.
The following description provides examples, and does not limit the scope, applicability, or examples set forth in the claims. Changes may be made in the function and arrangement of elements described without departing from the scope of the disclosure. Various examples may omit, substitute, or add various procedures or components as appropriate. For example, the described methods may be performed in an order different than the order described, and various steps may be added, omitted, or combined. Furthermore, features described with respect to some examples may be combined into other examples.
Fig. 1a and fig. 1b are schematic application scenarios in which the splash screen detection method or the splash screen detection apparatus according to the embodiment of the present application may be applied. As shown in fig. 1a, a screen 101 to be tested is connected to a server 102. The connection mode includes direct connection through a data line and also includes connection through a network. The network may include various connection types, such as wired, wireless communication links, or fiber optic cables, to name a few. It should be understood that the number of servers in fig. 1 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation. For example, the server 102 may be a server cluster composed of a plurality of servers, and the like.
A brightness detection sensor may be provided in front of the screen or behind the screen of the screen 101 to be measured. The brightness detection sensor can acquire the screen brightness of a specific area of the screen 101 to be detected. The server 102 may obtain the screen brightness. The server 102 may also directly obtain display information of the screen 101 to be tested, and determine the screen brightness of the screen 101 to be tested according to the display information. After the server 102 determines the screen brightness of the screen 101 to be tested, it can determine whether the screen 101 to be tested has a splash screen phenomenon through the screen brightness.
As shown in fig. 1b, an application scenario of the splash screen detection method according to the embodiment of the present application includes: a screen 101 to be tested, an image acquisition device 102 and a server 103. The screen 101 to be tested is not connected to the server 102. The image acquiring device 102 may be disposed in front of the screen 101 to be tested, and is configured to acquire screen image information of the screen 101 to be tested and send the screen image information to the server 103. The server 103 determines the screen brightness of the screen 101 to be tested according to the screen image information, and further determines whether the screen 101 to be tested has a splash screen phenomenon.
In summary, the screen brightness information of the screen 101 to be tested can be obtained in various ways. The embodiment of the invention does not limit the acquisition of the screen brightness information of the screen to be detected, as long as the screen brightness of the screen to be detected can be acquired, and the purpose of the invention is realized.
Referring to fig. 2, fig. 2 is a schematic flowchart of a method for detecting a splash screen according to an embodiment of the present invention, where the method includes:
s201, determining whether the brightness of the screen is changed.
The screen may be a screen of any electronic device. The electronic devices include, but are not limited to, devices such as a server, a mobile phone, a notebook computer, a digital broadcast receiver, a PDA (personal digital assistant), a PAD (tablet computer), a PMP (portable multimedia player), a vehicle-mounted terminal (e.g., a car navigation terminal), a digital television, a desktop computer, and the like.
S202, if the brightness of the screen changes, determining the number of times of the brightness change of the screen in a preset time.
During normal use of the electronic device, the brightness of the screen may also change. In a short time, the screen brightness is changed continuously, and the screen flicker phenomenon can be judged to happen on the screen, so that the probability that the screen is judged mistakenly to flicker is reduced.
The predetermined time may be set according to specific requirements and detection environment, and may be 5 seconds, 10 minutes, or 2 hours.
S203, if the number of times of the brightness change is larger than a number threshold, determining that the screen is in a splash screen phenomenon.
The number threshold may be set according to specific requirements and detection environments, and may be 5 seconds, 10 minutes, or 2 hours. And comparing the number of times of brightness change in preset time with a number threshold value to determine whether the screen flickers. For example, within 10 seconds, the screen is judged to have the splash screen phenomenon when the number of brightness changes is more than 20 times. And judging that the screen flickers when the number of times of brightness change is more than 500 within 5 minutes.
Optionally, the method further comprises:
and if the number of times of the brightness change is smaller than or equal to the number threshold, determining that the screen flicker phenomenon does not occur on the screen.
It should be noted that, under the condition that the predetermined time is not changed, if the frequency threshold is set too small, the screen flicker may be erroneously detected, that is, the screen does not flicker, but the system erroneously detects a normally operating screen as the screen flicker. If the number threshold is set too large, a phenomenon of a splash screen may not be detected in a case where the screen has already been splashed with a splash screen.
Optionally, after determining that the screen flickers, the method further includes:
and outputting the flashing prompt information which is used for indicating that the screen has the flashing phenomenon.
The screen flashing prompt information can be sent out by modes of sending mails to related personnel, sending screen flashing alarm sound or displaying corresponding prompt information on the screen, so that the related personnel can timely know that the screen flashing fault occurs on the screen and carry out troubleshooting, normal use of a user is prevented from being influenced, and larger loss is caused.
According to the screen flashing detection method provided by the embodiment of the invention, whether the screen of the electronic equipment has a screen flashing phenomenon or not is determined according to the brightness detection. Therefore, the problems of high labor cost and low efficiency caused by manual screen flashing detection in the prior art are solved.
Referring to fig. 3, fig. 3 is a schematic flowchart of a method for detecting a change in screen brightness according to an embodiment of the present invention, where the method includes:
s301, detecting the brightness of the preset area of the screen as a first brightness value at a first time.
The predetermined region may be a planar region corresponding to a brightness detection sensor arranged inside the screen, or a planar region corresponding to the image acquisition device, such as a region with a certain area above the screen, or a region with a certain area at the right side of the screen. Of course, the entire screen is also possible.
The first time can be set according to specific requirements and application scenarios. For example, the first time may be the 5 th second after the application is turned on, or the 10 th minute after the application starts running.
S302, detecting the brightness of the preset area as a second brightness value at a second time.
The second time can be set according to specific requirements and application scenarios. The second time is later than the first time. Since the variation of the screen brightness also occurs during the normal operation of the screen, the interval between the second time and the first time may be set to be small. For example, the second time may be a 5 ms delay after the first time, and the second time may be a 1 s delay after the first time, and so on. In addition, the settable smaller interval between the second time and the first time can also ensure that the system can find the phenomenon that the screen flickers in time.
S303, if the difference value between the first brightness value and the second brightness value is larger than a difference threshold value, determining that the brightness of the screen is changed.
The difference threshold value can be set according to specific requirements, different screen types and application scenes. For example, the difference threshold corresponding to the plasma screen may be set lower. The difference threshold corresponding to the liquid crystal screen can be set higher. The difference threshold may be 0.5 nit, 2 nit or 5 nit.
S304, if the difference value between the first brightness value and the second brightness value is smaller than or equal to the difference value threshold value, determining that the brightness of the screen is not changed.
When the difference between the first luminance value and the second luminance value is less than or equal to the difference threshold, it may be considered that the luminance of the screen is not changed. When the difference between the first luminance value and the second luminance value is greater than the threshold value, it may be considered that the luminance of the screen is not changed.
The method for detecting the change of the screen brightness, provided by the embodiment of the invention, is characterized in that a difference threshold value is set, and the time brightness values before and after a certain area of a screen are obtained through a brightness detection sensor, an image acquisition device or screen image display information to determine whether the screen brightness is changed, so that whether the screen is flickered or not is determined according to the number of times of the change of the screen brightness.
Referring to fig. 4, fig. 4 is a schematic flow chart of another splash screen detection method provided in an embodiment of the present invention, where in the embodiment of the present invention, the method includes:
s401, determining whether the brightness of the screen changes.
For determining whether the brightness of the screen changes, reference may be made to the method for detecting the change in the brightness of the screen provided in fig. 3, which is not described in detail herein.
S402, if the brightness of the screen changes, determining the number of times of the brightness change of the screen in a preset time.
The description of S402 may refer to the description of step S202 in fig. 2, and is not repeated.
And S403, if the number of times of the brightness change is larger than a number threshold, determining that the screen is in a splash screen phenomenon.
The description of S403 may refer to the description of step S203 in fig. 2, and is not repeated.
And S404, reading system data.
The system data may be related data such as software attributes, hardware attributes, and software configurations. The system data is data retained by the failed system after warm start. The system data can be stored in various devices, one type of the system data can be devices with data capable of being stored permanently, and the devices can not lose data due to power failure, such as a magnetic disk and the like; one class may be devices that lose data when power is lost. The method provided by the embodiment of the invention can also be used for respectively extracting data from the two types of equipment and analyzing the data. The above apparatus may comprise: RAM (random access Memory), ROM (Read-Only Memory), EEPROM (Electrically Erasable Programmable Read-Only Memory), FLASH (cache), buffer, or FLASH Memory, and the like.
S405, generating a system log according to the system data, wherein the system log is used for system debugging.
According to the screen flashing detection method provided by the embodiment of the invention, the system data is stored in the system log, so that related personnel can conveniently use the system log to perform problem troubleshooting, and faults existing in the system can be found as soon as possible.
In addition, due to the partial data retained in the system data, the data is lost from the device due to the power outage. This portion of data may remain after a reboot or shutdown of the system has occurred.
Referring to fig. 5, fig. 5 is a schematic flowchart of another method for detecting a splash screen according to an embodiment of the present invention, where the method includes:
s501, determining whether the brightness of the screen changes.
The description of S501 may refer to the description of step S201 in fig. 2, and is not repeated.
S502, if the brightness of the screen changes, determining the number of times of the brightness change of the screen in a preset time.
The description of S502 may refer to the description of step S202 in fig. 2, and is not repeated.
S503, if the number of times of the brightness change is larger than a time threshold value, determining that the screen is in a splash screen phenomenon.
The description of S503 may refer to the description of step S203 in fig. 2, and is not repeated.
And S504, reading system data.
The description of S504 can refer to the description of step S404 in fig. 4, and is not repeated.
And S505, determining the system time.
S506, generating the system log according to the system time and the system data.
According to the method for detecting the splash screen, provided by the embodiment of the invention, the system time of the splash screen is added into the system log, so that relevant personnel can conveniently and thoroughly acquire relevant information of the splash screen fault, troubleshoot the problem and find the fault in the system as soon as possible.
The process of the present invention for implementing the different-screen splash detection is specifically described below by a specific embodiment. Under normal conditions, some normal pictures such as startup LOGO, picture switching and the like can appear when the whole machine is started, and the pictures can also cause the change of brightness but do not belong to the range of screen flashing. Therefore, the adopted scheme is to detect the brightness change condition of the screen within a certain time, for example, within 5s, whether the brightness change condition of the screen is greater than 10 times is detected, and if the brightness change condition of the screen is greater than 10 times, the screen is considered to be flickered, and the power supply retention phenomenon needs to be maintained. If not, the screen is not flashed, and the automatic startup and shutdown operation is continuously executed. Therefore, the problem can be continuously reproduced in 24 hours, and the problem can be solved as soon as possible. The scheme provided by the embodiment of the invention has the advantages that the whole scheme is simple, only brightness needs to be detected without complex operation, the stability and the development rapidity of the whole system can be ensured, the cost is low, and the functions can be realized by a common controller.
Fig. 2 to 5 describe the splash screen detection method in detail in the embodiment of the present application.
Referring to fig. 6, fig. 6 is a schematic structural diagram of a splash screen detection apparatus according to an embodiment of the present invention, and as shown in fig. 6, the splash screen detection apparatus includes:
a first determination unit 601 for determining whether or not the luminance of the screen has changed;
a second determining unit 602, configured to determine, if the brightness of the screen changes, the number of times that the brightness of the screen changes within a predetermined time;
a third determining unit 603, configured to determine that a screen splash phenomenon occurs on the screen if the number of times of the brightness change is greater than a number threshold.
Optionally, the first determining unit 601 is specifically configured to:
detecting the brightness of the screen as a first brightness value at a first time;
detecting the brightness of the screen as a second brightness value at a second time;
and if the difference value between the first brightness value and the second brightness value is larger than a difference threshold value, determining that the brightness of the screen is changed.
Optionally, the apparatus further comprises:
a fourth determining unit 604, configured to determine that the brightness of the screen has not changed if the difference between the first brightness value and the second brightness value is less than or equal to the difference threshold.
Optionally, the apparatus further comprises:
a fifth determining unit 605, configured to determine that the screen is not flickered if the number of times of the brightness change is less than or equal to the number threshold.
Optionally, the apparatus further comprises:
a generation unit 607 for reading system data;
and generating a system log according to the system data, wherein the system log is used for debugging the system.
Optionally, the apparatus further comprises:
a sixth determining unit 608 for determining the system time;
the generating unit 607 is specifically configured to generate the system log according to the system time and the system data.
Optionally, the apparatus further comprises:
and the output unit 609 is used for outputting the screen flashing prompt information, and the screen flashing prompt information is used for indicating that the screen flashing phenomenon occurs.
It is clear to a person skilled in the art that the solution according to the embodiments of the invention can be implemented by means of software and/or hardware. The "unit" and "module" in this specification refer to software and/or hardware that can perform a specific function independently or in cooperation with other components, where the hardware may be, for example, an FPGA (Field-Programmable Gate Array), an IC (Integrated Circuit), or the like.
Each processing unit and/or module according to the embodiments of the present invention may be implemented by an analog circuit that implements the functions described in the embodiments of the present invention, or may be implemented by software that executes the functions described in the embodiments of the present invention.
Embodiments of the present invention further provide a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of the above-mentioned splash screen detection method. The computer-readable storage medium may include, but is not limited to, any type of disk including floppy disks, optical disks, DVD, CD-ROMs, microdrive, and magneto-optical disks, ROMs, RAMs, EPROMs, EEPROMs, DRAMs, VRAMs, flash memory devices, magnetic or optical cards, nanosystems (including molecular memory ICs), or any type of media or device suitable for storing instructions and/or data.
Referring to fig. 7, a schematic structural diagram of an electronic device according to an embodiment of the present invention is shown, where the electronic device may be used to implement the splash screen detection method provided in the foregoing embodiment. Specifically, the method comprises the following steps:
the memory 720 may be used to store software programs and modules, and the processor 780 performs various functional applications and data processing by operating the software programs and modules stored in the memory 720. The memory 720 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the terminal device, and the like. Further, the memory 720 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, memory 720 may also include a memory controller to provide access to memory 720 by processor 780 and input unit 730.
The input unit 730 may be used to receive input numeric or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control. In particular, input unit 730 may include a touch-sensitive surface 731 (e.g., a touch screen, a touchpad, or a touch frame). Touch-sensitive surface 731, also referred to as a touch display screen or touch pad, can collect touch operations by a user on or near touch-sensitive surface 731 (e.g., operations by a user on or near touch-sensitive surface 731 using a finger, stylus, or any other suitable object or attachment) and drive the corresponding connection device according to a predetermined program. Alternatively, the touch sensitive surface 731 may comprise two parts, a touch detection means and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts it to touch point coordinates, and sends the touch point coordinates to the processor 780, and can receive and execute commands from the processor 780. In addition, the touch-sensitive surface 731 can be implemented in a variety of types, including resistive, capacitive, infrared, and surface acoustic wave.
The display unit 740 may be used to display information input by a user or information provided to a user and various graphic user interfaces of the terminal device, which may be configured by graphics, text, icons, video, and any combination thereof. The Display unit 740 may include a Display panel 741, and optionally, the Display panel 741 may be configured in the form of an LCD (Liquid Crystal Display), an OLED (Organic Light-Emitting Diode), or the like. Further, touch-sensitive surface 731 can overlay display panel 741, such that when touch-sensitive surface 731 detects a touch event thereon or nearby, processor 780 can determine the type of touch event, and processor 780 can then provide a corresponding visual output on display panel 741 based on the type of touch event. Although in FIG. 7 the touch-sensitive surface 731 and the display panel 741 are implemented as two separate components to implement input and output functions, in some embodiments the touch-sensitive surface 731 and the display panel 741 may be integrated to implement input and output functions.
The processor 780 is a control center of the terminal device, connects various parts of the entire terminal device using various interfaces and lines, and performs various functions of the terminal device and processes data by operating or executing software programs and/or modules stored in the memory 720 and calling data stored in the memory 720, thereby integrally monitoring the terminal device. Optionally, processor 780 may include one or more processing cores; processor 780 may integrate an application processor that handles operating system, user interfaces, applications, etc. and a modem processor that handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 780.
Specifically, in this embodiment, the display unit of the terminal device is a touch screen display, the terminal device further includes a memory and one or more programs, where the one or more programs are stored in the memory and configured to be executed by the one or more processors, and the one or more programs include steps for implementing the splash screen detection method.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above-described device embodiments are merely illustrative, for example, the division of the unit is only a logical functional division, and there may be other division ways in actual implementation, such as: multiple units or components may be combined, or may be integrated into another system, or some features may be omitted, or not implemented. In addition, the coupling, direct coupling or communication connection between the components shown or discussed may be through some interfaces, and the indirect coupling or communication connection between the devices or units may be electrical, mechanical or other forms.
All functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may be separately used as one unit, or two or more units may be integrated into one unit; the integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (10)

1. A method of splash screen detection, the method comprising:
determining whether a brightness of a screen has changed;
if the brightness of the screen changes, determining the number of times of the brightness change of the screen within a preset time;
and if the number of times of the brightness change is larger than a number threshold, determining that the screen is flickered.
2. The method of claim 1, wherein determining whether the brightness of the screen has changed comprises:
detecting the brightness of a preset area of the screen as a first brightness value at a first time;
detecting the brightness of the preset area as a second brightness value at a second time;
and if the difference value between the first brightness value and the second brightness value is larger than a difference threshold value, determining that the brightness of the screen is changed.
3. The method of claim 2, further comprising:
and if the difference value between the first brightness value and the second brightness value is smaller than or equal to the difference threshold value, determining that the brightness of the screen is not changed.
4. The method of claim 1, further comprising:
and if the number of times of the brightness change is smaller than or equal to the number threshold, determining that the screen flicker phenomenon does not occur on the screen.
5. The method of claim 1, wherein after determining that the screen splash phenomenon occurs, the method further comprises:
reading system data;
and generating a system log according to the system data, wherein the system log is used for debugging the system.
6. The method of claim 5, further comprising:
determining a system time;
the generating a system log according to the system data includes:
and generating the system log according to the system time and the system data.
7. The method of claim 1, wherein after determining that the screen splash phenomenon occurs, the method further comprises:
and outputting the flashing prompt information which is used for indicating that the screen has the flashing phenomenon.
8. An apparatus for detecting a splash screen, the apparatus comprising:
a first determination unit for determining whether or not a brightness of a screen has changed;
a second determining unit, configured to determine, if the brightness of the screen changes, the number of times that the brightness of the screen changes within a predetermined time;
and the third determining unit is used for determining that the screen is subjected to the screen flashing phenomenon if the number of times of the brightness change is greater than a number threshold.
9. A computer storage medium, characterized in that it stores a plurality of instructions adapted to be loaded by a processor and to carry out the method steps according to any one of claims 1 to 7.
10. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the steps of the method of any of claims 1-7 are implemented when the program is executed by the processor.
CN201911098133.6A 2019-11-12 2019-11-12 Splash screen detection method and device, storage medium and electronic equipment Pending CN111045876A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911098133.6A CN111045876A (en) 2019-11-12 2019-11-12 Splash screen detection method and device, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911098133.6A CN111045876A (en) 2019-11-12 2019-11-12 Splash screen detection method and device, storage medium and electronic equipment

Publications (1)

Publication Number Publication Date
CN111045876A true CN111045876A (en) 2020-04-21

Family

ID=70232409

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911098133.6A Pending CN111045876A (en) 2019-11-12 2019-11-12 Splash screen detection method and device, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN111045876A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117036831A (en) * 2023-10-09 2023-11-10 视睿(杭州)信息科技有限公司 Method, system and medium for detecting splash screen based on time sequence feature modeling
CN117156210A (en) * 2023-02-07 2023-12-01 荣耀终端有限公司 Method and device for detecting splash screen

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030112343A1 (en) * 2001-12-18 2003-06-19 Katsumi Katoh Image-pickup signal processor and method of detecting flicker
TW201336295A (en) * 2012-02-24 2013-09-01 Hon Hai Prec Ind Co Ltd Flicker detecting apparatus and method for camera module
US20150116192A1 (en) * 2012-05-11 2015-04-30 Nippon Seiki Co., Ltd. Display device and control method for same
CN105653407A (en) * 2015-12-08 2016-06-08 网易(杭州)网络有限公司 Terminal, jam measuring method, device, game jam measuring method and apparatus
WO2016145888A1 (en) * 2015-09-29 2016-09-22 中兴通讯股份有限公司 Display screen processing method and device
CN107680519A (en) * 2017-09-22 2018-02-09 京东方科技集团股份有限公司 A kind of display screen flash detecting device and method
CN108874597A (en) * 2017-05-16 2018-11-23 广达电脑股份有限公司 Fault detection device and fault detection method
CN110164372A (en) * 2019-02-26 2019-08-23 维沃移动通信有限公司 Terminal device, screen luminance adjustment method and device
US20190362663A1 (en) * 2017-01-10 2019-11-28 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Screen flickering processing method and device, storage medium and electronic device

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030112343A1 (en) * 2001-12-18 2003-06-19 Katsumi Katoh Image-pickup signal processor and method of detecting flicker
TW201336295A (en) * 2012-02-24 2013-09-01 Hon Hai Prec Ind Co Ltd Flicker detecting apparatus and method for camera module
US20150116192A1 (en) * 2012-05-11 2015-04-30 Nippon Seiki Co., Ltd. Display device and control method for same
WO2016145888A1 (en) * 2015-09-29 2016-09-22 中兴通讯股份有限公司 Display screen processing method and device
CN105653407A (en) * 2015-12-08 2016-06-08 网易(杭州)网络有限公司 Terminal, jam measuring method, device, game jam measuring method and apparatus
US20190362663A1 (en) * 2017-01-10 2019-11-28 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Screen flickering processing method and device, storage medium and electronic device
CN108874597A (en) * 2017-05-16 2018-11-23 广达电脑股份有限公司 Fault detection device and fault detection method
CN107680519A (en) * 2017-09-22 2018-02-09 京东方科技集团股份有限公司 A kind of display screen flash detecting device and method
CN110164372A (en) * 2019-02-26 2019-08-23 维沃移动通信有限公司 Terminal device, screen luminance adjustment method and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
高鸿锦等, 北京邮电大学出版社 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117156210A (en) * 2023-02-07 2023-12-01 荣耀终端有限公司 Method and device for detecting splash screen
CN117036831A (en) * 2023-10-09 2023-11-10 视睿(杭州)信息科技有限公司 Method, system and medium for detecting splash screen based on time sequence feature modeling
CN117036831B (en) * 2023-10-09 2024-03-22 视睿(杭州)信息科技有限公司 Method, system and medium for detecting splash screen based on time sequence feature modeling

Similar Documents

Publication Publication Date Title
EP3232326B1 (en) Keyboard video mouse (kvm) device and method for detecting host failure using the same
CN106502703B (en) Function calling method and device
CN107329901B (en) Data packet capturing method, terminal, server and storage medium
CN109086606B (en) Program vulnerability mining method, device, terminal and storage medium
EP3567572B1 (en) Screen flickering processing method, device, storage medium, and electronic device
CN106708734A (en) Software abnormality detection method and apparatus
CN107885635B (en) Black screen detection method, mobile terminal and computer readable storage medium
CN111045876A (en) Splash screen detection method and device, storage medium and electronic equipment
CN103927242A (en) Display card testing system and display card testing method
CN107734143A (en) A kind of failure based reminding method, mobile terminal and readable storage medium storing program for executing
JP2021184302A (en) Browser display verification method, apparatus, computer device, and storage medium
CN112749074B (en) Test case recommending method and device
CN110765085A (en) Log information writing method, system, storage medium and mobile terminal
CN114428546A (en) Background application cleaning method and device, storage medium and terminal equipment
CN106709330B (en) Method and device for recording file execution behaviors
CN107766351B (en) File directory identification method and device
WO2018205392A1 (en) Control response area display control method, electronic apparatus, and storage medium
US20230017912A1 (en) Electric quantity indicating method and electronic device
CN110677757A (en) Wireless earphone electric quantity display method and device and electronic equipment
CN115600213A (en) Vulnerability management method, device, medium and equipment based on application program
CN112182581B (en) Application testing method, device, application testing equipment and storage medium
CN110716908A (en) Log information writing method, system, storage medium and mobile terminal
CN110874143B (en) Sensor data acquisition method, intelligent terminal, storage medium and electronic equipment
CN108055377B (en) T card detection method and mobile terminal
CN116909787A (en) Fault injection method, device, storage medium and terminal

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