White screen detection method and device, computer equipment and storage medium

By obtaining the white screen monitoring configuration item data in the Hybrid application and generating screenshots of delay tasks, calculating the non-white screen rate to detect the white screen problem, the problem of missing white screen detection in the Hybrid application is solved, the application stability and user experience are improved, and the automatic alarm mechanism is realized.

CN119537206APending Publication Date: 2025-02-28CHINA PING AN LIFE INSURANCE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411450997.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-16
Publication Date
2025-02-28

AI Technical Summary

Technical Problem

The white screen problem in Hybrid applications due to network delay, resource loading failure or script errors is lacking special detection methods, which affects the user experience and is difficult to monitor and prevent.

Method used

By obtaining the configuration item data of the white screen monitoring when the target application is started, and generating a delay task when the target container completes the specified page loading, taking screenshots to obtain the page image, performing pixel sampling to calculate the non-white screen rate, and comparing the non-white screen rate with the threshold to generate the white screen detection result.

Benefits of technology

It realizes the rapid and accurate detection of white screen problems in Hybrid applications, improves the stability and user experience of the application, and promptly notifies developers through automatic alarm mechanisms for processing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119537206A_ABST
    Figure CN119537206A_ABST
Patent Text Reader

Abstract

The invention belongs to the technical field of data processing, and relates to a white screen detection method and device, computer equipment and a storage medium, and the method comprises the steps: when a target application is started, obtaining configuration item data of white screen monitoring, and storing the configuration item data into a global variable of the target application; when it is detected that the target container corresponding to the target application completes loading of the specified page, a delay task is generated based on the configuration item data; when the delay task is triggered, performing screen capture on the specified page to obtain a screen capture image; pixel point sampling is carried out on the screenshot image, and the non-white screen rate of the specified page is calculated according to pixel points obtained through sampling; obtaining a non-white screen threshold value from the configuration item data, and generating a numerical value comparison result between the non-white screen rate and the non-white screen threshold value; and generating a white screen detection result of the specified page based on a numerical value comparison result. The invention further relates to a block chain technology, and the white screen detection result can be stored in the block chain. The white screen detection result of the target application can be accurately generated.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the fields of data processing technology and financial technology, and in particular to white screen detection methods, devices, computer equipment and storage media. Background Art

[0002] In the financial field, with the rapid development of mobile Internet technology, the forms and types of applications are becoming increasingly diverse. Among them, hybrid applications, as a new type of hybrid application that combines the advantages of native applications and web applications, have received widespread attention and application. By combining elements of both, hybrid applications aim to provide a solution that has both the high performance and high interactivity of native applications and can easily achieve cross-platform and rapid iteration updates.

[0003] Specifically, native pages in hybrid applications usually rely on loading local resources to display the user interface (UI), which include but are not limited to multimedia content such as pictures, audio, and video, as well as interface components developed using native programming languages ​​(such as Java, Swift, Kotlin, etc.). This approach enables hybrid applications to perform well in handling complex interactions and accessing local device functions.

[0004] However, hybrid applications also face some challenges in actual applications. Among them, the white screen problem is particularly prominent. When a web page cannot be rendered normally due to network delays, resource loading failures, script errors, etc., users may see a blank screen, the so-called "white screen" phenomenon. This situation not only seriously affects the user experience, but may also cause users to mistakenly believe that the application has crashed or cannot be used normally, which in turn leads to negative reviews or even loss. In addition, since the industry currently does not have a white screen detection method specifically for hybrid applications, developers often find it difficult to effectively monitor and prevent the occurrence of white screen problems. Even if a white screen problem occurs, the program cannot perceive it in time and perform corresponding processing or recovery operations, which further aggravates the severity and scope of the problem. Summary of the invention

[0005] The purpose of the embodiments of the present application is to propose a white screen detection method, apparatus, computer equipment and storage medium to solve the technical problem that there is a lack of a white screen detection method specifically for hybrid applications, which easily affects the user experience.

[0006] In order to solve the above technical problems, the present application embodiment provides a white screen detection method, which adopts the following technical solution:

[0007] When the target application is started, the configuration item data of the white screen monitoring is obtained, and the configuration item data is stored in the global variable of the target application;

[0008] When it is detected that the target container corresponding to the target application completes loading of the designated page, a delayed task is generated based on the configuration item data;

[0009] When the delayed task is triggered, a screenshot of the designated page is taken to obtain a corresponding screenshot image;

[0010] Sampling pixels of the screenshot image, and calculating the non-white screen rate of the designated page according to the sampled pixels;

[0011] Acquire a non-white screen threshold from the configuration item data, and generate a numerical comparison result between the non-white screen rate and the non-white screen threshold;

[0012] A white screen detection result of the designated page is generated based on the numerical comparison result.

[0013] Furthermore, the step of generating a delayed task based on the configuration item data specifically includes:

[0014] Obtaining a screenshot time interval from the configuration item data;

[0015] Call the preset task setting strategy;

[0016] The screen capture time interval is task-set based on the task setting strategy to obtain the delayed task.

[0017] Furthermore, the step of taking a screenshot of the designated page to obtain a corresponding screenshot image specifically includes:

[0018] Get system version information;

[0019] Acquire a corresponding specified screenshot method based on the system version information;

[0020] The designated page is captured in a screenshot based on the designated screenshot method to obtain the corresponding screenshot image.

[0021] Furthermore, the step of sampling pixels of the screenshot image and calculating the non-white screen rate of the designated page according to the sampled pixels specifically includes:

[0022] Sampling pixels of the screenshot image based on a preset sampling strategy to obtain corresponding pixels;

[0023] Obtaining a first number of pixels;

[0024] Traversing all the pixel points, and counting a second number of non-white pixel points included in all the pixel points;

[0025] calculating a ratio of the second amount to the first amount;

[0026] The ratio is used as the non-white screen ratio.

[0027] Furthermore, the step of generating the white screen detection result of the specified page based on the numerical comparison result specifically includes:

[0028] Determine whether the numerical comparison result is that the non-white screen rate is greater than the non-white screen threshold;

[0029] If yes, generating a first white screen detection result indicating that no white screen appears on the designated page;

