WO2022160959A1 - 息屏显示方法、终端设备及芯片 - Google Patents
息屏显示方法、终端设备及芯片 Download PDFInfo
- Publication number
- WO2022160959A1 WO2022160959A1 PCT/CN2021/136540 CN2021136540W WO2022160959A1 WO 2022160959 A1 WO2022160959 A1 WO 2022160959A1 CN 2021136540 W CN2021136540 W CN 2021136540W WO 2022160959 A1 WO2022160959 A1 WO 2022160959A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- screen
- interface
- display
- processor
- information
- 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.)
- Ceased
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W52/00—Power management, e.g. Transmission Power Control [TPC] or power classes
- H04W52/02—Power saving arrangements
- H04W52/0209—Power saving arrangements in terminal devices
- H04W52/0261—Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level
- H04W52/0267—Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level by controlling user interface components
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/26—Power supply means, e.g. regulation thereof
- G06F1/32—Means for saving power
- G06F1/3203—Power management, i.e. event-based initiation of a power-saving mode
- G06F1/3234—Power saving characterised by the action undertaken
- G06F1/3246—Power saving characterised by the action undertaken by software initiated power-off
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/26—Power supply means, e.g. regulation thereof
- G06F1/32—Means for saving power
- G06F1/3203—Power management, i.e. event-based initiation of a power-saving mode
- G06F1/3234—Power saving characterised by the action undertaken
- G06F1/325—Power saving in peripheral device
- G06F1/3265—Power saving in display device
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/26—Power supply means, e.g. regulation thereof
- G06F1/32—Means for saving power
- G06F1/3203—Power management, i.e. event-based initiation of a power-saving mode
- G06F1/3234—Power saving characterised by the action undertaken
- G06F1/3293—Power saving characterised by the action undertaken by switching to a less power-consuming processor, e.g. sub-CPU
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/14—Digital output to display device ; Cooperation and interconnection of the display device with other functional units
- G06F3/147—Digital output to display device ; Cooperation and interconnection of the display device with other functional units using display panels
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G2330/00—Aspects of power supply; Aspects of display protection and defect management
- G09G2330/02—Details of power systems and of start or stop of display operation
- G09G2330/021—Power management, e.g. power saving
- G09G2330/022—Power management, e.g. power saving in absence of operation, e.g. no data being entered during a predetermined time
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G2330/00—Aspects of power supply; Aspects of display protection and defect management
- G09G2330/02—Details of power systems and of start or stop of display operation
- G09G2330/027—Arrangements or methods related to powering off a display
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G2354/00—Aspects of interface with display user
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G2360/00—Aspects of the architecture of display systems
- G09G2360/08—Power processing, i.e. workload management for processors involved in display operations, such as CPUs or GPUs
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Definitions
- the present application relates to the field of display technology, and in particular, to an information screen display method, a terminal device and a chip.
- the screen can still display information such as time, date, personalized U-pattern, and notifications, which is referred to as Always On Display (AOD) for short.
- AOD Always On Display
- the traditional AOD function needs to send the content displayed on the screen to the screen before the application processor sleeps when the screen of the mobile phone is closed.
- the animation playback needs to wake up the application processor and refresh the screen periodically (every minute). Therefore, it is necessary to wake up the application processor every minute for refresh, which causes the application processor to be in a non-sleep state most of the time, which is not conducive to reducing the power consumption of the application processor during the off-screen period.
- Embodiments of the present application provide a method, terminal device, and chip for displaying an information screen.
- a first processor such as a main processor (also known as an application processor)
- the second processor such as The coprocessor can control the screen to play a dynamic pattern, thereby improving the user experience effect, better meeting user requirements, and significantly reducing the power consumption of the first processor.
- an embodiment of the present application provides an information screen display method, which is applied to a terminal device, where the terminal device includes a display screen, a first processor, and a second processor, and the information screen display method includes: responding to On-screen event, the first processor sends the off-screen display control information to the second processor, the off-screen display control information includes off-screen display instructions, and the first processor displays the off-screen display Enter the sleep mode after the control information is sent to the second processor; in response to the screen-off display instruction, the second processor controls the screen-off interface of the display screen, wherein the screen-off interface of the display screen At least one of the interfaces includes a dynamic pattern.
- the second processor can control the display screen to play dynamic patterns, which not only significantly reduces the power consumption of the first processor, but also improves the user experience. can better meet user needs.
- the second processor controlling the screen-on-screen interface of the display screen includes: the second processor switches the screen-on-screen interface to the first screen-on screen interface; in response to switching the screen-on screen interface event, the second processor switches the first display screen interface to the second display screen interface; wherein the display content of at least one of the first display screen interface and the second display screen interface includes: Dynamic pattern.
- the first information screen interface is determined by the second processor according to the first information screen display rule
- the second information screen interface is determined by the second processor according to the second information screen display rule.
- the screen shows that the rule is determined.
- the first on-screen display rule and the second on-screen display rule are carried in the on-screen display control information; or, the first on-screen display rule and the The second information screen display rule is preset in the second processor.
- the first processor is a main processor
- the second processor is a coprocessor
- the first on-screen interface is a black screen interface
- the first on-screen display rule includes controlling the display screen to remain black
- the second on-screen interface includes a first interface and a black screen interface
- the display content of the first interface includes a dynamic pattern
- the second screen-off display rule includes switching to a black screen interface after displaying the first screen for a predetermined time; or, the first screen-off interface and the second screen-off interface
- the screen-on-screen interface includes a first screen and a black screen interface, the display content of the first screen includes a dynamic pattern, and the display rules for the first screen-on display and the display rules for the second screen-on-screen are both included in the display of the first screen. Switch to a black screen interface after a predetermined time.
- the second processor controls the screen to black out in response to the screen-on-screen display instruction, and after receiving the screen-on-screen interface switching event, the second processor controls the screen to play the dynamic pattern within a predetermined time, and after the predetermined time reaches (that is, the predetermined time) time) control the screen to black out.
- the second processor responds to the screen-on-screen display instruction, controls the screen to display and play the dynamic pattern within a predetermined time, and controls the screen to black out after the predetermined time arrives.
- the internal control screen plays dynamic patterns, and controls the screen to black out after a predetermined time.
- the display content of at least one of the first display screen interface and the second display screen interface further includes text information of a text display control that changes over time.
- the first screen-holding interface includes text information
- the first screen-holding display rule includes continuously displaying the text information
- the second screen-holding interface includes a second interface and a third interface
- the display content of the second interface includes text information and dynamic patterns
- the display content of the third interface includes text information
- the second screen display rule includes switching to displaying all the information after displaying the second interface for a predetermined time.
- the first screen-on-screen interface includes a second interface and a black screen interface
- the second interface includes the text information
- the second screen-on-screen display rule includes a predetermined screen when displaying the second screen After time, it switches to a black screen interface
- the second interest screen interface includes a third interface and a black screen interface
- the display content of the third interface includes text information and dynamic patterns or only includes dynamic patterns
- the second interest screen display rules It includes switching to a black screen interface after displaying the third interface for a predetermined time.
- the second processor controls the screen to continuously display text information in response to the screen-on-screen display instruction, and after receiving the screen-on-screen interface switching event, the second processor controls the screen to display text information and play dynamic patterns within a predetermined time, and The control screen only displays text messages after the predetermined time has elapsed.
- the second processor controls the screen to display text information after a predetermined period of time in response to the display-on-screen instruction, and after receiving the screen-on-screen interface switching event, the second processor controls the screen to display text information and play dynamic patterns or dynamic patterns within a predetermined period of time. Play only the dynamic pattern and control the screen to black out after the predetermined time has elapsed.
- the first screen-on-screen interface includes a fourth interface and a fifth interface
- the fourth interface includes the text information and the dynamic pattern
- the display content of the fifth interface includes text information
- the first off-screen display rule includes switching to displaying the fifth interface after displaying the fourth interface for a predetermined time
- the second off-screen interface includes a sixth interface and a seventh interface
- the sixth interface includes text information and dynamic patterns
- the display content of the seventh interface includes text information
- the second screen display rule includes switching to display the seventh interface after displaying the sixth interface for a predetermined time
- the sixth interface The one-screen interface includes a fourth interface and a black-screen interface
- the fourth interface includes the text information and the dynamic pattern
- the first screen-holding display rule includes switching to a black screen interface after displaying the fourth interface for a predetermined time
- the second display screen interface includes a fifth interface and a black screen interface, the display content of the fifth interface includes text information and/or dynamic patterns, and the second display screen display rule includes displaying the fifth interface for
- the second processor responds to the display-on-screen instruction, controls the screen to display text information and plays dynamic patterns within a predetermined time, and controls the screen to display only text information after the predetermined time arrives.
- the second processor controls the screen to display text information and play dynamic patterns within a predetermined time, and controls the screen to display only text information after the predetermined time arrives.
- the second processor responds to the screen-on-screen display instruction, controls the screen to display text information and plays dynamic patterns within a predetermined time, and controls the screen to black out after the predetermined time arrives. Control the screen to display text information and/or play dynamic patterns within a predetermined time, and control the screen to black out after the predetermined time.
- the first screen-on-screen interface includes an eighth interface and a black screen interface
- the display content of the eighth interface includes a dynamic pattern
- the first screen-on-screen display rule includes displaying the first screen when the screen is displayed.
- the eighth interface is switched to a black screen interface after a predetermined time
- the second screen-off interface includes a ninth interface and a tenth interface
- the display content of the ninth interface includes text information or includes text information and dynamic patterns
- the tenth interface The display content includes one of a black screen interface and text information
- the second screen-off display rule includes switching to the tenth interface after displaying the ninth interface for a predetermined time.
- the second processor controls the screen to play the dynamic pattern within a predetermined time in response to the display instruction of the screen, and controls the screen to black out after the predetermined time. Control the screen to display text information or display text information and play dynamic patterns within a certain time, and control the screen to display only text information or a black screen after the predetermined time arrives.
- the type of the text display control includes at least one of a time control, a date control, a power control, and a calendar control, wherein: the text information of each type of text display control occupies one or two more than one layer; and/or, one or more types of text display controls are displayed on each layer.
- the text display control including the time control and the date control Take the text display control including the time control and the date control as an example for illustration.
- the time displayed by the time control is 08:08 and the date displayed by the date control is November 22, 08:08 can occupy the first layer, and November 22 can occupy the second layer; or, in 08:08 "08:” in front of 08:08 can occupy the first layer, and "08" in the back of 08:08 can occupy the second layer.
- only the time 08:08 may be displayed on the first layer, or the time 08:08 and the date November 22 may be displayed simultaneously on the first layer.
- the information on the screen display control further includes address information, where the address information is used to indicate the location of the memory for storing each frame of the dynamic pattern, and the second processor will Switching the bright screen interface to the first interest screen interface or switching the first interest screen interface to the second interest screen interface includes: acquiring, by the second processor, each of the dynamic patterns from the memory according to the address information. A frame of picture; the second processor obtains the text information of the text display control; the second processor synthesizes and displays each frame of the dynamic pattern and the text information.
- the first processor may decompose the screen-on-screen style previously selected by the user when receiving the screen-on-screen event, wherein the screen-on screen style may include dynamic patterns and text display controls.
- the first processor can apply for a memory to store each frame of the dynamic pattern that occupies a relatively large space in the memory, and send the address information indicating the location of the memory to the second processor, so that in the information
- the second processor can obtain each frame of the dynamic pattern according to the address information, and then combine it with the text information of the text display control to form the first or second screen-on-screen interface, which helps reduce the need for the first or second screen.
- the performance requirements of the second processor further reduce the power consumption when the second processor is working.
- the first processor can release the memory previously applied for.
- the acquiring, by the second processor, the text information of the text display control includes: the type of the text display control displayed on the display screen is preset by the second processor Certainly, the second processor directly obtains the text information of the text display control of a preset type; or, the screen display control information includes identification information, and the identification information is used to identify the text display control type, the second processor obtains the text information of the corresponding type of the text display control according to the identification information.
- the type of the text display control displayed by the screen during the screen-off display can be preset in the second processor, or the type of the text display control can be carried in the information sent by the first processor by carrying the identification information identifying the type of the text display control.
- the screen displays control information, so that the second processor controls the screen to display the text information of the corresponding text display control according to the identification information.
- the on-screen display control information further includes a stacking sequence, where the stacking sequence is used to indicate the sequence of arranging each frame of the dynamic pattern and the text information, and the stacking sequence is included in the At the first moment, at least one frame of the dynamic pattern is positioned below the text information and/or at least one frame of the dynamic pattern is positioned above the text information at the second moment.
- a dynamic cluster can be formed from the first moment to the second moment.
- the three-dimensional effect of the case passing from the bottom of the text information to the top of the text information can improve the user experience effect.
- each frame of the dynamic pattern includes M layers, where M is greater than or equal to 2, and the stacking sequence further includes placing the text information in the between adjacent layers of M layers.
- each frame of the dynamic pattern can be composed of at least two layers, each layer includes a part of the pattern, the M layers can be stacked to form a complete pattern, and at the third moment, the text information is placed in the M images Between adjacent layers of the layer, the three-dimensional effect of the picture of the dynamic pattern at the third moment can be made more prominent.
- the screen-on-screen event includes clicking the power button when no user operation or screen-on interface is received within a predetermined time; and/or, the screen-on-screen interface switching event is a touch screen event, moving One of an end device event and a gaze screen event.
- the first processor when the power button is clicked when no user operation or screen bright interface is received within a predetermined time, the first processor will send the screen-off display control information to the second processor, and then the first processor enters the sleep mode.
- the second processor controls the display screen to display the first off-screen interface according to the first off-screen display rule; when one of the touch screen event, the mobile terminal device event and the staring screen event occurs, the second processor displays the first off-screen interface. The interface is switched to the second screen interface.
- the screen-on-screen display method includes: in response to a screen-on event, the first processor controls the display screen to display a screen-on interface, where the screen-on interface is the display The interface after the screen exits the off-screen display and lights up the entire screen, and the screen-on event includes clicking the power button or the fingerprint button when the screen is off.
- an embodiment of the present application provides a method for displaying an information screen, which is executed by a first processor, where the first processor and the second processing are located in the same terminal device, and the method for displaying an information screen includes: responding to On-screen event, sending off-screen display control information to the second processor, where the off-screen display control information includes a on-screen display instruction, and the off-screen display instruction is used to instruct the second processor to display on the off-screen During this period, the screen-on-screen interface of the display screen of the terminal device is controlled; the screen-off display control information is sent to the second processor and the sleep mode is entered.
- an embodiment of the present application provides a method for displaying an information screen, which is executed by a second processor, where the second processor and the first processor are located in the same terminal device, and the method for displaying an information screen includes: receiving The on-screen display control information sent by the first processor, where the on-screen display control information includes an on-screen display instruction; in response to the on-screen display instruction, the off-screen interface of the display screen is controlled, wherein the on-screen display interface is controlled. At least one of the on-screen interfaces of the display screen includes a dynamic pattern.
- the controlling the screen-on-screen interface of the display screen includes: switching the bright-screen interface to the first screen-on screen interface; in response to a screen-on-screen interface switching event, switching the first screen-on screen interface Switching to the second screen-on-screen interface; wherein, the display content of at least one of the first screen-on screen interface and the second screen-on screen interface includes a dynamic pattern.
- an embodiment of the present application provides a terminal device, the terminal device includes a display screen, a first processor, and a second processor, the first processor is configured to respond to a screen-off event, The on-screen display control information is sent to the second processor, and the on-screen display control information includes on-screen display instructions.
- the first processor sends the on-screen display control information to the second processor and then enters the Sleep mode; the second processor is configured to control the screen-on-screen interface of the display screen in response to the screen-on-screen display instruction, wherein at least one of the screen-on screen interfaces of the display screen includes a dynamic pattern.
- the second processor is specifically configured to: switch the bright-screen interface to the first screen-on-screen interface; the second processor is further configured to, in response to a screen-on-screen interface switching event, switch the screen on The first screen holding interface is switched to a second screen holding interface; wherein, the display content of at least one of the first screen holding interface and the second holding screen interface includes a dynamic pattern.
- the first information screen interface is determined by the second processor according to the first information screen display rule
- the second information screen interface is determined by the second processor according to the second information screen display rule.
- the screen shows that the rule is determined.
- the first on-screen display rule and the second on-screen display rule are carried in the on-screen display control information; or, the first on-screen display rule and the The second information screen display rule is preset in the second processor.
- the first processor is a main processor
- the second processor is a coprocessor
- the first screen holding interface is a black screen interface
- the first screen holding display rule includes controlling the display screen to remain black
- the second screen holding interface includes a first interface and a black screen interface
- the display content of the first interface includes a dynamic pattern
- the second display screen display rule includes switching to a black screen interface after displaying the first interface for a predetermined time
- the second screen-on-screen interface includes a first screen and a black screen interface, the display content of the first screen includes a dynamic pattern
- both the first screen-on-screen display rule and the second screen-on screen display rule include displaying the first screen on the screen.
- An interface switches to a black screen interface after a predetermined time.
- the display content of at least one of the first display screen interface and the second display screen interface further includes text information of a text display control that changes over time.
- the first screen-holding interface includes text information
- the first screen-holding display rule includes continuously displaying the text information
- the second screen-holding interface includes a second interface and a third interface
- the display content of the second interface includes text information and dynamic patterns
- the display content of the third interface includes text information
- the second screen display rule includes switching to displaying all the information after displaying the second interface for a predetermined time.
- the first screen-on-screen interface includes a second interface and a black screen interface
- the second interface includes the text information
- the second screen-on-screen display rule includes a predetermined screen when displaying the second screen After time, it switches to a black screen interface
- the second interest screen interface includes a third interface and a black screen interface
- the display content of the third interface includes text information and dynamic patterns or only includes dynamic patterns
- the second interest screen display rules It includes switching to a black screen interface after displaying the third interface for a predetermined time.
- the first screen-on-screen interface includes a fourth interface and a fifth interface
- the fourth interface includes the text information and the dynamic pattern
- the display content of the fifth interface includes text information
- the first off-screen display rule includes switching to displaying the fifth interface after displaying the fourth interface for a predetermined time
- the second off-screen interface includes a sixth interface and a seventh interface
- the sixth interface includes text information and dynamic patterns
- the display content of the seventh interface includes text information
- the second screen display rule includes switching to display the seventh interface after displaying the sixth interface for a predetermined time
- the sixth interface The one-screen interface includes a fourth interface and a black-screen interface
- the fourth interface includes the text information and the dynamic pattern
- the first screen-holding display rule includes switching to a black screen interface after displaying the fourth interface for a predetermined time
- the second display screen interface includes a fifth interface and a black screen interface, the display content of the fifth interface includes text information and/or dynamic patterns, and the second display screen display rule includes displaying the fifth interface for
- the first screen-on-screen interface includes an eighth interface and a black screen interface
- the display content of the eighth interface includes a dynamic pattern
- the first screen-on-screen display rule includes displaying the first screen when the screen is displayed.
- the eighth interface is switched to a black screen interface after a predetermined time
- the second screen-off interface includes a ninth interface and a tenth interface
- the display content of the ninth interface includes text information or includes text information and dynamic patterns
- the tenth interface The displayed content includes one of a black screen interface and text information
- the second screen-off display rule includes switching to displaying the tenth interface after displaying the ninth interface for a predetermined time.
- the type of the text display control includes at least one of a time control, a date control, a power control, and a calendar control, wherein: the text information of each type of text display control occupies one or two more than one layer; and/or, one or more types of text display controls are displayed on each layer.
- the information on the screen display control further includes address information, where the address information is used to indicate the location of the memory where each frame of the dynamic pattern is stored, and the second processor further includes It is used for: acquiring each frame of the dynamic pattern from the memory according to the address information; acquiring the text information of the text display control; and synthesizing and displaying each frame of the dynamic pattern and the text information.
- the second processor is further configured to directly acquire the text information of the text display control of a preset type, wherein the type of the text display control displayed on the display screen is It is preset by the second processor; or, the information on the screen display control includes identification information, where the identification information is used to identify the type of the text display control, and the second processor is further configured to: The identification information acquires the text information of the corresponding type of the text display control.
- the information on the screen display control information further includes a stacking sequence, where the stacking sequence is used to indicate the sequence of arranging each frame of the dynamic pattern and the text information, and the stacking sequence is The method includes positioning at least one frame of the dynamic pattern below the text information at a first moment and/or positioning at least one frame of the dynamic pattern above the text information at a second moment.
- each frame of the dynamic pattern includes M layers, where M is greater than or equal to 2, and the stacking sequence further includes placing the text information in the between adjacent layers of M layers.
- the screen-on-screen event includes clicking the power button when no user operation or screen-on interface is received within a predetermined time; and/or, the screen-on-screen interface switching event is a touch screen event, moving One of an end device event and a gaze screen event.
- the first processor is further configured to, in response to a screen-on event, control the display screen to display a screen-on interface, where the screen-on interface is for the display screen to exit the screen-off The interface after the entire screen is displayed and lit, and the screen bright event includes clicking the power button or the fingerprint button when the screen is off.
- an embodiment of the present application provides a chip, including a processor and an interface circuit, the processor is connected to the interface circuit, and the processor is configured to execute an instruction so that the chip executes the above-mentioned second The method of aspect or the third aspect; the interface circuit for the processor to communicate with other processors.
- an embodiment of the present application provides a computer storage medium, where instructions are stored in the computer storage medium, and when the instructions are executed on a computer, the computer is caused to execute the above-mentioned method for displaying an information screen.
- an embodiment of the present application provides a computer program product containing instructions, when the instructions are executed on a computer, the computer is made to execute the above-mentioned method for displaying an information screen.
- the method, terminal device and chip provided by the embodiments of the present application do not need to wake up the first processor periodically during the display of the screen, and the second processor can control the display screen to play dynamic patterns, which significantly reduces the first processor. At the same time, it can better meet the needs of users, thereby improving the user experience.
- 1 is a schematic diagram of the hardware structure of a mobile phone
- Fig. 2 is the structural representation of the software system adopted by the mobile phone of Fig. 1;
- 3A is a schematic diagram of a hardware structure of a terminal device according to an embodiment of the present application.
- 3B is a schematic structural diagram of a software system of the terminal device of FIG. 3A;
- Fig. 3C is a flowchart when the terminal device of Fig. 3A and Fig. 3B performs an off-screen display
- FIG. 4 is a flowchart of an information screen display method provided by an embodiment of the present application.
- FIG. 5 is a schematic diagram of a first usage scenario of the method for displaying an information screen according to an embodiment of the present application
- FIG. 6 is a schematic diagram of a second usage scenario of the method for displaying an information screen according to an embodiment of the present application.
- FIG. 7 is a schematic diagram of a third usage scenario of the method for displaying an information screen according to an embodiment of the present application.
- FIG. 8 is a schematic diagram of a fourth usage scenario of the method for displaying an information screen according to an embodiment of the present application.
- FIG. 9 is a schematic diagram of a fifth usage scenario of the method for displaying an information screen according to an embodiment of the present application.
- FIG. 10 is a schematic diagram of a sixth usage scenario of the information screen display method according to the embodiment of the present application.
- FIG. 11 is a schematic diagram of a seventh usage scenario of the information screen display method according to the embodiment of the present application.
- FIG. 12 is a specific flow chart of step S403 of the method for displaying an off-screen display in FIG. 4;
- FIG. 13 is a flowchart of another method for displaying an information screen provided by an embodiment of the present application.
- FIG. 14 is a flowchart of another method for displaying an information screen provided by an embodiment of the present application.
- Fig. 15 is a specific flowchart of step S1402 or step S1403 in Fig. 14;
- FIG. 16 is a schematic structural diagram of a terminal device according to an embodiment of the present application.
- FIG. 17 is a schematic structural diagram of a chip provided by an embodiment of the present application.
- words such as “exemplary”, “such as” or “for example” are used to mean serving as an example, illustration or illustration. Any embodiments or designs described in the embodiments of the present application as “exemplary,” “such as,” or “by way of example” should not be construed as preferred or advantageous over other embodiments or designs. Rather, use of words such as “exemplary,” “such as,” or “by way of example” is intended to present the related concepts in a specific manner.
- the term “and/or” is only an association relationship for describing associated objects, indicating that there may be three relationships, for example, A and/or B, which may indicate: A alone exists, A alone exists There is B, and there are three cases of A and B at the same time.
- the term “plurality” means two or more.
- the terms “first” and “second” are only used for descriptive purposes, and cannot be understood as indicating or implying relative importance or implying the indicated technical features. Thus, a feature defined as “first” or “second” may expressly or implicitly include one or more of that feature.
- the terms “including”, “including”, “having” and their variants mean “including but not limited to” unless specifically emphasized otherwise.
- FIG. 1 is a schematic diagram of the hardware structure of a mobile phone.
- the mobile phone 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, Antenna 1, Antenna 2, RF module 150, communication module 160, audio module 170, speaker 170A, receiver 170B, microphone 170C, headphone jack 170D, sensor module 180, button 190, motor 191, indicator 192, camera 193, screen 194 , and a subscriber identification module (subscriber identification module, SIM) card interface 195 and the like.
- SIM subscriber identification module
- the structures illustrated in the embodiments of the present application do not constitute a specific limitation on the mobile phone 100 .
- the mobile phone 100 may include more or less components than shown, or some components may be combined, or some components may be separated, or different component arrangements.
- the illustrated components may be implemented in hardware, software, or a combination of software and hardware.
- the processor 110 may include one or more processing units, for example, the processor 110 may include an application processor (application processor, AP), a modem processor 110, a graphics processor 110 (graphics processing unit, GPU), an image signal processor 110 (image signal processor, ISP), controller, memory, video codec, digital signal processor 110 (digital signal processor, DSP), baseband processor 110 and/or neural-network processor 110 processing unit, NPU), etc. Wherein, different processing units may be independent devices, or may be integrated into one or more processors 110 .
- application processor application processor, AP
- modem processor 110 graphics processor 110
- GPU graphics processor 110
- image signal processor 110 image signal processor
- ISP image signal processor
- controller memory
- video codec digital signal processor 110
- DSP digital signal processor
- baseband processor 110 baseband processor 110 and/or neural-network processor 110 processing unit, NPU
- different processing units may be independent devices, or may be integrated into one or more processors 110 .
- the controller may be the nerve center and command center of the mobile phone 100 .
- the controller can generate an operation control signal according to the instruction operation code and timing signal, and complete the control of fetching and executing instructions.
- a memory may also be provided in the processor 110 for storing instructions and data.
- the memory in processor 110 is cache memory. This memory may hold instructions or data that have just been used or recycled by the processor 110 . If the processor 110 needs to use the instruction or data again, it can be called directly from the memory. Repeated accesses are avoided and the latency of the processor 110 is reduced, thereby increasing the efficiency of the system.
- the processor 110 may include one or more interfaces.
- the interface may include an integrated circuit (inter-integrated circuit, I2C) interface, an integrated circuit built-in audio (inter-integrated circuit sound, I2S) interface, a pulse code modulation (pulse code modulation, PCM) interface, a universal asynchronous transceiver (universal asynchronous transmitter) receiver/transmitter, UART) interface, mobile industry processor 110 interface (mobile industry processor interface, MIPI), general-purpose input/output (GPIO) interface, subscriber identity module (subscriber identity module, SIM) interface, And/or universal serial bus (universal serial bus, USB) interface, etc.
- I2C integrated circuit
- I2S integrated circuit built-in audio
- PCM pulse code modulation
- PCM pulse code modulation
- UART universal asynchronous transceiver
- mobile industry processor 110 interface mobile industry processor interface, MIPI
- GPIO general-purpose input/output
- SIM subscriber identity module
- USB universal serial bus
- the I2C interface is a bidirectional synchronous serial bus that includes a serial data line (SDA) and a serial clock line (SCL).
- SDA serial data line
- SCL serial clock line
- the I2S interface can be used for audio communication.
- the processor 110 may contain multiple sets of I2S buses.
- the processor 110 may be coupled with the audio module 170 through an I2S bus to implement communication between the processor 110 and the audio module 170 .
- the PCM interface can also be used for audio communications, sampling, quantizing, and encoding analog signals.
- the UART interface is a universal serial data bus used for asynchronous communication.
- the bus may be a bidirectional communication bus. It converts the data to be transmitted between serial communication and parallel communication.
- the MIPI interface can be used to connect the processor 110 with peripheral devices such as the screen 194 and the camera 193 .
- the MIPI interface includes a camera 193 serial interface (camera serial interface, CSI), a display serial interface (display serial interface, DSI), and the like.
- the GPIO interface can be configured by software.
- the GPIO interface can be configured as a control signal or as a data signal.
- the GPIO interface may be used to connect the processor 110 with the camera 193, the screen 194, the communication module 160, the audio module 170, the sensor module 180, and the like.
- the GPIO interface can also be configured as an I2C interface, an I2S interface, a UART interface, a MIPI interface, and the like.
- the USB interface 130 is an interface that conforms to the USB standard specification, and may specifically be a Mini USB interface, a Micro USB interface, a USB Type C interface, and the like.
- the interface connection relationship between the modules illustrated in the embodiments of the present application is only a schematic illustration, and does not constitute a structural limitation of the mobile phone 100 .
- the mobile phone 100 may also adopt different interface connection manners in the foregoing embodiments, or a combination of multiple interface connection manners.
- the charging management module 140 is used to receive charging input from the charger.
- the charger may be a wireless charger or a wired charger.
- the charging management module 140 may receive charging input from the wired charger through the USB interface 130 .
- the power management module 141 is used for connecting the battery 142 , the charging management module 140 and the processor 110 .
- the power management module 141 receives input from the battery 142 and/or the charge management module 140, and supplies power to the processor 110, the internal memory 121, the external memory, the screen 194, the camera 193, the communication module 160, and the like.
- the power management module 141 can also be used to monitor parameters such as battery capacity, battery cycle times, battery health status (leakage, impedance).
- the wireless communication function of the mobile phone 100 can be realized by the antenna 1, the antenna 2, the radio frequency module 150, the communication module 160, the modulation and demodulation processor 110, the baseband processor 110, and the like.
- Antenna 1 and Antenna 2 are used to transmit and receive electromagnetic wave signals.
- Each antenna in handset 100 may be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization.
- the antenna 1 can be multiplexed as a diversity antenna of the wireless local area network.
- the radio frequency module 150 can provide a wireless communication solution including 2G/3G/4G/5G and the like applied on the mobile phone 100 .
- the radio frequency module 150 may include at least one filter, switch, power amplifier, low noise amplifier (LNA), and the like.
- the radio frequency module 150 can receive electromagnetic waves from the antenna 1 , filter and amplify the received electromagnetic waves, and transmit them to the modulation and demodulation processor 110 for demodulation.
- the radio frequency module 150 can also amplify the signal modulated by the modulation and demodulation processor 110 , and then convert it into an electromagnetic wave for radiation through the antenna 1 .
- the modem processor 110 may include a modulator and a demodulator. Wherein, the modulator is used to modulate the low frequency baseband signal to be sent into a medium and high frequency signal. The demodulator is used to demodulate the received electromagnetic wave signal into a low frequency baseband signal. The demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor 110 for processing. The low frequency baseband signal is processed by the baseband processor 110 and then passed to the application processor. The application processor outputs sound signals through audio devices (not limited to the speaker 170A, the receiver 170B, etc.), or displays images or videos through the screen 194 .
- the modulator is used to modulate the low frequency baseband signal to be sent into a medium and high frequency signal.
- the demodulator is used to demodulate the received electromagnetic wave signal into a low frequency baseband signal.
- the demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor 110 for processing.
- the low frequency baseband signal is processed by the
- the communication module 160 can provide applications on the mobile phone 100 including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) network), Bluetooth (BT), global navigation satellite system ( global navigation satellite system, GNSS), frequency modulation (frequency modulation, FM), near field communication technology (near field communication, NFC), infrared technology (infrared, IR) and other wireless communication solutions.
- WLAN wireless local area networks
- BT Bluetooth
- GNSS global navigation satellite system
- frequency modulation frequency modulation, FM
- NFC near field communication technology
- infrared technology infrared, IR
- the communication module 160 may be one or more devices integrating at least one communication processing module.
- the communication module 160 receives electromagnetic waves via the antenna 2 , frequency modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110 .
- the communication module 160 can also receive the signal to be sent from the processor 110 , perform frequency modulation on it, amplify the signal, and then convert it into electromagnetic waves for radiation through the antenna
- the antenna 1 of the mobile phone 100 is coupled with the radio frequency module 150, and the antenna 2 is coupled with the communication module 160, so that the mobile phone 100 can communicate with the network and other devices through wireless communication technology.
- the wireless communication technologies may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), broadband Code Division Multiple Access (WCDMA), Time Division Code Division Multiple Access (TD-SCDMA), Long Term Evolution (LTE), 5G, BT, GNSS, WLAN , NFC, FM, and/or IR technology, etc.
- the GNSS may include a global positioning system (global positioning system, GPS), a global navigation satellite system (GLONASS), a Beidou satellite navigation system (beidou navigation satellite system, BDS), a quasi-zenith satellite system (quasi -zenith satellite system, QZSS) and/or satellite based augmentation systems (SBAS).
- GPS global positioning system
- GLONASS global navigation satellite system
- BDS Beidou satellite navigation system
- BDS Beidou navigation satellite system
- QZSS quasi-zenith satellite system
- SBAS satellite based augmentation systems
- the mobile phone 100 can realize the shooting function through the ISP, the camera 193, the video codec, the GPU, the screen 194, and the application processor.
- the ISP is used to process the data fed back by the camera 193 .
- the shutter is opened, the light is transmitted to the photosensitive element of the camera 193 through the lens, the light signal is converted into an electrical signal, and the photosensitive element of the camera 193 transmits the electrical signal to the ISP for processing, and converts it into an image visible to the naked eye.
- ISP can also perform algorithmic optimization on image noise, brightness, and skin tones. ISP can also optimize parameters such as exposure and color temperature of the shooting scene.
- Camera 193 is used to capture still images or video.
- the object is projected through the lens to generate an optical image onto the photosensitive element.
- the photosensitive element may be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor.
- CMOS complementary metal-oxide-semiconductor
- the photosensitive element converts the optical signal into an electrical signal, and then transmits the electrical signal to the ISP to convert it into a digital image signal.
- the ISP outputs the digital image signal to the DSP for processing.
- DSP converts digital image signals into standard RGB, YUV and other formats of image signals.
- the mobile phone 100 may include one or N cameras 193 , where N is a positive integer greater than one.
- the digital signal processor 110 is used for processing digital signals, in addition to processing digital image signals, it can also process other digital signals. For example, when the mobile phone 100 selects a frequency point, the digital signal processor 110 is used to perform Fourier transform on the frequency point energy and the like.
- Video codecs are used to compress or decompress digital video.
- the handset 100 may support one or more video codecs.
- the mobile phone 100 can play or record videos in various encoding formats, such as: moving picture experts group (moving picture experts group, MPEG) 1, MPEG2, MPEG3, MPEG4 and so on.
- MPEG moving picture experts group
- MPEG2 moving picture experts group
- MPEG3 MPEG4
- MPEG4 moving picture experts group
- FIG. 2 is a schematic structural diagram of a software system used in the mobile phone of FIG. 1 .
- the Android system can usually be divided into four layers, from top to bottom, the application layer, the application framework layer, the system library, the Android runtime, and the kernel layer. Clear roles and division of labor, communication between layers through software interfaces.
- the application layer includes a series of applications deployed on the mobile phone 100 .
- the application layer includes, but is not limited to, a desktop launcher (Launcher), a setting module, a calendar module, a camera module, a call module, and a short message module.
- a desktop launcher Launcher
- the setting module includes, but is not limited to, a setting module, a calendar module, a camera module, a call module, and a short message module.
- the application framework layer can provide an application programming interface (API) and a programming framework for the applications in the application layer, and can also include some predefined functional modules/services.
- the application framework layer includes, but is not limited to, a window manager (Window manager), an activity manager (Activity manager), a package manager (Package manager), a resource manager (Resource manager), and a power manager (Power manager).
- the activity manager is used to manage the life cycle of the application and implement the navigation and rollback function of each application.
- the activity manager may be responsible for the creation of an activity (Activity) process and maintenance of the life cycle of the created Activity process.
- a window manager is used to manage window programs.
- the GUI of an application usually consists of one or more Activities, and the Activity consists of one or more Views; the window manager can add the Views included in the GUI to be displayed to the display screen 130 . , or for removing View from the graphical user interface displayed on the display screen 130 .
- the package manager can manage data packages corresponding to each application program, for example, for decompressing, verifying, installing and upgrading each data package.
- a new functional module may be embedded in the package manager, and/or a functional module independent of the package manager may be embedded in the application framework layer, so that the mobile phone 100 can implement any one of the embodiments of the present application.
- Resource managers are used to provide applications with access to various non-code resources.
- the power manager is the core service of power management in the Android system, and is mainly used to perform computing tasks related to power management in the Android system. Downward decision-making controls the underlying system of the Android system to turn on or off the display screen, start or stop hardware devices such as distance sensors and proximity light sensors. Provide the corresponding operation interface upward, so that each application program in the application layer can call it to achieve specific business purposes.
- the Android runtime and system library, kernel layer, etc. located below the application framework layer can be called the underlying system.
- the underlying system includes the underlying display system for providing display services.
- the underlying display system may include but not limited to the surface located in the system library. Manager (surface manager) and display driver at the kernel layer.
- the runtime is responsible for the scheduling and management of the entire software system, including core libraries and virtual machines.
- the computer programs of the application layer and the application framework layer run in virtual machines. More specifically, the virtual machine can execute the java files of the application layer and the application framework layer as binary files.
- the system library can also include multiple functional modules other than the surface manager. For example, it may also include a status monitoring service, a media library (Media Libraries), a three-dimensional graphics engine (eg, OpenGL for Embedded Systems), a two-dimensional graphics engine, and the like. Among them, the surface manager can provide the fusion of 2D graphics and 3D graphics for each application.
- the status monitoring service can receive data reported by various drivers located at the kernel layer.
- the media library can support playback and capture of images/audio/videos in many common formats.
- the 3D graphics engine is used to draw, render and synthesize 3D images.
- the 2D graphics engine is used to draw and render 2D images.
- the kernel layer is the layer between hardware and software, and the kernel layer includes several hardware drivers.
- the kernel layer may include a display driver, a camera driver, an audio driver, and a touch driver.
- Each driver can collect the information collected by the corresponding hardware, and report the corresponding monitoring data to the status monitoring service or other functional modules in the system library.
- FIG. 3A is a schematic diagram of a hardware structure of a terminal device according to an embodiment of the present application.
- a terminal device such as a mobile phone includes an application processor (Application Processor, AP) and a coprocessor (SensorHubProcessor, SHP smart sensor hub).
- SHP is mainly used to acquire, integrate, and process sensor data, and separate sensor-related processing from the main CPU. After the main application processor sleeps, this processor is still working to realize the functions of display synthesis and frame animation playback. to reduce the main CPU power consumption.
- the AP may include an AOD application module and an AOD driver module.
- the SHP can include a low-power AOD application module, a low-power service module, and a low-power display module.
- the AOD application module is used by the user to select the on-screen display switch and AOD style, and to customize the dynamic content (such as GIF format or animation in other formats).
- AOD styles can include the duration of the dynamic content display and events that trigger the dynamic display (eg, touching the screen).
- the AOD application module is also used to decompose the AOD style selected by the user, that is, convert the AOD style into an animation basic resource picture (for example, the dynamic format set by the user such as video, GIF, LivePhoto animation, etc. can be parsed into a frame sequence. Picture), information identifying the type of display control and the relationship between the controls, and control rules (such as trigger event parameters), and send it to the low-power AOD application module through the AOD driver module when the screen is off.
- an animation basic resource picture for example, the dynamic format set by the user such as video, GIF, LivePhoto animation, etc.
- the AOD application module applies for a shared memory (Framebuffer, frame buffer) through the AOD driver module, writes the animation basic resource picture into the shared memory, and sends the AOD command to the low-power AOD application through the AOD driver module module.
- the shared memory is the shared memory of the AP and the SensorHub, which is used to save the dynamic content and static content displayed on the screen.
- the AOD driver module is used to provide a dedicated interface.
- the frame sequence pictures parsed by the AOD application module are written into a shared memory, and the AOD instructions (including the shared memory address, animation duration, playback frame rate, display control type and The relationship between controls and trigger events (such as whether to respond to a light touch, move, human eye gaze, etc.) are sent to the low-power subsystem in SensorHub, such as the low-power AOD application module.
- the communication between the AOD driver module and the low-power AOD application module in SensorHub implements inter-core communication through the IPC communication protocol.
- the user enters the screen display setting interface and selects the display mode as smart display.
- the user selects a screen style, such as a bird style, or a custom GIF animation.
- the AOD application module will parse the style selected by the user, parse the dynamic content display duration (such as 5s) configured by the system according to this scene, and associate the style with the corresponding trigger event type, such as touch event, move event, The human eye gazes at the event, and further analyzes the display controls of this style and the relationship between these display controls, such as digital clock display controls, date components, calendar components, power components, and background components.
- the animation basic resource picture is composed of multiple consecutive frame pictures.
- the screen is off, apply for a shared memory through the AOD driver module, write multiple frames of pictures that change dynamically into the shared memory, and record the memory address and the offset position of each frame of pictures in the memory. Then send the display control, the relationship of the display control, the associated event type, memory address and picture sequence and the offset position in the memory to the low-power AOD application module of the low-power subsystem and the low-power AOD application module of the low-power subsystem through the AOD driver module service module.
- the low-power AOD application module receives the data sent by the AOD application module through the dedicated interface provided by the AOD driver, parses the data, obtains the memory address of the basic animation resource picture and the screen display rules, and controls the screen to enter the low-level display according to the screen display rules. Power consumption display mode. Specifically, when the low-power AOD application module recognizes that frame animation resources are contained in the shared memory according to the memory address, it reads the animation basic resources from the shared memory, and judges whether it occurs through a certain algorithm according to the data or events collected by various sensors. Shake or touch the screen events or events such as proximity light changes or human eye gaze trigger the display animation to play or stop.
- the off-screen display stops and the screen goes black; when the light detected by the proximity light sensor increases (for example, the mobile phone is blocked from The pocket is taken out, and the proximity light sensor is no longer blocked), and the on-screen display continues according to the on-screen display rules.
- the human eye is watching the screen to trigger the dynamic AOD display, and the human eye gazes away from the screen to stop the dynamic AOD display.
- the low-power AOD service module provides display synthesis capabilities, and synthesizes various resource information that needs to be displayed into the final display content. During the display of the information screen, the low-power service module synthesizes the various display controls issued in the AOD application module in real time.
- the interface provided by the power consumption display module transmits the display content to the screen for display.
- the dynamic pictures are changed, so as to realize the dynamic screen display.
- the low-power sending and displaying module is responsible for moving the information of the low-power AOD service module to the screen for display.
- the terminal device in the embodiment of the present application does not need to wake up the system (that is, the application processor sleeps), and supports dynamic screen display based on a co-processor (SensorHub processor), which reduces the power consumption of the terminal device.
- the terminal device can be not only a mobile phone, but also a tablet computer, a notebook computer, an ultra-mobile personal computer (UMPC), a handheld computer, a netbook, a personal digital assistant (PDA), a wearable In an electronic device having a screen 194, such as a device, a virtual reality device, or the like, this embodiment of the present application does not impose any limitation on this.
- FIG. 3B is a schematic structural diagram of a software system of the terminal device of FIG. 3A .
- the AP is the processor where the AOD application module runs.
- the AOD application module runs.
- the AOD application module is in the android application layer and communicates with the SensorHub through the driver of the kernel layer Kerner.
- the shared memory framebuffer
- the dynamic content set by the user is converted into frames of animation pictures and written into the applied shared memory, and then the memory address and the event parameters that the user can respond to after the screen is closed are sent to the shared memory.
- Low-power applications for SensorHub Low-power applications for SensorHub.
- the user selects a GIF image, and after the system goes to sleep, the GIF animation is played on the screen in a loop, or the GIF animation is played on the off-screen display triggered by the user's touch or movement.
- SensorHub's low-power system combines different display contents into one picture and sends it to the display system to achieve dynamic effects when the application processor sleeps. That is to say, the dynamic effect of the on-screen display is realized based on the SensorHub coprocessor, which does not need to wake up the system, and is not realized through the android display process, and the power consumption is much lower than the existing AOD solution.
- the display content of the screen can be controlled according to the user's behavior.
- the user's behavior includes light touch, movement, human eye gaze, etc. to display different screen contents, and dynamic screen refresh can be supported in the case of system hibernation. , the power consumption gains are obvious.
- FIG. 3C is a flowchart when the terminal device of FIG. 3A and FIG. 3B performs an on-screen display. As shown in FIG. 3C, the following steps may be included when performing information display:
- Step S301 the user enters the setting interface and selects the AOD dynamic style.
- Step S302 the user turns off the screen.
- Step S303 the AOD application module parses the AOD dynamic style into dynamic resource data.
- Step S304 the AOD application module sends the dynamic resource data to the AOD driver module.
- Step S305 the AOD driver module sends the dynamic resource data to the low-power AOD application module through the inter-core communication interface.
- Step S306 the low-power AOD application module parses the dynamic resource data, obtains a memory address and a screen-on-display event that triggers the dynamic display, wherein the memory address indicates the location where the frame animation resource is stored.
- Step S307 the low-power AOD application module sends the frame animation resource obtained according to the memory address to the low-power AOD service module in response to the screen-on-display event.
- Step S308 the low power consumption AOD service module refreshes the frame animation resources displayed by the low power consumption sending and displaying module.
- Step S309 the low-power AOD application module sends the static display content to the low-power AOD service module.
- the static display content may be time, date, calendar, power, and the like.
- the static display content can be preset in the low-power AOD application module.
- the instruction for setting the type can also be sent to the low-power AOD application module by the AOD application module through the interface provided by the AOD driver module together with the dynamic resource data.
- Step S310 the low power consumption AOD service module refreshes the static display content displayed by the low power consumption display module.
- step S307 and step S309 may be performed simultaneously, and step S308 and step S310 may be performed simultaneously.
- the motion effect of a butterfly waving its wings can be displayed, or in a user interaction scenario, the motion effect of a butterfly waving its wings can be displayed after touching the screen, flicking the mobile phone, or looking at the screen with human eyes.
- the following uses the dynamic content as a bird as an example to describe the usage scenario in detail.
- the user selects all-day display or timed display. After the screen is closed, the system sleeps, and the screen displays static display content such as time, date, etc., and supports birds flying on the screen (dynamic display) and disappears after a certain period of time, only the static display content is displayed. such as time, date, etc.;
- the system When the user touches the screen or moves the mobile phone, the system is still in a dormant state, but starts to display dynamically. After the bird dances on the screen for a period of time, only static display contents such as time and date are displayed.
- FIG. 4 is a flowchart of an information screen display method provided by an embodiment of the present application.
- the method for displaying an information screen is applied to a terminal device including a display screen, a first processor and a second processor, the first processor may be a main processor (also known as an application processor), and the second processor may be a co-processor .
- the method for displaying an information screen includes:
- Step S401 in response to the screen-off event, the first processor sends the screen-on-screen display control information to the second processor, the screen-off display control information includes screen-off display instructions, and the first processor sends the screen-on-screen display control information to the second processor.
- the screen-on event may be an event that causes the display screen to enter the screen-off state, including clicking the power button when no user operation is received within a predetermined time or the screen-on interface is turned on.
- the second processor controls the off-screen interface of the display screen. Specifically, the second processor controls the off-screen interface of the display screen according to the off-screen display rule.
- the on-screen display rules are carried in the on-screen display control information. Or, the on-screen display rule is preset in the second processor.
- the on-screen display rules include a first on-screen display rule and a second on-screen display rule.
- Step S402 in response to the screen-on-screen display instruction, the second processor switches the screen-on-screen interface to the first screen-on screen interface.
- the first interest screen interface is determined by the second processor according to the first interest screen display rule.
- Step S403 in response to the screen-on-screen interface switching event, the second processor switches the first screen-on screen interface to the second screen-on screen interface.
- the second information screen interface is determined by the second processor according to the second information screen display rule.
- the display content of at least one of the first display screen interface and the second display screen interface includes a dynamic pattern.
- Dynamic patterns can be birds or butterflies flying on the screen or text moving on the screen.
- the on-screen interface switching event may be one of a touch screen event, a mobile terminal device event (ie, the terminal device is moved), and a gaze screen event.
- the first processor when the power button is clicked when no user operation or screen bright interface is received within a predetermined time, the first processor will send the screen-off display control information to the second processor, and then the first processor enters the sleep mode.
- the second processor controls the display screen to display the first off-screen interface according to the first off-screen display rule; when one of the touch screen event, the mobile terminal device event and the staring screen event occurs, the second processor displays the first off-screen interface. The interface is switched to the second screen interface.
- the first processor does not need to be woken up periodically, and the second processor can be based on the first on-screen display rule and the second off-screen display rule in the on-screen display control information sent by the first processor. At least one of them controls the display screen to play dynamic patterns, thereby improving user experience and better meeting user needs. Since the second processor can select a low-power processor, it can be controlled by the first processor during the display of the screen. Compared with the way of screen display, the power consumption can be significantly reduced.
- Step S404 in response to the screen-on event, the first processor controls the display screen to display a screen-on interface, where the screen-on interface is an interface after the display screen exits the screen-on display and lights up the entire screen, and the screen-on event is included in the screen-on interface.
- the screen-on interface is an interface after the display screen exits the screen-on display and lights up the entire screen
- the screen-on event is included in the screen-on interface.
- pressing the power button or the fingerprint button That is to say, when the closed screen is displayed, click the power button on the side of the terminal device such as the mobile phone or the fingerprint button on the front of the mobile phone screen to switch the closed screen interface to the bright screen interface.
- FIG. 5 is a schematic diagram of a first usage scenario of the method for displaying an information screen according to an embodiment of the present application.
- the first interest screen interface is a black screen interface, as shown in Figure 5-a.
- the black screen interface means that the display screen is black or enters a black screen state.
- the first off-screen display rule includes controlling the display screen to remain black.
- the second processor controls the screen to display a black screen interface as shown in Figure 5-a.
- the second information screen interface includes a first interface and a black screen interface, and the display content of the first interface includes dynamic patterns as shown in Figure 5-b, Figure 5-c, and Figure 5-d.
- the second off-screen display rule includes switching to a black screen interface after displaying the first interface for a predetermined period of time, as shown in Table 5-e. Play the dynamic pattern as shown in Figure 5-b and Figure 5-e, and control the screen to be black after the predetermined time (outside the predetermined time) is shown in Figure 5-e.
- FIG. 6 is a schematic diagram of a second usage scenario of the method for displaying an information screen according to an embodiment of the present application.
- both the first and second information screens include a first interface and a black screen interface
- the display content of the first interface includes dynamic patterns
- the first and second information screen display rules are both Including switching to a black screen interface after displaying the first interface for a predetermined time.
- the second processor responds to the information screen display instruction, controls the screen to display and play the dynamic pattern within a predetermined time as shown in Figure 6-a to Figure 6-c, and controls the screen to be black after the predetermined time is reached, as shown in Figure 6-d,
- the second processor controls the screen to play dynamic patterns as shown in Figure 6-e to Figure 6-g within a predetermined time, and controls the screen to be black as shown in Figure 6-h after the predetermined time arrives.
- the display content of at least one of the first display screen interface and the second display screen display interface may further include text information of the text display control that changes over time.
- Immediate screen display can support the display of static content, and can also support dynamic effects.
- the type of the text display control includes at least one of a time control, a date control, a power control, and a calendar control. Take the text display control including the time control and the date control as an example for illustration. Specifically, the time displayed by the time control may be 08:08, and the date displayed by the date control may be November 22. Text information for each type of text indicator can occupy a layer. That is, 08:08 can occupy the first layer, and November 22 can occupy the second layer.
- the text information for each type of text indicator can occupy more than two layers. That is, the front "08:" in 08:08 can occupy the first layer, and the latter "08" in 08:08 can occupy the second layer. Additionally, one type of text indicator can be displayed on each layer. That is, only the time 08:08 can be displayed on the first layer. Alternatively, more than two types of text indicators can be displayed on each layer. That is, the time 08:08 and the date November 22 can be displayed on the first layer at the same time.
- the method for displaying an information screen of the present application further includes the following embodiments.
- FIG. 7 is a schematic diagram of a third usage scenario of the method for displaying an information screen according to an embodiment of the present application.
- the first on-screen interface includes text information
- the first on-screen display rule includes continuously displaying text information.
- the second information screen interface includes a second interface and a third interface
- the display content of the second interface includes text information and dynamic patterns.
- the display content of the third interface includes text information
- the display rule for the second screen includes switching to displaying the third interface after displaying the second interface for a predetermined time.
- the text information includes the time "08:08", the date "Thursday, November 22", and the calendar "October 15, Wuxu Year".
- the second processor controls the screen to continuously display text information.
- the second processor controls the screen within a predetermined time.
- the screen plays dynamic patterns as shown in Figure 7-b to Figure 7-d, and controls the screen to display text information after the predetermined time is reached, as shown in Figure 7-e.
- FIG. 8 is a schematic diagram of a fourth usage scenario of the method for displaying an information screen according to an embodiment of the present application.
- the first display screen interface includes a second interface and a black screen interface
- the second interface includes text information
- the second display screen display rule includes switching to a black screen interface after displaying the second interface for a predetermined time.
- the second display screen interface includes a third interface and a black screen interface
- the display content of the third interface includes text information and dynamic patterns
- the second display screen display rule includes switching to a black screen interface after displaying the third interface for a predetermined time.
- the second processor controls the screen to display text information within a predetermined time, as shown in Figure 8-a, and controls the screen to be black when the predetermined time arrives, as shown in Figure 8-b.
- the second processor controls the screen to display text information and play dynamic patterns within a predetermined time as shown in Figure 8-c to Figure 8-e, and controls the screen to go black after the predetermined time as shown in Figure 8 -f shown.
- the display content of the third interface only includes dynamic patterns. That is to say, the second processor responds to the screen-on-screen display instruction, and controls the screen to display text information for a predetermined period of time and then blacks out the screen. After receiving the screen-on-screen interface switching event, the second processor controls the screen to play only dynamic patterns within a predetermined period of time, and Controls the screen to black out after the scheduled time has elapsed.
- the screen display control information may further include a stacking sequence, the stacking sequence is used to indicate the arrangement sequence of each frame of the dynamic pattern and the text information, and the stacking sequence includes placing at least one frame of the dynamic pattern in the text information at the first moment.
- the bottom of the text information is shown in Figure 8-c and/or at least one frame of the dynamic pattern is positioned above the text information at the second moment, as shown in Figure 8-e. Since at least one frame of the dynamic pattern is located below the text information at the first moment, and at least one frame of the dynamic pattern is located above the text information at the second moment, a dynamic cluster can be formed from the first moment to the second moment.
- the three-dimensional effect on the top of the text information that the case passes through from the bottom of the text information can improve the user experience.
- each frame of the dynamic pattern may include M layers, wherein M is greater than or equal to 2, and the stacking sequence further includes placing the text information between adjacent layers of the M layers at the third moment. That is to say, each frame of the dynamic pattern can be composed of at least two layers, each layer includes a part of the pattern, the M layers can be stacked to form a complete pattern, and at the third moment, the text information is placed in the M images Between adjacent layers of the layers, a part of the dynamic pattern that can be formed is located below the text information, and a part is located above the text information, so that the three-dimensional effect of the picture of the dynamic pattern at the third moment is more pronounced.
- the bird's lower body is located above the date "Thursday, November 22", and the bird's wings are located below the time "08", that is, the date is located at the lowest level, and the time is located at At the very top, the bird is between the date layer and the time layer.
- FIG. 9 is a schematic diagram of a fifth usage scenario of the method for displaying an information screen according to an embodiment of the present application.
- the first information screen interface includes a fourth interface and a fifth interface
- the fourth interface includes text information and dynamic patterns
- the display content of the fifth interface includes text information
- the first information screen display rule includes displaying the The fourth interface switches to display the fifth interface after a predetermined time.
- the second interest screen interface includes a sixth interface and a seventh interface
- the sixth interface includes text information and dynamic patterns
- the display content of the seventh interface includes text information
- the second interest screen display rule includes switching after the sixth interface is displayed for a predetermined time. to display the seventh interface.
- the second processor controls the screen to display text information and dynamic patterns within a predetermined time as shown in Figures 9-a to 9-c, and controls the screen to display only text after the predetermined time arrives.
- the information is shown in Figure 9-d.
- the second processor controls the screen to display text information and play dynamic patterns within a predetermined period of time as shown in Figure 9-e to Figure 9-g.
- the control screen goes black as shown in Figure 9-h.
- FIG. 10 is a schematic diagram of a sixth usage scenario of the method for displaying an information screen according to an embodiment of the present application.
- the first interest screen interface includes a fourth interface and a black screen interface
- the fourth interface includes text information and dynamic patterns
- the first interest screen display rule includes switching to a black screen interface after displaying the fourth interface for a predetermined time.
- the second on-screen interface includes a fifth interface and a black-screen interface
- the display content of the fifth interface includes text information and dynamic patterns
- the second on-screen display rule includes switching to a black-screen interface after displaying the fifth interface for a predetermined time.
- the second processor controls the screen to display text information and play dynamic patterns within a predetermined time as shown in Figure 10-a to Figure 10-c, and controls the screen after the predetermined time arrives
- the black screen is shown in Figure 10-d.
- the second processor controls the screen to display text information and play dynamic patterns within a predetermined period of time as shown in Figure 10-e to Figure 10-g.
- the control screen goes black as shown in Figure 10-h.
- the display content of the fifth interface may only include one of text information and dynamic patterns.
- FIG. 11 is a schematic diagram of a seventh usage scenario of the method for displaying an information screen according to an embodiment of the present application.
- the first interest screen interface includes an eighth interface and a black screen interface
- the display content of the eighth interface includes dynamic patterns
- the first interest screen display rule includes switching to a black screen interface after displaying the eighth interface for a predetermined time
- the two-screen interface includes a ninth interface and a tenth interface
- the display content of the ninth interface includes text information and dynamic patterns
- the display content of the tenth interface includes a black screen interface
- the display rules of the second screen include displaying the ninth interface for a predetermined time. Then switch to the tenth interface.
- the second processor controls the screen to play the dynamic pattern within a predetermined time as shown in Figure 11-a to Figure 11-c, and controls the screen to black after the predetermined time is reached.
- the second processor controls the screen to display text information and play dynamic patterns within a predetermined time as shown in Figures 11-e to 11-g, and at a predetermined time
- the control screen is black as shown in Figure 11-h.
- the display content of the tenth interface includes text information.
- the display content of the ninth interface only includes text information
- the display content of the tenth interface includes a black screen interface.
- the method for displaying an information screen in the embodiments of the present application may also have other usage scenarios.
- Table 1 in the fourth usage scenario, after receiving the information screen interface switching event, the second processor controls the screen to display text information and play dynamic patterns within a predetermined time. In addition to blanking the display screen, you can also make the display screen display only text information.
- the second processor controls the screen to display text information and play dynamic patterns within a predetermined time. In addition to a black screen, it is also possible to make the display screen display only text information.
- FIG. 12 is a specific flow chart of step S403 of the method for displaying an on-screen display in FIG. 4 .
- the screen display control information may further include address information, where the address information is used to indicate the location of the memory for storing each frame of the dynamic pattern.
- the second processor in step S403 switches the bright screen interface to the first screen holding interface or switches the first screen holding interface to the second holding screen interface, including:
- Step S31 the second processor obtains each frame of the dynamic pattern from the memory according to the address information
- Step S32 the second processor obtains the text information of the text display control
- Step S33 the second processor synthesizes and displays each frame of the dynamic pattern and the text information.
- the type of the text display control displayed on the display screen can be preset by the second processor, and at this time, the second processor directly obtains the text information of the text display control of the preset type.
- the screen-on-display control information includes identification information, where the identification information is used to identify the type of the text display control, and the second processor obtains the text information of the corresponding type of the text display control according to the identification information. That is, the identification information that identifies the type of the text display control is carried in the screen display control information sent by the first processor, so that the second processor controls the screen to display the text information of the corresponding text display control according to the identification information.
- the first processor may decompose the screen-on-screen style previously selected by the user when receiving the screen-on-screen event, wherein the screen-on screen style may include dynamic patterns and text display controls.
- the first processor stores each frame of the dynamic pattern that occupies a relatively large space in the memory, and sends the address information indicating the location of the memory to the second processor, so that during the display of the screen, the second processor The processor can obtain each frame of the dynamic pattern according to the address information, and then synthesize it with the text information of the text display control to form the first or second information screen interface, which can reduce the performance requirements of the second processor and help The power consumption when the second processor is working is further reduced.
- the above-mentioned memory may be applied for by the first processor when the screen-on-screen event is received, and after the screen-on-screen display ends, that is, after the first processor is woken up, the memory can be released for other purposes.
- a part of the text display controls displayed on the screen can also be preset by the second processor, such as a time control and a date control, and then another part of the text display controls can be identified by identification information according to different screen patterns, such as Calendar etc.
- FIG. 13 is a flowchart of another method for displaying an information screen provided by an embodiment of the present application.
- the method for displaying an information screen is executed by a first processor, and the first processor and the second process are located in the same terminal device.
- the method for displaying an information screen includes:
- Step S1301 in response to the screen-off event, send screen-on-screen display control information to the second processor, where the screen-on-screen display control information includes screen-on display instructions, and the screen-on-screen display instructions are used by the second processor to control the screen during the screen off period.
- Step S1302 enter the sleep mode after sending the screen-on-display control information to the second processor.
- FIG. 14 is a flowchart of another method for displaying an information screen provided by an embodiment of the present application.
- the method for displaying an information screen is executed by a second processor, and the second processor and the first process are located in the same terminal device.
- the method for displaying an information screen includes:
- Step S1401 receiving the screen-on-screen display control information sent by the first processor, where the screen-on-screen display control information includes a screen screen display instruction.
- Step S1402 in response to the screen-on display instruction, switch the screen-on-screen interface to the first screen-on screen interface.
- Step S1403 in response to the screen-on-screen interface switching event, switch the first screen-on-screen interface to the second screen-on-screen interface.
- the display content of at least one of the first display screen interface and the second display screen interface includes a dynamic pattern.
- FIG. 15 is a specific flowchart of step S1402 or step S1403 in FIG. 14 .
- the display control information on the screen also includes address information, where the address information is used to indicate the location of the memory for storing each frame of the dynamic pattern.
- step S1402 or step S1403 specifically includes:
- each frame of the dynamic pattern is acquired from the memory according to the address information.
- Sub-step S2 acquiring the text information of the text display control
- each frame of the dynamic pattern is synthesized and displayed with the text information.
- FIG. 16 is a schematic structural diagram of a terminal device provided by an embodiment of the application.
- the terminal device 1600 includes a display screen 1601 , a first processor 1602 and a second processor 1603 .
- the first processor 1602 and the second processor 1603 may be respectively deployed on different chips.
- the first processor 1602 is configured to respond to the screen-on-screen event and send screen-on-screen display control information to the second processor 1603, where the screen-on-screen display control information includes screen-on-screen display instructions, first screen-on-screen display rules and second screen-on-screen display. According to the rules, the first processor 1602 enters the sleep mode after sending the off-screen display control information to the second processor 1603.
- the second processor 1603 is configured to switch the bright screen interface to the first screen-on interface in response to the screen-on-screen display instruction, and the first screen-on screen interface is determined by the second processor 1603 according to the first screen-on display rules.
- the second processor 1603 is further configured to, in response to the screen-on-screen interface switching event, switch the first screen-on display interface to the screen-on screen-second second interface, where the second screen-on screen interface is determined by the second processor 1603 according to the second screen-on-screen display rule .
- the display content of at least one of the first display screen interface and the second display screen interface includes a dynamic pattern.
- the screen-on-screen event is an event that triggers the display of the screen-on-screen, including clicking the power button when no user operation is received or the screen is brightened within a predetermined time.
- the screen-on-screen interface switching event is one of a touch screen event, a mobile terminal device event, and a staring screen event.
- the first processor 1602 is further configured to control the display screen 1601 to display a screen-on interface in response to the screen-on event, wherein the screen-on-screen interface is the interface after the display screen 1601 exits the screen-on display and lights up the entire screen, and the screen-on event Including tapping the power button or the fingerprint button when the screen is off.
- the display content of at least one of the first display screen interface and the second display screen interface further includes text information of the text display control that changes over time.
- the type of the text display control includes at least one of a time control, a date control, a power control, and a calendar control.
- the text information of each type of text display control occupies one or more layers. Alternatively, display one or more types of text display controls on each layer.
- the screen display control information also includes a stacking sequence, the stacking sequence is used to indicate the arrangement sequence of each frame of the dynamic pattern and the text information, and the stacking sequence includes placing at least one frame of the dynamic pattern in the position of the text information at the first moment.
- each frame of the dynamic pattern includes M layers, wherein M is greater than or equal to 2, and the stacking sequence further includes placing the text information between adjacent layers of the M layers at the third moment.
- the usage scenario of the terminal device according to the embodiment of the present application is the same as the usage scenario of the above-mentioned method for displaying an information screen. That is, for a usage scenario of the terminal device according to the embodiment of the present application, reference may be made to the usage scenario of the above-mentioned method for displaying an information screen.
- the display control information of the screen also includes address information, where the address information is used to indicate the location of the memory for storing each frame of the dynamic pattern.
- the second processor 1603 is further configured to acquire each frame of the dynamic pattern from the memory according to the address information, to acquire the text information of the text display control, and to combine and display each frame of the dynamic pattern and the text information to form the first One-time screen interface or second-time screen interface.
- the second processor 1603 is further configured to directly acquire text information of a text display control of a preset type, wherein the type of the text display control displayed on the display screen 1601 is preset by the second processor 1603 .
- the screen-on-display control information includes identification information, where the identification information is used to identify the type of the text display control, and the second processor 1603 is further configured to acquire text information of the corresponding type of text display control according to the identification information.
- FIG. 17 is a schematic structural diagram of a chip provided by an embodiment of the present application.
- the chip can be used in terminal equipment.
- the chip 1700 includes a processor 1701 and an interface circuit 1702, the processor 1701 is connected to the interface circuit 1702, and the interface circuit 1702 is used for the processor to communicate with other processors. It is used to perform the operations performed by the first processor or the second processor in the foregoing method embodiments.
- the chip 1700 may further include a memory 1703 .
- the memory 1703 stores instructions that are executable by the processor 1701 .
- the chip 1700 may perform the operations performed by the first processor or the second processor in the above method embodiments.
- the method and terminal device for displaying an on-screen display provided by the embodiments of the present application, it is not necessary to periodically wake up the first processor during the display on the off-screen, and the second processor can control the display screen to play dynamic patterns, thereby improving the user experience.
- the experience effect can better meet the needs of users, and at the same time, the power consumption of the first processor can be significantly reduced.
- the processor in the embodiments of the present application may be a central processing unit (central processing unit, CPU), and may also be other general-purpose processors, digital signal processors (digital signal processors, DSP), special integrated Circuit (application specific integrated circuit, ASIC), field programmable gate array (field programmable gate array, FPGA) or other programmable logic devices, transistor logic devices, hardware components or any combination thereof.
- a general-purpose processor may be a microprocessor or any conventional processor.
- the method steps in the embodiments of the present application may be implemented in a hardware manner, or may be implemented in a manner in which a processor executes software instructions.
- Software instructions can be composed of corresponding software modules, and software modules can be stored in random access memory (RAM), flash memory, read-only memory (ROM), programmable read-only memory (programmable rom) , PROM), erasable programmable read-only memory (erasable PROM, EPROM), electrically erasable programmable read-only memory (electrically EPROM, EEPROM), registers, hard disks, removable hard disks, CD-ROMs or known in the art in any other form of storage medium.
- An exemplary storage medium is coupled to the processor, such that the processor can read information from, and write information to, the storage medium.
- the storage medium can also be an integral part of the processor.
- the processor and storage medium may reside in an ASIC.
- the above-mentioned embodiments it may be implemented in whole or in part by software, hardware, firmware or any combination thereof.
- software it can be implemented in whole or in part in the form of a computer program product.
- the computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of the present application are generated.
- the computer may be a general purpose computer, special purpose computer, computer network, or other programmable device.
- the computer instructions may be stored in or transmitted over a computer-readable storage medium.
- the computer instructions can be sent from one website site, computer, server, or data center to another website site by wire (eg, coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (eg, infrared, wireless, microwave, etc.) , computer, server or data center.
- the computer-readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server, data center, etc. that includes an integration of one or more available media.
- the usable media may be magnetic media (eg, floppy disks, hard disks, magnetic tapes), optical media (eg, DVDs), or semiconductor media (eg, solid state disks (SSDs)), and the like.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- User Interface Of Digital Computer (AREA)
- Controls And Circuits For Display Device (AREA)
- Telephone Function (AREA)
Abstract
本申请实施例提供一种息屏显示方法、终端设备及芯片。方法包括:响应息屏事件,第一处理器将息屏显示控制信息发给第二处理器后休眠,息屏显示控制信息包括息屏显示指令;响应息屏显示指令,第二处理器将亮屏界面切换为第一息屏界面;响应息屏界面切换事件,第二处理器将第一息屏界面切换为第二息屏界面;其中,第一息屏界面和第二息屏界面中的至少一者的显示内容包括动态图案。本申请实施例在息屏显示期间使第一处理器处于休眠模式,通过第二处理器控制显示屏幕播放动态图案,在显著降低第一处理器的功耗的同时,能够更好地满足用户需求,从而提升了用户体验效果。
Description
本申请要求于2021年01月29日提交中国国家知识产权局、申请号为202110129169.7、申请名称为“息屏显示方法、终端设备及芯片”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
本申请涉及显示技术领域,尤其涉及一种息屏显示方法、终端设备及芯片。
终端设备在息屏场景即待机场景下,屏幕仍然可以显示时间、日期、个性U图案、通知等信息,简称息屏常显或息屏显示(Always On Display,AOD)。传统的AOD功能在手机息屏时,需要在应用处理器休眠之前将息屏显示内容发送至屏幕,其中,动效的播放需要唤醒应用处理器进行,同时需要周期性(每分钟)刷新屏幕上的时间、日期等信息,因此需要每分钟唤醒应用处理器来进行刷新,这导致应用处理器大部分时间处于未休眠状态,不利于降低应用处理器在息屏期间的功耗。
发明内容
本申请实施例提供了一种息屏显示方法、终端设备及芯片,在息屏显示期间,不需要定期唤醒第一处理器如主处理器(又称应用处理器),通过第二处理器如协处理器能够控制屏幕播放动态图案,从而提升了用户体验效果,能够更好地满足用户需求,同时能够显著降低第一处理器的功耗。
第一方面,本申请实施例提供了一种息屏显示方法,应用于终端设备,所述终端设备包括显示屏幕、第一处理器和第二处理器,所述息屏显示方法包括:响应于息屏事件,所述第一处理器将息屏显示控制信息发送给所述第二处理器,所述息屏显示控制信息包括息屏显示指令,所述第一处理器将所述息屏显示控制信息发送给所述第二处理器后进入休眠模式;响应于所述息屏显示指令,所述第二处理器控制所述显示屏幕的息屏界面,其中,所述显示屏幕的息屏界面中的至少一个界面包括动态图案。
也就是说,在息屏显示期间,不需要定期唤醒第一处理器,第二处理器能够控制显示屏幕播放动态图案,在显著降低第一处理器的功耗的同时,提升了用户体验效果,能够更好地满足用户需求。
在一种可能的实现方式中,所述第二处理器控制所述显示屏幕的息屏界面包括:所述第二处理器将亮屏界面切换为第一息屏界面;响应于息屏界面切换事件,所述第二处理器将所述第一息屏界面切换为第二息屏界面;其中,所述第一息屏界面和所述第二息屏界面中的至少一者的显示内容包括动态图案。
在一种可能的实现方式中,所述第一息屏界面由所述第二处理器按照第一息屏显示规则确定,所述第二息屏界面由所述第二处理器按照第二息屏显示规则确定。
在一种可能的实现方式中,所述第一息屏显示规则和所述第二息屏显示规则携带在所述息屏显示控制信息中;或,所述第一息屏显示规则和所述第二息屏显示规则预先设置在所述第二处理器中。
在一种可能的实现方式中,所述第一处理器为主处理器,所述第二处理器为协处理器。
在一种可能的实现方式中,所述第一息屏界面为黑屏界面,所述第一息屏显示规则包括控制显示屏幕持续黑屏;所述第二息屏界面包括第一界面和黑屏界面,所述第一界面的显示内容包括动态图案,所述第二息屏显示规则包括在显示所述第一界面预定时间后切换为黑屏界面;或,所述第一息屏界面和所述第二息屏界面均包括第一界面和黑屏界面,所述第一界面的显示内容包括动态图案,所述第一息屏显示规则和所述第二息屏显示规则均包括在显示所述第一界面预定时间后切换为黑屏界面。
也就是说,第二处理器响应息屏显示指令控制屏幕黑屏,当收到息屏界面切换事件后,第二处理器在预定时间内控制屏幕播放动态图案,并在预定时间达到后(即预定时间以外)控制屏幕黑屏。或者,第二处理器响应息屏显示指令,在预定时间内控制屏幕显示播放动态图案,并在预定时间到达后控制屏幕黑屏,当收到息屏界面切换事件后,第二处理器在预定时间内控制屏幕播放动态图案,并在预定时间到达后控制屏幕黑屏。
在一种可能的实现方式中,所述第一息屏界面和所述第二息屏界面中的至少一者的显示内容还包括随时间变化的文本显示控件的文本信息。
在一种可能的实现方式中,所述第一息屏界面包括文本信息,第一息屏显示规则包括持续显示所述文本信息;所述第二息屏界面包括第二界面和第三界面,所述第二界面的显示内容包括文本信息和动态图案,所述第三界面的显示内容包括文本信息,所述第二息屏显示规则包括在显示所述第二界面预定时间后切换为显示所述第三界面;或,所述第一息屏界面包括第二界面和黑屏界面,所述第二界面包括所述文本信息,所述第二息屏显示规则包括在显示所述第二界面预定时间后切换为黑屏界面;所述第二息屏界面包括第三界面和黑屏界面,所述第三界面的显示内容包括文本信息和动态图案或仅包括动态图案,所述第二息屏显示规则包括在显示所述第三界面预定时间后切换为黑屏界面。
也就是说,第二处理器响应息屏显示指令,控制屏幕持续显示文本信息,当收到息屏界面切换事件后,第二处理器在预定时间内控制屏幕显示文本信息和播放动态图案,并在预定时间到达后控制屏幕仅显示文本信息。或者,第二处理器响应息屏显示指令,控制屏幕显示文本信息预定时间后黑屏,当收到息屏界面切换事件后,第二处理器在预定时间内控制屏幕显示文本信息和播放动态图案或仅播放动态图案,并在预定时间到达后控制屏幕黑屏。
在一种可能的实现方式中,所述第一息屏界面包括第四界面和第五界面,所述第四界面包括所述文本信息和动态图案,所述第五界面的显示内容包括文本信息,所述第一息屏显示规则包括在显示所述第四界面预定时间后切换为显示第五界面;所述第二息屏界面包括第六界面和第七界面,所述第六界面包括文本信息和动态图案,所述第七界面的显示内容包括文本信息,所述第二息屏显示规则包括在显示所述第六界面 预定时间后切换为显示所述第七界面;或,所述第一息屏界面包括第四界面和黑屏界面,所述第四界面包括所述文本信息和动态图案,所述第一息屏显示规则包括在显示所述第四界面预定时间后切换为黑屏界面;所述第二息屏界面包括第五界面和黑屏界面,所述第五界面的显示内容包括文本信息和/或动态图案,所述第二息屏显示规则包括在显示所述第五界面预定时间后切换为黑屏界面。
也就是说,第二处理器响应息屏显示指令,在预定时间内控制屏幕显示文本信息和播放动态图案,并在预定时间到达后控制屏幕仅显示文本信息,当收到息屏界面切换事件后,第二处理器在预定时间内控制屏幕显示文本信息和播放动态图案,并在预定时间到达后控制屏幕仅显示文本信息。或者,第二处理器响应息屏显示指令,在预定时间内控制屏幕显示文本信息和播放动态图案,在预定时间到达后控制屏幕黑屏,当收到息屏界面切换事件后,第二处理器在预定时间内控制屏幕显示文本信息和/或播放动态图案,在预定时间到达后控制屏幕黑屏。
在一种可能的实现方式中,所述第一息屏界面包括第八界面和黑屏界面,所述第八界面的显示内容包括动态图案,所述第一息屏显示规则包括在显示所述第八界面预定时间后切换为黑屏界面;所述第二息屏界面包括第九界面和第十界面,所述第九界面的显示内容包括文本信息或包括文本信息和动态图案,所述第十界面的显示内容包括黑屏界面和文本信息中的一者,所述第二息屏显示规则包括在显示所述第九界面预定时间后切换为所述第十界面。
也就是说,第二处理器响应息屏显示指令,在预定时间内控制屏幕播放动态图案,并在预定时间到达后控制屏幕黑屏,当收到息屏界面切换事件后,第二处理器在预定时间内控制屏幕显示文本信息或显示文本信息和播放动态图案,并在预定时间到达后控制屏幕仅显示文本信息或黑屏。
在一种可能的实现方式中,所述文本显示控件的类型包括时间控件、日期控件、电量控件、历法控件中的至少一者,其中:每种类型的文本显示控件的文本信息占用一个或两个以上的图层;和/或,每个图层上显示一种或两种以上类型的文本显示控件。以文本显示控件包括时间控件和日期控件为例进行说明。当时间控件显示的时间为08:08,日期控件显示的日期为11月22日时,08:08可占用第一图层,11月22日可占用第二图层;或者,08:08中的前面的“08:”可占用第一图层,08:08中的后面的“08”可占用第二图层。另外,第一图层上可仅显示时间08:08,或者,第一图层上可同时显示时间08:08和日期11月22日。
在一种可能的实现方式中,所述息屏显示控制信息还包括地址信息,所述地址信息用于指示存放所述动态图案的每一帧画面的内存的位置,所述第二处理器将亮屏界面切换为第一息屏界面或将所述第一息屏界面切换为第二息屏界面,包括:所述第二处理器根据所述地址信息从所述内存中获取动态图案的每一帧画面;所述第二处理器获取所述文本显示控件的文本信息;所述第二处理器将动态图案的每一帧画面与所述文本信息合成显示。
也就是说,第一处理器在收到息屏事件时可将用户之前选择的息屏样式进行分解,其中,息屏样式可包括动态图案和文本显示控件。具体地,第一处理器可申请一个内存,以将占用空间比较大的动态图案的每一帧画面存入该内存中,并将指示内存位置 的地址信息发送给第二处理器,这样在息屏显示期间,第二处理器可根据地址信息获取动态图案的每一帧画面,再与文本显示控件的文本信息合成显示,从而形成第一或第二息屏界面,这样有助于降低对第二处理器性能的要求,进一步降低第二处理器工作时的功耗。另外,在息屏显示结束后,即第一处理器被唤醒开始工作,第一处理器可释放之前申请的内存。
在一种可能的实现方式中,所述第二处理器获取所述文本显示控件的文本信息,包括:所述显示屏幕显示的所述文本显示控件的类型是由所述第二处理器预先设定的,所述第二处理器直接获取预先设定类型的所述文本显示控件的文本信息;或,所述息屏显示控制信息包括标识信息,所述标识信息用于标识所述文本显示控件的类型,所述第二处理器根据所述标识信息获取相应类型的所述文本显示控件的文本信息。
也就是说,屏幕在息屏显示期间显示的文本显示控件的类型可在第二处理器中预先设定,也可通过将标识文本显示控件的类型的标识信息携带在第一处理器发送的息屏显示控制信息,以便第二处理器根据标识信息控制屏幕显示相应的文本显示控件的文本信息。
在一种可能的实现方式中,所述息屏显示控制信息还包括层叠顺序,所述层叠顺序用于指示动态图案的每一帧画面与所述文本信息的排列顺序,所述层叠顺序包括在第一时刻使所述动态图案的至少一帧画面位于所述文本信息的下面和/或在第二时刻使所述动态图案的至少一帧画面位于所述文本信息的上面。
由于在在第一时刻动态图案的至少一帧画面位于文本信息的下面,在第二时刻动态图案的至少一帧画面位于文本信息的上面,这样在第一时刻至第二时刻,可以形成动态团案从文本信息的下面穿越到文本信息的上面的立体效果,能够提高用户体验效果。
在一种可能的实现方式中,所述动态图案的每一帧画面包括M个图层,其中,M大于或等于2,所述层叠顺序还包括在第三时刻使所述文本信息位于所述M个图层的相邻图层之间。
也就是说,动态图案的每一帧画面可由至少两个图层组成,每个图层包括图案的一部分,M个图层层叠可形成完整的图案,在第三时刻使文本信息位于M个图层的相邻图层之间,可使得该第三时刻的动态图案的画面的立体效果更加显著。
在一种可能的实现方式中,所述息屏事件包括在预定时间内未接收到用户操作或亮屏界面时点击电源键;和/或,所述息屏界面切换事件为触摸屏幕事件、移动终端设备事件和注视屏幕事件中的一者。
也就是说,在预定时间内未接收到用户操作或亮屏界面时点击电源键,第一处理器会将息屏显示控制信息发送给第二处理器,接着,第一处理器进入休眠模式,第二处理器按照第一息屏显示规则控制显示屏幕显示第一息屏界面;当发生触摸屏幕事件、移动终端设备事件和注视屏幕事件中的一者时,第二处理器将第一息屏界面切换为第二息屏界面。
在一种可能的实现方式中,所述息屏显示方法包括:响应于亮屏事件,所述第一处理器控制所述显示屏幕显示亮屏界面,其中,所述亮屏界面为所述显示屏幕退出息屏显示且点亮整个屏幕后的界面,所述亮屏事件包括在息屏界面时点击电源键或指纹 键。
也就是说,在息屏显示时,点击终端设备如手机侧面的电源键或者手机屏幕正面的指纹键即可将息屏界面切换为亮屏界面。
第二方面,本申请实施例提供了一种息屏显示方法,由第一处理器执行,所述第一处理器和第二处理位于同一终端设备中,所述息屏显示方法包括:响应于息屏事件,将息屏显示控制信息发送给所述第二处理器,所述息屏显示控制信息包括息屏显示指令,所述息屏显示指令用于指示所述第二处理器在息屏期间控制控制所述终端设备的显示屏幕的息屏界面;将所述息屏显示控制信息发送给所述第二处理器后进入休眠模式。
第三方面,本申请实施例提供了一种息屏显示方法,由第二处理器执行,所述第二处理器和第一处理器位于同一终端设备中,所述息屏显示方法包括:接收所述第一处理器发送的息屏显示控制信息,所述息屏显示控制信息包括息屏显示指令;响应于所述息屏显示指令,控制所述显示屏幕的息屏界面,其中,所述显示屏幕的息屏界面中的至少一个界面包括动态图案。
在一种可能的实现方式中,所述控制所述显示屏幕的息屏界面包括:将亮屏界面切换为第一息屏界面;响应于息屏界面切换事件,将所述第一息屏界面切换为第二息屏界面;其中,所述第一息屏界面和所述第二息屏界面中的至少一者的显示内容包括动态图案。
第四方面,本申请实施例提供了一种终端设备,所述终端设备包括显示屏幕、第一处理器和第二处理器,所述第一处理器,用于响应于息屏事件,将息屏显示控制信息发送给所述第二处理器,所述息屏显示控制信息包括息屏显示指令,所述第一处理器将所述息屏显示控制信息发送给所述第二处理器后进入休眠模式;所述第二处理器,用于响应于所述息屏显示指令,控制所述显示屏幕的息屏界面,其中,所述显示屏幕的息屏界面中的至少一个界面包括动态图案。
在一种可能的实现方式中,所述第二处理器具体用于:将亮屏界面切换为第一息屏界面;所述第二处理器,还用于响应于息屏界面切换事件,将所述第一息屏界面切换为第二息屏界面;其中,所述第一息屏界面和所述第二息屏界面中的至少一者的显示内容包括动态图案。
在一种可能的实现方式中,所述第一息屏界面由所述第二处理器按照第一息屏显示规则确定,所述第二息屏界面由所述第二处理器按照第二息屏显示规则确定。
在一种可能的实现方式中,所述第一息屏显示规则和所述第二息屏显示规则携带在所述息屏显示控制信息中;或,所述第一息屏显示规则和所述第二息屏显示规则预先设置在所述第二处理器中。
在一种可能的实现方式中,所述第一处理器为主处理器,所述第二处理器为协处理器。
在一种可能的实现方式中,所述第一息屏界面为黑屏界面,所述第一息屏显示规则包括控制所述显示屏幕持续黑屏;所述第二息屏界面包括第一界面和黑屏界面,所述第一界面的显示内容包括动态图案,所述第二息屏显示规则包括在显示所述第一界面预定时间后切换为黑屏界面;或,所述第一息屏界面和所述第二息屏界面均包括第 一界面和黑屏界面,所述第一界面的显示内容包括动态图案,所述第一息屏显示规则和所述第二息屏显示规则均包括在显示所述第一界面预定时间后切换为黑屏界面。
在一种可能的实现方式中,所述第一息屏界面和所述第二息屏界面中的至少一者的显示内容还包括随时间变化的文本显示控件的文本信息。
在一种可能的实现方式中,所述第一息屏界面包括文本信息,第一息屏显示规则包括持续显示所述文本信息;所述第二息屏界面包括第二界面和第三界面,所述第二界面的显示内容包括文本信息和动态图案,所述第三界面的显示内容包括文本信息,所述第二息屏显示规则包括在显示所述第二界面预定时间后切换为显示所述第三界面;或,所述第一息屏界面包括第二界面和黑屏界面,所述第二界面包括所述文本信息,所述第二息屏显示规则包括在显示所述第二界面预定时间后切换为黑屏界面;所述第二息屏界面包括第三界面和黑屏界面,所述第三界面的显示内容包括文本信息和动态图案或仅包括动态图案,所述第二息屏显示规则包括在显示所述第三界面预定时间后切换为黑屏界面。
在一种可能的实现方式中,所述第一息屏界面包括第四界面和第五界面,所述第四界面包括所述文本信息和动态图案,所述第五界面的显示内容包括文本信息,所述第一息屏显示规则包括在显示所述第四界面预定时间后切换为显示第五界面;所述第二息屏界面包括第六界面和第七界面,所述第六界面包括文本信息和动态图案,所述第七界面的显示内容包括文本信息,所述第二息屏显示规则包括在显示所述第六界面预定时间后切换为显示所述第七界面;或,所述第一息屏界面包括第四界面和黑屏界面,所述第四界面包括所述文本信息和动态图案,所述第一息屏显示规则包括在显示所述第四界面预定时间后切换为黑屏界面;所述第二息屏界面包括第五界面和黑屏界面,所述第五界面的显示内容包括文本信息和/或动态图案,所述第二息屏显示规则包括在显示所述第五界面预定时间后切换为黑屏界面。
在一种可能的实现方式中,所述第一息屏界面包括第八界面和黑屏界面,所述第八界面的显示内容包括动态图案,所述第一息屏显示规则包括在显示所述第八界面预定时间后切换为黑屏界面;所述第二息屏界面包括第九界面和第十界面,所述第九界面的显示内容包括文本信息或包括文本信息和动态图案,所述第十界面的显示内容包括黑屏界面和文本信息中的一者,所述第二息屏显示规则包括在显示所述第九界面预定时间后切换为显示所述第十界面。
在一种可能的实现方式中,所述文本显示控件的类型包括时间控件、日期控件、电量控件、历法控件中的至少一者,其中:每种类型的文本显示控件的文本信息占用一个或两个以上的图层;和/或,每个图层上显示一种或两种以上类型的文本显示控件。
在一种可能的实现方式中,所述息屏显示控制信息还包括地址信息,所述地址信息用于指示存放所述动态图案的每一帧画面的内存的位置,所述第二处理器还用于:根据所述地址信息从所述内存中获取动态图案的每一帧画面;获取所述文本显示控件的文本信息;将动态图案的每一帧画面与所述文本信息合成显示。
在一种可能的实现方式中,所述第二处理器还用于直接获取预先设定类型的所述文本显示控件的文本信息,其中,所述显示屏幕显示的所述文本显示控件的类型是由所述第二处理器预先设定的;或,所述息屏显示控制信息包括标识信息,所述标识信 息用于标识所述文本显示控件的类型,所述第二处理器还用于根据所述标识信息获取相应类型的所述文本显示控件的文本信息。
在一种可能的实现方式中,所述息屏显示控制信息还包括层叠顺序,所述层叠顺序用于指示所述动态图案的每一帧画面与所述文本信息的排列顺序,所述层叠顺序包括在第一时刻使所述动态图案的至少一帧画面位于所述文本信息的下面和/或在第二时刻使所述动态图案的至少一帧画面位于所述文本信息的上面。
在一种可能的实现方式中,所述动态图案的每一帧画面包括M个图层,其中,M大于或等于2,所述层叠顺序还包括在第三时刻使所述文本信息位于所述M个图层的相邻图层之间。
在一种可能的实现方式中,所述息屏事件包括在预定时间内未接收到用户操作或亮屏界面时点击电源键;和/或,所述息屏界面切换事件为触摸屏幕事件、移动终端设备事件和注视屏幕事件中的一者。
在一种可能的实现方式中,所述第一处理器,还用于响应于亮屏事件,控制所述显示屏幕显示亮屏界面,其中,所述亮屏界面为所述显示屏幕退出息屏显示且点亮整个屏幕后的界面,所述亮屏事件包括在息屏界面时点击电源键或指纹键。
第五方面,本申请实施例提供了一种芯片,包括处理器和接口电路,所述处理器和所述接口电路连接,所述处理器,用于执行指令以使得所述芯片执行上述第二方面或第三方面的方法;所述接口电路,用于所述处理器与其它处理器通信。
第六方面,本申请实施例提供了一种计算机存储介质,所述计算机存储介质中存储有指令,当所述指令在计算机上运行时,使得所述计算机执行上述的息屏显示方法。
第七方面,本申请实施例提供了一种包含指令的计算机程序产品,当指令在计算机上运行时,使得所述计算机执行上述的息屏显示方法。
本申请实施例提供的息屏显示方法、终端设备及芯片,在息屏显示期间,不需要定期唤醒第一处理器,第二处理器能够控制显示屏幕播放动态图案,在显著降低第一处理器的功耗的同时,能够更好地满足用户需求,从而提升了用户体验效果。
图1为一种手机的硬件结构示意图;
图2为图1的手机所采用的软件系统的结构示意图;
图3A为本申请实施例的终端设备的硬件结构示意图;
图3B为图3A的终端设备的软件系统的结构示意图;
图3C为图3A和图3B的终端设备进行息屏显示时的流程图;
图4为本申请实施例提供的一种息屏显示方法的流程图;
图5为本申请实施例的息屏显示方法的第一种使用场景示意图;
图6为本申请实施例的息屏显示方法的第二种使用场景示意图;
图7为本申请实施例的息屏显示方法的第三种使用场景示意图;
图8为本申请实施例的息屏显示方法的第四种使用场景示意图;
图9为本申请实施例的息屏显示方法的第五种使用场景示意图;
图10为本申请实施例的息屏显示方法的第六种使用场景示意图;
图11为本申请实施例的息屏显示方法的第七种使用场景示意图;
图12为图4的息屏显示方法的步骤S403的具体流程图;
图13为本申请实施例提供的另一种息屏显示方法的流程图;
图14为本申请实施例提供的又一种息屏显示方法的流程图;
图15为图14中的步骤S1402或步骤S1403的具体流程图;
图16为本申请实施例提供的一种终端设备的结构示意图;
图17为本申请实施例提供的一种芯片的结构示意图。
为了使本申请实施例的目的、技术方案和优点更加清楚,下面将结合附图,对本申请实施例中的技术方案进行描述。
在本申请实施例的描述中,“示例性的”、“例如”或者“举例来说”等词用于表示作例子、例证或说明。本申请实施例中被描述为“示例性的”、“例如”或者“举例来说”的任何实施例或设计方案不应被解释为比其它实施例或设计方案更优选或更具优势。确切而言,使用“示例性的”、“例如”或者“举例来说”等词旨在以具体方式呈现相关概念。
在本申请实施例的描述中,术语“和/或”,仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,单独存在B,同时存在A和B这三种情况。另外,除非另有说明,术语“多个”的含义是指两个或两个以上。此外,术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括一个或者更多个该特征。术语“包括”、“包含”、“具有”及它们的变形都意味着“包括但不限于”,除非是以其他方式另外特别强调。
图1为一种手机的硬件结构示意图。如图1所示,手机100可以包括处理器110、外部存储器接口120、内部存储器121、通用串行总线(universal serial bus,USB)接口130、充电管理模块140、电源管理模块141、电池142、天线1、天线2、射频模块150、通信模块160、音频模块170、扬声器170A、受话器170B、麦克风170C、耳机接口170D、传感器模块180、按键190、马达191、指示器192、摄像头193、屏幕194、以及用户标识模块(subscriber identification module,SIM)卡接口195等。
可以理解的是,本申请实施例示意的结构并不构成对手机100的具体限定。在本申请另一些实施例中,手机100可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。图示的部件可以以硬件,软件或软件和硬件的组合实现。
处理器110可以包括一个或多个处理单元,例如:处理器110可以包括应用处理器(application processor,AP)、调制解调处理器110、图形处理器110(graphics processing unit,GPU)、图像信号处理器110(image signal processor,ISP)、控制器、存储器、视频编解码器、数字信号处理器110(digital signal processor,DSP)、基带处理器110和/或神经网络处理器110(neural-network processing unit,NPU)等。其中,不同的处理单元可以是独立的器件,也可以集成在一个或多个处理器110中。
其中,控制器可以是手机100的神经中枢和指挥中心。控制器可以根据指令操作码和时序信号,产生操作控制信号,完成取指令和执行指令的控制。
处理器110中还可以设置存储器,用于存储指令和数据。在一些实施例中,处理器110中的存储器为高速缓冲存储器。该存储器可以保存处理器110刚用过或循环使用的指令或数据。如果处理器110需要再次使用该指令或数据,可从所述存储器中直接调用。避免了重复存取,减少了处理器110的等待时间,因而提高了系统的效率。
在一些实施例中,处理器110可以包括一个或多个接口。接口可以包括集成电路(inter-integrated circuit,I2C)接口、集成电路内置音频(inter-integrated circuit sound,I2S)接口、脉冲编码调制(pulse code modulation,PCM)接口、通用异步收发传输器(universal asynchronous receiver/transmitter,UART)接口、移动产业处理器110接口(mobile industry processor interface,MIPI)、通用输入输出(general-purpose input/output,GPIO)接口、用户标识模块(subscriber identity module,SIM)接口、和/或通用串行总线(universal serial bus,USB)接口等。
I2C接口是一种双向同步串行总线,包括一根串行数据线(serial data line,SDA)和一根串行时钟线(derail clock line,SCL)。
I2S接口可以用于音频通信。在一些实施例中,处理器110可以包含多组I2S总线。处理器110可以通过I2S总线与音频模块170耦合,实现处理器110与音频模块170之间的通信。PCM接口也可以用于音频通信,将模拟信号抽样、量化和编码。
UART接口是一种通用串行数据总线,用于异步通信。该总线可以为双向通信总线。它将要传输的数据在串行通信与并行通信之间转换。
MIPI接口可以被用于连接处理器110与屏幕194,摄像头193等外围器件。MIPI接口包括摄像头193串行接口(camera serial interface,CSI)、显示屏串行接口(display serial interface,DSI)等。在GPIO接口可以通过软件配置。GPIO接口可以被配置为控制信号,也可被配置为数据信号。在一些实施例中,GPIO接口可以用于连接处理器110与摄像头193、屏幕194、通信模块160、音频模块170、传感器模块180等。GPIO接口还可以被配置为I2C接口、I2S接口、UART接口、MIPI接口等。
USB接口130是符合USB标准规范的接口,具体可以是Mini USB接口、Micro USB接口、USB Type C接口等。
可以理解的是,本申请实施例示意的各模块间的接口连接关系,只是示意性说明,并不构成对手机100的结构限定。在本申请另一些实施例中,手机100也可以采用上述实施例中不同的接口连接方式,或多种接口连接方式的组合。
充电管理模块140用于从充电器接收充电输入。其中,充电器可以是无线充电器,也可以是有线充电器。在一些有线充电的实施例中,充电管理模块140可以通过USB接口130接收有线充电器的充电输入。
电源管理模块141用于连接电池142、充电管理模块140与处理器110。电源管理模块141接收电池142和/或充电管理模块140的输入,为处理器110、内部存储器121、外部存储器、屏幕194、摄像头193、通信模块160等供电。电源管理模块141还可以用于监测电池容量、电池循环次数、电池健康状态(漏电,阻抗)等参数。手机100的无线通信功能可以通过天线1、天线2、射频模块150、通信模块160、调制解调处理 器110以及基带处理器110等实现。
天线1和天线2用于发射和接收电磁波信号。手机100中的每个天线可用于覆盖单个或多个通信频带。不同的天线还可以复用,以提高天线的利用率。例如:可以将天线1复用为无线局域网的分集天线。射频模块150可以提供应用在手机100上的包括2G/3G/4G/5G等无线通信的解决方案。射频模块150可以包括至少一个滤波器、开关、功率放大器、低噪声放大器(low noise amplifier,LNA)等。射频模块150可以由天线1接收电磁波,并对接收的电磁波进行滤波、放大等处理,传送至调制解调处理器110进行解调。射频模块150还可以对经调制解调处理器110调制后的信号放大,经天线1转为电磁波辐射出去。
调制解调处理器110可以包括调制器和解调器。其中,调制器用于将待发送的低频基带信号调制成中高频信号。解调器用于将接收的电磁波信号解调为低频基带信号。随后解调器将解调得到的低频基带信号传送至基带处理器110处理。低频基带信号经基带处理器110处理后,被传递给应用处理器。应用处理器通过音频设备(不限于扬声器170A,受话器170B等)输出声音信号,或通过屏幕194显示图像或视频。通信模块160可以提供应用在手机100上的包括无线局域网(wireless local area networks,WLAN)(如无线保真(wireless fidelity,Wi-Fi)网络)、蓝牙(Bluetooth,BT)、全球导航卫星系统(global navigation satellite system,GNSS)、调频(frequency modulation,FM)、近距离无线通信技术(near field communication,NFC)、红外技术(infrared,IR)等无线通信的解决方案。通信模块160可以是集成至少一个通信处理模块的一个或多个器件。通信模块160经由天线2接收电磁波,将电磁波信号调频以及滤波处理,将处理后的信号发送到处理器110。通信模块160还可以从处理器110接收待发送的信号,对其进行调频,放大,经天线2转为电磁波辐射出去。
在一些实施例中,手机100的天线1和射频模块150耦合,天线2和通信模块160耦合,使得手机100可以通过无线通信技术与网络以及其他设备通信。所述无线通信技术可以包括全球移动通讯系统(global system for mobile communications,GSM)、通用分组无线服务(general packet radio service,GPRS)、码分多址接入(code division multiple access,CDMA)、宽带码分多址(wideband code division multiple access,WCDMA)、时分码分多址(time-division code division multiple access,TD-SCDMA)、长期演进(long term evolution,LTE)、5G、BT、GNSS、WLAN、NFC、FM、和/或IR技术等。所述GNSS可以包括全球卫星定位系统(global positioning system,GPS)、全球导航卫星系统(global navigation satellite system,GLONASS)、北斗卫星导航系统(beidou navigation satellite system,BDS)、准天顶卫星系统(quasi-zenith satellite system,QZSS)和/或星基增强系统(satellite based augmentation systems,SBAS)。
手机100可以通过ISP、摄像头193、视频编解码器、GPU、屏幕194,以及应用处理器等实现拍摄功能。
ISP用于处理摄像头193反馈的数据。例如,拍照时,打开快门,光线通过镜头被传递到摄像头193感光元件上,光信号转换为电信号,摄像头193感光元件将所述电信号传递给ISP处理,转化为肉眼可见的图像。ISP还可以对图像的噪点、亮度和肤色进行算法优化。ISP还可以对拍摄场景的曝光、色温等参数优化。
摄像头193用于捕获静态图像或视频。物体通过镜头生成光学图像投射到感光元件。感光元件可以是电荷耦合器件(charge coupled device,CCD)或互补金属氧化物半导体(complementary metal-oxide-semiconductor,CMOS)光电晶体管。感光元件把光信号转换成电信号,之后将电信号传递给ISP转换成数字图像信号。ISP将数字图像信号输出到DSP加工处理。DSP将数字图像信号转换成标准的RGB,YUV等格式的图像信号。在一些实施例中,手机100可以包括1个或N个摄像头193,N为大于1的正整数。
数字信号处理器110用于处理数字信号,除了可以处理数字图像信号,还可以处理其他数字信号。例如,当手机100在频点选择时,数字信号处理器110用于对频点能量进行傅里叶变换等。
视频编解码器用于对数字视频压缩或解压缩。手机100可以支持一种或多种视频编解码器。这样,手机100可以播放或录制多种编码格式的视频,例如:动态图像专家组(moving picture experts group,MPEG)1、MPEG2、MPEG3、MPEG4等。
图2为图1的手机所采用的软件系统的结构示意图。如图2所示,通常可以将Android系统分为四层,从上至下依次为应用程序层、应用程序框架层、系统库和安卓运行时(Android runtime)、内核层,每一层都有清晰的角色和分工,层与层之间通过软件接口进行通信。
应用程序层包括部署在手机100上的一系列应用程序。示例性的,应用程序层包括但不限于桌面启动器(Launcher)、设置模块、日历模块、相机模块、通话模块和短信模块。
应用程序框架层可以为应用程序层中的应用程序提供应用编程接口(application programming interface,API)和编程框架,还可以包括一些预先定义的功能模块/服务。示例性的,应用程序框架层中包括但不限于窗口管理器(Window manager)、活动管理器(Activity manager)、包管理器(Package manager)、资源管理器(Resource manager)和电源管理器(Power manager)。其中,活动管理器用于管理应用程序的生命周期,以及实现各个应用程序的导航回退功能。示例性的,活动管理器可以负责活动(Activity)进程的创建和已经创建的Activity进程的生命周期的维护。窗口管理器用于管理窗口程序。可以理解,应用程序的图形用户界面通常由一个或多个Activity组成,而Activity又由一个或多个视图View组成;窗口管理器可以将需要显示的图形用户界面所包括的View添加到显示屏130上,或者用于从显示屏130上显示的图形用户界面中移除View。包管理器可以管理各个应用程序各自对应的数据包,比如用于对各个数据包进行解压、验证、安装以及升级处理。本申请实施例中,可以向包管理器中嵌入新的功能模块,和/或,在应用程序框架层中嵌入与包管理器相互独立的功能模块,使得手机100实现本申请任意一个实施例中提供的由终端设备执行的方法。资源管理器用于向应用程序提供各种非代码资源的访问。电源管理器是Android系统电源管理的核心服务,主要用于执行Android系统中与电源管理相关的计算任务。向下决策控制Android系统的底层系统点亮或熄灭显示屏、启动或停止距离传感器以及接近光传感器等硬件设备。向上提供相应的操作接口,使得应用程序层的各应用程序能够对其进行调用,实现特定的业务目的。
位于应用程序框架层以下的安卓运行时和系统库、内核层等可称为底层系统,底层系统中包括用于提供显示服务的底层显示系统,底层显示系统可以包括但不限于位于系统库的表面管理器(surface manager)以及位于内核层的显示驱动。
运行时负责整个软件系统的调度和管理,包括核心库和虚拟机。应用程序层和应用程序框架层的计算机程序运行在虚拟机中。更具体地说,虚拟机可以将应用程序层和应用程序框架层的java文件执行为二进制文件。系统库中还可以包括除表面管理器以外的多个功能模块。比如还可以包括状态监测服务、媒体库(Media Libraries)、三维图形引擎(比如,OpenGL for Embedded Systems)和二维图形引擎等。其中,表面管理器可以为各个应用程序提供了二维图形和三维图形的融合。状态监测服务可以接收位于内核层的各个驱动程序上报的数据。媒体库可以支持多种常用格式的图像/音频/视频的回放和采集。三维图形引擎用于实现三维图像的绘制、渲染及合成。二维图形引擎用于实现二维图像的绘制及渲染。
内核层是硬件和软件之间的层,内核层中包括若干硬件的驱动程序。示例性的,内核层可以包括显示驱动、摄像头驱动、音频驱动以及触控驱动。各个驱动程序可以各自搜集相应的硬件所采集的信息,并向系统库中的状态监测服务或其它功能模块上报相应的监测数据。
图3A为本申请实施例的终端设备的硬件结构示意图。如图3A所示,终端设备如手机包括应用处理器(Application Processor,AP)和协处理器(SensorHubProcessor,SHP智能传感集线器)。SHP主要用于获取、整合、处理传感器的数据,将传感器相关处理从主CPU中分离出来,在主应用程序处理器休眠之后,此处理器仍在工作,实现显示合成和帧动画播放的功能,以降低主CPU功耗。其中,AP可包括AOD应用模块和AOD驱动模块。SHP可包括低功耗AOD应用模块、低功耗服务模块和低功耗送显模块。
AOD应用模块用于用户选择息屏显示开关和AOD样式以及自定义设置动态内容(如GIF格式或其他格式动画)等。AOD样式可包括动态内容显示时长和触发动态显示的事件(例如触摸屏幕)。另外,AOD应用模块还用于将用户选择的AOD样式进行分解,即将AOD样式转化为动画基础资源图片(如可将用户设置的动态格式如视频、GIF、LivePhoto动画等解析为一张张帧序列图片)、标识显示控件的类型和控件间关系的信息以及控制规则(例如触发事件参数),并在息屏时通过AOD驱动模块下发给低功耗AOD应用模块。具体地,息屏时,AOD应用模块通过AOD驱动模块申请共享一段内存(Framebuffer,帧缓存),将动画基础资源图片写入共享内存,并通过AOD驱动模块下发AOD指令给低功耗AOD应用模块。其中,共享内存是AP和SensorHub共享内存,用于保存息屏显示的动态内容和静态内容。
AOD驱动模块用于提供专用接口,供息屏时AOD应用模块解析后的帧序列图片写入一段共享内存中,将AOD指令(包括共享内存地址、动画时长,播放帧率、显示控件的类型和控件间关系以及触发事件如是否响应轻触,动一动,人眼注视等)下发给SensorHub中的低功耗子系统,如低功耗AOD应用模块。AOD驱动模块和SensorHub中的低功耗AOD应用模块通信通过IPC通信协议实现核间通信。
具体地,可按照如下操作步骤进行。首先,用户进入息屏显示设置界面,选择显 示方式为智能显示。接着,用户选择息屏样式,如小鸟样式或者自定义设置GIF动画。此时,AOD应用模块会解析用户选择的的样式,根据此场景解析系统配置的动态内容显示时长(如5s),并将此样式关联对应的触发事件类型,如轻触事件,动一动事件,人眼注视事件,进一步地,解析此样式的显示控件以及这几个显示控件的关系,显示控件如数字时钟显示控件、日期组件、历法组件、电量组件、背景组件等。当AOD样式为小鸟图案的动态样式时,动画基础资源图片为连续多张帧图片组成。息屏时,通过AOD驱动模块申请一段共享内存,将动态变化的多张帧图片写入共享内存,并记录内存地址和每帧图片在内存的偏移位置。然后将显示控件、显示控件的关系、关联的事件类型、内存地址和图片序列及在内存的偏移位置通过AOD驱动模块下发给低功耗子系统的低功耗AOD应用模块和低功耗服务模块。
低功耗AOD应用模块接收到AOD应用模块通过AOD驱动提供的专用接口发送的数据,进行数据解析,获取存放动画基础资源图片的内存地址和息屏显示规则,根据息屏显示规则控制屏幕进入低功耗显示模式。具体地,低功耗AOD应用模块根据内存地址识别到共享内存中包含帧动画资源时,从共享内存中读取动画基础资源,并根据各种传感器搜集的数据或事件,通过一定算法判断是否发生摇动或触摸屏幕事件或发生接近光变化或人眼注视等事件时触发息屏显示动画播放或停止。举例而言,当接近光传感器检测到的光减少(如手机放入口袋内,接近光传感器被遮挡),则停止息屏显示,屏幕黑屏;当接近光传感器检测到的光增加(如手机从口袋拿出,接近光传感器不再被遮挡),则继续根据息屏显示规则进行息屏显示。或者,检测到人眼注视屏幕触发动态AOD显示,人眼注视离开屏幕停止动态AOD显示。
低功耗AOD服务模块,提供显示合成能力,将需要显示的各种资源信息合成为最终的显示内容。息屏显示过程中,低功耗服务模块将AOD应用模块中下发的各种显示控件实时合成,如:将当前时刻填充到时间组件并与日期组件、历法组件及动态图片合成后,通过低功耗送显模块提供的接口将显示内容传输到屏幕进行显示。动态息屏显示过程中,动态图片是变化的,从而实现动态的息屏显示。低功耗送显模块负责将低功耗AOD服务模块的信息搬到屏幕上显示出来。
本申请实施例的终端设备,不需要唤醒系统(即应用处理器休眠),基于协处理器(SensorHub processor)实现支持动态息屏显示,降低了终端设备的功耗。其中,终端设备不仅可为手机,还可为平板电脑、笔记本电脑、超级移动个人计算机(ultra-mobile personal computer,UMPC)、手持计算机、上网本、个人数字助理(personal digital assistant,PDA)、可穿戴设备、虚拟现实设备等具有屏幕194的电子设备中,本申请实施例对此不做任何限制。
图3B为图3A的终端设备的软件系统的结构示意图。如图3B所示,AP是AOD应用模块运行所在的处理器,如基于android系统,AOD应用模块在android应用层,通过内核层Kerner的驱动程序和SensorHub通信。通过申请共享内存(framebuffer),将用户设置的动态内容转化为一张张帧动画图片写入申请的共享内存,然后在息屏时将内存地址和息屏之后用户可以响应的事件参数下发给SensorHub的低功耗应用。举例而言,在手机上,用户选择一个GIF图像,系统息屏休眠后,屏幕上循环播放GIF动画或者在用户轻触屏幕或者动一动触发息屏显示上播放GIF动画。SensorHub中低 功耗系统通过将不同的显示内容合成为一张张图片送入到显示系统,实现在应用处理器休眠状态下的动态效果。也就是说,息屏显示动态效果是基于SensorHub协处理器实现的,不需要唤醒系统,不是通过android的显示流程实现的,功耗远低于现有AOD方案。在系统休眠情况下可根据用户的行为控制息屏显示内容刷新,用户的行为包括轻触,动一动,人眼注视等显示不同的息屏内容,可在系统休眠情况下支持动态息屏显示刷新,功耗收益明显。
图3C为图3A和图3B的终端设备进行息屏显示时的流程图。如图3C所示,进行息显示时可包括以下步骤:
步骤S301,用户进入设置界面,选择AOD动态样式。
步骤S302,用户灭屏。
步骤S303,AOD应用模块将AOD动态样式解析为动态资源数据。
步骤S304,AOD应用模块将动态资源数据发送给AOD驱动模块。
步骤S305,AOD驱动模块通过核间通信接口将动态资源数据发送给低功耗AOD应用模块。
步骤S306,低功耗AOD应用模块解析动态资源数据,获取内存地址和触发动态显示的息屏显示事件,其中,内存地址指示存放帧动画资源的位置。
步骤S307,低功耗AOD应用模块响应于息屏显示事件将根据内存地址获取的帧动画资源发送给低功耗AOD服务模块。
步骤S308,低功耗AOD服务模块刷新低功耗送显模块显示的帧动画资源。
步骤S309,低功耗AOD应用模块将静态显示内容发送给低功耗AOD服务模块。其中,静态显示内容可为时间、日期、历法和电量等。并且,静态显示内容可在低功耗AOD应用模块中预先设定类型。或者,设定类型的指令也可与动态资源数据一起由AOD应用模块通过AOD驱动模块提供的接口发送给低功耗AOD应用模块。
步骤S310,低功耗AOD服务模块刷新低功耗送显模块显示的静态显示内容。
另外,步骤S307和步骤S309可同时进行,步骤S308和步骤S310可同时进行。
举例而言,在系统休眠状态下,可以显示蝴蝶挥舞翅膀的动效,或者在用户交互场景,轻触屏幕、轻动手机或者人眼注视屏幕后显示蝴蝶挥舞翅膀的动效。下面以动态内容为小鸟为例对使用场景进行具体说明。
第一种使用场景
1.用户选择智能显示,息屏之后不显示内容,系统进入休眠状态;
2.当用户触摸屏幕或者动一动手机时,系统仍处于休眠状态,但显示静态显示内容如时间、日期等,并且小鸟在屏幕中飞舞一段时间后屏幕不再显示。
第二种使用场景
1.用户选择全天显示或者定时显示,息屏之后系统休眠,屏幕显示静态显示内容如时间、日期等,且支持小鸟在屏幕中飞舞(动态显示)一定时间后消失,仅显示静态显示内容如时间、日期等;
2.当用户触摸屏幕或者动一动手机时,系统仍处于休眠状态,但开始动态显示,小鸟在屏幕中飞舞一段时间后仅显示静态显示内容如时间、日期等。
图4为本申请实施例提供的一种息屏显示方法的流程图。该息屏显示方法应用于 包括显示屏幕、第一处理器和第二处理器的终端设备,第一处理器可以为主处理器(又称应用处理器),第二处理器可以为协处理器。如图4所示,息屏显示方法包括:
步骤S401,响应于息屏事件,第一处理器将息屏显示控制信息发送给第二处理器,息屏显示控制信息包括息屏显示指令,第一处理器将息屏显示控制信息发送给第二处理器后进入休眠模式。息屏事件可为使显示屏幕进入息屏状态的事件,包括在预定时间内未接收到用户操作或亮屏界面时点击电源键。
响应于息屏显示指令,第二处理器控制显示屏幕的息屏界面,具体地,第二处理器根据息屏显示规则控制显示屏幕的息屏界面。息屏显示规则携带在息屏显示控制信息中。或者,息屏显示规则预先设置在第二处理器中。息屏显示规则包括第一息屏显示规则和第二息屏显示规则。
步骤S402,响应于息屏显示指令,第二处理器将亮屏界面切换为第一息屏界面。第一息屏界面由第二处理器按照第一息屏显示规则确定。
步骤S403,响应于息屏界面切换事件,第二处理器将第一息屏界面切换为第二息屏界面。第二息屏界面由第二处理器按照第二息屏显示规则确定。
其中,第一息屏界面和第二息屏界面中的至少一者的显示内容包括动态图案。动态图案可为小鸟或蝴蝶在屏幕上飞舞或为文字在屏幕上移动等。息屏界面切换事件可为触摸屏幕事件、移动终端设备事件(即终端设备被移动)和注视屏幕事件中的一者。
也就是说,在预定时间内未接收到用户操作或亮屏界面时点击电源键,第一处理器会将息屏显示控制信息发送给第二处理器,接着,第一处理器进入休眠模式,第二处理器按照第一息屏显示规则控制显示屏幕显示第一息屏界面;当发生触摸屏幕事件、移动终端设备事件和注视屏幕事件中的一者时,第二处理器将第一息屏界面切换为第二息屏界面。
这样在息屏显示期间,不需要定期唤醒第一处理器,第二处理器能够根据第一处理器发送的息屏显示控制信息中的第一息屏显示规则和第二息屏显示规则中的至少一者控制显示屏幕播放动态图案,从而提升了用户体验效果,能够更好地满足用户需求,并且由于第二处理器可选择低功耗处理器,与息屏显示期间通过第一处理器控制屏幕显示的方式相比,能够显著降低功耗。
步骤S404,响应于亮屏事件,第一处理器控制显示屏幕显示亮屏界面,其中,亮屏界面为显示屏幕退出息屏显示且点亮整个屏幕后的界面,亮屏事件包括在息屏界面时点击电源键或指纹键。也就是说,在息屏显示时,点击终端设备如手机侧面的电源键或者手机屏幕正面的指纹键即可将息屏界面切换为亮屏界面。
下面参考表1对本申请的息屏显示方法的实施例进行介绍。其中,表1中的“文本”是指文本信息,“动效”是指动态图案。
表1
图5为本申请实施例的息屏显示方法的第一种使用场景示意图。如图5所示,第一息屏界面为黑屏界面如图5-a。其中,黑屏界面是指显示屏幕黑屏或进入黑屏状态。第一息屏显示规则包括控制显示屏幕持续黑屏,如表1所示,在收到息屏显示指令的预定时间以内和以外,第二处理器控制屏幕显示黑屏界面图5-a。第二息屏界面包括第一界面和黑屏界面,第一界面的显示内容包括动态图案如图5-b、图5-c和图5-d。第二息屏显示规则包括在显示第一界面预定时间后切换为黑屏界面如图5-e,即如表1所示,在收到息屏界面切换事件后,第二处理器在预定时间以内播放动态图案如图5-b和图5-e,并在预定时间达到后(预定时间以外)控制屏幕黑屏如图5-e。
图6为本申请实施例的息屏显示方法的第二种使用场景示意图。如图6所示,第一息屏界面和第二息屏界面均包括第一界面和黑屏界面,第一界面的显示内容包括动态图案,第一息屏显示规则和第二息屏显示规则均包括在显示第一界面预定时间后切换为黑屏界面。也就是说,第二处理器响应息屏显示指令,在预定时间内控制屏幕显示播放动态图案如图6-a至图6-c,并在预定时间到达后控制屏幕黑屏如图6-d,当收到息屏界面切换事件后,第二处理器在预定时间内控制屏幕播放动态图案如图6-e至图6-g,并在预定时间到达后控制屏幕黑屏如图6-h。
另外,第一息屏界面和第二息屏界面中的至少一者的显示内容还可包括随时间变化的文本显示控件的文本信息。即息屏显示可支持显示静态的内容,也可以支持动态效果。其中,文本显示控件的类型包括时间控件、日期控件、电量控件、历法控件中的至少一者。以文本显示控件包括时间控件和日期控件为例进行说明。具体地,时间控件显示的时间可为08:08,日期控件显示的日期可为11月22日。每种类型的文本显示控件的文本信息可占用一个图层。即08:08可占用第一图层,11月22日可占用第二图层。或者,每种类型的文本显示控件的文本信息可占用两个以上的图层。即08:08中的前面的“08:”可占用第一图层,08:08中的后面的“08”可占用第二图层。另外,每个图层上可显示一种类型的文本显示控件。即第一图层上可仅显示时间08:08。或者,每个图层上可显示两种以上类型的文本显示控件。即第一图层上可同时显示时间08:08和日期11月22日。
当显示屏幕包括文本信息时,本申请的息屏显示方法还包括以下实施例。
图7为本申请实施例的息屏显示方法的第三种使用场景示意图。如图7所示,第一息屏界面包括文本信息,第一息屏显示规则包括持续显示文本信息。第二息屏界面包括第二界面和第三界面,第二界面的显示内容包括文本信息和动态图案。第三界面 的显示内容包括文本信息,第二息屏显示规则包括在显示第二界面预定时间后切换为显示第三界面。具体地,在图7中,文本信息包括时间“08:08”,日期“11月22日星期四”,历法“戊戌年十月十五”。也就是说,在接收到息屏显示指令时,第二处理器控制屏幕持续显示文本信息如图7-a所示,在接收到息屏界面切换事件时,第二处理器在预定时间内控制屏幕播放动态图案如图7-b至图7-d所示,并在预定时间到达后控制屏幕显示文本信息如图7-e所示。
图8为本申请实施例的息屏显示方法的第四种使用场景示意图。如图8所示,第一息屏界面包括第二界面和黑屏界面,第二界面包括文本信息,第二息屏显示规则包括在显示第二界面预定时间后切换为黑屏界面。第二息屏界面包括第三界面和黑屏界面,第三界面的显示内容包括文本信息和动态图案,第二息屏显示规则包括在显示第三界面预定时间后切换为黑屏界面。即在接收到息屏显示指令后,第二处理器控制屏幕在预定时间内显示文本信息如图8-a所示,并在预定时间到达后控制屏幕黑屏如图8-b所示,当收到息屏界面切换事件后,第二处理器控制屏幕在预定时间内显示文本信息和播放动态图案如图8-c至图8-e所示,并在预定时间到达后控制屏幕黑屏如图8-f所示。
或者,如表1所示,第四种使用场景中,第三界面的显示内容仅包括动态图案。也就是说,第二处理器响应息屏显示指令,控制屏幕显示文本信息预定时间后黑屏,当收到息屏界面切换事件后,第二处理器在预定时间内控制屏幕仅播放动态图案,并在预定时间到达后控制屏幕黑屏。
并且,息屏显示控制信息还可包括层叠顺序,层叠顺序用于指示动态图案的每一帧画面与文本信息的排列顺序,层叠顺序包括在第一时刻使动态图案的至少一帧画面位于文本信息的下面如图8-c所示和/或在第二时刻使动态图案的至少一帧画面位于文本信息的上面如图8-e所示。由于在在第一时刻动态图案的至少一帧画面位于文本信息的下面,在第二时刻动态图案的至少一帧画面位于文本信息的上面,这样在第一时刻至第二时刻,可以形成动态团案从文本信息的下面穿越之文本信息的上面的立体效果,能够提高用户使用体验。
进一步地,动态图案的每一帧画面可包括M个图层,其中,M大于或等于2,层叠顺序还包括在第三时刻使文本信息位于M个图层的相邻图层之间。也就是说,动态图案的每一帧画面可由至少两个图层组成,每个图层包括图案的一部分,M个图层层叠可形成完整的图案,在第三时刻使文本信息位于M个图层的相邻图层之间,可形成动态图案的一部分位于文本信息下面,一部分位于文本信息上面,从而使得该第三时刻的动态图案的画面的立体效果更加显著。具体地,如图8-d所示,小鸟的下半身位于日期“11月22日星期四”上面,而小鸟的翅膀位于时间“08”的下面,也就是说,日期位于最低层,时间位于最顶层,小鸟位于日期图层和时间图层之间。
图9为本申请实施例的息屏显示方法的第五种使用场景示意图。如图9所示,第一息屏界面包括第四界面和第五界面,第四界面包括文本信息和动态图案,第五界面的显示内容包括文本信息,第一息屏显示规则包括在显示第四界面预定时间后切换为显示第五界面。第二息屏界面包括第六界面和第七界面,第六界面包括文本信息和动态图案,第七界面的显示内容包括文本信息,第二息屏显示规则包括在显示第六界面 预定时间后切换为显示第七界面。即在接收到息屏显示指令后,第二处理器控制屏幕在预定时间内显示文本信息和动态图案如图9-a至图9-c所示,并在预定时间到达后控制屏幕仅显示文本信息如图9-d所示,当收到息屏界面切换事件后,第二处理器控制屏幕在预定时间内显示文本信息和播放动态图案如图9-e至图9-g所示,并在预定时间到达后控制屏幕黑屏如图9-h所示。
图10为本申请实施例的息屏显示方法的第六种使用场景示意图。如图10所示,第一息屏界面包括第四界面和黑屏界面,第四界面包括文本信息和动态图案,第一息屏显示规则包括在显示第四界面预定时间后切换为黑屏界面。第二息屏界面包括第五界面和黑屏界面,第五界面的显示内容包括文本信息和动态图案,第二息屏显示规则包括在显示第五界面预定时间后切换为黑屏界面。也就是说,接收到息屏显示指令后,第二处理器在预定时间内控制屏幕显示文本信息和播放动态图案如图10-a至图10-c所示,并在预定时间到达后控制屏幕黑屏如图10-d所示,当收到息屏界面切换事件后,第二处理器在预定时间内控制屏幕显示文本信息和播放动态图案如图10-e至图10-g所示,并在预定时间到达后控制屏幕黑屏如图10-h所示。或者,第五界面的显示内容可仅包括文本信息和动态图案中的一者。
图11为本申请实施例的息屏显示方法的第七种使用场景示意图。如图11所示,第一息屏界面包括第八界面和黑屏界面,第八界面的显示内容包括动态图案,第一息屏显示规则包括在显示第八界面预定时间后切换为黑屏界面;第二息屏界面包括第九界面和第十界面,第九界面的显示内容包括文本信息和动态图案,第十界面的显示内容包括黑屏界面,第二息屏显示规则包括在显示第九界面预定时间后切换为第十界面。也就是说,在收到息屏显示指令后,第二处理器控制屏幕在预定时间内播放动态图案如图11-a至图11-c所示,并在预定时间到达后控制屏幕黑屏如图11-d所示,当收到息屏界面切换事件后,第二处理器在预定时间内控制屏幕显示文本信息和播放动态图案如图11-e至图11-g所示,并在预定时间到达后控制屏幕黑屏如图11-h所示。或者,第十界面的显示内容包括文本信息。或者,第九界面的显示内容仅包括文本信息,第十界面的显示内容包括黑屏界面。
上述实施例仅描述了表1中的一些实施例,可以理解的是,本申请实施例的息屏显示方法还可以有其他使用场景。如表1所示,在第四使用场景中,当收到息屏界面切换事件后,第二处理器控制屏幕在预定时间以内显示文本信息和播放动态图案后,在预定时间到达后,除了可使显示屏幕黑屏外,还可以使显示屏幕仅显示文本信息。再如,在第六使用场景中,当收到息屏界面切换事件后,第二处理器控制屏幕在预定时间以内显示文本信息和播放动态图案后,在预定时间到达后,除了可使显示屏幕黑屏外,还可以使显示屏幕仅显示文本信息。
图12为图4的息屏显示方法的步骤S403的具体流程图。息屏显示控制信息还可包括地址信息,地址信息用于指示存放动态图案的每一帧画面的内存的位置。如图12所示,步骤S403中的第二处理器将亮屏界面切换为第一息屏界面或将第一息屏界面切换为第二息屏界面,包括:
步骤S31,第二处理器根据地址信息从内存中获取动态图案的每一帧画面;
步骤S32,第二处理器获取文本显示控件的文本信息;
步骤S33,第二处理器将动态图案的每一帧画面与文本信息合成显示。
其中,显示屏幕显示的文本显示控件的类型是可由第二处理器预先设定,此时,第二处理器直接获取预先设定类型的文本显示控件的文本信息。或者,息屏显示控制信息包括标识信息,标识信息用于标识文本显示控件的类型,第二处理器根据标识信息获取相应类型的文本显示控件的文本信息。即可通过将标识文本显示控件的类型的标识信息携带在第一处理器发送的息屏显示控制信息,以便第二处理器根据标识信息控制屏幕显示相应的文本显示控件的文本信息。也就是说,第一处理器在收到息屏事件时可将用户之前选择的息屏样式进行分解,其中,息屏样式可包括动态图案和文本显示控件。具体地,第一处理器将占用空间比较大的动态图案的每一帧画面存入内存中,并将指示内存位置的地址信息发送给第二处理器,这样在息屏显示期间,第二处理器可根据地址信息获取动态图案的每一帧画面,再与文本显示控件的文本信息合成显示,从而形成第一或第二息屏界面,能够降低对第二处理器性能的要求,有助于进一步降低第二处理器工作时的功耗。并且,上述内存可为第一处理器在收到息屏事件时申请的,在息屏显示结束后,即第一处理器被唤醒后,可将该内存释放,以便用于其他用途。另外,可以理解的是,也可由第二处理器预先设定屏幕显示的一部分文本显示控件,如时间控件和日期控件,再根据不同的息屏样式通过标识信息标识另外的一部分文本显示控件,如历法等。
图13为本申请实施例提供的另一种息屏显示方法的流程图。该息屏显示方法由第一处理器执行,第一处理器和第二处理位于同一终端设备中。如图13所示,该息屏显示方法包括:
步骤S1301,响应于息屏事件,将息屏显示控制信息发送给第二处理器,息屏显示控制信息包括息屏显示指令,息屏显示指令用于第二处理器在息屏期间控制屏幕。
步骤S1302,将息屏显示控制信息发送给第二处理器后进入休眠模式。
图14为本申请实施例提供的又一种息屏显示方法的流程图。该息屏显示方法由第二处理器执行,第二处理器和第一处理位于同一终端设备中。如图14所示,该息屏显示方法包括:
步骤S1401,接收第一处理器发送的息屏显示控制信息,息屏显示控制信息包括息屏显示指令。
步骤S1402,响应于息屏显示指令,将亮屏界面切换为第一息屏界面。
步骤S1403,响应于息屏界面切换事件,将第一息屏界面切换为第二息屏界面。
其中,第一息屏界面和第二息屏界面中的至少一者的显示内容包括动态图案。
图15为图14中的步骤S1402或步骤S1403的具体流程图。进一步地,息屏显示控制信息还包括地址信息,地址信息用于指示存放动态图案的每一帧画面的内存的位置。如图15所示,步骤S1402或步骤S1403具体包括:
子步骤S1,根据地址信息从内存中获取动态图案的每一帧画面。
子步骤S2,获取文本显示控件的文本信息;
子步骤S3,将动态图案的每一帧画面与文本信息合成显示。
图16为本申请实施例提供的一种终端设备的结构示意图,如图16所示,该终端设备1600包括显示屏幕1601、第一处理器1602和第二处理器1603。第一处理器1602 和第二处理器1603可以分别部署在不同的芯片上。第一处理器1602用于响应于息屏事件,将息屏显示控制信息发送给第二处理器1603,息屏显示控制信息包括息屏显示指令、第一息屏显示规则和第二息屏显示规则,第一处理器1602将息屏显示控制信息发送给第二处理器1603后进入休眠模式。第二处理器1603用于响应于息屏显示指令,将亮屏界面切换为第一息屏界面,第一息屏界面由第二处理器1603按照第一息屏显示规则确定。第二处理器1603还用于响应于息屏界面切换事件,将第一息屏界面切换为第二息屏界面,第二息屏界面为由第二处理器1603按照第二息屏显示规则确定。其中,第一息屏界面和第二息屏界面中的至少一者的显示内容包括动态图案。息屏事件为触发息屏显示的事件,包括在预定时间内未接收到用户操作或亮屏界面时点击电源键。息屏界面切换事件为触摸屏幕事件、移动终端设备事件和注视屏幕事件中的一者。另外,第一处理器1602还用于响应于亮屏事件,控制显示屏幕1601显示亮屏界面,其中,亮屏界面为显示屏幕1601退出息屏显示且点亮整个屏幕后的界面,亮屏事件包括在息屏界面时点击电源键或指纹键。
另外,第一息屏界面和第二息屏界面中的至少一者的显示内容还包括随时间变化的文本显示控件的文本信息。其中,文本显示控件的类型包括时间控件、日期控件、电量控件、历法控件中的至少一者。并且,每种类型的文本显示控件的文本信息占用一个或两个以上的图层。或者,每个图层上显示一种或两种以上类型的文本显示控件。并且,息屏显示控制信息还包括层叠顺序,层叠顺序用于指示动态图案的每一帧画面与文本信息的排列顺序,层叠顺序包括在第一时刻使动态图案的至少一帧画面位于文本信息的下面和在第二时刻使动态图案的至少一帧画面位于文本信息的上面。进一步地,动态图案的每一帧画面包括M个图层,其中,M大于或等于2,层叠顺序还包括在第三时刻使文本信息位于M个图层的相邻图层之间。
需说明的是,本申请实施例的终端设备的使用场景与上述的息屏显示方法的使用场景相同。即本申请实施例的终端设备的使用场景可参见上述息屏显示方法的使用场景。
另外,息屏显示控制信息还包括地址信息,地址信息用于指示存放动态图案的每一帧画面的内存的位置。第二处理器1603还用于根据地址信息从内存中获取动态图案的每一帧画面、用于获取文本显示控件的文本信息以及将动态图案的每一帧画面与文本信息合成显示,以形成第一息屏界面或第二息屏界面。
进一步地,第二处理器1603还用于直接获取预先设定类型的文本显示控件的文本信息,其中,显示屏幕1601显示的文本显示控件的类型是由第二处理器1603预先设定的。或者,息屏显示控制信息包括标识信息,标识信息用于标识文本显示控件的类型,第二处理器1603还用于根据标识信息获取相应类型的文本显示控件的文本信息。
图17为本申请实施例提供的一种芯片的结构示意图。该芯片可应用于终端设备中。如图17所示,芯片1700包括处理器1701和接口电路1702,处理器1701和接口电路1702连接,接口电路1702用于处理器与其它处理器通信。用于执行上述各方法实施例中第一处理器或第二处理器执行的操作。
进一步地,芯片1700还可包括存储器1703。存储器1703中存储有指令,该指令可被处理器1701执行。该指令在被处理器1701执行时,芯片1700可以执行上述各方 法实施例中第一处理器或第二处理器执行的操作。
综上所述,本申请实施例提供的息屏显示方法及终端设备,在息屏显示期间,不需要定期唤醒第一处理器,第二处理器能够控制显示屏幕播放动态图案,从而提升了用户体验效果,能够更好地满足用户需求,同时显著降低了第一处理器的功耗。
可以理解的是,本申请的实施例中的处理器可以是中央处理器单元(central processing unit,CPU),还可以是其他通用处理器、数字信号处理器(digital signal processor,DSP)、专用集成电路(application specific integrated circuit,ASIC)、现场可编程门阵列(field programmable gate array,FPGA)或者其他可编程逻辑器件、晶体管逻辑器件,硬件部件或者其任意组合。通用处理器可以是微处理器,也可以是任何常规的处理器。
本申请的实施例中的方法步骤可以通过硬件的方式来实现,也可以由处理器执行软件指令的方式来实现。软件指令可以由相应的软件模块组成,软件模块可以被存放于随机存取存储器(random access memory,RAM)、闪存、只读存储器(read-only memory,ROM)、可编程只读存储器(programmable rom,PROM)、可擦除可编程只读存储器(erasable PROM,EPROM)、电可擦除可编程只读存储器(electrically EPROM,EEPROM)、寄存器、硬盘、移动硬盘、CD-ROM或者本领域熟知的任何其它形式的存储介质中。一种示例性的存储介质耦合至处理器,从而使处理器能够从该存储介质读取信息,且可向该存储介质写入信息。当然,存储介质也可以是处理器的组成部分。处理器和存储介质可以位于ASIC中。
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。所述计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行所述计算机程序指令时,全部或部分地产生按照本申请实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者通过所述计算机可读存储介质进行传输。所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线(DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质,(例如,软盘、硬盘、磁带)、光介质(例如,DVD)、或者半导体介质(例如固态硬盘(solid state disk,SSD))等。
可以理解的是,在本申请的实施例中涉及的各种数字编号仅为描述方便进行的区分,并不用来限制本申请的实施例的范围。
Claims (37)
- 一种息屏显示方法,其特征在于,应用于终端设备,所述终端设备包括显示屏幕、第一处理器和第二处理器,所述息屏显示方法包括:响应于息屏事件,所述第一处理器将息屏显示控制信息发送给所述第二处理器,所述息屏显示控制信息包括息屏显示指令,所述第一处理器将所述息屏显示控制信息发送给所述第二处理器后进入休眠模式;响应于所述息屏显示指令,所述第二处理器控制所述显示屏幕的息屏界面,其中,所述显示屏幕的息屏界面中的至少一个界面包括动态图案。
- 根据权利要求1所述的息屏显示方法,其特征在于,所述第二处理器控制所述显示屏幕的息屏界面包括:所述第二处理器将亮屏界面切换为第一息屏界面;响应于息屏界面切换事件,所述第二处理器将所述第一息屏界面切换为第二息屏界面;其中,所述第一息屏界面和所述第二息屏界面中的至少一者的显示内容包括动态图案。
- 根据权利要求2所述的息屏显示方法,其特征在于:所述第一息屏界面由所述第二处理器按照第一息屏显示规则确定,所述第二息屏界面由所述第二处理器按照第二息屏显示规则确定。
- 根据权利要求3所述的息屏显示方法,其特征在于:所述第一息屏显示规则和所述第二息屏显示规则携带在所述息屏显示控制信息中;或,所述第一息屏显示规则和所述第二息屏显示规则预先设置在所述第二处理器中。
- 根据权利要求1-4中任一项所述的息屏显示方法,其特征在于:所述第一处理器为主处理器,所述第二处理器为协处理器。
- 根据权利要求3所述的息屏显示方法,其特征在于:所述第一息屏界面为黑屏界面,所述第一息屏显示规则包括控制显示屏幕持续黑屏;所述第二息屏界面包括第一界面和黑屏界面,所述第一界面的显示内容包括动态图案,所述第二息屏显示规则包括在显示所述第一界面预定时间后切换为黑屏界面;或,所述第一息屏界面和所述第二息屏界面均包括第一界面和黑屏界面,所述第一界面的显示内容包括动态图案,所述第一息屏显示规则和所述第二息屏显示规则均包括在显示所述第一界面预定时间后切换为黑屏界面。
- 根据权利要求3所述的息屏显示方法,其特征在于,所述第一息屏界面和所述第二息屏界面中的至少一者的显示内容还包括随时间变化的文本显示控件的文本信息。
- 根据权利要求7所述的息屏显示方法,其特征在于:所述第一息屏界面包括文本信息,第一息屏显示规则包括持续显示所述文本信息;所述第二息屏界面包括第二界面和第三界面,所述第二界面的显示内容包括文本信息和动态图案,所述第三界面的显示内容包括文本信息,所述第二息屏显示规则包括在 显示所述第二界面预定时间后切换为显示所述第三界面;或,所述第一息屏界面包括第二界面和黑屏界面,所述第二界面包括所述文本信息,所述第一息屏显示规则包括在显示所述第二界面预定时间后切换为黑屏界面;所述第二息屏界面包括第三界面和黑屏界面,所述第三界面的显示内容包括文本信息和动态图案或包括仅动态图案,所述第二息屏显示规则包括在显示所述第三界面预定时间后切换为黑屏界面。
- 根据权利要求7所述的息屏显示方法,其特征在于:所述第一息屏界面包括第四界面和第五界面,所述第四界面包括所述文本信息和动态图案,所述第五界面的显示内容包括文本信息,所述第一息屏显示规则包括在显示所述第四界面预定时间后切换为显示第五界面;所述第二息屏界面包括第六界面和第七界面,所述第六界面包括文本信息和动态图案,所述第七界面的显示内容包括文本信息,所述第二息屏显示规则包括在显示所述第六界面预定时间后切换为显示所述第七界面;或,所述第一息屏界面包括第四界面和黑屏界面,所述第四界面包括所述文本信息和动态图案,所述第一息屏显示规则包括在显示所述第四界面预定时间后切换为黑屏界面;所述第二息屏界面包括第五界面和黑屏界面,所述第五界面的显示内容包括文本信息和/或动态图案,所述第二息屏显示规则包括在显示所述第五界面预定时间后切换为黑屏界面。
- 根据权利要求7所述的息屏显示方法,其特征在于:所述第一息屏界面包括第八界面和黑屏界面,所述第八界面的显示内容包括动态图案,所述第一息屏显示规则包括在显示所述第八界面预定时间后切换为黑屏界面;所述第二息屏界面包括第九界面和第十界面,所述第九界面的显示内容包括文本信息或包括文本信息和动态图案,所述第十界面的显示内容包括黑屏界面和文本信息中的一者,所述第二息屏显示规则包括在显示所述第九界面预定时间后切换为所述第十界面。
- 根据权利要求7-10中任一项所述的息屏显示方法,其特征在于,所述文本显示控件的类型包括时间控件、日期控件、电量控件、历法控件中的至少一者,其中:每种类型的文本显示控件的文本信息占用一个或两个以上的图层;和/或,每个图层上显示一种或两种以上类型的文本显示控件。
- 根据权利要求7-10中任一项所述的息屏显示方法,其特征在于,所述息屏显示控制信息还包括地址信息,所述地址信息用于指示存放所述动态图案的每一帧画面的内存的位置,所述第二处理器将亮屏界面切换为第一息屏界面或将所述第一息屏界面切换为第二息屏界面,包括:所述第二处理器根据所述地址信息从所述内存中获取动态图案的每一帧画面;所述第二处理器获取所述文本显示控件的文本信息;所述第二处理器将动态图案的每一帧画面与所述文本信息合成显示。
- 根据权利要求12所述的息屏显示方法,其特征在于,所述第二处理器获取所述文本显示控件的文本信息,包括:所述显示屏幕显示的所述文本显示控件的类型是由所述第二处理器预先设定的, 所述第二处理器直接获取预先设定类型的所述文本显示控件的文本信息;或,所述息屏显示控制信息包括标识信息,所述标识信息用于标识所述文本显示控件的类型,所述第二处理器根据所述标识信息获取相应类型的所述文本显示控件的文本信息。
- 根据权利要求7-10中任一项所述的息屏显示方法,其特征在于,所述息屏显示控制信息还包括层叠顺序,所述层叠顺序用于指示动态图案的每一帧画面与所述文本信息的排列顺序,所述层叠顺序包括在第一时刻使所述动态图案的至少一帧画面位于所述文本信息的下面和/或在第二时刻使所述动态图案的至少一帧画面位于所述文本信息的上面。
- 根据权利要求14所述的息屏显示方法,其特征在于,所述动态图案的每一帧画面包括M个图层,其中,M大于或等于2,所述层叠顺序还包括在第三时刻使所述文本信息位于所述M个图层的相邻图层之间。
- 根据权利要求1-15中任一项所述的息屏显示方法,其特征在于:所述息屏事件包括在预定时间内未接收到用户操作或亮屏界面时点击电源键;和/或,所述息屏界面切换事件为触摸屏幕事件、移动终端设备事件和注视屏幕事件中的一者。
- 一种息屏显示方法,其特征在于,由第一处理器执行,所述第一处理器和第二处理位于同一终端设备中,所述息屏显示方法包括:响应于息屏事件,将息屏显示控制信息发送给所述第二处理器,所述息屏显示控制信息包括息屏显示指令,所述息屏显示指令用于指示所述第二处理器在息屏期间控制所述终端设备的显示屏幕的息屏界面;将所述息屏显示控制信息发送给所述第二处理器后进入休眠模式。
- 一种息屏显示方法,其特征在于,由第二处理器执行,所述第二处理器和第一处理器位于同一终端设备中,所述息屏显示方法包括:接收所述第一处理器发送的息屏显示控制信息,所述息屏显示控制信息包括息屏显示指令;响应于所述息屏显示指令,控制所述显示屏幕的息屏界面,其中,所述显示屏幕的息屏界面中的至少一个界面包括动态图案。
- 根据权利要求18所述的息屏显示方法,其特征在于,所述控制所述显示屏幕的息屏界面包括:将亮屏界面切换为第一息屏界面;响应于息屏界面切换事件,将所述第一息屏界面切换为第二息屏界面;其中,所述第一息屏界面和所述第二息屏界面中的至少一者的显示内容包括动态图案。
- 一种终端设备,其特征在于,所述终端设备包括显示屏幕、第一处理器和第二处理器,所述第一处理器,用于响应于息屏事件,将息屏显示控制信息发送给所述第二处理器,所述息屏显示控制信息包括息屏显示指令,所述第一处理器将所述息屏显示控 制信息发送给所述第二处理器后进入休眠模式;所述第二处理器,用于响应于所述息屏显示指令,控制所述显示屏幕的息屏界面,其中,所述显示屏幕的息屏界面中的至少一个界面包括动态图案。
- 根据权利要求20所述的终端设备,其特征在于,所述第二处理器具体用于:将亮屏界面切换为第一息屏界面;响应于息屏界面切换事件,将所述第一息屏界面切换为第二息屏界面;其中,所述第一息屏界面和所述第二息屏界面中的至少一者的显示内容包括动态图案。
- 根据权利要求21所述的终端设备,其特征在于,所述第一息屏界面由所述第二处理器按照第一息屏显示规则确定,所述第二息屏界面由所述第二处理器按照第二息屏显示规则确定。
- 根据权利要求22所述的终端设备,其特征在于:所述第一息屏显示规则和所述第二息屏显示规则携带在所述息屏显示控制信息中;或,所述第一息屏显示规则和所述第二息屏显示规则预先设置在所述第二处理器中。
- 根据权利要求20-23中任一项所述的终端设备,其特征在于:所述第一处理器为主处理器,所述第二处理器为协处理器。
- 根据权利要求22所述的终端设备,其特征在于:所述第一息屏界面为黑屏界面,所述第一息屏显示规则包括控制所述显示屏幕持续黑屏;所述第二息屏界面包括第一界面和黑屏界面,所述第一界面的显示内容包括动态图案,所述第二息屏显示规则包括在显示所述第一界面预定时间后切换为黑屏界面;或,所述第一息屏界面和所述第二息屏界面均包括第一界面和黑屏界面,所述第一界面的显示内容包括动态图案,所述第一息屏显示规则和所述第二息屏显示规则均包括在显示所述第一界面预定时间后切换为黑屏界面。
- 根据权利要求22所述的终端设备,其特征在于,所述第一息屏界面和所述第二息屏界面中的至少一者的显示内容还包括随时间变化的文本显示控件的文本信息。
- 根据权利要求26所述的终端设备,其特征在于:所述第一息屏界面包括文本信息,第一息屏显示规则包括持续显示所述文本信息;所述第二息屏界面包括第二界面和第三界面,所述第二界面的显示内容包括文本信息和动态图案,所述第三界面的显示内容包括文本信息,所述第二息屏显示规则包括在显示所述第二界面预定时间后切换为显示所述第三界面;或,所述第一息屏界面包括第二界面和黑屏界面,所述第二界面包括所述文本信息,所述第二息屏显示规则包括在显示所述第二界面预定时间后切换为黑屏界面;所述第二息屏界面包括第三界面和黑屏界面,所述第三界面的显示内容包括文本信息和动态图案或仅包括动态图案,所述第二息屏显示规则包括在显示所述第三界面预定时间后切换为黑屏界面。
- 根据权利要求26所述的终端设备,其特征在于:所述第一息屏界面包括第四界面和第五界面,所述第四界面包括所述文本信息和动态图案,所述第五界面的显示内容包括文本信息,所述第一息屏显示规则包括在显示所述第四界面预定时间后切换为显示第五界面;所述第二息屏界面包括第六界面和第七界面,所述第六界面包括文本信息和动态图案,所述第七界面的显示内容包括文本信息,所述第二息屏显示规则包括在显示所述第六界面预定时间后切换为显示所述第七界面;或,所述第一息屏界面包括第四界面和黑屏界面,所述第四界面包括所述文本信息和动态图案,所述第一息屏显示规则包括在显示所述第四界面预定时间后切换为黑屏界面;所述第二息屏界面包括第五界面和黑屏界面,所述第五界面的显示内容包括文本信息和/或动态图案,所述第二息屏显示规则包括在显示所述第五界面预定时间后切换为黑屏界面。
- 根据权利要求26所述的终端设备,其特征在于:所述第一息屏界面包括第八界面和黑屏界面,所述第八界面的显示内容包括动态图案,所述第一息屏显示规则包括在显示所述第八界面预定时间后切换为黑屏界面;所述第二息屏界面包括第九界面和第十界面,所述第九界面的显示内容包括文本信息或包括文本信息和动态图案,所述第十界面的显示内容包括黑屏界面和文本信息中的一者,所述第二息屏显示规则包括在显示所述第九界面预定时间后切换为所述第十界面。
- 根据权利要求26-29中任一项所述的终端设备,其特征在于,所述文本显示控件的类型包括时间控件、日期控件、电量控件、历法控件中的至少一者,其中:每种类型的文本显示控件的文本信息占用一个或两个以上的图层;和/或,每个图层上显示一种或两种以上类型的文本显示控件。
- 根据权利要求26-29中任一项所述的终端设备,其特征在于,所述息屏显示控制信息还包括地址信息,所述地址信息用于指示存放所述动态图案的每一帧画面的内存的位置,所述第二处理器还用于:根据所述地址信息从所述内存中获取动态图案的每一帧画面;获取所述文本显示控件的文本信息;将动态图案的每一帧画面与所述文本信息合成显示。
- 根据权利要求31所述的终端设备,其特征在于:所述第二处理器还用于直接获取预先设定类型的所述文本显示控件的文本信息,其中,所述显示屏幕显示的所述文本显示控件的类型是由所述第二处理器预先设定的;或,所述息屏显示控制信息包括标识信息,所述标识信息用于标识所述文本显示控件的类型,所述第二处理器还用于根据所述标识信息获取相应类型的所述文本显示控件的文本信息。
- 根据权利要求26-29中任一项所述的终端设备,其特征在于,所述息屏显示控制信息还包括层叠顺序,所述层叠顺序用于指示所述动态图案的每一帧画面与所述文本信息的排列顺序,所述层叠顺序包括在第一时刻使所述动态图案的至少一帧画面位于所述文本信息的下面和/或在第二时刻使所述动态图案的至少一帧画面位于所述文 本信息的上面。
- 根据权利要求33所述的终端设备,其特征在于,所述动态图案的每一帧画面包括M个图层,其中,M大于或等于2,所述层叠顺序还包括在第三时刻使所述文本信息位于所述M个图层的相邻图层之间。
- 根据权利要求21-34中任一项所述的终端设备,其特征在于:所述息屏事件包括在预定时间内未接收到用户操作或亮屏界面时点击电源键;和/或,所述息屏界面切换事件为触摸屏幕事件、移动终端设备事件和注视屏幕事件中的一者。
- 一种芯片,其特征在于,包括处理器和接口电路,所述处理器和所述接口电路连接;所述处理器,用于执行指令以使得所述芯片执行权利要求17-19中任一项所述的方法;所述接口电路,用于所述处理器与其它处理器通信。
- 一种计算机存储介质,所述计算机存储介质中存储有指令,当所述指令在计算机上运行时,使得所述计算机执行如权利要求1-19中任一项所述的息屏显示方法。
Priority Applications (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| EP21922549.7A EP4270151A4 (en) | 2021-01-29 | 2021-12-08 | ALWAYS-ON DISPLAY PROCEDURE AND TERMINAL DEVICE AND CHIP |
| US18/360,995 US20230370972A1 (en) | 2021-01-29 | 2023-07-28 | Always on Display Method, Terminal Device, and Chip |
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202110129169.7A CN114816607B (zh) | 2021-01-29 | 2021-01-29 | 息屏显示方法、终端设备及芯片 |
| CN202110129169.7 | 2021-01-29 |
Related Child Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| US18/360,995 Continuation US20230370972A1 (en) | 2021-01-29 | 2023-07-28 | Always on Display Method, Terminal Device, and Chip |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2022160959A1 true WO2022160959A1 (zh) | 2022-08-04 |
Family
ID=82526718
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2021/136540 Ceased WO2022160959A1 (zh) | 2021-01-29 | 2021-12-08 | 息屏显示方法、终端设备及芯片 |
Country Status (4)
| Country | Link |
|---|---|
| US (1) | US20230370972A1 (zh) |
| EP (1) | EP4270151A4 (zh) |
| CN (1) | CN114816607B (zh) |
| WO (1) | WO2022160959A1 (zh) |
Families Citing this family (12)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN117631804A (zh) * | 2022-08-10 | 2024-03-01 | Oppo广东移动通信有限公司 | 息屏显示方法、装置、设备及存储介质 |
| WO2024031439A1 (zh) * | 2022-08-10 | 2024-02-15 | 卓永红 | 支持 app 定制 aod 功能的方法,系统和智能终端设备 |
| CN116700585B (zh) * | 2022-10-21 | 2024-04-16 | 荣耀终端有限公司 | 熄屏控制方法、电子设备及存储介质 |
| CN115543465A (zh) * | 2022-11-03 | 2022-12-30 | 展讯半导体(南京)有限公司 | 熄屏显示方法、装置及设备 |
| US20240272697A1 (en) * | 2023-02-09 | 2024-08-15 | Apple Inc. | Electronic Devices With Enclosure-Based Power Consumption |
| CN117707659B (zh) * | 2023-07-07 | 2024-10-01 | 荣耀终端有限公司 | 息屏显示方法和终端设备 |
| CN119274456A (zh) * | 2023-07-07 | 2025-01-07 | 华为技术有限公司 | 终端设备及显示方法 |
| CN117711310B (zh) * | 2023-07-12 | 2024-10-25 | 荣耀终端有限公司 | 显示控制方法、电子设备及存储介质 |
| CN117707367B (zh) * | 2023-08-14 | 2025-07-18 | 荣耀终端股份有限公司 | 动效显示方法和装置 |
| CN119541404A (zh) * | 2023-08-28 | 2025-02-28 | 华为技术有限公司 | 一种显示方法及电子设备 |
| CN121166053A (zh) * | 2024-06-17 | 2025-12-19 | 华为技术有限公司 | 一种显示方法及电子设备 |
| CN121764540A (zh) * | 2024-09-30 | 2026-03-31 | 华为技术有限公司 | 一种熄屏显示方法、电子设备及可读存储介质 |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20180348846A1 (en) * | 2017-06-01 | 2018-12-06 | Lg Electronics Inc. | Mobile terminal and method of controlling the same |
| CN110278325A (zh) * | 2018-03-14 | 2019-09-24 | 三星电子株式会社 | 通过显示器提供通知的电子设备及其控制方法 |
| CN110312985A (zh) * | 2017-02-17 | 2019-10-08 | 三星电子株式会社 | 电子设备和用于显示其屏幕的方法 |
Family Cites Families (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH10334226A (ja) * | 1997-06-04 | 1998-12-18 | Hitachi Ltd | 画像データ記憶装置 |
| US9250695B2 (en) * | 2013-03-15 | 2016-02-02 | Google Technology Holdings LLC | Method and apparatus for displaying a predetermined image on a display panel of an electronic device when the electronic device is operating in a reduced power mode of operation |
| US20150082255A1 (en) * | 2013-09-16 | 2015-03-19 | Motorola Mobility Llc | Methods and apparatus for displaying notification information |
| KR102417633B1 (ko) * | 2017-12-20 | 2022-07-06 | 삼성전자주식회사 | 디스플레이에 표시된 콘텐트의 표시 위치에 기반하여, 콘텐트를 수신할 수 있는 상태에 대응하는 신호의 출력 타이밍을 제어하기 위한 전자 장치 및 방법 |
| WO2019183786A1 (zh) * | 2018-03-26 | 2019-10-03 | 华为技术有限公司 | 一种提示信息的显示方法及电子设备 |
| US11355088B2 (en) * | 2019-03-14 | 2022-06-07 | Novatek Microelectronics Corp. | Display driver device and operating method for display driver device and a display device |
-
2021
- 2021-01-29 CN CN202110129169.7A patent/CN114816607B/zh active Active
- 2021-12-08 WO PCT/CN2021/136540 patent/WO2022160959A1/zh not_active Ceased
- 2021-12-08 EP EP21922549.7A patent/EP4270151A4/en active Pending
-
2023
- 2023-07-28 US US18/360,995 patent/US20230370972A1/en active Pending
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN110312985A (zh) * | 2017-02-17 | 2019-10-08 | 三星电子株式会社 | 电子设备和用于显示其屏幕的方法 |
| US20180348846A1 (en) * | 2017-06-01 | 2018-12-06 | Lg Electronics Inc. | Mobile terminal and method of controlling the same |
| CN110278325A (zh) * | 2018-03-14 | 2019-09-24 | 三星电子株式会社 | 通过显示器提供通知的电子设备及其控制方法 |
Non-Patent Citations (1)
| Title |
|---|
| See also references of EP4270151A4 |
Also Published As
| Publication number | Publication date |
|---|---|
| EP4270151A1 (en) | 2023-11-01 |
| EP4270151A4 (en) | 2024-06-12 |
| CN114816607A (zh) | 2022-07-29 |
| US20230370972A1 (en) | 2023-11-16 |
| CN114816607B (zh) | 2024-11-22 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| WO2022160959A1 (zh) | 息屏显示方法、终端设备及芯片 | |
| CN112558825B (zh) | 一种信息处理方法及电子设备 | |
| US10602076B2 (en) | Method for combining and providing image, obtained through a camera, electronic device, and storage medium | |
| WO2021063237A1 (zh) | 电子设备的控制方法及电子设备 | |
| WO2021213164A1 (zh) | 应用界面交互方法、电子设备和计算机可读存储介质 | |
| WO2021000881A1 (zh) | 一种分屏方法及电子设备 | |
| WO2021185244A1 (zh) | 一种设备交互的方法和电子设备 | |
| WO2020108356A1 (zh) | 一种应用显示方法及电子设备 | |
| WO2020259452A1 (zh) | 一种移动终端的全屏显示方法及设备 | |
| CN113986002B (zh) | 帧处理方法、装置及存储介质 | |
| WO2021000807A1 (zh) | 一种应用程序中等待场景的处理方法和装置 | |
| WO2021057343A1 (zh) | 一种对电子设备的操作方法及电子设备 | |
| WO2021036585A1 (zh) | 一种柔性屏显示方法和电子设备 | |
| WO2021036770A1 (zh) | 一种分屏处理方法及终端设备 | |
| WO2021036830A1 (zh) | 一种折叠屏显示应用方法及电子设备 | |
| CN114691059B (zh) | 一种投屏显示方法及电子设备 | |
| WO2020228735A1 (zh) | 一种显示应用的方法及电子设备 | |
| WO2021179829A1 (zh) | 一种人机交互方法及设备 | |
| WO2023066395A1 (zh) | 一种应用运行方法以及相关设备 | |
| CN116798418A (zh) | 基于语音助手的控制方法和装置 | |
| WO2021190489A1 (zh) | 一种显示时间的方法及电子设备 | |
| WO2021057565A1 (zh) | 处理方法及移动设备 | |
| CN114498028A (zh) | 数据传输方法、装置、设备及存储介质 | |
| WO2025119190A1 (zh) | 多设备协同方法及相关装置 | |
| WO2021121036A1 (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: 21922549 Country of ref document: EP Kind code of ref document: A1 |
|
| ENP | Entry into the national phase |
Ref document number: 2021922549 Country of ref document: EP Effective date: 20230726 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |

