WO2020097911A1 - 显示屏检测方法、装置、电子设备、计算机可读存储介质 - Google Patents

显示屏检测方法、装置、电子设备、计算机可读存储介质 Download PDF

Info

Publication number
WO2020097911A1
WO2020097911A1 PCT/CN2018/115882 CN2018115882W WO2020097911A1 WO 2020097911 A1 WO2020097911 A1 WO 2020097911A1 CN 2018115882 W CN2018115882 W CN 2018115882W WO 2020097911 A1 WO2020097911 A1 WO 2020097911A1
Authority
WO
WIPO (PCT)
Prior art keywords
layer
displayed
display screen
electronic device
detected
Prior art date
Application number
PCT/CN2018/115882
Other languages
English (en)
French (fr)
Inventor
彭德良
Original Assignee
深圳市欢太科技有限公司
Oppo广东移动通信有限公司
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广东移动通信有限公司 filed Critical 深圳市欢太科技有限公司
Priority to PCT/CN2018/115882 priority Critical patent/WO2020097911A1/zh
Priority to CN201880098202.0A priority patent/CN112805690A/zh
Publication of WO2020097911A1 publication Critical patent/WO2020097911A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation

Definitions

  • the present application relates to the field of computer technology, and in particular, to a display screen detection method, device, electronic device, and computer-readable storage medium.
  • An application program can be installed in the electronic device, and then the application program can be used to implement the user's application operation. For example, users can implement application operations such as watching videos, listening to music, shopping, and playing games through operations on application programs.
  • application operations such as watching videos, listening to music, shopping, and playing games through operations on application programs.
  • an interactive interface for interacting with the user is formed on the display screen, and the user can operate the application program through the interactive interface.
  • the electronic device When the electronic device displays the interactive interface, it may cause a stagnation, which may cause a black screen, a flower screen and other failures, and the electronic device may not be used normally.
  • a display screen detection method includes:
  • the target application corresponding to the layer displayed on the display screen is restarted.
  • a display screen detection device comprising:
  • the display screen detection module is used to detect whether there is a layer displayed on the display screen of the electronic device
  • a system restart module configured to restart the system of the electronic device when it is detected that no layer is displayed on the display screen of the electronic device
  • a layer detection module configured to detect whether the layer is displayed on the display screen according to a set rule when it is detected that the layer is displayed on the display screen of the electronic device;
  • the application restart module is configured to restart the target application corresponding to the layer displayed on the display when the layer is not displayed on the display according to the set rules.
  • An electronic device includes a memory and a processor.
  • a computer program is stored in the memory.
  • the processor is caused to perform the following steps:
  • the target application corresponding to the layer displayed on the display screen is restarted.
  • the target application corresponding to the layer displayed on the display screen is restarted.
  • FIG. 1 is a flowchart of a display screen detection method in an embodiment
  • FIG. 2 is a flowchart of a display screen detection method in another embodiment
  • FIG. 3 is a flowchart of a display screen detection method in yet another embodiment
  • FIG. 4 is a schematic diagram of the display layer of the display screen in an embodiment
  • FIG. 5 is a flowchart of a display screen detection method in yet another embodiment
  • FIG. 6 is a flowchart of a display screen detection method in yet another embodiment
  • FIG. 7 is a schematic structural diagram of a display screen detection device in an embodiment
  • FIG. 8 is a block diagram of a partial structure of a mobile phone related to an electronic device provided by an embodiment of the present application.
  • first, second, etc. used in this application may be used herein to describe various elements, but these elements are not limited by these terms. These terms are only used to distinguish the first element from another element.
  • first duration threshold may be referred to as a second duration threshold
  • second duration threshold may be referred to as a first duration threshold. Both the first duration threshold and the second duration threshold are duration thresholds, but they are not the same duration threshold.
  • FIG. 1 is a flowchart of a display screen detection method in an embodiment. As shown in FIG. 1, the display screen detection method includes steps 102 to 108. among them:
  • Step 102 Detect whether there is a layer displayed on the display screen of the electronic device.
  • one or more application programs may be installed in the electronic device, and the user may implement application operations through the application programs. For example, watching videos, listening to music, shopping, playing games, etc. through the application.
  • an interactive interface is formed on the display screen of the electronic device, and the user can operate the application through the interactive interface.
  • the interactive interface formed on the display screen is formed by overlaying layers corresponding to one or more application programs, and the interactive interface formed by overlaying different layers may be different.
  • the layer corresponding to the application A of the electronic device is layer A.
  • the layers displayed on the display screen may include layer A, desktop layer, and wallpaper layer;
  • the layers shown on the display only include the desktop layer and wallpaper layer.
  • the order, transparency, shape, and size of the layer display can be adjusted.
  • the interactive interface formed is also different.
  • the layers displayed on the display include layer A, layer B, and layer C. If the display is displayed from bottom to top in the order of layer A ⁇ layer B ⁇ layer C, the user sees Is the content in layer C. If it is displayed in the order of layer A ⁇ layer B ⁇ layer C, from bottom right to top, and the transparency of the layer is 0%, 0%, and 100%, then what the user sees is the content in layer B.
  • Step 104 when it is detected that no layer exists on the display screen of the electronic device, the system of the electronic device is restarted.
  • the electronic device can detect whether there is a layer displayed on the display screen. If no layer is displayed on the display screen, it can be determined that there is no layer display due to a system failure of the electronic device, and the system of the electronic device can be restarted. Specifically, detecting whether there is a layer displayed on the display screen refers to detecting whether the display screen outputs a display signal. If no signal output is displayed on the display, it means that no layer is displayed on the display.
  • step 102 may be executed when it is detected that the electronic device is in the running state. That is to say, when the electronic device is in the running state, if it is detected that there is no output signal in the display screen, it is determined that the system of the electronic device is faulty.
  • Step 106 when it is detected that the layer is displayed on the display screen of the electronic device, it is detected whether the layer is displayed on the display screen according to the set rule.
  • the setting rule refers to the setting display rule of the display layer in the display screen.
  • the display shows three layers, namely layer 1, layer 2, and layer 3.
  • the set rules are displayed in the order of layer 1 ⁇ layer 2 ⁇ layer 3, and the actual detection is displayed in the order of layer 3 ⁇ layer 1 ⁇ layer 2, then it can be considered Layer 1, layer 2, and layer 3 displayed on the display are not displayed according to the set rules.
  • the transparency of layer A displayed on the display screen is set to 80%, and the transparency of layer A actually displayed is 100%, it can be considered that layer A is not displayed according to the set rules.
  • all layers displayed on the display screen can be judged, or one or all of the layers displayed on the display screen can be judged.
  • Multiple layers are used to judge whether they meet the setting rules.
  • the target layer can be determined from the layers displayed on the display screen to determine whether the target layer is displayed on the display screen according to the set rules.
  • the target layer is not displayed on the display according to the set rules, restart the target application corresponding to the target layer.
  • the layers displayed on the display include layer A, layer B, layer C, and layer D
  • the layer D is considered to be According to the setting rules, other layers A, B, and C displayed below layer D can be ignored.
  • Step 108 When the layer is not displayed on the display screen according to the set rule, restart the target application corresponding to the layer displayed on the display screen.
  • the electronic device can control the target application corresponding to the layer displayed on the display screen to restart.
  • the target application may be an application running in the foreground of the electronic device.
  • the display screen detection method provided in the above embodiment can detect whether there is a layer displayed on the display screen of the electronic device. When it is detected that no layer is displayed on the display screen of the electronic device, it can be determined that the system of the electronic device is faulty, and then the system of the electronic device is restarted. When it is detected that the layer is displayed on the display of the electronic device, but the layer is not displayed on the display according to the set rules, it can be determined that the target application corresponding to the layer displayed on the display is faulty, and then restarted Target application. In this way, faults such as black screens and flower screens of electronic devices can be detected according to the layers displayed on the display screen, so as to solve the faults by restarting the system or application programs, and improve the use efficiency of electronic devices.
  • FIG. 2 is a flowchart of a display screen detection method in another embodiment. As shown in FIG. 2, the display screen detection method includes steps 202 to 220. among them:
  • Step 202 Detect whether there is a layer displayed on the display screen of the electronic device.
  • the electronic device can detect the display screen in real time when detecting whether the layer is displayed on the display screen, or can detect the display screen once every certain time period, which is not limited herein.
  • the electronic device may be detected every 1 second, or every 5 seconds.
  • step 202 is executed again to start detecting the display screen.
  • Step 204 when it is detected that there is no layer displayed on the display screen of the electronic device, the timing is started.
  • Step 206 when the timing duration is greater than the first duration threshold and no layer is displayed on the display screen, the system of the electronic device is restarted.
  • the electronic device When it is detected that no layer exists on the display screen of the electronic device, the electronic device immediately starts a timer to start timing. After the timing starts, the electronic device enters a waiting state. When the timing duration is greater than the first duration threshold and no layer is displayed on the display, the electronic device stops waiting, clears the timer, and then restarts the system. When the timing duration is less than or equal to the first duration threshold and it is detected that the target layer is displayed on the display screen, the electronic device will also stop waiting, and then the electronic device will clear the timer and enter the normal operating state.
  • the electronic device when the electronic device detects that no layer is displayed on the display screen, the electronic device immediately starts a timer and enters a waiting state. When the time duration exceeds 5 seconds and no layer is detected in the display, the electronic device will clear the timer and restart the system of the electronic device.
  • the electronic device may adjust the first duration threshold according to the remaining amount of power.
  • the electronic device may wait longer, and the remaining of the electronic device When the power is low, restart the electronic device directly, which can reduce the power consumed by the electronic device during the waiting process.
  • the remaining power of the electronic device is obtained, and the first duration threshold corresponding to the remaining power is obtained according to the correspondence between the pre-established remaining power and the first duration threshold.
  • the correspondence between the pre-established remaining power and the first duration threshold is as follows: When the power is 0-20%, 20% -60%, 60% -100%, the corresponding first duration thresholds are 1 second and 5 seconds , 8 seconds.
  • the electronic device detects that there is no layer display in the display screen, it starts timing and enters waiting, and obtains the remaining power of the electronic device. If the remaining power of the electronic device is 58%, the first duration threshold corresponds to 5 seconds, and when the waiting duration reaches 5 seconds, the system is restarted.
  • Step 208 When it is detected that a layer is displayed on the display screen of the electronic device, obtain the target application identifier corresponding to the layer displayed on the display screen, and obtain the target according to the correspondence between the pre-established target application identifier and the second duration threshold The second duration threshold corresponding to the application identifier.
  • the target application identification corresponding to the layer displayed on the display screen can be obtained.
  • the target application identifier is used to mark the target application corresponding to the layer displayed on the display screen.
  • the target application identifier may be the application package name of the target application program, which is not limited here.
  • the electronic device may establish the correspondence between the target application identifier and the second duration threshold in advance, and after obtaining the target application identifier corresponding to the layer displayed on the display screen, obtain the second duration corresponding to the target application identifier according to the established correspondence Threshold.
  • Step 210 Detect whether the layer displayed on the display screen exceeds the second duration threshold and is not updated.
  • the layer displayed on the display After acquiring the second duration threshold, it is detected whether the layer displayed on the display exceeds the second duration threshold and is not updated. When the layer on the display exceeds the second duration threshold and is not updated, the image displayed on the display is considered The layer produced stuttering.
  • the second duration threshold is obtained according to the target application identifier, that is, the judgment criteria of the layers displayed by different application programs are different. For example, for game applications, the display screen update speed is often faster, then the second duration threshold corresponding to the game application can be set relatively small; for novel applications, the display screen update speed is often more Slow, then the second duration threshold corresponding to the novel application can be set relatively large.
  • the application when the layer displayed on the display screen is updated, the application will send the updated layer to the window management service (WindowManagerService), and then send the layer to the display screen through the window management service for display.
  • the electronic device may obtain the time when the layer displayed on the display screen was last updated according to the time of the layer last received by the window management service, thereby obtaining the duration of the layer displayed on the display screen that has not been updated.
  • Step 212 when it is detected that the layer displayed on the display screen exceeds the second duration threshold and is not updated, it is determined that the layer is not displayed on the display screen according to the set rule.
  • the second duration threshold is 5 seconds.
  • the layer displayed on the display screen has not been updated for more than 5 seconds, it will be considered that the layer is not displayed on the display screen according to the set rules.
  • Step 214 When the layer is not displayed on the display screen according to the set rule, count the number of restarts of the target application corresponding to the layer displayed on the display screen within a preset duration.
  • the target application corresponding to the layer displayed on the display screen is abnormal, and the target application needs to be restarted.
  • the number of restarts of the target application within a preset time period can be counted, and the target application is restarted according to the counted restart times.
  • Step 216 When the counted number of restarts is less than or equal to the threshold of times, restart the target application.
  • the target application When the counted number of restarts is greater than the threshold, the target application is considered to be restarted too frequently. In this way, frequent restarts may cause waste of resources of the electronic device, and a prompt message may be sent to the user.
  • the counted restart times is less than or equal to the threshold number of times, the target application can be restarted directly.
  • Step 218 When the counted restart times is greater than the threshold number of times, a prompt message is output.
  • Step 220 when receiving the restart instruction input according to the prompt information, restart the target application.
  • the electronic device can output a prompt message to remind the user that the target application restarts too frequently.
  • the user can input instructions according to the prompt information.
  • the electronic device can restart the target application. For example, the electronic device can count the number of times the target application restarts within 10 minutes. When the number of restarts is less than or equal to 5 times, the target application is restarted directly; when the number of restarts is greater than 5 times, a prompt message is output to prompt the user The restart frequency of the target application is too high.
  • the form of the above prompt information is not limited herein.
  • the above prompt information may be output in the form of sound, prompt frame, vibration, etc.
  • the user may input a restart instruction according to the prompt information.
  • the user can also input a stop instruction according to the prompt information.
  • the target application program stops running.
  • the display screen detection method provided in the above embodiment can detect whether there is a layer displayed on the display screen of the electronic device. When it is detected that no layer is displayed on the display screen of the electronic device, it can be determined that the system of the electronic device is faulty, and then the system of the electronic device is restarted. When it is detected that the layer is displayed on the display of the electronic device, but the layer is not displayed on the display according to the set rules, it can be determined that the target application corresponding to the layer displayed on the display is faulty, and then restarted Target application. In this way, faults such as black screens and flower screens of electronic devices can be detected according to the layers displayed on the display screen, so as to solve the faults by restarting the system or application programs, and improve the use efficiency of electronic devices.
  • the step of detecting whether the layer is displayed according to the set rule may further include:
  • Step 302 Detect whether the layers are displayed on the display screen according to the set arrangement order.
  • Step 304 when it is detected that the layer is not displayed on the display screen according to the set arrangement order, it is determined that the layer is not displayed on the display screen according to the set rule.
  • the layer displayed on the display screen of the electronic device it is detected whether the layer displayed on the display screen is displayed according to the set arrangement order. It can be understood that, during the running process of the application, different interactive interfaces are generated on the display screen, so the layers displayed on the display screen are also adjusted in real time. For example, when the foreground application exits, only the wallpaper layer and the desktop layer may be displayed in the electronic device, and the wallpaper layer is displayed below the desktop layer. When the front desk application starts to run, the foreground application layer corresponding to the foreground application will be displayed above the wallpaper layer and the desktop layer, so that the user can realize the interactive operation through the content displayed in the foreground application layer.
  • the arrangement rules of the layers displayed on the display screen are constantly changing.
  • the application program can request the electronic device to change the arrangement rule during the running process, so that the electronic device can display the layer according to the arrangement rule.
  • the application can request the window management service of the electronic device to adjust the order of the layers.
  • FIG. 4 is a schematic diagram of display layers on a display screen in an embodiment.
  • layer 402, layer 404 and layer 406 are displayed on the display screen 40 of the electronic device.
  • the arrangement order is set to layer 402 ⁇ layer 404 ⁇ layer 406.
  • the display screen 40 is displaying layers, if the arrangement order of the detected display layers is layer 402 ⁇ layer 404 ⁇ layer 406, it is considered that the display screen 40 is currently displaying the layer 402 and the picture according to the set rules Layer 404 and layer 406. Assuming that the arrangement order of the detected and displayed layers is layer 404 ⁇ layer 402 ⁇ layer 406, it is considered that the display screen 40 currently does not display layer 402, layer 404, and layer 406 according to the set rules.
  • the step of determining whether the layer is displayed on the display screen according to the set rule specifically includes:
  • Step 502 when it is detected that the layer displayed on the display exceeds the second duration threshold and is not updated, detect whether there is a layer to be displayed in the layer buffer, or detect pixels of all pixels in the layer displayed on the display Whether the values are all preset pixel values; among them, the layer buffer is used to store the layer displayed on the display screen.
  • the layer displayed on the display screen when it is detected that the layer displayed on the display screen has not been updated for a long time, it may be further detected whether the layer to be displayed is stored in the layer buffer, or the pixels in the layer displayed on the display screen are detected Whether the point meets the preset condition, and then judge whether the layer is displayed according to the set rule according to the detection result.
  • the application When the application is running in the foreground of the electronic device, it will request a layer buffer from the electronic device. When the application needs to display the layer, it will store the layer to be displayed in the defined layer buffer, and the display will The layers in the layer buffer can be displayed. Therefore, when the electronic device detects that the layer in the display exceeds the second duration threshold and is not updated, it can detect whether there is a layer to be displayed in the layer buffer. If there is no layer to be displayed in the image buffer, it is considered If the image buffer is an invalid image buffer, the application program is considered abnormal.
  • the electronic device can also detect whether the pixel values of all pixels in the layer displayed on the display screen are preset pixel values, and when the pixel values of all pixel points in the layer displayed on the display screen are preset pixel values, Think the application is abnormal.
  • Step 504 when there is no layer to be displayed in the layer buffer or the pixel value of all pixels in the layer displayed on the display screen is a preset pixel value, it is determined that the layer is not displayed on the display screen according to the set rule .
  • the preset pixel value is a preset pixel value. For example, when the pixel values of all pixels in a layer are all 0 or less than a certain smaller pixel value, it is considered that the layer is not displayed on the display screen according to the set rules.
  • FIG. 6 is a flowchart of a display screen detection method in yet another embodiment.
  • the layers displayed on the display screen of the electronic device are detected, and the current scene of the display screen of the electronic device is identified according to the detection result.
  • the system of the electronic device is restarted.
  • the display order of the layers is out of order, it is determined that the display screen is corrupted due to an abnormal application, and the target application corresponding to the layer can be restarted at this time.
  • the layer buffer defined by the target application is invalid, or determine that all the layers displayed on the display are synthesized in the screen Whether the pixel values of all included pixels are 0. If the layer buffer defined by the target application is invalid, or the pixel values of all pixels contained in the screen after synthesis of all layers displayed on the display screen are 0, it is determined that the target application is abnormally caused by a black screen, and then Restart the target application.
  • steps in the flowcharts of FIGS. 1, 2, 3, 5, and 6 are displayed in order according to the arrows, the steps are not necessarily executed in the order indicated by the arrows. Unless clearly stated in this article, the execution of these steps is not strictly limited in order, and these steps can be executed in other orders. Moreover, at least some of the steps in FIGS. 1, 2, 3, 5, and 6 may include multiple sub-steps or multiple stages, and these sub-steps or stages are not necessarily executed at the same time, but may be executed at different times The execution order of these sub-steps or stages is not necessarily sequential, but may be executed in turn or alternately with at least a part of other steps or sub-steps or stages of other steps.
  • the display screen detection device 700 includes a display screen detection module 702, a system restart module 704, a layer detection module 706, and an application restart module 708. among them:
  • the display screen detection module 702 is configured to detect whether there is a layer displayed on the display screen of the electronic device.
  • the system restart module 704 is configured to restart the system of the electronic device when it is detected that no layer is displayed on the display screen of the electronic device.
  • the layer detection module 706 is configured to detect whether the layer is displayed on the display screen according to the set rule when it is detected that the layer is displayed on the display screen of the electronic device.
  • the application restart module 708 is configured to restart the target application corresponding to the layer displayed on the display when the layer is not displayed on the display according to the set rules.
  • the display screen detection device provided in the above embodiment can detect whether there is a layer displayed on the display screen of the electronic device. When it is detected that no layer is displayed on the display screen of the electronic device, it can be determined that the system of the electronic device is faulty, and then the system of the electronic device is restarted. When it is detected that the layer is displayed on the display of the electronic device, but the layer is not displayed on the display according to the set rules, it can be determined that the target application corresponding to the layer displayed on the display is faulty, and then restarted Target application. In this way, faults such as black screens and flower screens of electronic devices can be detected according to the layers displayed on the display screen, so as to solve the faults by restarting the system or application programs, and improve the use efficiency of electronic devices.
  • system restart module 704 is also used to start timing when it is detected that no layer is displayed on the display screen of the electronic device; when the time duration is greater than the first duration threshold and no layer is present on the display screen When displayed, restart the electronic device system.
  • system restart module 704 is further configured to obtain the remaining power of the electronic device, and obtain the first duration threshold corresponding to the remaining power according to the correspondence between the pre-established remaining power and the first duration threshold.
  • the layer detection module 706 is also used to detect whether the layer is displayed on the display screen according to the set arrangement order; when it is detected that the layer is not displayed on the display screen according to the set arrangement order, the layer is determined It is not displayed on the display screen according to the set rules; or, it is detected whether the layer displayed on the display screen has not been updated beyond the second duration threshold; when it is detected that the layer displayed on the display screen has not been updated beyond the second duration threshold, it is determined The layer is not displayed on the display according to the set rules.
  • the layer detection module 706 is further configured to detect whether there is a layer to be displayed in the layer buffer or detect the display screen when it is detected that the layer displayed on the display screen exceeds the second duration threshold and is not updated. Whether the pixel values of all pixels in the layer displayed in the image are preset pixel values; where, the layer buffer is used to store the layer displayed on the display screen; when there is no layer to be displayed or the display screen in the layer buffer When the pixel values of all the pixels in the layer displayed in are the preset pixel values, it is determined that the layer is not displayed on the display screen according to the set rules.
  • the layer detection module 706 is further used to obtain the target application identifier corresponding to the layer displayed on the display screen, and obtain the corresponding target application identifier according to the correspondence relationship between the pre-established target application identifier and the second duration threshold The second duration threshold, wherein the target application identifier is used to mark the target application corresponding to the layer displayed on the display screen.
  • the application restart module 708 is also used to count the number of restarts of the target application corresponding to the layer displayed on the display screen within a preset duration; when the counted number of restarts is less than or equal to the threshold number of times, the restart map The target application corresponding to the layer; when the counted restart times is greater than the threshold number of times, a prompt message is output; when the restart instruction input according to the prompt information is received, the target application corresponding to the layer is restarted.
  • each module in the above display screen detection device is for illustration only. In other embodiments, the display screen detection device may be divided into different modules as needed to complete all or part of the functions of the above display screen detection device.
  • Each module in the above display screen detection device may be implemented in whole or in part by software, hardware, or a combination thereof.
  • the above modules may be embedded in the hardware or independent of the processor in the computer device, or may be stored in the memory in the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.
  • An embodiment of the present application also provides an electronic device. As shown in FIG. 8, for ease of description, only parts related to the embodiments of the present application are shown, and specific technical details are not disclosed, please refer to the method part of the embodiments of the present application.
  • the electronic device may be any terminal device including a mobile phone, tablet computer, PDA (Personal Digital Assistant), POS (Point of Sales), in-vehicle computer, wearable device, etc. Taking the electronic device as a mobile phone for example :
  • the mobile phone includes: a radio frequency (Radio Frequency) circuit 810, a memory 820, an input unit 830, a display unit 840, a sensor 850, an audio circuit 860, a wireless fidelity (WiFi) module 870, and a processor 880 , And power supply 890 and other components.
  • Radio Frequency Radio Frequency
  • a memory 820 for storing data
  • a sensor 850 for detecting and a wireless fidelity
  • WiFi wireless fidelity
  • processor 880 a processor 880
  • power supply 890 and other components.
  • the structure of the mobile phone shown in FIG. 8 does not constitute a limitation on the mobile phone, and may include more or fewer components than those shown in the figure, or a combination of certain components, or a different component arrangement.
  • the RF circuit 810 can be used to receive and send signals during the sending and receiving of information or during a call. It can receive the downlink information of the base station and process it to the processor 880; it can also send the uplink data to the base station.
  • RF circuits include but are not limited to antennas, at least one amplifier, transceiver, coupler, low noise amplifier (Low Noise Amplifier, LNA), duplexer, and so on.
  • the RF circuit 810 can also communicate with other devices through a wireless communication network.
  • the above wireless communication can use any communication standard or protocol, including but not limited to Global System of Mobile (GSM), General Packet Radio Service (GPRS), and Code Division Multiple Access (Code Division) Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), e-mail, Short Message Service (SMS), etc.
  • GSM Global System of Mobile
  • GPRS General Packet Radio Service
  • CDMA Code Division Multiple Access
  • WCDMA Wideband Code Division Multiple Access
  • LTE Long Term Evolution
  • SMS Short Message Service
  • the memory 820 may be used to store software programs and modules.
  • the processor 880 executes various functional applications and data processing of the mobile phone by running the software programs and modules stored in the memory 820.
  • the memory 820 may mainly include a program storage area and a data storage area, where the program storage area may store an operating system and at least one function-required application program (such as a sound playback function application program, an image playback function application program, etc.), etc.
  • the data storage area can store data (such as audio data, address book, etc.) created according to the use of the mobile phone.
  • the memory 820 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state storage devices.
  • the input unit 830 may be used to receive input numeric or character information, and generate key signal input related to user settings and function control of the mobile phone 800.
  • the input unit 830 may include a touch panel 831 and other input devices 832.
  • the touch panel 831 also known as a touch screen, can collect user's touch operations on or near it (such as the user using any finger, stylus, or any other suitable object or accessory on or near the touch panel 831 Operation), and drive the corresponding connection device according to the preset program.
  • the touch panel 831 may include a touch detection device and a touch controller.
  • the touch detection device detects the user's touch orientation, and detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives touch information from the touch detection device and converts it into contact coordinates, and then sends To the processor 880, and can receive the command sent by the processor 880 and execute it.
  • the touch panel 831 may be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves.
  • the input unit 830 may also include other input devices 832.
  • other input devices 832 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), and the like.
  • the display unit 840 may be used to display information input by the user or information provided to the user and various menus of the mobile phone.
  • the display unit 840 may include a display panel 841.
  • the display panel 841 may be configured in the form of a liquid crystal display (Liquid Crystal) (LCD), an organic light emitting diode (Organic Light-Emitting Diode, OLED), or the like.
  • the touch panel 831 may cover the display panel 841, and when the touch panel 831 detects a touch operation on or near it, it is transmitted to the processor 880 to determine the type of touch event, and then the processor 880 according to The type of touch event provides a corresponding visual output on the display panel 841.
  • the touch panel 831 and the display panel 841 are implemented as two independent components to realize the input and input functions of the mobile phone, in some embodiments, the touch panel 831 and the display panel 841 may be integrated and Realize the input and output functions of the mobile phone.
  • the mobile phone 800 may further include at least one sensor 850, such as a light sensor, a motion sensor, and other sensors.
  • the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel 841 according to the brightness of the ambient light, and the proximity sensor may close the display panel 841 and / or when the mobile phone moves to the ear Or backlight.
  • the motion sensor may include an acceleration sensor, which can detect the magnitude of acceleration in various directions through the acceleration sensor, and can detect the magnitude and direction of gravity when at rest, and can be used for applications that recognize mobile phone gestures (such as horizontal and vertical screen switching), and vibration recognition-related functions (such as Pedometer, percussion), etc.
  • the mobile phone can also be equipped with other sensors such as gyroscope, barometer, hygrometer, thermometer, infrared sensor and so on.
  • the audio circuit 860, the speaker 861, and the microphone 862 may provide an audio interface between the user and the mobile phone.
  • the audio circuit 860 can transmit the converted electrical signal of the received audio data to the speaker 861, and the speaker 861 converts it into a sound signal output; on the other hand, the microphone 862 converts the collected sound signal into an electrical signal, and the audio circuit 860 After receiving, it is converted into audio data, and then processed by the audio data output processor 880, and then sent to another mobile phone via the RF circuit 810, or the audio data is output to the memory 820 for subsequent processing.
  • WiFi is a short-range wireless transmission technology.
  • the mobile phone can help users send and receive e-mails, browse web pages, and access streaming media through the WiFi module 870. It provides users with wireless broadband Internet access.
  • FIG. 8 shows the WiFi module 870, it can be understood that it is not a necessary component of the mobile phone 800, and may be omitted as needed.
  • the processor 880 is the control center of the mobile phone, and uses various interfaces and lines to connect the various parts of the entire mobile phone. Various functions and processing data of the mobile phone, so as to monitor the mobile phone as a whole.
  • the processor 880 may include one or more processing units.
  • the processor 880 may integrate an application processor and a modem processor, where the application processor mainly processes an operating system, user interface, application programs, and the like; the modem processor mainly processes wireless communication. It can be understood that the above-mentioned modem processor may not be integrated into the processor 880.
  • the mobile phone 800 further includes a power supply 890 (such as a battery) for powering various components.
  • a power supply 890 (such as a battery) for powering various components.
  • the power supply can be logically connected to the processor 880 through the power management system, so as to realize functions such as charging, discharging, and power management through the power management system.
  • the mobile phone 800 may further include a camera, a Bluetooth module, and the like.
  • the embodiments of the present application also provide a computer-readable storage medium.
  • One or more non-volatile computer-readable storage media containing computer-executable instructions, when the computer-executable instructions are executed by one or more processors, causing the processors to execute the display screen provided by the foregoing embodiments The steps of the detection method.
  • Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory.
  • Volatile memory can include random access memory (RAM), which acts as external cache memory.
  • RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR) SDRAM, enhanced SDRAM (ESDRAM), synchronous Link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
  • SRAM static RAM
  • DRAM dynamic RAM
  • SDRAM synchronous DRAM
  • DDR double data rate SDRAM
  • ESDRAM enhanced SDRAM
  • SLDRAM synchronous Link (Synchlink) DRAM
  • Rambus direct RAM
  • DRAM direct memory bus dynamic RAM
  • RDRAM memory bus dynamic RAM

