CN111290894A - Splash screen detection method, device, terminal and storage medium - Google Patents

Splash screen detection method, device, terminal and storage medium Download PDF

Info

Publication number
CN111290894A
CN111290894A CN202010063509.6A CN202010063509A CN111290894A CN 111290894 A CN111290894 A CN 111290894A CN 202010063509 A CN202010063509 A CN 202010063509A CN 111290894 A CN111290894 A CN 111290894A
Authority
CN
China
Prior art keywords
screen
color
terminal
ratio
picture
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202010063509.6A
Other languages
Chinese (zh)
Other versions
CN111290894B (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.)
Oppo Chongqing Intelligent Technology Co Ltd
Original Assignee
Oppo Chongqing Intelligent Technology 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 Oppo Chongqing Intelligent Technology Co Ltd filed Critical Oppo Chongqing Intelligent Technology Co Ltd
Priority to CN202010063509.6A priority Critical patent/CN111290894B/en
Publication of CN111290894A publication Critical patent/CN111290894A/en
Application granted granted Critical
Publication of CN111290894B publication Critical patent/CN111290894B/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
    • 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)
  • Image Analysis (AREA)
  • Control Of Indicators Other Than Cathode Ray Tubes (AREA)

Abstract

The embodiment of the application provides a splash screen detection method, a device, a terminal and a storage medium, and relates to the technical field of splash screen detection. The method comprises the following steps: acquiring n screen pictures of a terminal screen in a target time period, wherein n is a positive integer; acquiring a color gradation ratio of each color contained in each screen picture in the n screen pictures, wherein the color gradation ratio is the ratio of the number of pixel points of the color to the number of all pixel points contained in the screen picture; selecting the maximum color level ratio in the color level ratios of all colors contained in each screen picture; and determining whether the terminal screen flickers in the target time period according to the maximum color gradation ratio of each screen picture. The screen flashing detection method is short in time consumption.

Description

Splash screen detection method, device, terminal and storage medium
Technical Field
The embodiment of the application relates to the technical field of splash screen detection, in particular to a splash screen detection method, a device, a terminal and a storage medium.
Background
The splash screen refers to the phenomenon that the terminal screen flickers or flickers irregularly.
In the related art, the splash screen detection is performed by: the method comprises the steps of collecting the operation of a user on a terminal and the corresponding change of a screen picture in a period of time in a video mode, extracting frames of the collected video according to a certain rule, cutting the frames into a plurality of parts, and extracting unstable stages from the plurality of parts, so that a splash screen is identified.
However, the above-mentioned screen-flashing detection method in the related art needs to perform video frame-by-frame analysis, which takes a long time.
Disclosure of Invention
The embodiment of the application provides a splash screen detection method, a device, a terminal and a storage medium. The technical scheme is as follows:
in one aspect, an embodiment of the present application provides a splash screen detection method, where the method includes:
acquiring n screen pictures of a terminal screen in a target time period, wherein n is a positive integer;
acquiring a color gradation ratio of each color contained in each screen picture in the n screen pictures, wherein the color gradation ratio is the ratio of the number of pixel points of the color to the number of all pixel points contained in the screen picture;
selecting the maximum color level ratio in the color level ratios of all colors contained in each screen picture;
and determining whether the terminal screen flickers in the target time period according to the maximum color gradation ratio of each screen picture.
On the other hand, this application embodiment provides a splash screen detection device, the device includes:
the terminal comprises a picture acquisition module, a picture processing module and a picture processing module, wherein the picture acquisition module is used for acquiring n screen pictures of a terminal screen in a target time period, and n is a positive integer;
the color gradation ratio acquisition module is used for acquiring the color gradation ratio of each color contained in each screen picture in the n screen pictures, wherein the color gradation ratio is the ratio of the number of pixel points of the color to the number of all pixel points contained in the screen picture;
the color gradation ratio selection module is used for selecting the maximum color gradation ratio in the color gradation ratios of all colors contained in each screen picture;
and the screen flashing detection module is used for determining whether the terminal screen flashes within the target time period according to the maximum color gradation ratio of each screen picture.
In another aspect, an embodiment of the present application provides a terminal, where the terminal includes a processor and a memory, where the memory stores a computer program, and the computer program is loaded and executed by the processor to implement the splash screen detection method according to the above aspect.
In yet another aspect, an embodiment of the present application provides a computer-readable storage medium, in which a computer program is stored, and the computer program is loaded and executed by a processor to implement the splash screen detection method according to the above aspect.
The technical scheme provided by the embodiment of the application can bring the following beneficial effects:
the method comprises the steps of obtaining n screen pictures of a terminal screen in a target time period, obtaining the color gradation ratio of each color contained in each screen picture in the n screen pictures, selecting the maximum color gradation ratio of the color gradation ratios of each color contained in each screen picture, and determining whether the terminal screen flickers in the target time period according to the maximum color gradation ratio of each screen picture. Compared with a screen flashing detection method for video frame-by-frame analysis in the related art, the time consumption is short. And the embodiment of the application determines whether the screen flashing phenomenon occurs according to the maximum color gradation ratio, and the screen flashing identification rate is high.
Drawings
FIG. 1 is a schematic illustration of an implementation environment provided by one embodiment of the present application;
FIG. 2 is a flow chart of a splash screen detection method provided by one embodiment of the present application;
FIG. 3 is a flow chart of a method of splash screen detection provided by another embodiment of the present application;
FIG. 4 is a schematic diagram of a tone scale ratio plot provided in one embodiment of the present application;
FIG. 5 is a schematic diagram of a tone scale ratio plot provided in another embodiment of the present application;
FIG. 6 is a schematic diagram of a tone scale ratio plot provided in accordance with yet another embodiment of the present application;
FIG. 7 is a block diagram of a splash screen detection apparatus provided in one embodiment of the present application;
fig. 8 is a block diagram of a terminal according to an embodiment of the present application.
Detailed Description
To make the objects, technical solutions and advantages of the present application more clear, embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
FIG. 1 is a schematic diagram illustrating one implementation environment in accordance with an example embodiment. The implementation environment may include: a target terminal 10 and a splash screen detection device 20.
In the embodiment of the present application, the target terminal 10 may also be referred to as a terminal to be tested, and is a terminal installed with a plurality of applications, for example, a game application, a video application, a social application, a shopping application, and the like may be installed in the target terminal 10, and the type of the application installed in the target terminal 10 is not limited in the embodiment of the present application. In the embodiment of the present application, the type of the target terminal 10 is not limited, for example, the target terminal 10 may be an electronic device such as a mobile phone, a tablet computer, a smart television, a multimedia device, and the like. Optionally, the technical scheme provided by the embodiment of the application is applicable to a terminal of an Android operating system (Android), and the Android operating system may be an Android native operating system or some other customized operating systems developed based on the Android operating system.
In the embodiment of the present application, the splash screen detection device 20 is a device for detecting whether or not a splash screen occurs in the target terminal 10. The splash screen detection device 20 is provided with a display screen and has certain computing and storage capabilities. For example, the splash screen detection apparatus 20 may be a PC (Personal Computer), such as a desktop Computer or a laptop portable Computer.
The communication connection between the target terminal 10 and the splash screen detection device 20 can be established in a wired or wireless manner. For example, the target terminal 10 and the splash screen detection device 20 may establish a connection through a USB (Universal Serial Bus), or may establish a connection through a wireless network, which is not limited in this embodiment of the present application.
Referring to fig. 2, a flowchart of a splash screen detection method according to an embodiment of the present application is shown. The execution subject of the method may be the splash screen detection device in the implementation environment of fig. 1, and the method may include the following steps.
Step 201, acquiring n screen pictures of a terminal screen in a target time period, wherein n is a positive integer.
The target time interval may be preset by a tester, or may be a parameter generated by default of the system, and the setting mode of the target time interval is not limited in the embodiment of the present application.
The screen refers to a picture displayed in a screen of the terminal, such as an interface of an application program. The format of the screen can be jpeg, jpg, png or other formats, which is not limited in the embodiments of the present application.
For the description taking the screen as the interface of the game application as an example, the target time period may be a period of time from the game start to the game start.
Optionally, the target terminal collects n screen pictures of the target terminal in a target time period and sends the n screen pictures to the splash screen detection device.
Step 202, obtaining the gradation ratio of each color contained in each screen of the n screens.
In the embodiment of the present application, the color gradation ratio refers to a ratio of the number of pixels of a color to the number of all pixels included in a screen.
Suppose that a certain screen picture has red pixels, green pixels, purple pixels, black pixels and white pixels. The ratio of the number of the red pixels to the number of all the pixels is 22.8 percent, and then the red color gradation ratio is 0.228; the ratio of the number of the green pixel points to the number of all the pixel points is 11.7 percent, and then the green color gradation ratio is 0.117; the ratio of the number of purple pixels to the number of all pixels is 7.5%, so that the purple color gradation ratio is 0.075; the ratio of the number of the black pixel points to the number of all the pixel points is 29.9 percent, and then the black color gradation ratio is 0.299; the ratio of the number of white pixels to the number of all pixels is 28.1%, and the white gradation ratio is 0.281.
The larger the gradation ratio, the monotonous the screen. In general, the gradation ratio of black, white and gray screens is more than 99% and is considered to be monotonous.
Step 203, selecting the maximum color level ratio of the color level ratios of the colors contained in each screen.
Still taking the above example as an example, the maximum gradation ratio of the above screen is 0.299. Assuming that the splash screen detection device acquires 10 screen images within a continuous time, the splash screen detection device selects the maximum color gradation ratio of each screen image according to the 10 screen images.
The maximum gradation ratio is used to indicate the ratio of the most dominant color in the screen.
And step 204, determining whether the terminal screen flickers in the target time period according to the maximum color gradation ratio of each screen picture.
Still in the above example, the splash screen detection device may determine whether the splash screen occurs on the terminal screen within the target period of time according to the maximum gradation ratio of each of the above 10 screens.
To sum up, in the technical scheme provided in the embodiment of the present application, by obtaining n screen pictures of the terminal screen in the target time period, obtaining the color gradation ratio of each color included in each screen picture of the n screen pictures, selecting the maximum color gradation ratio of the color gradation ratios of each color included in each screen picture, and determining whether the terminal screen is flashed in the target time period according to the maximum color gradation ratio of each screen picture. Compared with a screen flashing detection method for video frame-by-frame analysis in the related art, the time consumption is short. And the embodiment of the application determines whether the screen flashing phenomenon occurs according to the maximum color gradation ratio, and the screen flashing identification rate is high.
Referring to fig. 3, a flowchart of a splash screen detection method according to another embodiment of the present application is shown. The method may include several steps as follows.
Step 301, performing screenshot operation per second on a terminal screen in a target time period to obtain n screen pictures.
Illustratively, the target period is n seconds. Optionally, the splash screen detection device sends a screenshot instruction to the target terminal, wherein the screenshot instruction is used for indicating the target terminal to perform screenshot per second in a target time period, and the target terminal performs screenshot per second when receiving the screenshot instruction to obtain n screen pictures; and the target terminal sends the n screen pictures to the splash screen detection equipment.
Step 302, obtaining the gradation ratio of each color contained in each screen of the n screens.
In the embodiment of the present application, the color gradation ratio refers to a ratio of the number of pixels of a color to the number of all pixels included in a screen.
Optionally, this step comprises several sub-steps as follows:
firstly, for the mth screen picture in the n screen pictures, all pixel points contained in the mth screen picture are obtained, and m is a positive integer less than or equal to n.
Secondly, classifying all pixel points according to the color types contained in the mth screen picture to obtain pixel points of all colors contained in the mth screen picture.
And thirdly, determining the ratio of the number of the pixel points of each color to the number of all the pixel points as the color gradation ratio of each color contained in the mth screen picture.
Exemplarily, it is assumed that the mth screen includes 1000 pixel points and includes 3 colors: blue, white and green. And classifying the 1000 pixel points according to blue, white and green to obtain blue pixel points, white pixel points and green pixel points. Suppose there are 500 blue pixels, 200 white pixels and 300 green pixels, the blue gradation ratio is 500/1000-0.5, the white gradation ratio is 200/1000-0.2, and the green gradation ratio is 300/1000-0.3.
Step 303, select the maximum color level ratio among the color level ratios of the colors included in each screen.
Step 304, detecting whether the maximum color gradation ratio of each screen is in a quasi-periodic relationship. If the maximum color level ratio of each screen is in a periodic relationship, go to step 305; if the maximum color level ratio of each screen is not in a periodic relationship, go to step 306.
And 305, determining that the terminal screen flickers in a target time period.
A class periodic relationship refers to a relationship that is similar to a periodic relationship. If the maximum gradation ratios of most of the n screens are in a periodic relationship, it can be determined that the maximum gradation ratios of the n screens are in a quasi-periodic relationship.
In the embodiment of the application, whether the screen flicker phenomenon exists is deduced by judging whether the maximum color gradation ratio of the screen is in a periodic-like relation. The switching between the white screen and the original screen picture is carried out according to a certain time interval by the flashing screen, the color gradation ratio of the white screen is close to 1, and the original screen picture has a low color gradation ratio due to the existence of various colors, so that the frequent switching between the white screen and the original screen picture presents a quasi-periodic relationship, and whether the terminal screen has the flashing phenomenon in a target time interval can be deduced.
In a possible implementation manner, if the maximum color gradation ratio of each screen picture is in a periodic relationship, it is determined that the terminal screen flickers within a target time period.
Optionally, this step comprises several sub-steps as follows:
and 1.1, generating a color gradation ratio curve graph according to the maximum color gradation ratio of each screen picture.
And the splash screen detection equipment is used for fitting to generate a color gradation ratio curve graph according to the maximum color gradation ratio of each screen picture.
1.2, detecting whether the color gradation ratio curve graph accords with the class periodicity relation.
1.3, if the color gradation ratio curve graph accords with the class periodicity relation, determining that the terminal screen flickers in a target time period.
Step 306, determining that the terminal screen does not generate screen flashing in the target time period.
For the purpose of flash detection for a gaming application, an example is described, as shown in fig. 4, which shows a schematic diagram of a color gradation ratio graph. Under normal conditions, when the game application program is just started, the color richness of the game starting interface is not high, the color gradation ratio is high, so that the color gradation ratio curve graph is steeper at the beginning, then the game application program starts to display a game welcoming picture, the game welcoming picture richness is higher, the color gradation ratio starts to decrease, and finally the game application program is maintained at a stable value. The gradation ratio graph shown in fig. 4 is a graph corresponding to a case where no screen flickers occur on the terminal screen within the target period.
As shown in fig. 5, which shows a schematic diagram of another gradation ratio plot. The reason why the fluctuation of fig. 5 is larger than that of fig. 4 is that some game welcome pictures have a cartoon, and the cartoon can continuously change the position and color value, which is a normal phenomenon. The gradation ratio graph shown in fig. 5 is also a graph corresponding to the case where no screen flickers occur on the terminal screen within the target period.
Alternatively, the splash screen detection device may approximately fit whether the curve conforms to the characteristics of the periodic function by some mathematical formula T (x) ═ T (x + D), and if the curve is the periodic function, then the splash screen phenomenon is considered to exist. As shown in fig. 6, which shows a schematic diagram of yet another gradation ratio plot. The curve shown in fig. 6 conforms to the characteristics of the periodic function and is in a periodic relationship, so that the gradation ratio curve shown in fig. 6 is a curve corresponding to the terminal screen when the terminal screen flickers in the target period.
The splash screen is a phenomenon caused by frequent switching of white screen and original screen picture, the tone scale ratio of the monotonous screen picture such as white screen and black screen is close to 1, the original screen picture has low tone scale ratio due to high color richness, and therefore the frequent switching of the white screen and the original screen picture is represented on a curve graph as a periodic function graph, and the occurrence of the splash screen on the terminal screen in the target time period can be deduced.
The technical scheme provided by the embodiment of the application aims at identifying whether a splash screen phenomenon exists in a section of appointed process in a game application program, and is high in identification rate and high in speed (which can reach millisecond level). And when automatic screen flashing detection is carried out on massive game application programs, whether the screen flashing problem exists can be quickly and accurately found.
In the illustrative embodiment, if the terminal screen flickers in the target time period, the alarm processing is performed.
When the screen flashing detection device detects that the terminal screen flashes within a target time period, the screen flashing detection device gives an alarm, so that a tester can manually test the game application program, and if the game application program is confirmed to have a serious screen flashing problem, the game application program is informed to a developer, so that the developer can repair the game application program.
Optionally, after the warning, the splash screen detection device may perform detection processing on the terminal, where the detection processing includes at least one of: the method comprises the steps of screen refresh rate detection processing, virus searching and killing processing and brightness automatic adjustment detection processing. In a possible implementation manner, the problem of screen flashing of the target terminal is caused due to the setting problem of the target terminal, so that after the screen flashing detection device gives an alarm, the terminal can be correspondingly detected. In a possible implementation manner, the detection process may further include other detections that cause a splash screen problem, which is not limited in this application embodiment.
In summary, in the technical scheme provided by the embodiment of the application, whether the maximum color gradation ratio of each screen is in a quasi-periodic relationship or not is detected, so that whether the screen flashing phenomenon occurs on the terminal screen or not is determined, and the accuracy of screen flashing detection is improved.
In addition, after the screen flashing of the terminal screen is determined, the alarm processing is carried out, the terminal is detected, and the reason for the screen flashing can be effectively found, so that the corresponding processing is carried out.
The following are embodiments of the apparatus of the present application that may be used to perform embodiments of the method of the present application. For details which are not disclosed in the embodiments of the apparatus of the present application, reference is made to the embodiments of the method of the present application.
Referring to fig. 7, a block diagram of a splash screen detection apparatus provided in an embodiment of the present application is shown, where the apparatus has a function of implementing the above method example, and the function may be implemented by hardware, or by hardware executing corresponding software. The apparatus 700 may include: the display device comprises a picture acquisition module 710, a color gradation ratio acquisition module 720, a color gradation ratio selection module 730 and a splash screen detection module 740.
The picture acquiring module 710 is configured to acquire n screen pictures of a terminal screen in a target time period, where n is a positive integer.
The color gradation ratio obtaining module 720 is configured to obtain a color gradation ratio of each color included in each screen of the n screens, where the color gradation ratio is a ratio of the number of pixels of the color to the number of all pixels included in the screen.
The color level ratio selecting module 730 is configured to select a maximum color level ratio among the color level ratios of the colors included in each screen.
And a splash screen detection module 740, configured to determine whether the terminal screen flickers within the target time period according to the maximum color level ratio of each screen picture.
To sum up, in the technical scheme provided in the embodiment of the present application, by obtaining n screen pictures of the terminal screen in the target time period, obtaining the color gradation ratio of each color included in each screen picture of the n screen pictures, selecting the maximum color gradation ratio of the color gradation ratios of each color included in each screen picture, and determining whether the terminal screen is flashed in the target time period according to the maximum color gradation ratio of each screen picture. Compared with a screen flashing detection method for video frame-by-frame analysis in the related art, the time consumption is short. And the embodiment of the application determines whether the screen flashing phenomenon occurs according to the maximum color gradation ratio, and the screen flashing identification rate is high.
Optionally, the splash screen detection module 740 is configured to:
and if the maximum color level ratio of each screen picture is in a quasi-periodic relation, determining that the terminal screen flickers in the target time period.
Optionally, the splash screen detection module 740 is configured to:
generating a color gradation ratio curve graph according to the maximum color gradation ratio of each screen picture;
detecting whether the tone scale ratio curve graph accords with the class periodicity relation;
and if the gradation ratio curve graph conforms to the quasi-periodic relation, determining that the terminal screen flickers in the target time period.
Optionally, the picture acquiring module 710 is configured to:
and performing screenshot operation on the terminal screen every second in the target time period to obtain the n screen pictures.
Optionally, the color gradation ratio obtaining module 720 is configured to:
for an mth screen picture in the n screen pictures, acquiring all pixel points contained in the mth screen picture, wherein m is a positive integer less than or equal to n;
classifying all the pixel points according to the color types contained in the mth screen picture to obtain pixel points of all colors contained in the mth screen picture;
and determining the ratio of the number of the pixel points of each color to the number of all the pixel points as the color gradation ratio of each color contained in the mth screen picture.
Optionally, the apparatus 700 further includes: an alarm handling module (not shown in the figure).
And the alarm processing module is used for carrying out alarm processing if the terminal screen generates screen flashing in the target time period.
Optionally, the apparatus 700 further includes: a detection processing module (not shown in the figure).
The detection processing module is configured to perform detection processing on a terminal, where the detection processing includes at least one of: the method comprises the steps of screen refresh rate detection processing, virus searching and killing processing and brightness automatic adjustment detection processing.
It should be noted that, when the apparatus provided in the foregoing embodiment implements the functions thereof, only the division of the functional modules is illustrated, and in practical applications, the functions may be distributed by different functional modules according to needs, that is, the internal structure of the apparatus may be divided into different functional modules to implement all or part of the functions described above. In addition, the apparatus and method embodiments provided by the above embodiments belong to the same concept, and specific implementation processes thereof are described in the method embodiments for details, which are not described herein again.
Referring to fig. 8, a block diagram of a terminal according to an embodiment of the present application is shown.
The terminal in the embodiment of the present application may include one or more of the following components: a processor 810 and a memory 820.
Processor 810 may include one or more processing cores. The processor 810 connects various parts within the overall terminal using various interfaces and lines, performs various functions of the terminal and processes data by executing or executing instructions, programs, code sets, or instruction sets stored in the memory 820 and calling data stored in the memory 820. Alternatively, the processor 810 may be implemented in hardware using at least one of Digital Signal Processing (DSP), Field-Programmable Gate Array (FPGA), and Programmable Logic Array (PLA). The processor 810 may integrate one or a combination of a Central Processing Unit (CPU) and a modem. Wherein, the CPU mainly processes an operating system, an application program and the like; the modem is used to handle wireless communications. It is understood that the modem may not be integrated into the processor 810, but may be implemented by a single chip.
Optionally, the processor 810, when executing the program instructions in the memory 820, implements the methods provided by the various method embodiments described above.
The Memory 820 may include a Random Access Memory (RAM) or a Read-Only Memory (ROM). Optionally, the memory 820 includes a non-transitory computer-readable medium. The memory 820 may be used to store instructions, programs, code sets, or instruction sets. The memory 820 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for at least one function, instructions for implementing the various method embodiments described above, and the like; the storage data area may store data created according to the use of the terminal, and the like.
The structure of the terminal described above is only illustrative, and in actual implementation, the terminal may include more or less components, such as: a display screen, etc., which are not limited in this embodiment.
Those skilled in the art will appreciate that the configuration shown in fig. 8 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components may be used.
In an exemplary embodiment, a computer readable storage medium is also provided, in which a computer program is stored, which is loaded and executed by a processor of a computer device to implement the steps in the above-described splash screen detection method embodiment.
In an exemplary embodiment, a computer program product is also provided for implementing the above-described splash screen detection method when executed.
The above description is only exemplary of the present application and should not be taken as limiting the present application, and any modifications, equivalents, improvements and the like that are made within the spirit and principle of the present application should be included in the protection scope of the present application.