[0030] If not, a second white screen detection result is generated indicating that a white screen appears on the designated page.

[0031] Further, after the step of generating the white screen detection result of the specified page based on the numerical comparison result, the method further includes:

[0032] If the white screen detection result indicates that a white screen appears on the designated page, then collecting white screen related data corresponding to the designated page;

[0033] Generate a corresponding designated alarm email based on the white screen related data;

[0034] Get the developer's email address information;

[0035] Based on the email address information, the designated warning email is sent to the developer.

[0036] Further, after the step of generating the white screen detection result of the specified page based on the numerical comparison result, the method further includes:

[0037] Obtaining white screen screenshot data corresponding to the target application;

[0038] Compressing the white screen screenshot data to obtain corresponding target white screen screenshot data;

[0039] Collecting log information corresponding to the target application;

[0040] Packaging the target white screen screenshot data and the log information to obtain corresponding packaged data;

[0041] The packaged data is uploaded to a preset log cloud platform.

[0042] In order to solve the above technical problems, the present application also provides a white screen detection device, which adopts the following technical solution:

[0043] A first acquisition module is used to acquire configuration item data of white screen monitoring when the target application is started, and store the configuration item data in the global variable of the target application;

[0044] A first generating module, configured to generate a delayed task based on the configuration item data when it is detected that a target container corresponding to the target application completes loading of a specified page;

[0045] A screenshot module, used to take a screenshot of the specified page to obtain a corresponding screenshot image when the delayed task is triggered;

[0046] A calculation module, used for sampling pixels of the screenshot image, and calculating the non-white screen rate of the specified page according to the sampled pixels;

[0047] A second generating module, configured to obtain a non-white screen threshold from the configuration item data, and generate a numerical comparison result between the non-white screen rate and the non-white screen threshold;

[0048] The third generating module is used to generate the white screen detection result of the specified page based on the numerical comparison result.

[0049] In order to solve the above technical problems, the embodiment of the present application further provides a computer device, which adopts the following technical solution:

[0050] When the target application is started, the configuration item data of the white screen monitoring is obtained, and the configuration item data is stored in the global variable of the target application;

[0051] When it is detected that the target container corresponding to the target application completes loading of the designated page, a delayed task is generated based on the configuration item data;

[0052] When the delayed task is triggered, a screenshot of the designated page is taken to obtain a corresponding screenshot image;

[0053] Sampling pixels of the screenshot image, and calculating the non-white screen rate of the designated page according to the sampled pixels;

[0054] Acquire a non-white screen threshold from the configuration item data, and generate a numerical comparison result between the non-white screen rate and the non-white screen threshold;

[0055] A white screen detection result of the designated page is generated based on the numerical comparison result.

[0056] In order to solve the above technical problems, the embodiment of the present application further provides a computer-readable storage medium, which adopts the following technical solution:

[0057] When the target application is started, the configuration item data of the white screen monitoring is obtained, and the configuration item data is stored in the global variable of the target application;

[0058] When it is detected that the target container corresponding to the target application completes loading of the designated page, a delayed task is generated based on the configuration item data;

[0059] When the delayed task is triggered, a screenshot of the designated page is taken to obtain a corresponding screenshot image;

[0060] Sampling pixels of the screenshot image, and calculating the non-white screen rate of the designated page according to the sampled pixels;

[0061] Acquire a non-white screen threshold from the configuration item data, and generate a numerical comparison result between the non-white screen rate and the non-white screen threshold;

[0062] A white screen detection result of the designated page is generated based on the numerical comparison result.

[0063] Compared with the prior art, the embodiments of the present application have the following beneficial effects:

[0064] When the target application is started, the present application obtains the configuration item data of white screen monitoring, and stores the configuration item data in the global variables of the target application; then when it is detected that the target container corresponding to the target application completes the loading of the specified page, a delay task is generated based on the configuration item data; when the delay task is triggered, a screenshot of the specified page is obtained to obtain a corresponding screenshot image; then, pixel points of the screenshot image are sampled, and the non-white screen rate of the specified page is calculated based on the sampled pixel points; subsequently, a non-white screen threshold is obtained from the configuration item data, and a numerical comparison result between the non-white screen rate and the non-white screen threshold is generated; finally, a white screen detection result of the specified page is generated based on the numerical comparison result. The present application obtains the configuration item data of white screen monitoring when the target application is started, and then generates a delay task based on the configuration item data when it is detected that the target container corresponding to the target application completes the loading of the specified page, and when the delay task is triggered, takes a screenshot of the specified page to obtain a screenshot image, then samples the pixels of the screenshot image, and calculates the non-white screen rate of the specified page based on the sampled pixels, and then generates a numerical comparison result between the non-white screen rate and the non-white screen threshold in the configuration item data, and finally, based on the numerical comparison result, it is possible to quickly and accurately generate the white screen detection result of the specified page in the target application, effectively ensuring the accuracy of the generated white screen detection result, which is beneficial to improving the stability of the target application and user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0065] In order to more clearly illustrate the scheme in the present application, a brief introduction is given below to the drawings required for use in the description of the embodiments of the present application. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0066] Figure 1 is an exemplary system architecture diagram to which the present application may be applied;

[0067] Figure 2 A flowchart of an embodiment of a white screen detection method according to the present application;

[0068] Figure 3 is a structural schematic diagram of an embodiment of a white screen detection device according to the present application;

[0069] Figure 4 It is a structural diagram of an embodiment of a computer device according to the present application. DETAILED DESCRIPTION

[0070] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by technicians in the technical field of the present application; the terms used in the specification of the application herein are only for the purpose of describing specific embodiments and are not intended to limit the present application; the terms "including" and "having" and any variations thereof in the specification and claims of the present application and the above-mentioned drawings are intended to cover non-exclusive inclusions. The terms "first", "second", etc. in the specification and claims of the present application or the above-mentioned drawings are used to distinguish different objects, not to describe a specific order.

[0071] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.

[0072] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the accompanying drawings.

[0073] like Figure 1As shown, the system architecture 100 may include a terminal device 101, a network 102 and a server 103. The terminal device 101 may be a laptop 1011, a tablet computer 1012 or a mobile phone 1013. The network 102 is used to provide a medium for a communication link between the terminal device 101 and the server 103. The network 102 may include various connection types, such as wired, wireless communication links or optical fiber cables, etc.

