Screen abnormality processing method, electronic device and readable storage medium

By monitoring the power supply voltage and displaying prompts and recording log information in abnormal situations, the problem of black screen of the vehicle screen when the low voltage or voltage fluctuates is solved, improving user experience and maintenance efficiency.

CN114840367BActive Publication Date: 2025-08-26SHANGHAI QINGGAN INTELLIGENT TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202110135631.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-02-01
Publication Date
2025-08-26
Estimated Expiration
2041-02-01

AI Technical Summary

Technical Problem

Vehicle screens are prone to blackout when they fluctuate at low voltage or voltage, causing users to mistakenly think that they are damaged and waste of resources during maintenance.

Method used

Monitor whether the power supply voltage meets the preset screen brightness condition. If it does not meet, determine whether the abnormal start condition is met. An abnormal prompt is displayed when the condition is met, and the serial port log information is recorded.

Benefits of technology

Improve user experience, reduce fault misjudgment, improve fault analysis efficiency, and reduce maintenance costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114840367B_ABST
    Figure CN114840367B_ABST
Patent Text Reader

Abstract

This application relates to a method for handling screen abnormalities, an electronic device, and a readable storage medium. The method monitors whether the power supply voltage meets a preset screen-on condition. If the power supply voltage does not meet the preset screen-on condition, the screen is determined to be abnormal and whether the power supply voltage meets an abnormal startup condition is determined. If the power supply voltage meets the abnormal startup condition, the screen is started and an abnormal prompt is displayed. The serial port log information under the screen abnormal state is recorded. In this way, a prompt can be displayed when the screen is abnormal, providing a good user experience. At the same time, the cause of the fault can be analyzed based on the recorded abnormal information to improve maintenance efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of electronic devices, and in particular to a method for processing screen abnormalities, an electronic device, and a readable storage medium. Background Art

[0002] In existing vehicles, the car computer screen will go black directly when the voltage of the entire vehicle is low or insufficient, resulting in voltage fluctuations. In scenarios where the car computer screen needs to be used, such as cold start, hot start, and vehicle driving, it is easy for users to mistakenly believe that the car computer is damaged and cause maintenance events. When the car computer is returned to the factory for repair, maintenance personnel need to spend a lot of time inspecting the car computer to find the cause of the screen failure, but most of the test results are not a failure of the car computer screen itself, resulting in a waste of resources. Summary of the Invention

[0003] The purpose of this application is to provide a method for processing screen abnormalities, an electronic device and a readable storage medium, which can prompt when an abnormality occurs on the screen, provide a good user experience, and at the same time, record abnormal information, which is conducive to fault cause analysis.

[0004] To solve the above technical problems, the present application provides a method for handling screen abnormalities, which is applied to electronic devices and includes the following steps:

[0005] Monitor whether the power supply voltage meets the preset screen lighting conditions;

[0006] If the power supply voltage does not meet the preset screen-on condition, it is determined that the screen is abnormal, and whether the power supply voltage meets the abnormal start-up condition is determined;

[0007] If the power supply voltage meets the abnormal startup condition, the screen starts and displays an abnormal prompt;

[0008] Record serial port log information when the screen is in abnormal state.

[0009] The present application also provides an electronic device, comprising:

[0010] at least one processor; and

[0011] At least one memory is coupled to the at least one processor and stores instructions for execution by the at least one processor, and when the instructions are executed by the at least one processor, the electronic device performs the steps of the method for processing screen abnormalities as described above.

[0012] The present application also provides a readable storage medium having computer program instructions stored thereon; when the computer program instructions are executed by a processor, the steps of the method for processing screen abnormalities as described above are implemented.

[0013] The screen abnormality processing method, electronic device, and readable storage medium of the present application monitor whether the power supply voltage meets the preset screen-on conditions; if the power supply voltage does not meet the preset screen-on conditions, the screen is determined to be abnormal and whether the power supply voltage meets the abnormal startup conditions; if the power supply voltage meets the abnormal startup conditions, the screen is started and an abnormality prompt is displayed; and the serial port log information of the screen abnormal state is recorded. In this way, a prompt can be displayed when the screen is abnormal, providing a good user experience. At the same time, the cause of the fault can be analyzed based on the recorded abnormal information to improve maintenance efficiency.