Claims (10)

1. A method of splash screen detection, the method comprising:
acquiring n screen pictures of a terminal screen in a target time period, wherein n is a positive integer;
acquiring a color gradation ratio of each color contained in each screen picture in the n screen pictures, wherein the color gradation ratio is the ratio of the number of pixel points of the color to the number of all pixel points contained in the screen picture;
selecting the maximum color level ratio in the color level ratios of all colors contained in each screen picture;
and determining whether the terminal screen flickers in the target time period according to the maximum color gradation ratio of each screen picture.
2. The method according to claim 1, wherein the determining whether the terminal screen flickers within the target period according to the maximum color level ratio of each screen picture comprises:
and if the maximum color level ratio of each screen picture is in a quasi-periodic relation, determining that the terminal screen flickers in the target time period.
3. The method according to claim 2, wherein the determining whether the terminal screen flickers within the target period according to the maximum color level ratio of each screen picture comprises:
generating a color gradation ratio curve graph according to the maximum color gradation ratio of each screen picture;
detecting whether the tone scale ratio curve graph accords with the class periodicity relation;
and if the gradation ratio curve graph conforms to the quasi-periodic relation, determining that the terminal screen flickers in the target time period.
4. The method according to claim 1, wherein the obtaining n screen pictures of the terminal screen in the target period comprises:
and performing screenshot operation on the terminal screen every second in the target time period to obtain the n screen pictures.
5. The method according to claim 1, wherein said obtaining the gradation ratio of each color included in each of the n screens comprises:
for an mth screen picture in the n screen pictures, acquiring all pixel points contained in the mth screen picture, wherein m is a positive integer less than or equal to n;
classifying all the pixel points according to the color types contained in the mth screen picture to obtain pixel points of all colors contained in the mth screen picture;
and determining the ratio of the number of the pixel points of each color to the number of all the pixel points as the color gradation ratio of each color contained in the mth screen picture.
6. The method according to any one of claims 1 to 5, wherein after determining whether the terminal screen flickers within the target time period according to the maximum tone scale ratio of each screen picture, the method further comprises:
and if the terminal screen flickers in the target time period, performing alarm processing.
7. The method of claim 6, wherein after performing the alert processing, further comprising:
detecting a terminal, wherein the detecting process comprises at least one of the following steps: the method comprises the steps of screen refresh rate detection processing, virus searching and killing processing and brightness automatic adjustment detection processing.
8. A splash screen detection apparatus, the apparatus comprising:
the terminal comprises a picture acquisition module, a picture processing module and a picture processing module, wherein the picture acquisition module is used for acquiring n screen pictures of a terminal screen in a target time period, and n is a positive integer;
the color gradation ratio acquisition module is used for acquiring the color gradation ratio of each color contained in each screen picture in the n screen pictures, wherein the color gradation ratio is the ratio of the number of pixel points of the color to the number of all pixel points contained in the screen picture;
the color gradation ratio selection module is used for selecting the maximum color gradation ratio in the color gradation ratios of all colors contained in each screen picture;
and the screen flashing detection module is used for determining whether the terminal screen flashes within the target time period according to the maximum color gradation ratio of each screen picture.
9. A terminal, characterized in that the terminal comprises a processor and a memory, the memory storing a computer program that is loaded and executed by the processor to implement the method according to any of claims 1 to 7.
10. A computer-readable storage medium, in which a computer program is stored which is loaded and executed by a processor to implement the method according to any one of claims 1 to 7.
CN202010063509.6A 2020-01-20 2020-01-20 Method, device, terminal and storage medium for detecting splash screen Active CN111290894B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010063509.6A CN111290894B (en) 2020-01-20 2020-01-20 Method, device, terminal and storage medium for detecting splash screen

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010063509.6A CN111290894B (en) 2020-01-20 2020-01-20 Method, device, terminal and storage medium for detecting splash screen