[0074] The user can use the terminal device 101 to interact with the server 103 through the network 102 to receive or send messages, etc. Various communication client applications can be installed on the terminal device 101, such as web browser applications, shopping applications, search applications, instant messaging tools, email clients, social platform software, etc.

[0075] The terminal device 101 can be any electronic device with a display screen and supporting web browsing. In addition to the laptop computer 1011, tablet computer 1012 or mobile phone 1013, the terminal device 101 can also be an e-book reader, an MP3 player (Moving Picture Experts Group Audio Layer III), an MP4 (Moving Picture Experts Group Audio Layer IV), a laptop computer, a desktop computer, etc.

[0076] The server 103 may be a server that provides various services, such as a background server that provides support for web pages displayed on the terminal device 101 .

[0077] It should be noted that the white screen detection method provided in the embodiment of the present application is generally executed by a server / terminal device, and accordingly, the white screen detection device is generally arranged in the server / terminal device.

[0078] It should be understood that Figure 1 The number of terminal devices, networks and servers in the embodiment is only for illustration. Any number of terminal devices, networks and servers may be provided according to implementation requirements.

[0079] Continue to refer Figure 2 , showing a flow chart of an embodiment of the white screen detection method according to the present application. According to different requirements, the order of the steps in the flow chart can be changed, and some steps can be omitted. The white screen detection method provided in the embodiment of the present application can be applied to any scenario where page white screen detection is required, and the white screen detection method can be applied to products in these scenarios, for example, white screen detection of financial pages in the financial insurance field. The white screen detection method comprises the following steps:

[0080] Step S201, when the target application is started, obtain the configuration item data of the white screen monitoring, and store the configuration item data in the global variables of the target application.

[0081] In this embodiment, the electronic device (eg Figure 1 The server / terminal device shown in the figure) can obtain the configuration item data through a wired connection or a wireless connection. It should be noted that the above-mentioned wireless connection method may include but is not limited to 3G / 4G / 5G connection, WiFi connection, Bluetooth connection, WiMAX connection, Zigbee connection, UWB (ultra wideband) connection, and other wireless connection methods currently known or to be developed in the future. The execution subject of this application is specifically a terminal installed with a target application. The target application is a hybrid application (Hybrid application) that combines elements of both native applications and Web applications. In the application development business scenario in the financial field, the above-mentioned target application may be an insurance application, a claims application, a financial application, a trading application, and the like. The configuration item data of the above-mentioned white screen monitoring includes data related to white screen monitoring, for example, at least including: white screen monitoring master switch, white screen monitoring log printing switch, screenshot time interval, non-white screen threshold, white screen sampling rate, number of screenshots, special page url, special page white screen threshold, monitoring mode and other data. Among them, when the target application is started, the configuration item data of white screen monitoring can be obtained from the background server through HTTP request or WebSocket. The returned configuration item data is parsed and stored in the global variables of the application for subsequent use. In addition, by checking the white screen monitoring master switch in the configuration item data, if the white screen monitoring master switch is off, the subsequent steps are not executed. If the white screen monitoring master switch is on, the subsequent steps are executed.

[0082] A hybrid app is a hybrid app that combines elements of both native apps and web apps. It loads and displays web pages through a native app container (such as WebView), while taking advantage of the functionality and performance of native apps. Hybrid apps are able to build user interfaces using web technologies such as HTML, CSS, and JavaScript, and implement more complex functionality through interaction with native code. A web container is a component used to host web applications, which provides an environment that enables web applications to run and interact with users. In hybrid apps, web containers typically refer to components such as WebView, which allow web content to be embedded and displayed in native applications.

[0083] Step S202: when it is detected that the target container corresponding to the target application completes loading of the designated page, a delayed task is generated based on the configuration item data.

[0084] In this embodiment, the above-mentioned target container is specifically a Web container (such as WebView). When the target container is loading a specific URL corresponding to a specified page, a listener is registered to listen to the URL loading completion event (such as the onPageFinished method of WebView). And in the callback method of the listener, first check whether the target container has been initialized. Among them, the specific implementation process of generating a delayed task based on the configuration item data will be further described in detail in the subsequent specific embodiments of this application, and will not be elaborated on here.

[0085] Step S203: when the delayed task is triggered, a screenshot is taken of the designated page to obtain a corresponding screenshot image.

[0086] In this embodiment, the specific implementation process of taking a screenshot of the designated page to obtain a corresponding screenshot image will be described in further detail in subsequent specific embodiments of the present application, and will not be elaborated on here.

[0087] Step S204: sampling pixels of the screenshot image, and calculating the non-white screen rate of the designated page according to the sampled pixels.

[0088] In this embodiment, the specific implementation process of sampling the pixel points of the screenshot image and calculating the non-white screen rate of the specified page based on the sampled pixel points will be further described in detail in subsequent specific embodiments of the present application and will not be elaborated on here.

[0089] Step S205 , obtaining a non-white screen threshold from the configuration item data, and generating a numerical comparison result between the non-white screen rate and the non-white screen threshold.

[0090] In this embodiment, the required non-white screen threshold value can be obtained by performing specific data extraction on the above configuration item data. Then, the calculated non-white screen rate is compared with the non-white screen threshold value extracted from the configuration item data, and a corresponding numerical comparison result is generated. The content of the numerical comparison result includes that the non-white screen rate is greater than the non-white screen threshold value, or the non-white screen rate is less than or equal to the non-white screen threshold value.

[0091] Step S206: generating a white screen detection result of the designated page based on the numerical comparison result.

[0092] In this embodiment, the specific implementation process of generating the white screen detection result of the specified page based on the numerical comparison result will be further described in detail in subsequent specific embodiments of the present application, and will not be elaborated on here.