[0014] The above description is only an overview of the technical solution of the present application. In order to more clearly understand the technical means of the present application, which can be implemented in accordance with the contents of the specification, and to make the above and other purposes, features and advantages of the present application more obvious and easy to understand, the following specifically cites a preferred embodiment and describes it in detail with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] Figure 1 A flowchart of a method for handling screen abnormalities provided by the first embodiment of the present invention;

[0016] Figure 2 A schematic diagram of a specific flow chart of a method for handling screen abnormalities provided by the first embodiment of the present invention;

[0017] Figure 3 This is a structural diagram of an electronic device provided by the second embodiment of the present invention. DETAILED DESCRIPTION

[0018] In order to further illustrate the technical means and effects adopted by this application to achieve the intended application purpose, the following, in combination with the accompanying drawings and preferred embodiments, details are given below on the specific implementation methods, methods, steps, structures, features and effects proposed in this application.

[0019] The aforementioned and other technical contents, features, and effects of this application will be clearly presented in the following detailed description of the preferred embodiments with reference to the accompanying drawings. Through the description of the specific embodiments, a deeper and more detailed understanding of the technical means and effects adopted by this application to achieve the intended purpose can be obtained. However, the accompanying drawings are provided for reference and illustration purposes only and are not intended to limit this application.

[0020] First embodiment

[0021] Figure 1 The flowchart of a method for processing screen abnormality provided by the first embodiment of the present invention is as follows. Figure 1 As shown, the method for handling screen abnormalities of this embodiment is applied to an electronic device and includes the following steps:

[0022] Step 210: monitor whether the power supply voltage meets the preset screen-on condition.

[0023] Among them, the screen is a screen installed on the electronic device or a screen controlled by the electronic device. The electronic device includes but is not limited to a car computer. The power supply voltage is the voltage of the power supply used by the screen. When the screen needs to be powered on or is in use, the power supply voltage is monitored, and then different control operations are performed on the screen according to the state of the power supply voltage to realize screen abnormal prompts and abnormal information recording.

[0024] The preset screen-on condition refers to a voltage condition preset in the electronic device that can meet the screen-on requirement. In this embodiment, step 210 monitors whether the power supply voltage meets the preset screen-on condition, which may specifically include the following steps:

[0025] Monitor whether the power supply voltage is continuously lower than a preset threshold or fluctuates within a preset range, and the upper limit of the preset range is greater than the preset threshold;

[0026] If the power supply voltage is continuously lower than the preset threshold or fluctuates within a preset range, it is determined that the power supply voltage does not meet the preset screen-on condition.

[0027] Among them, the preset threshold is preferably the lowest voltage that can satisfy the screen lighting condition. When the power supply voltage is continuously higher than the preset threshold, it is considered that the power supply voltage is sufficient and stable, and meets the preset screen lighting condition. At this time, the screen can be turned on and lit or maintain the current screen lighting state, and the screen works normally. On the contrary, when the power supply voltage is continuously lower than the preset threshold or fluctuates within the preset range, it is considered that the power supply voltage is insufficient or unstable, and does not meet the preset screen lighting condition. At this time, the screen cannot be turned on or cannot continue to light up normally, and the screen is confirmed to be abnormal. Usually, voltage fluctuations are prone to occur when the power supply voltage is low. In this embodiment, the preset interval is set to a voltage interval with an upper limit value greater than the preset threshold. When the power supply voltage fluctuates within this interval, it is in a critical state of screen lighting and screen off, which has monitoring significance.

[0028] Step 220: If the power supply voltage does not meet the preset screen-on condition, it is determined that the screen is abnormal, and whether the power supply voltage meets the abnormal start-up condition is determined.

[0029] If the power supply voltage does not meet the preset screen-on condition, it is determined that the screen is abnormal, and the process continues to determine whether the power supply voltage meets the abnormal startup condition. In this embodiment, determining whether the power supply voltage meets the abnormal startup condition includes the following steps:

[0030] If the power supply voltage fluctuates within a preset interval, when the power supply voltage fluctuates to a value greater than or equal to a preset threshold, it is determined that the power supply voltage meets the abnormal startup condition.