Publications (2)

Publication Number Publication Date
CN111290894A true CN111290894A (en) 2020-06-16
CN111290894B CN111290894B (en) 2023-08-08

Family

ID=71018213

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010063509.6A Active CN111290894B (en) 2020-01-20 2020-01-20 Method, device, terminal and storage medium for detecting splash screen

Country Status (1)

Country Link
CN (1) CN111290894B (en)

Cited By (1)

* 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

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050225782A1 (en) * 2004-03-17 2005-10-13 Xerox Corporation User-adjustable mechanism for extracting full color information from two-color ink definitions
US20110169924A1 (en) * 2009-11-09 2011-07-14 Brett Stanton Haisty Systems and methods for optically projecting three-dimensional text, images and/or symbols onto three-dimensional objects
WO2014042425A1 (en) * 2012-09-11 2014-03-20 성균관대학교 산학협력단 Time divisional display method and liquid crystal display device
CN108428432A (en) * 2017-02-15 2018-08-21 上海和辉光电有限公司 Method, apparatus and its terminal device for eliminating the standby splashette of AMOLED screen
CN109144764A (en) * 2018-07-31 2019-01-04 深圳点猫科技有限公司 A kind of screen dead pixel detection method and equipment based on education operating system
CN109547704A (en) * 2018-12-29 2019-03-29 与德科技有限公司 A kind of photographic method, device, terminal and the storage medium of anti-splashette
CN110084801A (en) * 2019-04-28 2019-08-02 深圳回收宝科技有限公司 A kind of detection method of terminal screen, device, portable terminal and storage medium
CN110164366A (en) * 2019-04-22 2019-08-23 联想(北京)有限公司 A kind of information processing method, electronic equipment

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050225782A1 (en) * 2004-03-17 2005-10-13 Xerox Corporation User-adjustable mechanism for extracting full color information from two-color ink definitions
US20110169924A1 (en) * 2009-11-09 2011-07-14 Brett Stanton Haisty Systems and methods for optically projecting three-dimensional text, images and/or symbols onto three-dimensional objects
WO2014042425A1 (en) * 2012-09-11 2014-03-20 성균관대학교 산학협력단 Time divisional display method and liquid crystal display device
CN108428432A (en) * 2017-02-15 2018-08-21 上海和辉光电有限公司 Method, apparatus and its terminal device for eliminating the standby splashette of AMOLED screen
CN109144764A (en) * 2018-07-31 2019-01-04 深圳点猫科技有限公司 A kind of screen dead pixel detection method and equipment based on education operating system
CN109547704A (en) * 2018-12-29 2019-03-29 与德科技有限公司 A kind of photographic method, device, terminal and the storage medium of anti-splashette
CN110164366A (en) * 2019-04-22 2019-08-23 联想(北京)有限公司 A kind of information processing method, electronic equipment
CN110084801A (en) * 2019-04-28 2019-08-02 深圳回收宝科技有限公司 A kind of detection method of terminal screen, device, portable terminal and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
王玲玲等: "基于Direct3D的雷达视频图像实时显示技术", 《雷达与对抗》 *

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
CN117036831B (en) * 2023-10-09 2024-03-22 视睿(杭州)信息科技有限公司 Method, system and medium for detecting splash screen based on time sequence feature modeling