Abstract

一种显示屏检测方法,包括:检测是否存在图层在电子设备的显示屏中显示;当检测到不存在图层在所述电子设备的显示屏中显示时,重启所述电子设备的系统;当检测到存在图层在所述电子设备的显示屏中显示时,检测所述图层是否按照设定规则在所述显示屏中显示;当所述图层未按照设定规则在所述显示屏中显示时,重启所述显示屏中所显示的图层对应的目标应用程序。

Description

显示屏检测方法、装置、电子设备、计算机可读存储介质 技术领域
本申请涉及计算机技术领域,特别是涉及一种显示屏检测方法、装置、电子设备、计算机可读存储介质。
背景技术
电子设备中可以安装应用程序,然后通过应用程序来实现用户的应用操作。例如,用户可以通过对应用程序的操作实现看视频、听音乐、购物、玩游戏等应用操作。应用程序在电子设备的前台运行时,会在显示屏上形成与用户交互的交互界面,用户可以通过交互界面对应用程序进行操作。
电子设备在显示交互界面的时候,可能会产生卡顿,从而引起黑屏、花屏等故障,使电子设备无法正常使用。
发明内容
一种显示屏检测方法,所述方法包括:
检测是否存在图层在电子设备的显示屏中显示;
当检测到不存在图层在所述电子设备的显示屏中显示时,重启所述电子设备的系统;
当检测到存在图层在所述电子设备的显示屏中显示时,检测所述图层是否按照设定规则在所述显示屏中显示;及
当所述图层未按照设定规则在所述显示屏中显示时,重启所述显示屏中所显示的图层对应的目标应用程序。
一种显示屏检测装置,所述装置包括:
显示屏检测模块,用于检测是否存在图层在电子设备的显示屏中显示;
系统重启模块,用于当检测到不存在图层在所述电子设备的显示屏中显示时,重启所述电子设备的系统;
图层检测模块,用于当检测到存在图层在所述电子设备的显示屏中显示时,检测所述图层是否按照设定规则在所述显示屏中显示;及
应用重启模块,用于当所述图层未按照设定规则在所述显示屏中显示时,重启所述显示屏中所显示的图层对应的目标应用程序。
一种电子设备,包括存储器及处理器,所述存储器中储存有计算机程序,所述计算机程序被所述处理器执行时,使得所述处理器执行如下步骤:
检测是否存在图层在电子设备的显示屏中显示;
当检测到不存在图层在所述电子设备的显示屏中显示时,重启所述电子设备的系统;
当检测到存在图层在所述电子设备的显示屏中显示时,检测所述图层是否按照设定规则在所述显示屏中显示;及
当所述图层未按照设定规则在所述显示屏中显示时,重启所述显示屏中所显示的图层对应的目标应用程序。
一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现如下步骤:
检测是否存在图层在电子设备的显示屏中显示;
当检测到不存在图层在所述电子设备的显示屏中显示时,重启所述电子设备的系统;
当检测到存在图层在所述电子设备的显示屏中显示时,检测所述图层是否按照设定规则在所述显示屏中显示;及
当所述图层未按照设定规则在所述显示屏中显示时,重启所述显示屏中所显示的图层对应的目标应用程序。
附图说明
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1为一个实施例中显示屏检测方法的流程图;
图2为另一个实施例中显示屏检测方法的流程图;
图3为又一个实施例中显示屏检测方法的流程图;
图4为一个实施例中显示屏显示图层的示意图;
图5为又一个实施例中显示屏检测方法的流程图;
图6为又一个实施例中显示屏检测方法的流程图;
图7为一个实施例中显示屏检测装置的结构示意图;
图8为与本申请实施例提供的电子设备相关的手机的部分结构的框图。
具体实施方式
为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。
可以理解,本申请所使用的术语“第一”、“第二”等可在本文中用于描述各种元件,但这些元件不受这些术语限制。这些术语仅用于将第一个元件与另一个元件区分。举例来说,在不脱离本申请的范围的情况下,可以将第一时长阈值称为第二时长阈值,且类似地,可将第二时长阈值称为第一时长阈值。第一时长阈值和第二时长阈值两者都是时长阈值,但其不是同一时长阈值。
图1为一个实施例中显示屏检测方法的流程图。如图1所示,该显示屏检测方法包括步骤102至步骤108。其中:
步骤102,检测是否存在图层在电子设备的显示屏中显示。
在一个实施例中,电子设备中可以安装一个或多个应用程序,用户可以通过应用程序实现应用操作。例如,通过应用程序看视频、听音乐、购物、玩游戏等。应用程序在前台运行时,在电子设备的显示屏上形成交互界面,用户可以通过交互界面来对应用程序进行操作。
具体的,显示屏上形成的交互界面由一个或多个应用程序对应的图层叠加形成的,不同的图层叠加形成的交互界面可能不同。例如,电子设备的应用程序A对应的图层为图层A,当应用程序A切换到前台时,显示屏中显示的图层就可能包括图层A、桌面图层和壁 纸图层;当前台没有运行应用程序的时候,显示屏中显示的图层就只包括桌面图层和壁纸图层。
图层显示的顺序、透明度、形状、大小等可以调节,显示的图层的顺序、透明度、形状和大小不同时,形成的交互界面也不同。例如,显示屏中显示的图层包括图层A、图层B和图层C,若显示屏是按照图层A→图层B→图层C的顺序由下至上显示的,那么用户看到的就是图层C中的内容。若按照图层A→图层B→图层C的顺序右下至上显示,且图层的透明度分别为0%、0%和100%,那么用户看到的就是图层B中的内容。
步骤104,当检测到不存在图层在电子设备的显示屏中显示时,重启电子设备的系统。
电子设备可以检测是否存在图层在显示屏中显示。如果不存在图层在显示屏中显示,则可以判定是由于电子设备的系统故障导致无图层显示,可以将电子设备的系统进行重启。具体的,检测是否存在图层在显示屏中显示,是指检测显示屏是否输出了显示信号。若显示屏中没有显示信号输出,则说明显示屏中没有显示图层。
可以理解的是,电子设备在待机状态的时候,显示屏中是没有输出显示信号的,即电子设备在待机状态下,显示屏中不显示图层。因此为了避免误判,可以在检测电子设备处于运行状态下时,执行步骤102。也就是说,当电子设备在处于运行状态时,若检测到显示屏中没有输出信号,则判定电子设备的系统故障。
步骤106,当检测到存在图层在电子设备的显示屏中显示时,检测图层是否按照设定规则在显示屏中显示。
当检测到显示屏中有显示信号输出时,则认为存在图层在显示屏中显示。当检测到存在图层在电子设备的显示屏中显示时,则进一步检测显示屏中显示的图层是否是按照设定规则进行显示的。正常情况下,图层应该是按照设定规则去显示的,若图层未按照设定规则进行显示,则可以认为是显示的图层对应的目标应用程序出现故障。
其中,设定规则是指设定的显示屏中显示图层的显示规则。例如,显示屏中显示了三个图层,即图层1、图层2和图层3。假设设定的规则是按照图层1→图层2→图层3的顺序显示的,而实际检测到的是按照图层3→图层1→图层2的顺序显示的,那么就可以认为显示屏中显示的图层1、图层2、图层3未按照设定规则显示。又例如,显示屏中显示的图层A设定的透明度为80%,而实际显示的图层A的透明度为100%,那么就可以认为图 层A未按照设定规则显示。
在一个实施例中,在判断显示屏中的图层是否按照设定规则显示时,可以对显示屏中显示的全部图层进行判断,也可以对显示屏中显示的全部图层中的一个或多个图层进行判断是否符合设定规则。具体的,可以从显示屏中显示的图层中确定目标图层,判断目标图层是否按照设定规则在显示屏中显示。当目标图层未按照设定规则在显示屏中显示时,重启目标图层对应的目标应用程序。例如,显示屏中显示的图层包括图层A、图层B、图层C、图层D,则可以将图层D作为图层,只要图层D显示在最上层,则认为图层是按照设定规则显示的,其他位于图层D下方显示的图层A、图层B、图层C可以不考虑。
步骤108,当图层未按照设定规则在显示屏中显示时,重启显示屏中所显示的图层对应的目标应用程序。
当上述图层未按照设定规则在显示屏中显示时,则认为是应用程序故障,电子设备可以控制显示屏中显示的图层对应的目标应用程序重启。例如,目标应用程序可能是电子设备前台运行的应用程序,当检测到图层未按照设定规则在显示屏显示时,则将前台运行的目标应用程序重启。
上述实施例提供的显示屏检测方法,可以检测是否存在图层在电子设备的显示屏中显示。当检测到不存在图层在电子设备的显示屏中显示时,可判定电子设备的系统故障,则重启电子设备的系统。当检测到存在图层在电子设备的显示屏中显示,但图层未按照设定规则在显示屏中进行显示时,可判定显示屏中所显示的图层对应的目标应用程序故障,则重启目标应用程序。这样可以根据显示屏中显示的图层,检测电子设备的黑屏、花屏等故障,从而通过重启系统或应用程序的方式解决故障,提高了电子设备的使用效率。
图2为另一个实施例中显示屏检测方法的流程图。如图2所示,该显示屏检测方法中包括步骤202至步骤220。其中:
步骤202,检测是否存在图层在电子设备的显示屏中显示。
在一个实施例中,电子设备在检测显示屏中是否显示图层时,可以实时对显示屏进行检测,也可以每间隔一定时间段对显示屏进行一次检测,在此不做限定。例如,电子设备可以每间隔1秒钟检测一次,也可以每间隔5秒钟检测一次。
具体的,当电子设备在待机状态下的时候,显示屏是处于黑屏状态的,因此在待机状态下可以不用对显示屏进行检测。当电子设备处于运行状态时,再执行步骤202,开始对显示屏进行检测。
步骤204,当检测到不存在图层在电子设备的显示屏中显示时,开始计时。
步骤206,当计时时长大于第一时长阈值且不存在图层在显示屏中显示时,重启电子设备的系统。
当检测到不存在图层在电子设备的显示屏中显示时,电子设备会立即启动计时器开始计时。开始计时后,电子设备进入等待状态,在当计时时长大于第一时长阈值且不存在图层在显示屏中显示时,电子设备会停止等待,并对计时器清零,然后将系统重启。当计时时长小于或等于第一时长阈值且检测到目标层在显示屏中显示时,电子设备也会停止等待,然后电子设备会对计时器清零,并进入正常的运行状态。
例如,当电子设备检测到显示屏中没有显示图层时,电子设备会立即启动计时器,并进入等待状态。当计时时长超过5秒钟还未检测到显示屏中显示图层时,电子设备会将计时器清零,将电子设备的系统重启。
在一个实施例中,在执行步骤206之前,电子设备可以根据电量的剩余情况调节第一时长阈值,当电子设备的剩余电量较多的时候,使电子设备等待的时间更长,电子设备的剩余电量较少的情况下,直接重启电子设备,这样可以减少电子设备在等待过程中消耗的电量。具体的,获取电子设备的剩余电量,根据预先建立的剩余电量和第一时长阈值的对应关系获取剩余电量对应的第一时长阈值。
例如,预先建立的剩余电量和第一时长阈值的对应关系如下:电量为0~20%、20%~60%、60%~100%时,对应的第一时长阈值分别为1秒、5秒、8秒。当电子设备在检测到显示屏中无图层显示时,开始计时进入等待,并获取电子设备的剩余电量。若电子设备的剩余电量为58%,则第一时长阈值就对应为5秒,当等待时长达到5秒的时候,就将系统进行重启。
步骤208,当检测到存在图层在电子设备的显示屏中显示时,获取显示屏中显示的图层对应的目标应用标识,根据预先建立的目标应用标识与第二时长阈值的对应关系获取目标应用标识对应的第二时长阈值。
当存在图层在显示屏中显示时,可以获取显示屏中显示的图层对应的目标应用标识。其中,目标应用标识用于标示显示屏中显示的图层所对应的目标应用程序。例如,目标应用标识可以是目标应用程序的应用包名,在此不做限定。电子设备可以预先建立目标应用标识与第二时长阈值的对应关系,在获取到显示屏中显示的图层对应的目标应用标识后,根据建立的对应关系获取所述目标应用标识对应的第二时长阈值。
步骤210,检测显示屏中显示的图层是否超过第二时长阈值未更新。
在获取到第二时长阈值之后,检测显示屏中显示的图层是否超过第二时长阈值未更新,当显示屏中的图层超过第二时长阈值未更新时,则认为显示屏中显示的图层产生的了卡顿。
第二时长阈值是根据目标应用标识获取的,也即不同应用程序显示的图层的判断标准不一样。例如,对于游戏类应用程序,显示屏更新画面的速度往往比较快,那么游戏类应用程序对应的第二时长阈值就可以设置得比较小;对于小说类应用程序,显示屏更新画面的速度往往比较慢,那么小说类应用程序对应的第二时长阈值就可以设置得比较大。
具体的,当显示屏中显示的图层更新时,应用程序会将更新的图层发送给窗口管理服务(WindowManagerService),然后通过窗口管理服务将图层发送给显示屏进行显示。电子设备可以根据窗口管理服务上一次接收到的图层的时刻,得到显示屏中显示的图层上一次更新的时刻,从而得到显示屏中显示的图层未更新的时长。
步骤212,当检测到显示屏中显示的图层超过第二时长阈值未更新时,判定图层未按照设定规则在显示屏中显示。
当检测到显示屏中显示的图层超过第二时长阈值未更新时,则认为显示屏中显示的图层产生的了卡顿,即判定图层未按照设定规则在显示屏中显示。例如,第二时长阈值为5秒,当显示屏中显示的图层超过5秒没有更新时,就会认为图层未按照设定规则在显示屏中显示。
步骤214,当图层未按照设定规则在显示屏中显示时,统计显示屏中所显示的图层对应的目标应用程序在预设时长内的重启次数。
当图层未按照设定该规则在显示屏中显示时,认为显示屏中所显示的图层对应的目标应用程序产生了异常,则需要将目标应用程序进行重启。在对目标应用程序进行重启之前, 可以统计目标应用程序在预设时长内重启的次数,根据统计的重启次数判断是都将目标应用程序进行重启。
步骤216,当统计的重启次数小于或等于次数阈值时,重启目标应用程序。
当统计的重启次数大于次数阈值时,认为目标应用程序重启太频繁,这样频繁重启可能会造成电子设备的资源浪费,则可以向用户发出提示信息。当统计的重启次数小于或等于次数阈值时,则可以直接将目标应用程序重启。
步骤218,当统计的重启次数大于次数阈值时,输出提示信息。
步骤220,当接收到根据提示信息输入的重启指令时,重启目标应用程序。
当重启次数大于次数阈值时,电子设备可以输出提示信息,用于提示用户目标应用程序重启太频繁。用户在接收到提示信息之后,可以根据提示信息输入指令。当用户输入重启指令时,电子设备就可以重启目标应用程序。例如,电子设备可以统计目标应用程序在10分钟内重启的次数,当重启次数小于或等于5次时,直接将目标应用程序重启;当重启次数大于5次时,输出提示信息,用以提示用户目标应用程序的重启频率过高。
具体的,上述提示信息的形式在此不做限定。例如,上述提示信息可以是以声音、提示框、震动等形成输出的,当用户接收到该提示信息时,就可以根据提示信息输入重启指令。用户还可以根据提示信息输入停止指令,当电子设备检测到停止指令时,目标应用程序停止运行。
上述实施例提供的显示屏检测方法,可以检测是否存在图层在电子设备的显示屏中显示。当检测到不存在图层在电子设备的显示屏中显示时,可判定电子设备的系统故障,则重启电子设备的系统。当检测到存在图层在电子设备的显示屏中显示,但图层未按照设定规则在显示屏中进行显示时,可判定显示屏中所显示的图层对应的目标应用程序故障,则重启目标应用程序。这样可以根据显示屏中显示的图层,检测电子设备的黑屏、花屏等故障,从而通过重启系统或应用程序的方式解决故障,提高了电子设备的使用效率。
在本申请提供的其他是实施例中,检测图层是否按照设定规则显示的步骤还可以包括:
步骤302,检测图层是否按照设定排列顺序在显示屏中显示。
步骤304,当检测到图层未按照设定排列顺序在显示屏中显示时,判定图层未按照设 定规则在显示屏中显示。
当检测到电子设备的显示屏中显示图层时,检测显示屏中显示的图层是否按照设定排列顺序进行显示的。可以理解的是,应用程序在运行过程中,会在显示屏上生成不同的交互界面,因此显示屏中显示的图层也是在实时调整的。例如,前台应用程序退出时,电子设备中可能只显示壁纸图层和桌面图层,且壁纸图层显示在桌面图层的下方。当前台应用程序开始运行时,前台应用程序对应的前台应用图层会显示在壁纸图层和桌面图层的上方,以使得用户可以通过前台应用图层中显示的内容实现交互操作。
也就是说,电子设备在运行过程中,显示屏中所显示的图层的排列规则是不断再变化的。应用程序在运行过程中可以请求电子设备更改排列规则,从而使得电子设备可以根据排列规则来显示图层。例如,当应用程序切换到前台时,应用程序可以请求电子设备的窗口管理服务对图层的顺序进行调整。
图4为一个实施例中显示屏显示图层的示意图。如图4所示,电子设备的显示屏40中显示了图层402、图层404和图层406。在显示图层402、图层404和图层406的时候,设定排列顺序为图层402→图层404→图层406。当显示屏40在显示图层的时候,若检测显示的图层的排列顺序为图层402→图层404→图层406,则认为显示屏40当前是按照设定规则显示图层402、图层404和图层406的。假设检测显示的图层的排列顺序为图层404→图层402→图层406,则认为显示屏40当前未按照设定规则显示图层402、图层404和图层406。
在本申请提供的其他是实施例中,在检测到图层超过第二时长阈值未更新的时候,判断图层是否按照设定规则在显示屏中显示的步骤具体包括:
步骤502,当检测到显示屏中显示的图层超过第二时长阈值未更新时,检测图层缓冲器中是否存在待显示图层,或检测显示屏中显示的图层中所有像素点的像素值是否都为预设像素值;其中,图层缓冲器用于存储显示屏显示的图层。
在一个实施例中,检测到显示屏中显示的图层长时间未更新时,可以进一步检测图层缓冲器中是否存储了待显示的图层,或者检测显示屏中显示的图层中的像素点是否满足预设条件,然后根据检测结果判断图层是否按照设定规则显示。
应用程序在电子设备的前台运行时,会向电子设备请求一个图层缓冲器,应用程序在 需要显示图层时,会将需要显示的图层存放在定义的图层缓冲器中,显示屏就可以对图层缓冲器中的图层进行显示。因此,当电子设备检测到显示屏中的图层超过第二时长阈值未更新时,可以检测图层缓冲器中是否存在待显示图层,若图像缓冲器中不存在待显示图层,则认为该图像缓冲器为无效的图像缓冲器,则认为应用程序出现异常。
电子设备还可以检测是否显示屏中显示的图层中所有像素点的像素值都为预设像素值,当显示屏中显示的图层中所有像素点的像素值都为预设像素值时,认为应用程序出现异常。
步骤504,当图层缓冲器中不存在待显示图层或显示屏中显示的图层中所有像素点的像素值为预设像素值时,判定图层未按照设定规则在显示屏中显示。
当图层缓冲器中不存在待显示图层或显示屏中显示的图层中所有像素点的像素值为预设像素值时,判定图层未按照设定规则在显示屏中显示,即应用程序出现异常。其中,预设像素值为预先设定的像素值。例如,当图层中所有像素点的像素值全为0,或者小于某个较小的像素值时,认为图层未按照设定规则在显示屏中显示。
图6为又一个实施例中显示屏检测方法的流程图。如图6所示,首先对电子设备的显示屏中显示的图层进行检测,并根据检测的结果识别电子设备的显示屏当前所处的场景。当识别到显示屏中无图层显示时,判定由于电子设备的系统异常导致显示屏黑屏,然后对电子设备进行系统重启。当识别到显示屏中有图层显示,但图层的显示顺序错乱的时候,判定由于应用程序异常导致显示屏花屏,此时可以将图层对应的目标应用程序重启。当识别到显示屏中有图层显示,但图层长时间无刷新时,可以进一步判断目标应用程序定义的图层缓冲器是否无效,或判断显示屏中显示的所有图层合成之后的画面中包含的所有像素点的像素值是否都为0。若目标应用程序定义的图层缓冲器无效,或显示屏中显示的所有图层合成之后的画面中包含的所有像素点的像素值都为0,则判定是目标应用程序异常导致的黑屏,然后将目标应用程序重启。
应该理解的是,虽然图1、2、3、5、6的流程图中的各个步骤按照箭头的指示依次显示,但是这些步骤并不是必然按照箭头指示的顺序依次执行。除非本文中有明确的说明,这些步骤的执行并没有严格的顺序限制,这些步骤可以以其它的顺序执行。而且,图1、2、3、5、6中的至少一部分步骤可以包括多个子步骤或者多个阶段,这些子步骤或者阶 段并不必然是在同一时刻执行完成,而是可以在不同的时刻执行,这些子步骤或者阶段的执行顺序也不必然是依次进行,而是可以与其它步骤或者其它步骤的子步骤或者阶段的至少一部分轮流或者交替地执行。
图7为一个实施例中显示屏检测装置的结构示意图。如图7所示,该显示屏检测装置700中包括显示屏检测模块702、系统重启模块704、图层检测模块706和应用重启模块708。其中:
显示屏检测模块702,用于检测是否存在图层在电子设备的显示屏中显示。
系统重启模块704,用于当检测到不存在图层在电子设备的显示屏中显示时,重启电子设备的系统。
图层检测模块706,用于当检测到存在图层在电子设备的显示屏中显示时,检测图层是否按照设定规则在显示屏中显示。
应用重启模块708,用于当图层未按照设定规则在显示屏中显示时,重启显示屏中所显示的图层对应的目标应用程序。
上述实施例提供的显示屏检测装置,可以检测是否存在图层在电子设备的显示屏中显示。当检测到不存在图层在电子设备的显示屏中显示时,可判定电子设备的系统故障,则重启电子设备的系统。当检测到存在图层在电子设备的显示屏中显示,但图层未按照设定规则在显示屏中进行显示时,可判定显示屏中所显示的图层对应的目标应用程序故障,则重启目标应用程序。这样可以根据显示屏中显示的图层,检测电子设备的黑屏、花屏等故障,从而通过重启系统或应用程序的方式解决故障,提高了电子设备的使用效率。
在一个实施例中,系统重启模块704还用于当检测到不存在图层在电子设备的显示屏中显示时,开始计时;当计时时长大于第一时长阈值且不存在图层在显示屏中显示时,重启电子设备的系统。
在一个实施例中,系统重启模块704还用于获取电子设备的剩余电量,根据预先建立的剩余电量和第一时长阈值的对应关系获取剩余电量对应的第一时长阈值。
在一个实施例中,图层检测模块706还用于检测图层是否按照设定排列顺序在显示屏中显示;当检测到图层未按照设定排列顺序在显示屏中显示时,判定图层未按照设定规则 在显示屏中显示;或,检测显示屏中显示的图层是否超过第二时长阈值未更新;当检测到显示屏中显示的图层超过第二时长阈值未更新时,判定图层未按照设定规则在显示屏中显示。
在一个实施例中,图层检测模块706还用于当检测到显示屏中显示的图层超过第二时长阈值未更新时,检测图层缓冲器中是否存在待显示图层,或检测显示屏中显示的图层中所有像素点的像素值是否都为预设像素值;其中,图层缓冲器用于存储显示屏显示的图层;当图层缓冲器中不存在待显示图层或显示屏中显示的图层中所有像素点的像素值都为预设像素值时,判定图层未按照设定规则在显示屏中显示。
在一个实施例中,图层检测模块706还用于获取显示屏中所显示的图层对应的目标应用标识,根据预先建立的目标应用标识与第二时长阈值的对应关系获取目标应用标识对应的第二时长阈值,其中,所述目标应用标识用于标示所述显示屏中显示的图层所对应的目标应用程序。
在一个实施例中,应用重启模块708还用于统计显示屏中所显示的图层对应的目标应用程序在预设时长内的重启次数;当统计的重启次数小于或等于次数阈值时,重启图层对应的目标应用程序;当统计的重启次数大于次数阈值时,输出提示信息;当接收到根据提示信息输入的重启指令时,重启图层对应的目标应用程序。
上述显示屏检测装置中各个模块的划分仅用于举例说明,在其他实施例中,可将显示屏检测装置按照需要划分为不同的模块,以完成上述显示屏检测装置的全部或部分功能。
关于显示屏检测装置的具体限定可以参见上文中对于显示屏检测方法的限定,在此不再赘述。上述显示屏检测装置中的各个模块可全部或部分通过软件、硬件及其组合来实现。上述各模块可以硬件形式内嵌于或独立于计算机设备中的处理器中,也可以以软件形式存储于计算机设备中的存储器中,以便于处理器调用执行以上各个模块对应的操作。
本申请实施例还提供了一种电子设备。如图8所示,为了便于说明,仅示出了与本申请实施例相关的部分,具体技术细节未揭示的,请参照本申请实施例方法部分。该电子设备可以为包括手机、平板电脑、PDA(Personal Digital Assistant,个人数字助理)、POS(Point of Sales,销售终端)、车载电脑、穿戴式设备等任意终 端设备,以电子设备为手机为例:
图8为与本申请实施例提供的电子设备相关的手机的部分结构的框图。参考图8,手机包括:射频(Radio Frequency,RF)电路810、存储器820、输入单元830、显示单元840、传感器850、音频电路860、无线保真(wireless fidelity,WiFi)模块870、处理器880、以及电源890等部件。本领域技术人员可以理解,图8所示的手机结构并不构成对手机的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。
其中,RF电路810可用于收发信息或通话过程中,信号的接收和发送,可将基站的下行信息接收后,给处理器880处理;也可以将上行的数据发送给基站。通常,RF电路包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器(Low Noise Amplifier,LNA)、双工器等。此外,RF电路810还可以通过无线通信与网络和其他设备通信。上述无线通信可以使用任一通信标准或协议,包括但不限于全球移动通讯系统(Global System of Mobile communication,GSM)、通用分组无线服务(General Packet Radio Service,GPRS)、码分多址(Code Division Multiple Access,CDMA)、宽带码分多址(Wideband Code Division Multiple Access,WCDMA)、长期演进(Long Term Evolution,LTE))、电子邮件、短消息服务(Short Messaging Service,SMS)等。
存储器820可用于存储软件程序以及模块,处理器880通过运行存储在存储器820的软件程序以及模块,从而执行手机的各种功能应用以及数据处理。存储器820可主要包括程序存储区和数据存储区,其中,程序存储区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能的应用程序、图像播放功能的应用程序等)等;数据存储区可存储根据手机的使用所创建的数据(比如音频数据、通讯录等)等。此外,存储器820可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。
输入单元830可用于接收输入的数字或字符信息,以及产生与手机800的用户设置以及功能控制有关的键信号输入。具体地,输入单元830可包括触控面板831以及其他输入设备832。触控面板831,也可称为触摸屏,可收集用户在其上或附近的触 摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板831上或在触控面板831附近的操作),并根据预先设定的程式驱动相应的连接装置。在一个实施例中,触控面板831可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器880,并能接收处理器880发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板831。除了触控面板831,输入单元830还可以包括其他输入设备832。具体地,其他输入设备832可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)等中的一种或多种。
显示单元840可用于显示由用户输入的信息或提供给用户的信息以及手机的各种菜单。显示单元840可包括显示面板841。在一个实施例中,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板841。在一个实施例中,触控面板831可覆盖显示面板841,当触控面板831检测到在其上或附近的触摸操作后,传送给处理器880以确定触摸事件的类型,随后处理器880根据触摸事件的类型在显示面板841上提供相应的视觉输出。虽然在图8中,触控面板831与显示面板841是作为两个独立的部件来实现手机的输入和输入功能,但是在某些实施例中,可以将触控面板831与显示面板841集成而实现手机的输入和输出功能。
手机800还可包括至少一种传感器850,比如光传感器、运动传感器以及其他传感器。具体地,光传感器可包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板841的亮度,接近传感器可在手机移动到耳边时,关闭显示面板841和/或背光。运动传感器可包括加速度传感器,通过加速度传感器可检测各个方向上加速度的大小,静止时可检测出重力的大小及方向,可用于识别手机姿态的应用(比如横竖屏切换)、振动识别相关功能(比如计步器、敲击)等;此外,手机还可配置陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器等。
音频电路860、扬声器861和传声器862可提供用户与手机之间的音频接口。音频电路860可将接收到的音频数据转换后的电信号,传输到扬声器861,由扬声器861 转换为声音信号输出;另一方面,传声器862将收集的声音信号转换为电信号,由音频电路860接收后转换为音频数据,再将音频数据输出处理器880处理后,经RF电路810可以发送给另一手机,或者将音频数据输出至存储器820以便后续处理。
WiFi属于短距离无线传输技术,手机通过WiFi模块870可以帮助用户收发电子邮件、浏览网页和访问流式媒体等,它为用户提供了无线的宽带互联网访问。虽然图8示出了WiFi模块870,但是可以理解的是,其并不属于手机800的必须构成,可以根据需要而省略。
处理器880是手机的控制中心,利用各种接口和线路连接整个手机的各个部分,通过运行或执行存储在存储器820内的软件程序和/或模块,以及调用存储在存储器820内的数据,执行手机的各种功能和处理数据,从而对手机进行整体监控。在一个实施例中,处理器880可包括一个或多个处理单元。在一个实施例中,处理器880可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等;调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器880中。
手机800还包括给各个部件供电的电源890(比如电池),优选的,电源可以通过电源管理系统与处理器880逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。
在一个实施例中,手机800还可以包括摄像头、蓝牙模块等。
在本申请实施例中,该电子设备所包括的处理器880执行存储在存储器上的计算机程序时实现上述实施例提供的显示屏检测方法的步骤。
本申请实施例还提供了一种计算机可读存储介质。一个或多个包含计算机可执行指令的非易失性计算机可读存储介质,当所述计算机可执行指令被一个或多个处理器执行时,使得所述处理器执行上述实施例提供的显示屏检测方法的步骤。
一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行上述实施例提供的显示屏检测方法。
本申请所使用的对存储器、存储、数据库或其它介质的任何引用可包括非易失性和/或易失性存储器。非易失性存储器可包括只读存储器(ROM)、可编程ROM(PROM)、电可编程ROM(EPROM)、电可擦除可编程ROM(EEPROM)或闪存。易失性存储器可包括随机存取存储器(RAM),它用作外部高速缓冲存储器。作为说明而非局限,RAM以多种形式可得,诸如静态RAM(SRAM)、动态RAM(DRAM)、同步DRAM(SDRAM)、双数据率SDRAM(DDR SDRAM)、增强型SDRAM(ESDRAM)、同步链路(Synchlink)DRAM(SLDRAM)、存储器总线(Rambus)直接RAM(RDRAM)、直接存储器总线动态RAM(DRDRAM)、以及存储器总线动态RAM(RDRAM)。
以上所述实施例仅表达了本申请的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对本申请专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本申请构思的前提下,还可以做出若干变形和改进,这些都属于本申请的保护范围。因此,本申请专利的保护范围应以所附权利要求为准。