[0093] When the target application is started, the present application obtains the configuration item data of white screen monitoring, and stores the configuration item data in the global variables of the target application; then when it is detected that the target container corresponding to the target application completes the loading of the specified page, a delay task is generated based on the configuration item data; when the delay task is triggered, a screenshot of the specified page is obtained to obtain a corresponding screenshot image; then, pixel points of the screenshot image are sampled, and the non-white screen rate of the specified page is calculated based on the sampled pixel points; subsequently, a non-white screen threshold is obtained from the configuration item data, and a numerical comparison result between the non-white screen rate and the non-white screen threshold is generated; finally, a white screen detection result of the specified page is generated based on the numerical comparison result. The present application obtains the configuration item data of white screen monitoring when the target application is started, and then generates a delay task based on the configuration item data when it is detected that the target container corresponding to the target application completes the loading of the specified page, and when the delay task is triggered, takes a screenshot of the specified page to obtain a screenshot image, then samples the pixels of the screenshot image, and calculates the non-white screen rate of the specified page based on the sampled pixels, and then generates a numerical comparison result between the non-white screen rate and the non-white screen threshold in the configuration item data, and finally, based on the numerical comparison result, it is possible to quickly and accurately generate the white screen detection result of the specified page in the target application, effectively ensuring the accuracy of the generated white screen detection result, which is beneficial to improving the stability of the target application and user experience.

[0094] In some optional implementations, step S202 includes the following steps:

[0095] The screenshot time interval is obtained from the configuration item data.

[0096] In this embodiment, the required screenshot time interval can be extracted by extracting specific information from the above configuration item data.

[0097] Call the preset task setting strategy.

[0098] In this embodiment, the policy content of the above task setting policy includes: using the Android Handler or ScheduledExecutorService mechanism to set a delayed task. The specific implementation of the delayed task is the steps of screenshot and sampling judgment.

[0099] The screen capture time interval is task-set based on the task setting strategy to obtain the delayed task.

[0100] In this embodiment, the screenshot time interval may be processed for task setting according to the policy content of the above-mentioned task setting policy, thereby completing the construction of the delayed task.

[0101] The present application obtains the screenshot time interval from the configuration item data; then calls the preset task setting strategy; and subsequently performs task setting for the screenshot time interval based on the task setting strategy to obtain the delayed task. The present application obtains the screenshot time interval from the configuration item data, and then performs task setting for the screenshot time interval based on the use of the task setting strategy, so that the corresponding delayed task can be constructed quickly and intelligently, thereby improving the construction efficiency of the delayed task. It is also beneficial for the subsequent use of the delayed task to automatically realize the screenshot and sampling judgment processing of the specified page, thereby generating accurate white screen detection results for the page.

[0102] In some optional implementations of this embodiment, step S203 includes the following steps:

[0103] Get system version information.

[0104] In this embodiment, the system version information refers to the Android system version of the terminal on which the target application is installed. The corresponding system version information can be obtained by querying the system version information. Exemplarily, the system version information may include Android 4.0 and above, or Android 8.0 (API level 26) and above, and so on.

[0105] A corresponding designated screenshot method is obtained based on the system version information.

[0106] In this embodiment, a correspondence between the system version and the screenshot method is preset. If the system version information is Android 4.0 and above, the View.getDrawingCache() method is used to obtain the drawing cache of the current view as a screenshot; and if the system version information is Android 8.0 (API level 26) and above, the PixelCopy method is used because it can provide higher quality screenshots.

[0107] The designated page is captured in a screenshot based on the designated screenshot method to obtain the corresponding screenshot image.

[0108] In this embodiment, the specified screen capture method can be run to capture the specified page, thereby obtaining a corresponding screen capture result, that is, the screen capture image, wherein the screen capture result can be saved as a bitmap object for subsequent processing.

[0109] The present application obtains the system version information; then obtains the corresponding designated screenshot method based on the system version information; and then takes a screenshot of the designated page based on the designated screenshot method to obtain the corresponding screenshot image. The present application obtains the system version information, and then takes a screenshot of the designated page based on the designated screenshot method corresponding to the system version information to obtain the corresponding screenshot image, which is beneficial to improving the processing intelligence and adaptability of the screenshot processing of the designated page, and ensures the image quality of the obtained screenshot image.

[0110] In some optional implementations, step S204 includes the following steps:

[0111] The screenshot image is pixel sampled based on a preset sampling strategy to obtain corresponding pixel points.

[0112] In this embodiment, if the screenshot image is directly obtained in the form of a Bitmap, no conversion is required. Otherwise, the screenshot image is converted into a format corresponding to a Bitmap object.

[0113] The sampling strategy includes: calculating the number and distribution of sampling points based on the size of the entire screenshot image and a preset sampling rate, wherein the sampling rate is a percentage, indicating that a certain number of pixels are randomly selected from the entire image for sampling.

[0114] Obtain a first number of pixels.

[0115] In this embodiment, after the pixels are obtained through sampling, the first number of all the pixels may be further counted.

[0116] All the pixel points are traversed, and a second number of non-white pixel points included in all the pixel points is counted.

[0117] In this embodiment, the position of the pixel to be checked is determined according to the sampling strategy. Then, for each selected pixel, its color value is read. Then, the color value of each sampled pixel is compared with the white pixel. Among them, the pixel whose RGB value is 255 is regarded as a white pixel. Alternatively, a color tolerance range can be set to regard the pixel close to white as a white pixel. Subsequently, all the pixels are traversed and the second number of non-white pixels is counted.

[0118] A ratio of the second amount to the first amount is calculated.

[0119] In this embodiment, a ratio, ie, the non-white screen rate, is obtained by dividing the second number of non-white pixels by the first number of all pixels obtained by sampling.

[0120] The ratio is used as the non-white screen ratio.

[0121] The present application obtains corresponding pixels by sampling pixels of the screenshot image based on a preset sampling strategy; then obtains a first number of the pixels; then traverses all the pixels to count a second number of non-white pixels included in all the pixels; subsequently calculates the ratio of the second number to the first number, and uses the ratio as the non-white screen rate. The present application obtains corresponding pixels by sampling pixels of the screenshot image based on the use of a sampling strategy, and obtains a first number of the pixels; then traverses all the pixels to count a second number of non-white pixels included in all the pixels; and then calculates the ratio of the second number to the first number as the final non-white screen rate, thereby improving the calculation efficiency and accuracy of the non-white screen rate. This is beneficial for subsequent data analysis of the obtained non-white screen rate to accurately generate white screen detection results for a specified page.