[0031] Because the preset interval is a voltage interval with an upper limit greater than a preset threshold, during the fluctuation of the power supply voltage within this interval, it will fluctuate to a value greater than or equal to the preset threshold within a short period of time, thereby satisfying the startup conditions within a short period of time and enabling startup. Because the startup conditions are met under abnormal voltage fluctuations, this application defines startup in this scenario as abnormal startup, which includes powering on under abnormal conditions and / or keeping the screen on under abnormal conditions.

[0032] Furthermore, when the power supply voltage fluctuates within a preset range and briefly falls below a preset threshold, the screen maintains its current operating state. This means the screen remains off when it needs to be powered on, and remains powered on when it's already powered on. If the power supply voltage remains below the preset threshold, the screen won't turn on, and the abnormal startup condition isn't met.

[0033] Step 230: If the power supply voltage meets the abnormal startup condition, the screen starts and displays an abnormal prompt;

[0034] Among them, when the power supply voltage meets the abnormal startup conditions, abnormal startup is performed, that is, the screen is turned on and on in the scenario where power is required, and the screen continues to be on in the scenario where the power is already on and displayed. At this time, although the screen is in an abnormal state, it is still displayed on the screen. At the same time, the power supply voltage status prompt and / or the prompt that the screen is about to be turned off is displayed on the screen. For example, it displays "The vehicle battery power is insufficient and will be turned off in 3 seconds. If the car computer needs to work normally, please charge or replace the battery", so that the user can timely understand the battery voltage status and the operation to be performed, and will not be affected by the failure to turn on the screen or the sudden black screen. The user experience will not be affected, or even a wrong perception of screen failure will be generated.

[0035] After an abnormal prompt is displayed, turn off the screen to avoid being in an abnormal startup state for a long time, which may cause damage to the screen.

[0036] Step 240: Record the serial port log information when the screen is in an abnormal state.

[0037] The log file outputs some program status during software operation. When the screen starts abnormally, the serial port log information under the abnormal screen state is recorded. This serial port log information records abnormal information such as the fluctuation of the power supply voltage and the abnormal startup duration of the screen.

[0038] In addition, if the power supply voltage does not meet the abnormal startup conditions, the screen will not be started but the step of recording the serial port log information under the abnormal state of the screen will still be executed. For example, if the power supply voltage is continuously lower than the preset threshold and does not meet the abnormal startup conditions, the screen will not be started and the step of recording the serial port log information under the abnormal state of the screen will be executed. The recorded serial port log information may include abnormal information such as the current power supply voltage and the display status of the screen.

[0039] Serial port log information can be directly accessed by connecting the electronic device to a storage device such as a USB flash drive, or uploaded online via voice commands, such as to an analysis device or the cloud. When uploading online via voice commands, the electronic device receives the voice command to upload the serial port log information and, in response, sends the serial port log information to the designated destination. Maintenance personnel can quickly analyze the cause of screen anomalies by viewing the serial port log information, improving maintenance efficiency.

[0040] Next, combine Figure 2 The specific processing flow of this embodiment is described. When the screen needs to be powered on or is in use, the power supply voltage is obtained for monitoring. First, it is determined whether the power supply voltage is continuously lower than a preset threshold, and whether the power supply voltage fluctuates within a preset range, and the upper limit of the preset range is greater than the preset threshold.

[0041] If it is determined that the power supply voltage is not continuously lower than the preset threshold, the obtained voltage power supply is further determined to be continuously lower than the preset threshold. In this case, the preset screen-on condition is met, and the screen can be turned on or kept on. Conversely, if it is determined that the power supply voltage is continuously lower than the preset threshold, neither the preset screen-on condition nor the abnormal startup condition is met, and the step of recording the serial port log information of the abnormal screen state is executed.

[0042] If it is determined that the power supply voltage fluctuates within the preset range, it is further determined whether the power supply voltage fluctuates to a value greater than or equal to the preset threshold value. If it is determined that the power supply voltage does not fluctuate to a value greater than or equal to the preset threshold value, it is further determined whether the obtained voltage power supply fluctuates within the preset range. At this time, the current working state of the screen is maintained, that is, in the scenario where power is required, the screen is kept in the off state, and in the scenario where the screen is already powered on and displayed, the screen is kept in the powered on state. Conversely, if it is determined that the power supply voltage fluctuates to a value greater than or equal to the preset threshold value, the preset screen-on condition is not met but an abnormal startup can be performed. At this time, the screen is started, including turning on the screen in the scenario where power is required and keeping the screen on in the scenario where the screen is already powered on and displayed. At the same time, an abnormal prompt is displayed, and the serial port log information under the abnormal state of the screen is recorded.

