CN111124099A - State control method, device and storage medium - Google Patents

State control method, device and storage medium Download PDF

Info

Publication number
CN111124099A
CN111124099A CN201811190736.4A CN201811190736A CN111124099A CN 111124099 A CN111124099 A CN 111124099A CN 201811190736 A CN201811190736 A CN 201811190736A CN 111124099 A CN111124099 A CN 111124099A
Authority
CN
China
Prior art keywords
displayed
information
sending
display module
processor
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201811190736.4A
Other languages
Chinese (zh)
Inventor
朱少雄
李国盛
卞青芳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201811190736.4A priority Critical patent/CN111124099A/en
Publication of CN111124099A publication Critical patent/CN111124099A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • G06F1/325Power saving in peripheral device
    • G06F1/3265Power saving in display device
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/1407General aspects irrespective of display type, e.g. determination of decimal point position, display with fixed or driving decimal point, suppression of non-significant zeros

Abstract

The present disclosure relates to a state control method, apparatus and storage medium, the method is applied to an electronic device in a video mode; the method comprises the following steps: sending information to be displayed to a display module at least once in an AOD (active optical display) mode, wherein the display module is used for controlling a screen of the electronic equipment to display the information to be displayed; and when the frequency of sending the information to be displayed exceeds a preset frequency and/or the total time of sending the information to be displayed for at least one time exceeds a preset time, stopping sending the information to be displayed to the display module and controlling a processor of the electronic equipment to be in a dormant state. The power consumption of the electronic equipment can be reduced in the AOD mode.

Description