[0122] In some optional implementations, step S206 includes the following steps:

[0123] It is determined whether the numerical comparison result is that the non-white screen rate is greater than the non-white screen threshold.

[0124] In this embodiment, the content of the above numerical comparison result includes that the non-white screen rate is greater than the non-white screen threshold, or the non-white screen rate is less than or equal to the non-white screen threshold.

[0125] If so, a first white screen detection result is generated indicating that no white screen appears on the designated page.

[0126] In this embodiment, if the non-white screen rate is greater than the non-white screen threshold, it is considered that the designated page does not have a white screen, and then a first white screen detection result indicating that the designated page does not have a white screen is generated.

[0127] If not, a second white screen detection result is generated indicating that a white screen appears on the designated page.

[0128] In this embodiment, if the non-white screen rate is less than or equal to the non-white screen threshold, it is considered that a white screen appears on the designated page, and then a second white screen detection result indicating that a white screen appears on the designated page is generated.

[0129] The present application determines whether the numerical comparison result is that the non-white screen rate is greater than the non-white screen threshold; if so, generates a first white screen detection result that the specified page does not have a white screen; if not, generates a second white screen detection result that the specified page has a white screen. The present application analyzes the content of the numerical comparison result, and can quickly and accurately generate a white screen detection result for the specified page, thereby ensuring the accuracy of the generated white screen detection result.

[0130] In some optional implementations of this embodiment, after step S206, the electronic device may further perform the following steps:

[0131] If the white screen detection result indicates that a white screen appears on the designated page, then white screen related data corresponding to the designated page is collected.

[0132] In this embodiment, the above-mentioned white screen related data may at least include detailed information of the white screen problem (such as occurrence time, device information, application version, etc.), screenshots, log links (pointing to the location where logs are stored) and other data.

[0133] Generate a corresponding designated alarm email based on the white screen related data.

[0134] In this embodiment, the white screen related data can be used as the email content in the preset alarm template to construct a corresponding designated alarm email. The alarm email template can be written and generated according to the actual white screen alarm requirements.

[0135] Get the developer's email address information.

[0136] In this embodiment, the developer may be a business person responsible for page management and operation and maintenance. The email address information is the address information for the developer to receive emails.

[0137] Based on the email address information, the designated warning email is sent to the developer.

[0138] In this embodiment, the designated alarm email can be sent to the above-mentioned email address information by using the email service to complete the process of pushing the designated alarm email to the developer. After receiving the designated alarm email, the developer can locate and solve the problem according to the information in the designated alarm email. Alternatively, the developer may need to interact with the log cloud platform or the background system to obtain more log information or perform other operations. Among them, the developer's progress in handling the white screen problem can be tracked. When the white screen problem is solved and verified to be correct, the terminal can automatically close the relevant alarm record.

[0139] In addition, the terminal can classify and summarize the stored white screen data regularly or in real time. Among them, the classification can be based on factors such as device type, application version, and occurrence time. The summary processing may include calculating indicators such as the incidence rate and impact range of the white screen problem. Then, the corresponding report or chart is automatically generated based on the results of classification and summary, so that analysts can intuitively understand the status of the white screen problem. Among them, the report or chart may include information such as the number, trend, and distribution of white screen problems.

[0140] If the present application detects that the content of the white screen detection result is that a white screen appears on the specified page, then the white screen related data corresponding to the specified page is collected; then a corresponding designated alarm email is generated based on the white screen related data; then the email address information of the developer is obtained; and subsequently, the designated alarm email is sent to the developer based on the email address information. The present application will automatically trigger an alarm mechanism when the content of the white screen detection result is detected as a white screen appears on the specified page, by collecting the white screen related data corresponding to the specified page, and generating a corresponding designated alarm email based on the white screen related data, and then sending the designated alarm email to the developer according to the developer's email address information, thereby realizing automatic alarm processing for the white screen problem and improving the intelligent processing of the automatic alarm of the white screen problem. In addition, by sending a designated alarm email to the developer in a timely manner, it is beneficial for the developer to respond to and solve the white screen problem in a timely manner, which in turn helps to ensure the normal display and use of the target application's page.

[0141] In some optional implementations of this embodiment, after step S206, the electronic device may further perform the following steps:

[0142] Obtain white screen screenshot data corresponding to the target application.

[0143] In this embodiment, the white screen screenshot data refers to screenshot data related to the white screen page that appears in the target application.

[0144] The white screen screenshot data is compressed to obtain corresponding target white screen screenshot data.

[0145] In this embodiment, the white screen screenshot data can be compressed by using the Bitmap.compress method of Android, thereby obtaining the compressed target white screen screenshot data. By compressing the white screen screenshot data, the amount of uploaded data can be effectively reduced.

[0146] Collect log information corresponding to the target application.

[0147] In this embodiment, the above log information refers to the log information of the current H5 console, and it is necessary to interact with the target container WebView through a JavaScript interface to obtain the console log, that is, the log information of the H5 console.

[0148] The target white screen screenshot data and the log information are packaged to obtain corresponding packaged data.

[0149] In this embodiment, the target white screen screenshot data and the log information are packaged using Android file operations or third-party libraries to create a ZIP file, i.e., the packaged data. The packaged data may include multiple fields, such as timestamp, device information, application version, white screen screenshot, related logs, etc.

[0150] The packaged data is uploaded to a preset log cloud platform.

[0151] In this embodiment, the generated packaged data can be uploaded to the log cloud platform by using an HTTP POST request. After receiving the packaged data, the log cloud platform parses it (decompresses, decrypts, and extracts fields) to extract useful information. The parsed data is stored in the database of the log cloud platform for subsequent processing and analysis. When storing, partitions or indexes can be performed according to the type and importance of the parsed data to improve query efficiency.