[0043] The processing method of this application can support the screen to light up when the screen is in an abnormal state, provide abnormal prompts, and at the same time, record serial port log information in combination with different power supply voltage states, which is more targeted. By integrating abnormal reminders with abnormal information records, users can gain intuitive perception, avoid the misperception of screen failures, reduce the fault reporting rate, improve maintenance efficiency, and comprehensively enhance the experience of all types of people around screen products while reducing costs.

[0044] The screen abnormality handling method of this embodiment monitors whether the power supply voltage meets the preset screen-on conditions. If the power supply voltage does not meet the preset screen-on conditions, the screen is determined to be abnormal and the power supply voltage is determined to meet the abnormal startup conditions. If the power supply voltage meets the abnormal startup conditions, the screen is powered on and an abnormality prompt is displayed. The serial port log information during the screen abnormality is recorded. In this way, a prompt is displayed when the screen is abnormal, which improves the user experience. At the same time, the recorded abnormality information can be used to analyze the cause of the fault, thereby improving maintenance efficiency.

[0045] Second embodiment

[0046] Figure 3 This is a structural diagram of an electronic device provided by the second embodiment of the present invention. Figure 3 The electronic device shown is only an example and should not limit the functions and applicable scope of the embodiments of the present disclosure. Figure 3 As shown, the present application also provides an electronic device 600 including a processing unit 601, which can execute the method of the embodiment of the present disclosure according to a program stored in a read-only memory (ROM) 602 or a program loaded from a storage part 608 into a random access memory (RAM) 603. The processor 601 may include, for example, a general-purpose microprocessor (such as a CPU), an instruction processor and / or a related chipset and / or a special-purpose microprocessor (such as an application-specific integrated circuit (ASIC)), etc. The processor 601 may also include onboard memory for caching purposes. The processor 601 may include a single processing unit or multiple processing units for executing different actions of the method flow according to the embodiment of the present disclosure.

[0047] Various programs and data required for the operation of the electronic device 600 are stored in RAM 603. The processor 601, ROM 602, and RAM 603 are connected to each other via a bus 604. The processor 601 performs various operations of the method flow according to the embodiment of the present disclosure by executing the programs in ROM 602 and / or RAM 603. It should be noted that the above-mentioned programs can also be stored in one or more memories other than ROM 602 and RAM 603. The processor 601 can also perform various operations of the method flow according to the embodiment of the present disclosure by executing the programs stored in one or more memories.

[0048] In this embodiment, the processor 601 can monitor whether the power supply voltage meets the preset screen-on conditions by executing programs stored in one or more memories. If the power supply voltage does not meet the preset screen-on conditions, the screen is determined to be abnormal and whether the power supply voltage meets the abnormal startup conditions. If the power supply voltage meets the abnormal startup conditions, the screen is started and an abnormal prompt is displayed. The serial port log information when the screen is in the abnormal state is recorded. In this way, a prompt can be displayed when the screen is abnormal, which improves the user experience. At the same time, the fault cause can be analyzed based on the recorded abnormal information to improve maintenance efficiency.

[0049] According to an embodiment of the present disclosure, the electronic device 600 may further include an input / output (I / O) interface 605, which is also connected to the bus 604. The electronic device 600 may further include one or more of the following components connected to the I / O interface 605: an input portion 606 including a keyboard, a mouse, etc.; an output portion 607 including devices such as a cathode ray tube (CRT), a liquid crystal display (LCD), and a speaker; a storage portion 608 including a hard disk; and a communication portion 609 including a network interface card such as a LAN card or a modem. The communication portion 609 performs communication processing via a network such as the Internet. In addition, a drive, removable media such as a magnetic disk, an optical disk, a magneto-optical disk, or a semiconductor memory may also be connected to the I / O interface 605 as needed, so that computer programs read therefrom can be installed into the storage portion 608 as needed.