Claims (10)

  1. 一种显示屏检测方法,其特征在于,所述方法包括:
    检测是否存在图层在电子设备的显示屏中显示;
    当检测到不存在图层在所述电子设备的显示屏中显示时,重启所述电子设备的系统;
    当检测到存在图层在所述电子设备的显示屏中显示时,检测所述图层是否按照设定规则在所述显示屏中显示;及
    当所述图层未按照设定规则在所述显示屏中显示时,重启所述显示屏中所显示的图层对应的目标应用程序。
  2. 根据权利要求1所述的方法,其特征在于,所述当检测到不存在图层在所述电子设备的显示屏中显示时,重启所述电子设备的系统,包括:
    当检测到不存在图层在所述电子设备的显示屏中显示时,开始计时;
    当计时时长大于第一时长阈值且不存在图层在所述显示屏中显示时,重启所述电子设备的系统。
  3. 根据权利要求2所述的方法,其特征在于,所述方法还包括:
    获取所述电子设备的剩余电量,根据预先建立的剩余电量和第一时长阈值的对应关系获取所述剩余电量对应的第一时长阈值。
  4. 根据权利要求1所述的方法,其特征在于,所述检测所述图层是否按照设定规则在所述显示屏中显示,包括:
    检测所述图层是否按照设定排列顺序在显示屏中显示;
    当检测到所述图层未按照设定排列顺序在显示屏中显示时,判定所述图层未按照设定规则在所述显示屏中显示;
    或,
    检测所述显示屏中显示的图层是否超过第二时长阈值未更新;
    当检测到所述显示屏中显示的图层超过第二时长阈值未更新时,判定所述图层未按照设定规则在所述显示屏中显示。
  5. 根据权利要求4所述的方法,其特征在于,所述当检测到所述显示屏中显示的图层超过第二时长阈值未更新时,判定所述图层未按照设定规则在所述显示屏中显示,包括:
    当检测到所述显示屏中显示的图层超过第二时长阈值未更新时,检测图层缓冲器中是否存在待显示图层,或检测所述显示屏中显示的所述图层中所有像素点的像素值是否都为预设像素值;其中,所述图层缓冲器用于存储所述显示屏显示的图层;
    当所述图层缓冲器中不存在待显示图层或所述显示屏中显示的所述图层中所有像素点的像素值都为预设像素值时,判定所述图层未按照设定规则在所述显示屏中显示。
  6. 根据权利要求4所述的方法,其特征在于,所述检测所述显示屏中显示的图层是否超过第二时长阈值未更新之前,还包括:
    获取所述显示屏中显示的图层对应的目标应用标识,根据预先建立的目标应用标识与第二时长阈值的对应关系获取所述目标应用标识对应的第二时长阈值,其中,所述目标应用标识用于标示所述显示屏中显示的图层所对应的目标应用程序。
  7. 根据权利要求1至6中任一项所述的方法,其特征在于,所述重启所述显示屏中所显示的图层对应的目标应用程序包括:
    统计所述显示屏中所显示的图层对应的目标应用程序在预设时长内的重启次数;
    当统计的所述重启次数小于或等于次数阈值时,重启所述目标应用程序;
    当统计的所述重启次数大于次数阈值时,输出提示信息;
    当接收到根据提示信息输入的重启指令时,重启所述目标应用程序。
  8. 一种显示屏检测装置,其特征在于,所述装置包括:
    显示屏检测模块,用于检测是否存在图层在电子设备的显示屏中显示;
    系统重启模块,用于当检测到不存在图层在所述电子设备的显示屏中显示时,重启所述电子设备的系统;
    图层检测模块,用于当检测到存在图层在所述电子设备的显示屏中显示时,检测所述图层是否按照设定规则在所述显示屏中显示;及
    应用重启模块,用于当所述图层未按照设定规则在所述显示屏中显示时,重启所述显示屏中所显示的图层对应的目标应用程序。
  9. 一种电子设备,包括存储器及处理器,所述存储器中储存有计算机可读指令,所述指令被所述处理器执行时,使得所述处理器执行如权利要求1至7中任一项所述的方法。
  10. 一种计算机可读存储介质,其上存储有计算机程序,其特征在于,所述计算机程 序被处理器执行时实现如权利要求1至7中任一项所述的方法。