[0152] The present application obtains the white screen screenshot data corresponding to the target application; then compresses the white screen screenshot data to obtain the corresponding target white screen screenshot data; then collects the log information corresponding to the target application; subsequently packages the target white screen screenshot data and the log information to obtain the corresponding packaged data; finally, uploads the packaged data to a preset log cloud platform. The present application obtains the white screen screenshot data corresponding to the target application and compresses it to obtain the target white screen screenshot data, and collects the log information corresponding to the target application, then packages the target white screen screenshot data and the log information to obtain packaged data, and subsequently uploads the packaged data to a preset log cloud platform, so that the storage and processing of the white screen screenshot data and the log information corresponding to the target application can be automatically and intelligently completed based on the use of the log cloud platform, which is conducive to ensuring the data security of the white screen screenshot data and the log information corresponding to the target application, and is convenient for subsequent backtracking and analysis.

[0153] In some optional implementations, the user information obtained is subject to the user's consent and complies with relevant laws and policies.

[0154] In addition, the non-Company software tools or components that appear in the embodiments of the present application are merely examples and do not represent actual use.

[0155] It should be understood that the order of execution of the steps in the above embodiment does not necessarily mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiment of the present invention.

[0156] It should be emphasized that in order to further ensure the privacy and security of the above-mentioned white screen detection results, the above-mentioned white screen detection results can also be stored in a blockchain node.

[0157] The blockchain referred to in this application is a new application model of computer technologies such as distributed data storage, peer-to-peer transmission, consensus mechanism, encryption algorithm, etc. Blockchain is essentially a decentralized database, a string of data blocks generated by cryptographic methods. Each data block contains a batch of network transaction information, which is used to verify the validity of its information (anti-counterfeiting) and generate the next block. Blockchain can include the underlying blockchain platform, platform product service layer, and application service layer.

[0158] The embodiments of the present application can acquire and process relevant data based on artificial intelligence technology. Among them, artificial intelligence (AI) is the theory, method, technology and application system that uses digital computers or machines controlled by digital computers to simulate, extend and expand human intelligence, perceive the environment, acquire knowledge and use knowledge to obtain the best results.

[0159] AI basic technologies generally include sensors, dedicated AI chips, cloud computing, distributed storage, big data processing technology, operation / interaction systems, mechatronics, etc. AI software technologies mainly include computer vision technology, robotics technology, biometrics technology, speech processing technology, natural language processing technology, and machine learning / deep learning.

[0160] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing the relevant hardware through computer-readable instructions, and the computer-readable instructions can be stored in a computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, the aforementioned storage medium can be a non-volatile storage medium such as a disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).

[0161] It should be understood that, although the steps in the flowchart of the accompanying drawings are displayed in sequence as indicated by the arrows, these steps are not necessarily executed in sequence in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least a part of the steps in the flowchart of the accompanying drawings may include multiple sub-steps or multiple stages, and these sub-steps or stages are not necessarily executed at the same time, but can be executed at different times, and their execution order is not necessarily sequential, but can be executed in turn or alternately with other steps or at least a part of the sub-steps or stages of other steps.

[0162] Further references Figure 3 , as a response to the above Figure 2 The present application provides an embodiment of a white screen detection device, and the device embodiment is similar to Figure 2 Corresponding to the method embodiment shown, the device can be specifically applied to various electronic devices.

[0163] like Figure 3 As shown, the white screen detection device 300 described in this embodiment includes: a first acquisition module 301, a first generation module 302, a screenshot module 303, a calculation module 304, a second generation module 305 and a third generation module 306. Among them:

[0164] The first acquisition module 301 is used to acquire the configuration item data of the white screen monitoring when the target application is started, and store the configuration item data in the global variable of the target application;

[0165] A first generating module 302 is configured to generate a delayed task based on the configuration item data when it is detected that the target container corresponding to the target application completes loading of a specified page;

[0166] A screenshot module 303 is used to take a screenshot of the specified page to obtain a corresponding screenshot image when the delayed task is triggered;

[0167] The calculation module 304 is used to perform pixel sampling on the screenshot image, and calculate the non-white screen rate of the specified page according to the sampled pixel points;

[0168] A second generating module 305 is used to obtain a non-white screen threshold from the configuration item data, and generate a numerical comparison result between the non-white screen rate and the non-white screen threshold;

[0169] The third generating module 306 is used to generate the white screen detection result of the specified page based on the numerical comparison result.

[0170] In this embodiment, the operations performed by the above modules or units respectively correspond one-to-one to the steps of the white screen detection method in the aforementioned implementation mode, and are not described in detail here.

[0171] In some optional implementations of this embodiment, the first generating module 302 includes:

[0172] A first acquisition submodule, used to acquire a screenshot time interval from the configuration item data;

[0173] The calling submodule is used to call the preset task setting strategy;

[0174] The setting submodule is used to perform task setting on the screenshot time interval based on the task setting strategy to obtain the delayed task.

[0175] In this embodiment, the operations performed by the above modules or units respectively correspond one-to-one to the steps of the white screen detection method in the aforementioned implementation mode, and are not described in detail here.

[0176] In some optional implementations of this embodiment, the screenshot module 303 includes:

[0177] The second acquisition submodule is used to obtain system version information;

[0178] A third acquisition submodule, used to acquire a corresponding specified screenshot method based on the system version information;

[0179] The screenshot submodule is used to take a screenshot of the specified page based on the specified screenshot method to obtain the corresponding screenshot image.

[0180] In this embodiment, the operations performed by the above modules or units respectively correspond one-to-one to the steps of the white screen detection method in the aforementioned implementation mode, and are not described in detail here.

[0181] In some optional implementations of this embodiment, the calculation module 304 includes:

[0182] A sampling submodule, used to sample pixels of the screenshot image based on a preset sampling strategy to obtain corresponding pixels;

[0183] A fourth acquisition submodule, used to acquire a first number of pixels;

[0184] A counting submodule, used for traversing all the pixel points and counting a second number of non-white pixel points included in all the pixel points;

[0185] a calculation submodule, configured to calculate a ratio of the second quantity to the first quantity;

[0186] A determination submodule is used to use the ratio as the non-white screen rate.

[0187] In this embodiment, the operations performed by the above modules or units respectively correspond one-to-one to the steps of the white screen detection method in the aforementioned implementation mode, and are not described in detail here.

[0188] In some optional implementations of this embodiment, the third generating module 306 includes:

[0189] A judging submodule, used for judging whether the numerical comparison result is that the non-white screen rate is greater than the non-white screen threshold;

[0190] A first generating submodule, configured to generate a first white screen detection result that no white screen appears on the designated page if the specified page does not appear white screen;

[0191] The second generating submodule is used to generate a second white screen detection result indicating that a white screen appears on the designated page.

[0192] In this embodiment, the operations performed by the above modules or units respectively correspond one-to-one to the steps of the white screen detection method in the aforementioned implementation mode, and are not described in detail here.

[0193] In some optional implementations of this embodiment, the white screen detection device further includes:

[0194] A first collecting module, configured to collect white screen related data corresponding to the specified page if the white screen detection result indicates that a white screen appears on the specified page;

[0195] A fourth generating module, used to generate a corresponding designated alarm email based on the white screen related data;

[0196] The second acquisition module is used to obtain the email address information of the developer;

[0197] A sending module is used to send the specified warning email to the developer based on the email address information.

[0198] In this embodiment, the operations performed by the above modules or units respectively correspond one-to-one to the steps of the white screen detection method in the aforementioned implementation mode, and are not described in detail here.

[0199] In some optional implementations of this embodiment, the white screen detection device further includes:

[0200] A third acquisition module is used to acquire white screen screenshot data corresponding to the target application;

[0201] A compression module, used for compressing the white screen screenshot data to obtain corresponding target white screen screenshot data;

[0202] A second collection module, used to collect log information corresponding to the target application;

[0203] A packaging module, used for packaging the target white screen screenshot data and the log information to obtain corresponding packaging data;

[0204] The uploading module is used to upload the packaged data to a preset log cloud platform.

[0205] In this embodiment, the operations performed by the above modules or units respectively correspond one-to-one to the steps of the white screen detection method in the aforementioned implementation mode, and are not described in detail here.

[0206] To solve the above technical problems, the present application also provides a computer device. Figure 4 , Figure 4 This is a basic structural block diagram of the computer device in this embodiment.

[0207] The computer device 4 includes a memory 41, a processor 42, and a network interface 43 that are interconnected through a system bus. It should be noted that the figure only shows a computer device 4 with components 41-43, but it should be understood that it is not required to implement all the components shown, and more or fewer components can be implemented instead. Among them, those skilled in the art can understand that the computer device here is a device that can automatically perform numerical calculations and / or information processing according to pre-set or stored instructions, and its hardware includes but is not limited to microprocessors, application specific integrated circuits (Application Specific Integrated Circuit, ASIC), programmable gate arrays (Field-Programmable Gate Array, FPGA), digital processors (Digital Signal Processor, DSP), embedded devices, etc.

[0208] The computer device may be a computing device such as a desktop computer, a notebook, a PDA, a cloud server, etc. The computer device may interact with a user through a keyboard, a mouse, a remote controller, a touch pad, or a voice control device.

[0209] The memory 41 includes at least one type of readable storage medium, and the readable storage medium includes flash memory, hard disk, multimedia card, card-type memory (for example, SD or DX memory, etc.), random access memory (RAM), static random access memory (SRAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), programmable read-only memory (PROM), magnetic memory, disk, optical disk, etc. In some embodiments, the memory 41 can be an internal storage unit of the computer device 4, such as a hard disk or memory of the computer device 4. In other embodiments, the memory 41 can also be an external storage device of the computer device 4, such as a plug-in hard disk equipped on the computer device 4, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (FlashCard), etc. Of course, the memory 41 can also include both the internal storage unit of the computer device 4 and its external storage device. In this embodiment, the memory 41 is generally used to store the operating system and various application software installed on the computer device 4, such as computer-readable instructions of the white screen detection method, etc. In addition, the memory 41 can also be used to temporarily store various types of data that have been output or are to be output.

[0210] The processor 42 may be a central processing unit (CPU), a controller, a microcontroller, a microprocessor, or other data processing chip in some embodiments. The processor 42 is generally used to control the overall operation of the computer device 4. In this embodiment, the processor 42 is used to run computer-readable instructions or process data stored in the memory 41, such as computer-readable instructions for running the white screen detection method.

[0211] The network interface 43 may include a wireless network interface or a wired network interface. The network interface 43 is generally used to establish a communication connection between the computer device 4 and other electronic devices.

[0212] Compared with the prior art, the embodiments of the present application have the following beneficial effects:

[0213] In an embodiment of the present application, when the target application is started, the present application obtains configuration item data for white screen monitoring, and stores the configuration item data in the global variables of the target application; then when it is detected that the target container corresponding to the target application completes the loading of the specified page, a delay task is generated based on the configuration item data; when the delay task is triggered, a screenshot of the specified page is obtained to obtain a corresponding screenshot image; then, pixel points of the screenshot image are sampled, and the non-white screen rate of the specified page is calculated based on the sampled pixel points; subsequently, a non-white screen threshold is obtained from the configuration item data, and a numerical comparison result between the non-white screen rate and the non-white screen threshold is generated; finally, a white screen detection result of the specified page is generated based on the numerical comparison result. The present application obtains the configuration item data of white screen monitoring when the target application is started, and then generates a delay task based on the configuration item data when it is detected that the target container corresponding to the target application completes the loading of the specified page, and when the delay task is triggered, takes a screenshot of the specified page to obtain a screenshot image, then samples the pixels of the screenshot image, and calculates the non-white screen rate of the specified page based on the sampled pixels, and then generates a numerical comparison result between the non-white screen rate and the non-white screen threshold in the configuration item data, and finally, based on the numerical comparison result, it is possible to quickly and accurately generate the white screen detection result of the specified page in the target application, effectively ensuring the accuracy of the generated white screen detection result, which is beneficial to improving the stability of the target application and user experience.

[0214] The present application also provides another implementation, namely, providing a computer-readable storage medium, wherein the computer-readable storage medium stores computer-readable instructions, and the computer-readable instructions can be executed by at least one processor to enable the at least one processor to perform the steps of the white screen detection method as described above.

[0215] Compared with the prior art, the embodiments of the present application have the following beneficial effects:

[0216] In an embodiment of the present application, when the target application is started, the present application obtains configuration item data for white screen monitoring, and stores the configuration item data in the global variables of the target application; then when it is detected that the target container corresponding to the target application completes the loading of the specified page, a delay task is generated based on the configuration item data; when the delay task is triggered, a screenshot of the specified page is obtained to obtain a corresponding screenshot image; then, pixel points of the screenshot image are sampled, and the non-white screen rate of the specified page is calculated based on the sampled pixel points; subsequently, a non-white screen threshold is obtained from the configuration item data, and a numerical comparison result between the non-white screen rate and the non-white screen threshold is generated; finally, a white screen detection result of the specified page is generated based on the numerical comparison result. The present application obtains the configuration item data of white screen monitoring when the target application is started, and then generates a delay task based on the configuration item data when it is detected that the target container corresponding to the target application completes the loading of the specified page, and when the delay task is triggered, takes a screenshot of the specified page to obtain a screenshot image, then samples the pixels of the screenshot image, and calculates the non-white screen rate of the specified page based on the sampled pixels, and then generates a numerical comparison result between the non-white screen rate and the non-white screen threshold in the configuration item data, and finally, based on the numerical comparison result, it is possible to quickly and accurately generate the white screen detection result of the specified page in the target application, effectively ensuring the accuracy of the generated white screen detection result, which is beneficial to improving the stability of the target application and user experience.

[0217] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes a number of instructions for a terminal device (which can be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in each embodiment of the present application.

[0218] Obviously, the embodiments described above are only some embodiments of the present application, rather than all embodiments. The preferred embodiments of the present application are given in the accompanying drawings, but they do not limit the patent scope of the present application. The present application can be implemented in many different forms. On the contrary, the purpose of providing these embodiments is to make the understanding of the disclosure of the present application more thorough and comprehensive. Although the present application is described in detail with reference to the aforementioned embodiments, for those skilled in the art, it is still possible to modify the technical solutions recorded in the aforementioned specific implementation methods, or to perform equivalent replacement of some of the technical features therein. Any equivalent structure made using the contents of the specification and drawings of this application, directly or indirectly used in other related technical fields, is similarly within the scope of patent protection of this application.

Claims

1. A white screen detection method, characterized in that: The steps include: When the target application is started, the configuration item data of the white screen monitoring is obtained, and the configuration item data is stored in the global variable of the target application; When it is detected that the target container corresponding to the target application completes loading of the designated page, generating a delayed task based on the configuration item data; When the delayed task is triggered, a screenshot of the designated page is taken to obtain a corresponding screenshot image; Sampling pixels of the screenshot image, and calculating the non-white screen rate of the designated page according to the sampled pixels; Acquire a non-white screen threshold from the configuration item data, and generate a numerical comparison result between the non-white screen rate and the non-white screen threshold; A white screen detection result of the designated page is generated based on the numerical comparison result.

2. The white screen detection method according to claim 1, characterized in that: The step of generating a delayed task based on the configuration item data specifically includes: Obtaining a screenshot time interval from the configuration item data; Call the preset task setting strategy; The screen capture time interval is task-set based on the task setting strategy to obtain the delayed task.

3. The white screen detection method according to claim 1, characterized in that: The step of taking a screenshot of the designated page to obtain a corresponding screenshot image specifically includes: Get system version information; Acquire a corresponding specified screenshot method based on the system version information; The designated page is captured in a screenshot based on the designated screenshot method to obtain the corresponding screenshot image.

4. The white screen detection method according to claim 1, characterized in that: The step of sampling pixels of the screenshot image and calculating the non-white screen rate of the designated page according to the sampled pixels specifically includes: Sampling pixels of the screenshot image based on a preset sampling strategy to obtain corresponding pixels; Obtaining a first number of pixels; Traversing all the pixel points, and counting a second number of non-white pixel points included in all the pixel points; calculating a ratio of the second amount to the first amount; The ratio is used as the non-white screen ratio.

5. The white screen detection method according to claim 1, characterized in that: The step of generating the white screen detection result of the specified page based on the numerical comparison result specifically includes: Determine whether the numerical comparison result is that the non-white screen rate is greater than the non-white screen threshold; If yes, generating a first white screen detection result indicating that no white screen appears on the designated page; If not, a second white screen detection result is generated indicating that a white screen appears on the designated page.

6. The white screen detection method according to claim 1, characterized in that: After the step of generating the white screen detection result of the specified page based on the numerical comparison result, the method further includes: If the white screen detection result indicates that a white screen appears on the designated page, then collecting white screen related data corresponding to the designated page; Generate a corresponding designated alarm email based on the white screen related data; Get the developer's email address information; Based on the email address information, the designated warning email is sent to the developer.

7. The white screen detection method according to claim 1, characterized in that: After the step of generating the white screen detection result of the specified page based on the numerical comparison result, the method further includes: Obtaining white screen screenshot data corresponding to the target application; Compressing the white screen screenshot data to obtain corresponding target white screen screenshot data; Collecting log information corresponding to the target application; Packaging the target white screen screenshot data and the log information to obtain corresponding packaged data; The packaged data is uploaded to a preset log cloud platform.

8. A white screen detection device, characterized in that: include: A first acquisition module is used to acquire configuration item data of white screen monitoring when the target application is started, and store the configuration item data in the global variable of the target application; A first generating module, configured to generate a delayed task based on the configuration item data when it is detected that a target container corresponding to the target application completes loading of a specified page; A screenshot module, used to take a screenshot of the specified page to obtain a corresponding screenshot image when the delayed task is triggered; A calculation module, used for sampling pixels of the screenshot image, and calculating the non-white screen rate of the specified page according to the sampled pixels; A second generating module, configured to obtain a non-white screen threshold from the configuration item data, and generate a numerical comparison result between the non-white screen rate and the non-white screen threshold; The third generating module is used to generate the white screen detection result of the specified page based on the numerical comparison result.

9. A computer device, characterized in that: The method comprises a memory and a processor, wherein the memory stores computer-readable instructions, and the processor implements the steps of the white screen detection method according to any one of claims 1 to 7 when executing the computer-readable instructions.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-readable instructions, and when the computer-readable instructions are executed by a processor, the steps of the white screen detection method according to any one of claims 1 to 7 are implemented.