Also Published As

Publication number Publication date
CN111290894B (en) 2023-08-08

Similar Documents

Publication Publication Date Title
CN110377391B (en) Picture display method and device, mobile terminal and storage medium
CN108961260B (en) Image binarization method and device and computer storage medium
CN104537021A (en) Method for setting browser background and browser client
CN106528758B (en) Picture selection method and device
CN114996103A (en) Page abnormity detection method and device, electronic equipment and storage medium
CN111290894B (en) Method, device, terminal and storage medium for detecting splash screen
CN111381748A (en) Image display method, device, equipment and storage medium
CN113342627B (en) Application service monitoring method and monitoring system of terminal
CN108108367B (en) Webpage display method and device
WO2022134875A1 (en) Data acquisition method and electronic device
CN113538629A (en) Detection method and device
CN113934481A (en) Notification information pushing method, intelligent terminal and storage medium
CN113807410B (en) Image recognition method and device and electronic equipment
CN115904883A (en) RPA flow execution visualization abnormity monitoring method, device and medium
CN115267473A (en) Abnormality detection method, abnormality detection device, drive chip, electronic device, and storage medium
CN111400534B (en) Cover determination method and device for image data and computer storage medium
CN114764821A (en) Moving object detection method, moving object detection device, electronic apparatus, and storage medium
CN111579211B (en) Display screen detection method, detection device and computer storage medium
CN113284199A (en) Image gray area determination method, electronic device and server
CN111882536A (en) Method for monitoring quantity of bulk cargo based on picture comparison
CN113469297B (en) Image tampering detection method, device, equipment and computer readable storage medium
CN115601606B (en) Store state detection method, device, equipment and storage medium
CN117037164B (en) Nixie tube action recognition method, system, device and storage medium
CN113591972B (en) Image processing method, device, electronic equipment and storage medium
CN113066068B (en) Image evaluation method and 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