PCT/CN2018/115882 2018-11-16 2018-11-16 显示屏检测方法、装置、电子设备、计算机可读存储介质 WO2020097911A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2018/115882 WO2020097911A1 (zh) 2018-11-16 2018-11-16 显示屏检测方法、装置、电子设备、计算机可读存储介质
CN201880098202.0A CN112805690A (zh) 2018-11-16 2018-11-16 显示屏检测方法、装置、电子设备、计算机可读存储介质

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2018/115882 WO2020097911A1 (zh) 2018-11-16 2018-11-16 显示屏检测方法、装置、电子设备、计算机可读存储介质

Publications (1)

Publication Number Publication Date
WO2020097911A1 true WO2020097911A1 (zh) 2020-05-22

Family

ID=70731921

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/115882 WO2020097911A1 (zh) 2018-11-16 2018-11-16 显示屏检测方法、装置、电子设备、计算机可读存储介质

Country Status (2)

Country Link
CN (1) CN112805690A (zh)
WO (1) WO2020097911A1 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115934405B (zh) * 2023-01-29 2023-07-21 蔚来汽车科技(安徽)有限公司 检测多系统在显示设备上显示同步性

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103473051A (zh) * 2013-09-02 2013-12-25 小米科技有限责任公司 一种节省终端功耗的方法和装置
CN105302637A (zh) * 2015-10-13 2016-02-03 广东欧珀移动通信有限公司 系统进程运行异常引起卡顿的恢复方法、装置及移动终端
CN106598783A (zh) * 2016-12-06 2017-04-26 广东欧珀移动通信有限公司 一种智能终端的显示控制方法、装置及智能终端
CN107193515A (zh) * 2017-04-10 2017-09-22 腾讯科技(深圳)有限公司 动画显示流畅度的监控方法、装置及其设备
CN107203383A (zh) * 2017-05-25 2017-09-26 努比亚技术有限公司 一种用户界面调整方法及移动终端
CN107704133A (zh) * 2017-09-28 2018-02-16 努比亚技术有限公司 冻屏监测与解决方法、移动终端及计算机可读存储介质

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104808905A (zh) * 2015-05-15 2015-07-29 京东方科技集团股份有限公司 一种显示处理方法、装置及电子设备
CN106557391A (zh) * 2015-09-29 2017-04-05 中兴通讯股份有限公司 显示屏处理方法及装置
CN107315511B (zh) * 2016-04-26 2020-10-16 斑马网络技术有限公司 服务显示方法、装置、设备和系统
CN107678876B (zh) * 2017-09-28 2021-08-10 努比亚技术有限公司 冻屏监测与解决方法、移动终端及计算机可读存储介质
CN108733428B (zh) * 2018-05-10 2021-06-25 Oppo广东移动通信有限公司 屏幕显示控制方法及装置

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103473051A (zh) * 2013-09-02 2013-12-25 小米科技有限责任公司 一种节省终端功耗的方法和装置
CN105302637A (zh) * 2015-10-13 2016-02-03 广东欧珀移动通信有限公司 系统进程运行异常引起卡顿的恢复方法、装置及移动终端
CN106598783A (zh) * 2016-12-06 2017-04-26 广东欧珀移动通信有限公司 一种智能终端的显示控制方法、装置及智能终端
CN107193515A (zh) * 2017-04-10 2017-09-22 腾讯科技(深圳)有限公司 动画显示流畅度的监控方法、装置及其设备
CN107203383A (zh) * 2017-05-25 2017-09-26 努比亚技术有限公司 一种用户界面调整方法及移动终端
CN107704133A (zh) * 2017-09-28 2018-02-16 努比亚技术有限公司 冻屏监测与解决方法、移动终端及计算机可读存储介质