State control method, device and storage medium
Technical Field
The present disclosure relates to the field of electronic devices, and in particular, to a method and an apparatus for controlling a state and a storage medium.
Background
An Always On Display (AOD) mode is a Display mode in which specific content is displayed in a partial area of a screen without lighting up the entire screen.
In the related art, for a Video Mode (Video Mode) display device, when implementing AOD, a processor in an electronic device needs to continuously send content to be displayed to a display module at a certain frequency, so that the display module controls a screen to display the content sent by the processor.
Disclosure of Invention
To overcome the problems in the related art, the present disclosure provides a state control method, apparatus, and storage medium to reduce power consumption of an electronic device in an AOD mode.
According to a first aspect of the embodiments of the present disclosure, there is provided a state control method applied to an electronic device in a video mode; the method comprises the following steps:
sending information to be displayed to a display module at least once in an AOD (active optical display) mode, wherein the display module is used for controlling a screen of the electronic equipment to display the information to be displayed;
and when the frequency of sending the information to be displayed exceeds a preset frequency and/or the total time of sending the information to be displayed for at least one time exceeds a preset time, stopping sending the information to be displayed to the display module and controlling a processor of the electronic equipment to be in a dormant state.
Optionally, the at least one time of sending the information to be displayed to the display module includes:
and sending the information to be displayed to a line cache in the display module at least once.
Optionally, before the at least one time of sending the information to be displayed to the display module, the method further includes:
adjusting the color format corresponding to the information to be displayed to obtain the adjusted information to be displayed;
at least once send the information of treating to show to the display module assembly, include:
and sending the adjusted information to be displayed to the display module at least once.
Optionally, before the at least one time of sending the information to be displayed to the display module, the method further includes:
compressing the information to be displayed to obtain compressed information to be displayed;
at least once send the information of treating to show to the display module assembly, include:
and sending the compressed information to be displayed to the display module at least once.
Optionally, after the processor controlling the electronic device is in a sleep state, the method further includes:
and restarting the processor when the processor is in a preset time after the processor is in a dormant state or a trigger event is received so as to send new information to be displayed to the display module.
According to a second aspect of the embodiments of the present disclosure, there is provided a state control device including:
the display device comprises a sending module, a display module and a display module, wherein the sending module is configured to send information to be displayed to the display module at least once in an AOD (active optical display) mode, and the display module is used for controlling a screen of the electronic equipment to display the information to be displayed;
and the processing module is configured to stop sending the information to be displayed to the display module and control a processor of the electronic equipment to be in a dormant state when the frequency of sending the information to be displayed exceeds a preset frequency and/or the total time of sending the information to be displayed for at least one time exceeds a preset time.
Optionally, the sending module includes:
and the first sending submodule is configured to send the information to be displayed to a line cache in the display module at least once.
Optionally, the apparatus further comprises:
the adjusting module is configured to adjust a color format corresponding to the information to be displayed to obtain the adjusted information to be displayed;
the sending module comprises:
and the second sending submodule is configured to send the adjusted information to be displayed to the display module at least once.
Optionally, the apparatus further comprises:
the compression module is configured to compress the information to be displayed and obtain the compressed information to be displayed;
the sending module comprises:
and the third sending submodule is configured to send the compressed information to be displayed to the display module at least once.
Optionally, the apparatus further comprises:
and the starting module is configured to restart the processor when the processor is in a preset time after the processor is in a dormant state or a triggering event is received, so as to send new information to be displayed to the display module.
According to a third aspect of the embodiments of the present disclosure, there is provided an electronic apparatus including:
a processor;
a memory configured to store processor-executable instructions;
wherein the processor is configured to:
sending information to be displayed to a display module at least once in an AOD (active optical display) mode, wherein the display module is used for controlling a screen of the electronic equipment to display the information to be displayed;
and when the frequency of sending the information to be displayed exceeds a preset frequency and/or the total time of sending the information to be displayed for at least one time exceeds a preset time, stopping sending the information to be displayed to the display module and controlling a processor of the electronic equipment to be in a dormant state.
According to a fourth aspect of embodiments of the present disclosure, there is provided a computer readable storage medium, on which a computer program is stored, which program, when executed by a processor, performs the steps of the method according to the first aspect.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
the method comprises the steps that information to be displayed is sent to a display module at least once in an information screen display AOD mode, the display module is used for controlling a screen of the electronic equipment to display the information to be displayed, then the information to be displayed is stopped being sent to the display module when the number of times of sending the information to be displayed exceeds a preset number of times and/or the total time of sending the information to be displayed at least once exceeds a preset time, and a processor of the electronic equipment is controlled to be in a dormant state. Because the number of times of sending the information to be displayed to the display module by the processor exceeds the preset number of times and/or the total time of sending the information to be displayed totally exceeds the preset time, the processor stops continuously sending the information to be displayed to the display module and controls the processor of the electronic equipment to be in a dormant state, the phenomenon that the processor needs to continuously send the information to be displayed to the display module in the related art is avoided, and the power consumption of the electronic equipment is reduced in the AOD mode.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
FIG. 1 is a flow chart illustrating a state control method according to an exemplary embodiment;
FIG. 2 is a schematic diagram of AOD mode setting;
FIG. 3 is a block diagram illustrating a state control device in accordance with an exemplary embodiment;
FIG. 4 is a block diagram illustrating a state control device according to another exemplary embodiment;
FIG. 5 is a block diagram illustrating a state control device according to yet another exemplary embodiment;
FIG. 6 is a block diagram illustrating a state control device according to yet another exemplary embodiment;
FIG. 7 is a block diagram illustrating a state control device according to yet another exemplary embodiment;
FIG. 8 is a block diagram illustrating an entity of an electronic device in accordance with an exemplary embodiment;
FIG. 9 is a block diagram illustrating a state control device in accordance with an exemplary embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the invention, as detailed in the appended claims.
In the AOD mode, the electronic device generally displays specific contents, such as a display time or a notification icon, in a partial area of the screen without lighting the whole screen, and the display time is updated every predetermined time period (for example, one minute), and the displayed notification icon is updated only when a notification message is received. However, in the related art, for an electronic device in Video Mode (Video Mode), even if the content to be displayed does not change when implementing AOD, the processor in the electronic device needs to continuously send the content to be displayed to the display module at a certain frequency, so that the display module controls the on-screen display to display the content sent by the processor. Therefore, the processor needs to send information to the display module all the time, so that the power consumption of the electronic equipment in the AOD mode is high.
The state control method provided by the embodiment of the disclosure aims to solve the technical problem that the power consumption of the Video Mode electronic device is high in the AOD Mode, and specific implementation manners are shown in the following embodiments.
The following describes a state control method provided by the embodiments of the present disclosure in detail by specific embodiments with reference to the accompanying drawings.
The state control method provided by each embodiment of the present disclosure is executed by an electronic device, which is an electronic device with a video mode of a display module, and the electronic device may include, for example, a smart phone, a tablet computer, an electronic book reader, a personal portable computer, or the like.
Fig. 1 is a flowchart illustrating a state control method according to an exemplary embodiment, and the state control method according to the present embodiment is used in an electronic device in a video mode, as shown in fig. 1. The state control method comprises the following steps:
in step S11, in the message screen display AOD mode, information to be displayed is displayed at least once to a display module, where the display module is used to control a screen of the electronic device to display the information to be displayed.
In the embodiment of the present disclosure, the display module is composed of a display screen and an IC (Integrated Circuit) chip, where the IC chip is connected to a processor of the electronic device and is configured to control the screen to display an image according to an instruction sent by the processor. Optionally, the Display Module is a Liquid Crystal Display Module (lcd).
Fig. 2 is a schematic diagram of AOD mode setting, as shown in fig. 2, a user may send a setting instruction through a display Interface of an electronic device, and after receiving the setting instruction, a processor of the electronic device sends the setting instruction to an IC chip of a display module through an MIPI (Mobile industry processor Interface) to set the electronic device to the AOD mode, where the user may send the setting instruction to the electronic device by clicking a certain control in the display Interface, for example, "set to the AOD mode", or may send the setting instruction to the electronic device by clicking a certain physical key, of course, the user may also send the setting instruction through other manners, for example, by drawing a preset pattern, and the present disclosure does not limit the sending manner of the setting instruction.
After the electronic equipment is set to be in the AOD mode, a processor in the electronic equipment sends information to be displayed to an IC chip of the display module through the MIPI, wherein the processor can send the information to be displayed to the IC chip of the display module for multiple times at a certain frequency. For example: and sending information to be displayed once every 16.6ms to the IC chip of the display module, and the like. Because the information to be displayed sent to the IC chip of the display module by the processor at intervals of the preset time is the same content, the IC chip of the display module can receive correct information to be displayed at a proper time, and therefore the accuracy of the information to be displayed received by the IC chip of the display module can be ensured.
After the processor sends the information to be displayed to the IC chip of the display module, the IC chip of the display module controls the screen to display the information to be displayed sent by the processor, such as displaying time or notification icons in the screen.
In addition, in a possible implementation manner, the sending of the information to be displayed to the display module at least once includes sending the information to be displayed to a line cache in the display module at least once.
Specifically, since there is no Random Access Memory (RAM) in the IC chip of the display module of the Video Mode electronic device, in order to store the information to be displayed sent by the processor, a Line Buffer (Line Buffer) Mode is used in the embodiment of the present disclosure for storage. Wherein, the Line Buffer (Line Buffer) is used for storing the content which is sent by the processor and needs to be displayed when in the non-AOD mode.
The processor sends the information to be displayed to the line cache in the display module at least once so as to store the information to be displayed in the line cache, so that the information sent by the processor can be temporarily stored.
Further, since the Line Buffer has a small storage space, in order to store the information to be displayed completely in the Line Buffer, the processor usually needs to process the information to be displayed before sending the information to be displayed to the display module.
In a possible implementation manner, the processor may adjust a color format corresponding to the information to be displayed, and obtain the adjusted information to be displayed. Specifically, the processor may adjust the color format of the information to be displayed from the RGB888 format to the 1bpp 8color (1bpp 8color) format, and send the information to be displayed after the color format adjustment to the IC chip of the display module.
In addition, the processor can also adjust the color format corresponding to the information to be displayed into other formats, as long as the information to be displayed can occupy a small space and can be completely stored in the line cache.
Further, in order to further reduce the size of the data transmitted by the processor, the processor may compress the information to be displayed before sending the information to be displayed to the display module, so as to obtain the compressed information to be displayed. For example, the processor may employ a Run-Length Encoding (RLE) algorithm to compress the information to be displayed, so that the processor sends the compressed information to be displayed to the IC chip of the display module. After receiving the compressed information to be displayed, the IC chip of the display module can firstly conduct decompression operation, so that the decompressed information to be displayed can be obtained, and the decompressed information to be displayed is displayed.
Because the processor compresses the information to be displayed and then sends the information to the display module, the size of data transmitted by the processor can be reduced, and the information to be displayed can be completely stored in a line buffer (LineBuffer).
In addition, the processor may also perform compression processing on the information to be displayed by using other compression algorithms, and the embodiment of the present disclosure is not limited herein with respect to a specific compression manner of the information to be displayed.
Further, on the basis of the foregoing embodiments, for the display module, after receiving the information to be displayed, the IC chip of the display module stores the information to be displayed in the Line Buffer, and when the electronic device is in the AOD mode, the IC chip of the display module reads and decompresses the information to be displayed in the Line Buffer, and controls the screen to display the decompressed information to be displayed in the 8color format. In addition, the IC chip of the display module controls the screen to periodically refresh and display the information to be displayed.
In step S12, when the number of times of sending the information to be displayed exceeds the preset number of times and/or the total duration of at least one time of sending the information to be displayed exceeds the preset duration, the sending of the information to be displayed to the display module is stopped, and the processor of the electronic device is controlled to be in the sleep state.
In this embodiment, when determining that the number of times of sending the information to be displayed to the display module exceeds the preset number of times, the processor of the electronic device stops sending the information to be displayed to the display module and controls the processor of the electronic device to be in a dormant state; or when the processor of the electronic equipment determines that the total time for sending the information to be displayed at least once exceeds the preset time, the processor of the electronic equipment stops sending the information to be displayed to the display module and controls the processor of the electronic equipment to be in a dormant state; or the processor of the electronic equipment determines that the number of times of sending the information to be displayed exceeds the preset number of times and the total time of sending the information to be displayed for at least one time exceeds the preset time, the processor stops sending the information to be displayed to the display module, and the processor of the electronic equipment is controlled to be in a dormant state.
The preset times and the preset duration may be selected according to actual conditions or experience, for example, the preset times may be set to 5 times, the preset duration may be set to 83ms, and the like.
Because the display time is updated every predetermined time (for example, one minute) when the information to be displayed is time information, and the information to be displayed is icon information, the information to be displayed is generally updated only when the notification message is received, so that the information to be displayed for a preset number of times and/or the information to be displayed for a preset time is sent to the display module by the processor, so as to ensure that the information to be displayed is correctly received by the IC chip of the display module, the information to be displayed is stopped being sent to the display module, and meanwhile, the processor of the electronic device is controlled to be in a dormant state, thereby greatly reducing the power consumption of the electronic device.
Further, when the processor of the electronic device is controlled to be in a preset time after being in a dormant state or a trigger event is received, the processor of the electronic device is restarted, so that the processor sends new information to be displayed to the display module again.
Specifically, if the information to be displayed is time information, the preset time may be set to one minute, and the processor of the electronic device is restarted to be in a working state one minute after the processor of the electronic device is in a sleep state, and starts to send new information to be displayed to the IC chip of the display module.
For example: if the electronic equipment is in the AOD mode, if the information to be displayed is 13:39, a processor of the electronic equipment sends the information to be displayed 13:39 to an IC chip of the display module at least once, the IC chip of the display module controls a screen to display 13:39, and in addition, if the number of sending 13:39 exceeds a preset number and/or the total length of sending 13:39 exceeds a preset length, the processor stops sending 13:39 information to the display module and is set to be in the sleep mode. After one minute, the processor will be awakened again to be in an operating state and start sending new information to be displayed to the display module, such as 13: 40.
If the information to be displayed is the notification icon, receiving the trigger event may include receiving a new message, at which time the processor of the electronic device is restarted to be in a working state and starts to send new information to be displayed to the IC chip of the display module.
It should be noted that, when the preset time is reached or a trigger event is received, the new information to be displayed sent to the display module by the processor may be the same as or different from the information to be displayed sent before.
Because when the preset time is up or the trigger event is received, the processor is restarted to send new information to be displayed to the display module, therefore, the information to be displayed can be updated in time, and the accuracy of the content displayed in the screen is ensured.
In the state control method in this embodiment, in the information screen display AOD mode, the to-be-displayed information is sent to the display module at least once, the display module is configured to control a screen of the electronic device to display the to-be-displayed information, and then when the number of times of sending the to-be-displayed information exceeds a preset number of times and/or the total duration of sending the to-be-displayed information at least once exceeds a preset duration, the sending of the to-be-displayed information to the display module is stopped, and the processor of the electronic device is controlled to be in a sleep state. Because the number of times of sending the information to be displayed to the display module by the processor exceeds the preset number of times and/or the total time of sending the information to be displayed totally exceeds the preset time, the processor stops continuously sending the information to be displayed to the display module and controls the processor of the electronic equipment to be in a dormant state, the phenomenon that the processor needs to continuously send the information to be displayed to the display module in the related art is avoided, and the power consumption of the electronic equipment is reduced in the AOD mode.
The implementation of the state control method has been described above, and the process can be implemented by a state control device, whose internal functions and structure will be described below.
FIG. 3 is a block diagram illustrating a state control device according to an exemplary embodiment. As shown in fig. 3, the state control device includes a transmission module 11 and a processing module 12.
The sending module 11 is configured to send information to be displayed to a display module at least once in an information screen display AOD mode, where the display module is used to control a screen of the electronic device to display the information to be displayed;
the processing module 12 is configured to stop sending the information to be displayed to the display module and control a processor of the electronic device to be in a sleep state when the number of times of sending the information to be displayed exceeds a preset number of times and/or the total duration of sending the information to be displayed for at least one time exceeds a preset duration.
In the state control apparatus in this embodiment, the sending module 11 sends information to be displayed to the display module at least once in the information screen display AOD mode, the display module is configured to control a screen of the electronic device to display the information to be displayed, and then the processing module 12 stops sending the information to be displayed to the display module when the number of times of sending the information to be displayed exceeds a preset number of times and/or the total duration of sending the information to be displayed at least once exceeds a preset duration, and controls a processor of the electronic device to be in a sleep state. Because the number of times of sending the information to be displayed to the display module by the processor exceeds the preset number of times and/or the total time of sending the information to be displayed totally exceeds the preset time, the processor stops continuously sending the information to be displayed to the display module and controls the processor of the electronic equipment to be in a dormant state, the phenomenon that the processor needs to continuously send the information to be displayed to the display module in the related art is avoided, and the power consumption of the electronic equipment is reduced in the AOD mode.
As shown in fig. 4, fig. 4 is a block diagram of a state control device according to another exemplary embodiment, and on the basis of the embodiment shown in fig. 3, the sending module 11 includes: a first transmission submodule 111.
The first sending submodule 111 is configured to send the information to be displayed to a line cache in the display module at least once.
Wherein, as shown in fig. 5, fig. 5 is a block diagram of a state control apparatus according to still another exemplary embodiment, and on the basis of the embodiment shown in fig. 3, the apparatus further includes: and an adjustment module 13.
The adjusting module 13 is configured to adjust a color format corresponding to the information to be displayed, so as to obtain the adjusted information to be displayed;
the sending module 11 includes:
and a second sending submodule 112 configured to send the adjusted information to be displayed to the display module at least once.
As shown in fig. 6, fig. 6 is a block diagram of a state control apparatus according to still another exemplary embodiment, and on the basis of the embodiment shown in fig. 3, the apparatus further includes: a compression module 14.
The compression module 14 is configured to compress the information to be displayed, and obtain compressed information to be displayed;
the sending module 11 includes:
the third sending submodule 113 is configured to send the compressed information to be displayed to the display module at least once.
As shown in fig. 7, fig. 7 is a block diagram of a state control apparatus according to still another exemplary embodiment, and on the basis of the embodiment shown in fig. 3, the apparatus further includes: the module 15 is started.
The starting module 15 is configured to restart the processor after the processor is in the sleep state for a preset time or when a trigger event is received, so as to send new information to be displayed to the display module.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
Having described the internal functional modules and structural schematic of an electronic device, fig. 8 is a block diagram of an entity of an electronic device shown according to an exemplary embodiment, and referring to fig. 8, the electronic device may be embodied as:
a processor;
a memory configured to store processor-executable instructions;
wherein the processor is configured to:
sending information to be displayed to a display module at least once in an AOD (active optical display) mode, wherein the display module is used for controlling a screen of the electronic equipment to display the information to be displayed;
and when the frequency of sending the information to be displayed exceeds a preset frequency and/or the total time of sending the information to be displayed for at least one time exceeds a preset time, stopping sending the information to be displayed to the display module and controlling a processor of the electronic equipment to be in a dormant state.
FIG. 9 is a block diagram illustrating a state control device in accordance with an exemplary embodiment. For example, the apparatus 800 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
Referring to fig. 9, the apparatus 800 may include one or more of the following components: processing component 802, memory 804, power component 806, multimedia component 808, audio component 810, input/output (I/O) interface 812, sensor component 814, and communication component 816.
The processing component 802 generally controls overall operation of the device 800, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing components 802 may include one or more processors 820 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 802 can include one or more modules that facilitate interaction between the processing component 802 and other components. For example, the processing component 802 can include a multimedia module to facilitate interaction between the multimedia component 808 and the processing component 802.
The memory 804 is configured to store various types of data to support operation at the device 800. Examples of such data include instructions for any application or method operating on device 800, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 804 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
Power components 806 provide power to the various components of device 800. The power components 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the apparatus 800.
The multimedia component 808 includes a screen that provides an output interface between the device 800 and the user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front facing camera and/or a rear facing camera. The front-facing camera and/or the rear-facing camera may receive external multimedia data when the device 800 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 810 is configured to output and/or input audio signals. For example, the audio component 810 includes a Microphone (MIC) configured to receive external audio signals when the apparatus 800 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 804 or transmitted via the communication component 816. In some embodiments, audio component 810 also includes a speaker for outputting audio signals.
The I/O interface 812 provides an interface between the processing component 802 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 814 includes one or more sensors for providing various aspects of state assessment for the device 800. For example, sensor assembly 814 may detect an on/off status of device 800, the relative positioning of components, such as a display and keypad of apparatus 800, the change in position of apparatus 800 or a component of apparatus 800, the presence or absence of user contact with apparatus 800, the orientation or acceleration/deceleration of apparatus 800, and the change in temperature of apparatus 800. Sensor assembly 814 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 814 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 816 is configured to facilitate communications between the apparatus 800 and other devices in a wired or wireless manner. The device 800 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, communications component 816 further includes a Near Field Communications (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 800 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer-readable storage medium comprising instructions, such as the memory 804 comprising instructions, executable by the processor 820 of the device 800 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
A non-transitory computer-readable storage medium having stored thereon a computer program which, when executed by a processor of an electronic device, enables the electronic device to perform a state control method, comprising:
sending information to be displayed to a display module at least once in an AOD (active optical display) mode, wherein the display module is used for controlling a screen of the electronic equipment to display the information to be displayed;
and when the frequency of sending the information to be displayed exceeds a preset frequency and/or the total time of sending the information to be displayed for at least one time exceeds a preset time, stopping sending the information to be displayed to the display module and controlling a processor of the electronic equipment to be in a dormant state.
Wherein, at least once send the information of treating to show to the display module assembly, include:
and sending the information to be displayed to a line cache in the display module at least once.
Before the at least one time of sending the information to be displayed to the display module, the method further comprises the following steps:
adjusting the color format corresponding to the information to be displayed to obtain the adjusted information to be displayed;
at least once send the information of treating to show to the display module assembly, include:
and sending the adjusted information to be displayed to the display module at least once.
Before the at least one time of sending the information to be displayed to the display module, the method further comprises the following steps:
compressing the information to be displayed to obtain compressed information to be displayed;
at least once send the information of treating to show to the display module assembly, include:
and sending the compressed information to be displayed to the display module at least once.
Wherein after the processor controlling the electronic device is in a sleep state, the method further comprises:
and restarting the processor when the processor is in a preset time after the processor is in a dormant state or a trigger event is received so as to send new information to be displayed to the display module.
Other embodiments of the invention will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the invention and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the invention being indicated by the following claims.
It will be understood that the invention is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the invention is limited only by the appended claims.

Claims (12)

1. A state control method is applied to an electronic device in a video mode; the method comprises the following steps:
sending information to be displayed to a display module at least once in an AOD (active optical display) mode, wherein the display module is used for controlling a screen of the electronic equipment to display the information to be displayed;
and when the frequency of sending the information to be displayed exceeds a preset frequency and/or the total time of sending the information to be displayed for at least one time exceeds a preset time, stopping sending the information to be displayed to the display module and controlling a processor of the electronic equipment to be in a dormant state.
2. The method of claim 1, wherein sending the information to be displayed to the display module at least once comprises:
and sending the information to be displayed to a line cache in the display module at least once.
3. The method according to claim 1 or 2, wherein before sending the information to be displayed to the display module at least once, the method further comprises:
adjusting the color format corresponding to the information to be displayed to obtain the adjusted information to be displayed;
at least once send the information of treating to show to the display module assembly, include:
and sending the adjusted information to be displayed to the display module at least once.
4. The method according to claim 1 or 2, wherein before sending the information to be displayed to the display module at least once, the method further comprises:
compressing the information to be displayed to obtain compressed information to be displayed;
at least once send the information of treating to show to the display module assembly, include:
and sending the compressed information to be displayed to the display module at least once.
5. The method of claim 1 or 2, wherein after the processor controlling the electronic device is in a sleep state, the method further comprises:
and restarting the processor when the processor is in a preset time after the processor is in a dormant state or a trigger event is received so as to send new information to be displayed to the display module.
6. A state control device, characterized by comprising:
the display device comprises a sending module, a display module and a display module, wherein the sending module is configured to send information to be displayed to the display module at least once in an AOD (active optical display) mode of a message screen, and the display module is used for controlling a screen of the electronic equipment to display the information to be displayed;
and the processing module is configured to stop sending the information to be displayed to the display module and control a processor of the electronic equipment to be in a dormant state when the frequency of sending the information to be displayed exceeds a preset frequency and/or the total time of sending the information to be displayed for at least one time exceeds a preset time.
7. The apparatus of claim 6, wherein the sending module comprises:
and the first sending submodule is configured to send the information to be displayed to a line cache in the display module at least once.
8. The apparatus of claim 6 or 7, further comprising:
the adjusting module is configured to adjust a color format corresponding to the information to be displayed to obtain the adjusted information to be displayed;
the sending module comprises:
and the second sending submodule is configured to send the adjusted information to be displayed to the display module at least once.
9. The apparatus of claim 6 or 7, further comprising:
the compression module is configured to compress the information to be displayed and obtain the compressed information to be displayed;
the sending module comprises:
and the third sending submodule is configured to send the compressed information to be displayed to the display module at least once.
10. The apparatus of claim 6 or 7, further comprising:
and the starting module is configured to restart the processor when the processor is in a preset time after the processor is in a dormant state or a triggering event is received, so as to send new information to be displayed to the display module.
11. An electronic device, comprising:
a processor;
a memory configured to store processor-executable instructions;
wherein the processor is configured to:
sending information to be displayed to a display module at least once in an AOD (active optical display) mode, wherein the display module is used for controlling a screen of the electronic equipment to display the information to be displayed;
and when the frequency of sending the information to be displayed exceeds a preset frequency and/or the total time of sending the information to be displayed for at least one time exceeds a preset time, stopping sending the information to be displayed to the display module and controlling a processor of the electronic equipment to be in a dormant state.
12. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 5.
CN201811190736.4A 2018-10-12 2018-10-12 State control method, device and storage medium Pending CN111124099A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811190736.4A CN111124099A (en) 2018-10-12 2018-10-12 State control method, device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811190736.4A CN111124099A (en) 2018-10-12 2018-10-12 State control method, device and storage medium

Publications (1)

Publication Number Publication Date
CN111124099A true CN111124099A (en) 2020-05-08

Family

ID=70483927

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811190736.4A Pending CN111124099A (en) 2018-10-12 2018-10-12 State control method, device and storage medium

Country Status (1)

Country Link
CN (1) CN111124099A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112331146A (en) * 2020-11-18 2021-02-05 云谷(固安)科技有限公司 Display panel driving chip, control method and display panel

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1929012A (en) * 2005-09-06 2007-03-14 联发科技股份有限公司 Modulation methods and systems
CN101257590A (en) * 2008-03-26 2008-09-03 华为技术有限公司 Coding, decoding method and device, display system
CN104754272A (en) * 2013-12-25 2015-07-01 深圳艾科创新微电子有限公司 VGA (Video Graphics Array) full-resolution locked display system and method
CN106201509A (en) * 2016-07-08 2016-12-07 南京贝湾教育科技有限公司 A kind of method for information display, device and mobile terminal
CN106951142A (en) * 2017-03-20 2017-07-14 上海与德科技有限公司 Breath screen shows method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1929012A (en) * 2005-09-06 2007-03-14 联发科技股份有限公司 Modulation methods and systems
CN101257590A (en) * 2008-03-26 2008-09-03 华为技术有限公司 Coding, decoding method and device, display system
CN104754272A (en) * 2013-12-25 2015-07-01 深圳艾科创新微电子有限公司 VGA (Video Graphics Array) full-resolution locked display system and method
CN106201509A (en) * 2016-07-08 2016-12-07 南京贝湾教育科技有限公司 A kind of method for information display, device and mobile terminal
CN106951142A (en) * 2017-03-20 2017-07-14 上海与德科技有限公司 Breath screen shows method and device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112331146A (en) * 2020-11-18 2021-02-05 云谷(固安)科技有限公司 Display panel driving chip, control method and display panel

Similar Documents

Publication Publication Date Title
EP3173923A1 (en) Method and device for image display
CN107491280B (en) Information updating method and device
CN108040360B (en) Method and device for controlling screen display
CN107608561B (en) Touch screen control method and device
CN107438811B (en) Information screen display method and device
US10234924B2 (en) Method and apparatus for displaying time on mobile device
CN108200279B (en) Backlight adjusting method, device and equipment
CN109218510B (en) Information screen display method and device and computer readable storage medium
CN111259289A (en) Picture loading method and device, electronic equipment and storage medium
CN112331158B (en) Terminal display adjusting method, device, equipment and storage medium
CN111261081B (en) Screen display method and device
CN105786561B (en) Method and device for calling process
CN111124099A (en) State control method, device and storage medium
CN108874450B (en) Method and device for waking up voice assistant
CN112423092A (en) Video recording method and video recording device
CN108877697B (en) Method and device for displaying image
CN113810675B (en) Image processing method, device, equipment and storage medium
CN114442789A (en) Dark screen control method, device, equipment and storage medium
CN111261035B (en) Screen display method and device
CN112019680A (en) Screen brightness adjusting method and device
CN106910472B (en) Control method and device for adjusting backlight
CN114266690A (en) Image rendering method, device and equipment
CN113127073A (en) Method and device for controlling electronic equipment and intelligent equipment
CN116634532A (en) Terminal power consumption control method, device and storage medium
CN113946398A (en) Display control method and device of terminal and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20200508