[0050] The method flow according to the embodiment of the present disclosure can be implemented as a computer software program. For example, the embodiment of the present disclosure includes a computer program product. It includes a computer program carried on a computer readable storage medium, and the computer program includes a computer program for executing Figure 1 In such an embodiment, the computer program can be downloaded and installed from a network via the communication section 609 and / or installed from a removable medium. When the computer program is executed by the processor 601, the above-mentioned functions defined in the system of the embodiment of the present disclosure are performed. According to the embodiment of the present disclosure, the systems, devices, means, modules, units, etc. described above can be implemented by computer program modules.

[0051] Embodiments of the present application also provide a computer-readable storage medium, which may be included in the device / apparatus / system described in the above embodiments, or may exist independently and not be incorporated into the device / apparatus / system. The computer-readable storage medium carries one or more programs, which, when executed, implement the method according to the embodiments of the present disclosure.

[0052] The specific process of executing the above method steps in this embodiment is detailed in Figure 1 and Figure 2 The relevant description will not be repeated here.

[0053] The above embodiments are merely illustrative of the principles and effects of this application and are not intended to limit this application. Anyone skilled in the art may modify or alter the above embodiments without departing from the spirit and scope of this application. Therefore, all equivalent modifications or alterations made by one of ordinary skill in the art without departing from the spirit and technical concepts disclosed in this application shall be covered by the claims of this application.

Claims

1. A method for processing screen abnormalities, applied to electronic equipment, characterized in that: The steps include: Monitor whether the power supply voltage meets the preset screen lighting conditions; The monitoring of whether the power supply voltage meets the preset screen-on condition includes the following steps: Monitoring whether the power supply voltage is continuously lower than a preset threshold or fluctuates within a preset interval, where the upper limit of the preset interval is greater than the preset threshold; the preset threshold is the minimum voltage required to turn on the screen; the preset interval is a voltage interval with an upper limit greater than the preset threshold, and when the power supply voltage fluctuates within this interval, the screen is in a critical state between turning on and off; If the power supply voltage is continuously lower than the preset threshold or fluctuates within the preset range, it is determined that the power supply voltage does not meet the preset screen-on condition; If the power supply voltage does not meet the preset screen-on condition, it is determined that the screen is abnormal, and whether the power supply voltage meets the abnormal start-up condition is determined; The determining whether the power supply voltage satisfies the abnormal startup condition comprises the following steps: If the power supply voltage fluctuates within a preset range, and when the power supply voltage fluctuates to a value greater than or equal to the preset threshold, it is determined that the power supply voltage meets the abnormal startup condition; If the power supply voltage meets the abnormal startup condition, the screen starts and displays an abnormal prompt; Record serial port log information when the screen is in abnormal state.

2. The method for processing screen abnormality according to claim 1, wherein: After monitoring whether the power supply voltage meets the preset screen-on condition, the following steps are also included: If the power supply voltage is continuously lower than the preset threshold, the step of recording the serial port log information under the abnormal screen state is performed.

3. The method for processing screen abnormality according to claim 1, wherein: After determining whether the power supply voltage meets the abnormal startup condition, the following steps are also included: If the power supply voltage does not meet the abnormal startup condition, the step of recording the serial port log information under the abnormal state of the screen is performed.

4. The method for processing screen abnormality according to claim 1, wherein: The display of abnormal prompts includes the following steps: Displaying a status prompt of the power supply voltage; and / or, Displays a reminder that the screen is about to close.

5. The method for processing screen abnormality according to claim 4, wherein: After the abnormal prompt is displayed, the following steps are also included: Close the screen.

6. The method for processing screen abnormality according to claim 1, wherein: After recording the serial port log information when the screen is in an abnormal state, the following steps are also included: Receive a voice command to upload the serial port log information; In response to the voice command, the serial port log information is sent to a designated object.

7. An electronic device, characterized in that: include: at least one processor; as well as At least one memory, the at least one memory being coupled to the at least one processor and storing instructions for execution by the at least one processor, the instructions, when executed by the at least one processor, causing the electronic device to perform the steps of the method for processing screen abnormalities according to any one of claims 1 to 6.

8. A readable storage medium, characterized in that: The readable storage medium stores computer program instructions; when the computer program instructions are executed by a processor, the steps of the method for processing screen abnormalities according to any one of claims 1 to 6 are implemented.

Citation Information

Patent Citations

  • Terminal display method and device and terminal

    CN107273274A