Also Published As

Publication number Publication date
CN112805690A (zh) 2021-05-14

Similar Documents

Publication Publication Date Title
US20220276909A1 (en) Screen projection control method and electronic device
CN110752980B (zh) 一种消息发送方法及电子设备
US11258893B2 (en) Method for prompting notification message and mobile terminal
US10269163B2 (en) Method and apparatus for switching real-time image in instant messaging
WO2017125027A1 (zh) 一种进行信息展示的方法和装置、计算机存储介质
WO2021017763A1 (zh) 事件处理方法、终端设备及计算机可读存储介质
CN109710349B (zh) 一种截屏方法及移动终端
CN109558046B (zh) 一种信息显示方法及终端设备
CN107843993B (zh) 一种显示屏可视角度的控制方法、移动终端及计算机存储介质
CN110162254B (zh) 一种显示方法和终端设备
US11308893B2 (en) Method for controlling brightness in mobile terminal display, mobile terminal and storage device
CN105094501B (zh) 一种移动终端中消息的显示方法、装置和系统
US20210091845A1 (en) Beam state detection method and terminal
WO2021143669A1 (zh) 一种获取配置信息的方法及电子设备
WO2019076376A1 (zh) 信息显示方法及移动终端
CN108681413B (zh) 一种显示模组的控制方法及移动终端
WO2019129264A1 (zh) 界面的显示方法和移动终端
WO2020133350A1 (zh) 界面显示方法及控制终端
CN109831582B (zh) 未响应事件处理方法及终端
CN110769303A (zh) 播放控制方法、装置及移动终端
WO2019091301A1 (zh) 射频器件的信息处理方法及移动终端
KR102454655B1 (ko) 랜덤 액세스 자원의 선택 방법 및 단말 기기
WO2020097911A1 (zh) 显示屏检测方法、装置、电子设备、计算机可读存储介质
WO2020103052A1 (zh) 音频系统控制方法、装置、终端和计算机可读存储介质
CN109660657B (zh) 一种应用程序控制方法及装置

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18939849

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18939849

Country of ref document: EP

Kind code of ref document: A1