WO2024031439A1 - 支持 app 定制 aod 功能的方法,系统和智能终端设备 - Google Patents

支持 app 定制 aod 功能的方法,系统和智能终端设备 Download PDF

Info

Publication number
WO2024031439A1
WO2024031439A1 PCT/CN2022/111460 CN2022111460W WO2024031439A1 WO 2024031439 A1 WO2024031439 A1 WO 2024031439A1 CN 2022111460 W CN2022111460 W CN 2022111460W WO 2024031439 A1 WO2024031439 A1 WO 2024031439A1
Authority
WO
WIPO (PCT)
Prior art keywords
aod
app
application
mode
interface
Prior art date
Application number
PCT/CN2022/111460
Other languages
English (en)
French (fr)
Inventor
卓永红
Original Assignee
卓永红
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 卓永红 filed Critical 卓永红
Priority to PCT/CN2022/111460 priority Critical patent/WO2024031439A1/zh
Priority to CN202280003457.0A priority patent/CN115843355A/zh
Publication of WO2024031439A1 publication Critical patent/WO2024031439A1/zh

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements 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/44Arrangements for executing specific programs
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements 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/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/725Cordless telephones
    • YGENERAL 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
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE 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/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Definitions

  • the present invention relates to the technical field of computer graphics processing, and in particular to a method, a system and an intelligent terminal device capable of supporting APP customized AOD functions.
  • AOD Automatic On Display
  • the application processor AP
  • the AP only Light up a small area of the display to display system information such as system time, date, battery level, text messages, incoming call messages, etc.
  • system information such as system time, date, battery level, text messages, incoming call messages, etc.
  • the AP enters the sleep state and monitors system events.
  • the power consumption is very low.
  • the AOD function allows users to view the information they need at any time without unlocking and lighting up the entire screen, thereby reducing device power consumption.
  • the AP When the AP monitors system events (including key events, touch events, phone events, SMS events, etc.) and needs to exit the AOD mode to handle the system events, the AP will drive the entire display to light up through the MIPI interface and timing controller (TCON). Display the system event and exit sleep state.
  • system events including key events, touch events, phone events, SMS events, etc.
  • TCON timing controller
  • the technical problem to be solved by the present invention is to provide a method, system and intelligent terminal equipment to support the APP customized AOD function, so as to realize the display of APP customized information that needs to be displayed in the AOD mode in the intelligent terminal equipment in a low power consumption manner. .
  • a method for supporting an APP to customize AOD functions includes: after receiving an instruction to turn on the AOD mode of the APP, if the AOD system has downloaded the AOD application package of the APP, then executing the AOD application of the APP, and the GPU draws the The UI interface of the APP's AOD application enters the AOD mode; if it is necessary to obtain real-time data for display on the UI interface of the APP's AOD application, a request message for obtaining the real-time data is sent to the AP; after entering the AOD mode, the AP Enters the sleep state and monitors system event messages and AOD event messages sent by the AOD system; if the system event message has been registered to be displayed in AOD mode, the AP sends the system event message to the AOD system and then enters sleep.
  • the AP obtains the real-time data from the agreed server and forwards it to the AOD system, and then enters the sleep state;
  • the AOD system receives the system event message and the real-time data Afterwards, the GPU draws the system event messages and the real-time data.
  • an AOD system that supports APP customized AOD functions includes an AOD processor, a GPU, a local memory and a MIPI interface; after the AOD processor receives an instruction to turn on the AOD mode of the APP through the MIPI interface, Obtain the AOD application package of the APP from the local storage and execute the AOD application of the APP; the GPU draws the UI interface of the AOD application of the APP and enters the AOD mode; if it is necessary to obtain real-time data, it will be used in the UI interface of the AOD application of the APP.
  • the AOD processor sends a request message to obtain the real-time data through the MIPI interface, and obtains the real-time data, and the GPU draws the real-time data; if the AOD processor receives the system event message through the MIPI interface, then The GPU draws the system event messages.
  • an AP supports APP customized AOD functions, including a CPU, a memory and a MIPI interface; after receiving a trigger event to enable the AOD mode of the APP, the CPU sends a message to the AOD system through the MIPI interface to enable the APP.
  • AOD mode instruction after entering AOD mode, the CPU enters sleep state and monitors system event messages and AOD event messages sent by the AOD system; if the system event message has been registered to be displayed in AOD mode, the CPU will The system event message is sent to the AOD system through the MIPI interface and then enters the sleep state; if the AOD event message is a request message to obtain real-time data, the CPU obtains the real-time data from the agreed server and forwards it to the system through the MIPI interface. The AOD system then goes to sleep.
  • an intelligent terminal device supporting APP customized AOD function includes the above-mentioned AOD system and the above-mentioned AP connected to the above-mentioned AOD system.
  • the present invention can support the APP to customize the AOD function, turn on the APP's AOD mode, and use the dual-system collaborative display mechanism between the AOD system and the AP to make the display screen display the APP customized information that needs to be displayed in the AOD mode, including but not limited to real-time Data, text, and pictures do not need to light up the entire display, and the AP is in sleep state. It only wakes up for a short time when receiving system event messages and AOD event messages, and continues to sleep after processing. This not only enriches the AOD mode Display content and also make the device consume very low power in AOD mode.
  • the preset system AOD mode can be turned on, so that the display screen displays the system AOD application's preset information that needs to be displayed in the AOD mode. Furthermore, if the system AOD application is not preset or the APP has not customized the AOD application, you can also download the system AOD application package or the APP's AOD application package through the agreed download link to turn on the AOD mode.
  • Figure 1 is a structural block diagram of an intelligent terminal device that supports APP customized AOD functions according to one embodiment.
  • Figure 2 is a flow chart of a method for supporting APP customized AOD functions according to one embodiment.
  • Figure 3 is a flow chart of a method for enabling the AOD mode of an APP according to one embodiment.
  • Figure 4 is a flow chart of a method for enabling the AOD mode and system AOD mode of an APP according to one embodiment.
  • Figure 5 is a flow chart of a method for turning on the system AOD mode according to one embodiment.
  • Figure 6 is an example of a UI interface of a navigation APP in AOD mode according to some embodiments of the present invention.
  • the intelligent terminal device that supports the APP customized AOD function includes an AP, an AOD system and a display screen.
  • the AP includes a CPU 11 , a memory 12 and a MIPI interface 13 .
  • the CPU 11 can run multiple APPs, and the MIPI interface 13 is also in high-speed mode, requiring a large current to transmit a large amount of data; considering the chip area and storage capacity, smart terminal devices usually use DRAM chips as memory 12 , which requires continuous periodic refresh current to maintain data from being lost, which is also very power-consuming. Therefore, under normal working conditions, the CPU 11, the memory 12, and the MIPI interface 13 all consume a large amount of power.
  • the AP After entering AOD mode, the AP enters sleep state and CPU11 only runs the AOD manager and AOD Server, suspends the execution of other APPs, only wakes up briefly when it monitors system events and AOD events, and continues to sleep after the processing is completed, so CPU11 is in a low power consumption state.
  • the MIPI interface 13 is also only used for simple data information exchange and is in low-speed mode without requiring large current.
  • the AOD system is responsible for running the AOD application (hereinafter referred to as the AOD application), reading, storing and refreshing the graphical interface data in the AOD mode.
  • the AOD application There is no need for the memory 12 in the AP to provide and store data. Therefore, the memory in the AP 12 is also in sleep state and consumes less power.
  • the AOD manager is a background service program that resides in the AP and is responsible for turning on and off the AOD mode, parsing, downloading and executing the AOD application package of the APP (as shown in the example of Figure 3), and pre- Configure, download and execute the system AOD application package (as shown in Figure 4-5), and process various system event messages and AOD event messages received in AOD mode.
  • the AOD server is a service driver residing in the AP, used to send various instructions and messages generated by the AOD manager to the AOD Client, and forward various messages sent by the AOD Client to the AOD management It implements the downloading, execution, event distribution and response reception of AOD applications.
  • the AOD system includes an AOD processor 21, a local memory 22, a MIPI interface 23, a GPU 24 and a timing controller 25.
  • the AOD processor 21 can use an MCU processor, which is a low-power processor that only runs an embedded real-time operating system RTOS (for example, RT-Thread, Lite-OS).
  • RTOS for example, RT-Thread, Lite-OS
  • the memory can use SRAM without periodic refresh current. To maintain data, power consumption is low.
  • GPU24 can adopt 2D graphics rendering that is only capable of handling 2D GPU,power consumption is also lower.
  • the AOD processor 21 is responsible for running programs required to enable and exit the AOD mode, including AOD applications, AOD program engines, AOD Client, UI framework APIs and GPU drivers (hereinafter referred to as GPU drivers).
  • the AOD application is a program executed on the AOD processor that enters the AOD mode and performs screen-off display and related information interaction.
  • the AP can extract the AOD application package of the APP by parsing the program resource data of the APP that currently needs to enable AOD mode, and then sends it to the AOD system, so that the AOD processor can execute the AOD application of the APP.
  • the AP fails to extract the AOD application package of the current APP, it can extract the preset system AOD application package and send it to the AOD system so that the AOD processor can execute the preset system AOD application.
  • the AOD program engine is an application framework program that resides in the AOD system and implements the startup, execution, event processing, etc. of the AOD application.
  • the AOD Client is a service driver residing in the AOD system and communicates with the AOD through the AOD protocol. Server communication, realizing the downloading, execution, event distribution and response reception of AOD applications, etc.
  • the UI framework API is a UI interface program interface that resides in the AOD system. It parses the interface elements of different AOD applications through predefined UI framework models and outputs UI interface data to the GPU driver.
  • the GPU driver is a driver residing in the AOD system that starts the GPU to perform graphics data operations, and outputs to the GPU metadata of the UI interface of the AOD application that can be directly read and used.
  • the local storage 22 can store AOD application packages of multiple APPs, and the AOD processor 21 parses the AOD application packages of the APPs to run the AOD applications of the APPs.
  • the local storage 22 may store AOD application packages and system AOD application packages of multiple APPs.
  • the AOD processor 21 parses the AOD application package of the APP to run the AOD application of the APP, and parses the system AOD application package to run the system AOD application.
  • the local memory 22 only stores program data of the currently running AOD application.
  • the currently running AOD application may be an APP AOD application and a system AOD application.
  • the MIPI interface 13 of the AP and the MIPI interface 23 of the AOD system are based on MIPI DSI interface specification for communication interaction.
  • the MCU After receiving the instruction to turn on the AOD mode of the APP, the MCU calls the AOD program engine to run the AOD application according to the instruction sent by the CPU 11 to run the AOD application of the current APP, calls the UI framework API, starts the GPU driver, and converts the graphics of the AOD application to Interface elements are decomposed into metadata that GPU24 can directly read and use.
  • GPU24 reads the metadata provided by the GPU driver and caches it in the internal cache (for example, SRAM). Then it calculates the ARGB value of each pixel in real time and directly drives the display display through TCON.
  • the method for supporting APP customized AOD functions in this embodiment includes blocks 31-34.
  • box 31 after receiving the instruction to turn on the AOD mode of the APP, if the AOD system has downloaded the AOD application package of the APP, the AOD application of the APP is executed, and the GPU draws the UI interface of the AOD application of the APP and enters the AOD mode; if necessary
  • a request message for obtaining real-time data is sent to the AP.
  • the instruction to turn on the AOD mode of the APP is that after the AP receives the trigger event to turn on the AOD mode of the current APP and detects that the AOD system has pre-stored the AOD application of the APP, it then sends the instruction to the AOD through the MIPI interface 13 Sent by the system.
  • the instruction to turn on the AOD mode of the APP is sent by the AP to the AOD system through the MIPI interface 13 after receiving the trigger event of turning on the AOD mode of the APP and sending the AOD application package of the APP to the AOD system. .
  • the above instruction to enable the AOD mode of the APP can be replaced by an instruction to execute the AOD application of the APP.
  • the above-mentioned trigger event for enabling the AOD mode of the APP can be replaced by a trigger event for executing the AOD application of the APP.
  • box 32 if the APP does not have an AOD application package and the AOD system has downloaded the preset system AOD application package, then after receiving the instruction to turn on the preset system AOD mode, the AOD system executes the system AOD application and the GPU draws the system AOD.
  • the UI interface of the application enters the AOD mode; if it is necessary to obtain real-time data for display on the UI interface of the system AOD application, a request message for obtaining real-time data is sent to the AP.
  • the AP after the AP receives the trigger event to turn on the AOD mode of the current APP, it detects that the current APP does not have an AOD application package, but the memory 12 pre-stores a preset system AOD application package, and the AOD system has downloaded the system
  • the AOD application package sends an instruction to enable the system AOD mode to the AOD system through the MIPI interface 13. After the AOD system receives the instruction to turn on the system AOD mode, it then executes the system AOD application.
  • the AP after the AP receives the trigger event to turn on the AOD mode of the current APP, it detects that the current APP does not have an AOD application package, but the memory 12 pre-stores a preset system AOD application package, and the AOD system has not downloaded the system
  • the AOD application package is sent to the AOD system through the MIPI interface 13, and then an instruction to turn on the system AOD mode is sent to the AOD system.
  • the AP after the AP receives the trigger event to enable the AOD mode of the current APP and detects that the current APP does not have an AOD application package, it sends a program error message or a prompt to download the AOD application package through an agreed download link. information. This download link can be used to download the AOD application package of the current APP.
  • the AP after the AP receives the trigger event to turn on the AOD mode of the current APP, and detects that the current APP does not have an AOD application package, and the memory 12 does not pre-store the system AOD application package, it issues a program error prompt message or issues a pass message. Prompt message for downloading the AOD application package via the agreed download link. This download link can be used to download the AOD application package of the current APP, or to download the system AOD application package.
  • the AP after the AP receives the trigger event to turn on the default system AOD mode, and detects that the memory 12 has the default system AOD application package pre-stored, and the AOD system has downloaded the system AOD application package, then through MIPI
  • the interface 13 sends an instruction to the AOD system to enable the system AOD mode. After the AOD system receives the instruction to turn on the system AOD mode, it then executes the system AOD application.
  • the AP after the AP receives the trigger event to turn on the default system AOD mode, and detects that the memory 12 has a pre-stored system AOD application package, and the AOD system has not downloaded the system AOD application package, it uses MIPI
  • the interface 13 sends the system AOD application package to the AOD system, and then sends an instruction to enable the system AOD mode to the AOD system.
  • the AP after the AP receives the trigger event to turn on the preset system AOD mode and detects that the memory 12 does not pre-store the system AOD application package, it sends a program error message or downloads the AOD application through the agreed download link. Package prompt message. This download link can be used to download the AOD application package of the current APP, or to download the system AOD application package.
  • the above trigger event for turning on the preset system AOD mode can be replaced by a trigger event for executing the preset system AOD application.
  • the above trigger event for starting the AOD mode of the APP can be replaced by a trigger event for executing the AOD application of the APP.
  • the above instruction to enable the default system AOD mode can be replaced by an instruction to execute the system AOD application.
  • the above trigger events can be touch sensing events, key events, etc.
  • the AP can obtain trigger events sent by sensor modules, key modules, etc. through external interrupt levels.
  • the AP After entering the AOD mode, the AP enters the sleep state and listens to the system event message and the AOD event message sent by the AOD system; if the system event message has been registered to be displayed in the AOD mode, the AP sends the system event message to The AOD system then enters the sleep state; if the AOD event message is a request message for obtaining real-time data, the AP obtains real-time data from the agreed server and forwards it to the AOD system, and then enters the sleep state.
  • System events that maintain the AOD mode, system events that exit the AOD mode, and system events that need to be displayed in the AOD mode can be recorded through a registry.
  • the CPU 11 can search the registry to obtain the type of the system event.
  • This registry may be stored in memory 12.
  • the AP sends an exit AOD mode instruction to the AOD system, and exits the sleep state and returns to the normal working state; after the AOD system receives the exit AOD mode instruction, Exit the current AOD application and control the GPU24 to stop drawing the UI interface of the current AOD application.
  • the AP may not perform any processing.
  • the above-mentioned AOD mode includes the APP's AOD mode and the system AOD mode.
  • the above-mentioned agreed server can be the background server preset by the APP operator; the above-mentioned exit AOD mode instruction can be replaced by an instruction to stop executing the APP's AOD application.
  • the system AOD mode is entered, the above-mentioned agreed server can be a background server preset by the intelligent terminal device provider; the above-mentioned exit AOD mode instruction can be replaced with an instruction to stop executing the system AOD application.
  • the GPU draws the system event message and the real-time data.
  • a UI framework API is pre-stored in the AOD system.
  • the UI framework API parses the above-mentioned UI interface, the above-mentioned real-time data, and the above-mentioned system event messages based on a preset primitive hierarchical model to generate GPU24 Metadata that can be read and accessed directly.
  • the above-mentioned UI interface includes the UI interface of the APP's AOD application and the UI interface of the system AOD application.
  • the GPU 24 draws the system event message in other areas outside the UI interface of the current AOD application.
  • Real-time data refers to the real-time updated data that the current AOD application needs to obtain from the APP server through the network, and is displayed on the UI interface of the current AOD application through the display screen.
  • the current AOD application includes the APP's AOD application and the system AOD application.
  • the invention can support the APP customized AOD function, turn on the APP's AOD mode, and enable the display screen to display the APP customized information to be displayed through the dual-system collaborative display mechanism between the AOD system and AP, including but not limited to real-time data, text, and pictures.
  • the AP is in sleep state. It only wakes up for a short time when receiving system event messages and AOD event messages, and continues to sleep after processing. This not only enriches the display content of AOD mode, but also enables The device consumes very low power in AOD mode.
  • the preset system AOD mode can be turned on, so that the display screen displays the information and pictures preset by the system AOD application. Furthermore, if the system AOD application is not preset or the APP has not customized the AOD application, you can also download the system AOD application package or the APP's AOD application package through the agreed download link to turn on the AOD mode.
  • this example's method of supporting APP customization of the AOD function includes the following steps:
  • the AP After receiving the trigger event that turns on the AOD mode of the current APP, the AP parses the AOD application package from the APP's program data package. If the parsing is successful, it sends an instruction to the AOD system to detect the APP's AOD application package.
  • the CPU 11 runs the AOD manager, obtains the program data package of the current APP from the memory 12, and parses its AOD application package. If the parsing is successful, it passes the AOD server Send an instruction to detect the AOD application package to the AOD Client of the AOD system.
  • AOD server and AOD Clients follow the pre-agreed AOD protocol to communicate at the AOD protocol layer, and the physical layer communication interface is the MIPI interface. If the AOD application package of the current APP is not parsed successfully, you can not start the AOD mode and issue a program error message; or you can start the preset system AOD application (this part will be detailed below in conjunction with the example in Figure 4).
  • the APP can pre-store the predefined AOD application package as program resource data in the memory 12, and enable the AOD manager to parse and obtain the AOD application package of the APP through the pre-agreed tag.
  • the AOD system detects whether the AOD application package of the APP has been downloaded to the local storage. If so, proceed to step S3a; otherwise, proceed to step S3b.
  • the AOD system uses AOD After receiving the instruction to detect the AOD application package of the APP, the Client searches the local storage 22 to determine whether the AOD application package has been downloaded.
  • the AOD system returns a response message that the AOD application package has been downloaded to the AP, and enters step S4a.
  • the AOD system returns a response message that the AOD application package has not been downloaded to the AP, and enters step S4b.
  • a response message indicating that the AOD application package has not been downloaded is sent to the AP through the AOD Client.
  • the AP sends an instruction to execute the AOD application of the current APP to the AOD system, and enters steps S5a and S5b.
  • the AOD Server forwards it to the AOD manager.
  • the AOD manager generates instructions for executing the AOD application of the APP and sends them to the AOD through the AOD Server. Client.
  • the AP sends the AOD application package of the APP to the AOD system and enters step S6.
  • the AOD Server forwards it to the AOD manager, and the AOD manager sends the AOD application package of the APP to the AOD system through MIPI interface 13.
  • the S5a.AOD program engine calls the AOD application package, executes the AOD application of the APP, calls the GPU driver through the UI framework API, controls the GPU24 to draw the UI interface of the APP's AOD application, and sends it to the display screen for display; if you need to obtain real-time data, use To display on the UI interface of the AOD application of the APP, a request message for obtaining real-time data is sent to the AP.
  • the AOD system After receiving the instruction to execute the AOD application of the APP, the AOD system starts the AOD program engine to call the AOD application package of the APP from the local memory 22 and executes the AOD application of the APP. Call the UI framework API and call the GPU driver to obtain the graphical interface elements of the APP's AOD application, control the GPU 24 to draw the UI interface of the APP's AOD application, and then send it to the display screen for display through the timing controller 25 .
  • the UI framework The API is based on the preset primitive hierarchical model to parse the UI interface elements of AOD applications of different APPs.
  • the APP places the UI interface data of the AOD application as resource data in the AOD application package.
  • the UI framework API can obtain the UI interface data of the current AOD application from the local storage 22, parse and convert the UI interface data of the AOD application into the primitive layer through the GPU driver.
  • An instance of a model representation whose metadata can be directly read and used by GPU24.
  • the element layering model refers to classifying various elements of the graphical interface (such as background images, icons, text, etc.) according to agreed rules and layering them into layers. For example, various pictures and texts can be classified into solid color primitives, ARGB primitives, linear gradient primitives, glyph primitives, etc. Layers with different overlay levels can be classified into window layer primitives located at the bottom and middle layers. control layer primitives and top-level bitmap layer primitives, etc. For details, please refer to another PCT international patent application "Graphics processing system, method and GPU based on bitmap primitives" (International Application No. PCT/CN2022/10458).
  • AP enters the sleep state and monitors system event messages and AOD event messages. If it receives the system event message, it goes to step S11; if it receives the AOD event message requesting to obtain real-time data, it goes to step S7.
  • AOD event messages refer to various types of messages such as response messages and request messages sent by the AOD application to the AOD manager. They follow the pre-agreed AOD protocol to communicate at the AOD application layer.
  • the physical layer communication interface is MIPI. interface.
  • the AOD application is customized to display real-time data in AOD mode
  • a request message for obtaining real-time data will be generated and sent to the AOD manager.
  • the AOD application of the navigation APP can be customized to display the current road, road ahead, remaining mileage, remaining time, forward direction, forward distance and other real-time navigation data in AOD mode, and corresponding application logic can be added to the AOD application package.
  • the AOD system executes the AOD application of the navigation APP, it can determine what real-time data currently needs to be obtained based on the application logic, and then send a request message to obtain these real-time data to the AP.
  • the AOD system downloads the AOD application package and saves it in the local storage, and enters step S3a.
  • the AOD application package needs to be downloaded to the local storage 22 first.
  • the AOD application is executed again, there is no need to download it.
  • S7.AP sends a request to the server to obtain the real-time data.
  • the AP after receiving the request message for obtaining real-time data sent by the AOD system, the AP will wake up for a short time and send the request for obtaining the real-time data to the agreed server through the network service interface or other communication interface of the AP system.
  • the AOD system can carry the data download address of the server in the request to obtain real-time data.
  • the server sends the real-time data to the AP.
  • the AP forwards the real-time data to the AOD system and enters steps S10a and S10b.
  • the AP After receiving the real-time data through the network service interface or other communication interfaces, the AP sends it to the AOD system through the MIPI interface 13. At this time, the AP is only used to forward data without computing and processing data, so the time required is extremely short and the power consumption is extremely low.
  • the AOD system receives the real-time data, and the AOD program engine calls the application logic of the APP to process the real-time data, calls the UI framework API and GPU driver, and controls the GPU 24 to draw the real-time data and send it to the display screen for display.
  • the AOD program engine calls the application logic of the APP to process the real-time data, parses the real-time data through the UI framework API, and generates the metadata of the real-time data by calling the GPU driver. , controls the GPU 24 to draw the real-time data, and then sends it to the display screen for display through the timing controller 25 .
  • the APP display interface is simpler than the interface in normal mode, retaining only necessary information (including real-time data, etc.), and avoiding displaying other irrelevant information.
  • the navigation APP is in AOD mode, and the UI interface 40 only displays text, numbers and icons. Among them, “High-tech Avenue” 41 is the current road, “right turn icon” 42 is the forward direction, and “200 Meters” 45 is the distance ahead, “Kexing Road” 43 is the road ahead, “500 meters” 44 is the remaining mileage, and “10 minutes” 46 is the remaining time. "Current road”, “road ahead”, “remaining mileage”, “remaining time”, “forward direction”, “forward distance”, these navigation data are real-time data customized by the APP and need to be refreshed and displayed in real time in AOD mode. .
  • step S10b After the AP forwards the real-time data, it returns to step S5b.
  • AP determines whether the system event message has been registered as an event message displayed in AOD mode. If so, execute step S12. Otherwise, determine whether the system event message is an event to exit AOD mode. If so, exit the sleep state and execute Step S13.
  • the AOD manager can determine whether the system event is registered to be displayed in the AOD mode and whether the system event is registered as an event to exit the AOD mode based on the records in the registry.
  • the AOD manager sends the system event message to the AOD application, so that the AOD system displays the system event message.
  • the AOD system receives the system event message, calls the UI framework API and GPU driver, controls the GPU24 to draw the system event message, and sends it to the display screen for display.
  • the AOD application calls the UI framework API, calls the GPU driver through the UI framework API, parses the system event message, generates the metadata of the system event message, and enables GPU24 to draw the system event message. , and then drive the display through TCON.
  • the system event message can be displayed in other areas outside the UI interface of the current AOD application.
  • the system event message 50 may be displayed in an area outside the UI interface 40 of the AOD application of the navigation APP.
  • the AOD manager sends an exit AOD mode instruction to the AOD application, and the AP also exits the sleep state.
  • the AOD system exits the current AOD application and closes the AOD display.
  • the AOD application stops running and closes the AOD display.
  • the AOD system can also run the preset system AOD application to enter the AOD mode, instead of being unable to Enter AOD mode to avoid exceptions.
  • the method in this example can still enter the AOD mode, including the following steps:
  • step S0a After the AP receives the trigger event that turns on the AOD mode of the current APP, it parses the AOD application package from the program data package of the current APP. If the parsing is successful, it proceeds to step S1a. Otherwise, it determines whether the system AOD application package is stored in the memory 12. , if so, go to step S1b, otherwise, go to step S20a.
  • the AOD manager obtains the program data package of the current APP from the memory 12 and parses its AOD application package. If the parsing is successful, it sends a message to the AOD Client through the AOD server to detect the current APP. AOD application package instructions. If the parsing is unsuccessful, search the memory 12 to determine whether there is a preset system AOD application package stored. If so, then use the AOD The server sends an instruction to detect the preset system AOD application package to the AOD Client.
  • the preset system AOD application package is used to run the preset system AOD application to display various system information in AOD mode, such as time, date, weather, schedule, new text messages and phone calls, new APP notification messages, etc. , it can also display various pictures, such as wallpapers, photos, etc., and various icons, such as icons indicating weather, etc.
  • the AP sends an instruction to detect the AOD application package of the APP to the AOD system, and enters step S2a.
  • the AP sends an instruction to detect the preset system AOD application package to the AOD system, and enters step S2b.
  • the AOD system detects whether the AOD application package of the APP has been downloaded to the local storage 22. If so, proceed to step S3a; otherwise, proceed to step S3b.
  • This step S2a is the same as step S2 in the example of Figure 3 and will not be described again here.
  • the AOD system detects whether the preset system AOD application package has been downloaded to the local storage. If so, proceed to step S21a; otherwise, proceed to step S21b.
  • the AOD system uses AOD After receiving the instruction to detect the preset system AOD application package, the Client searches the local storage 22 to determine whether the preset system AOD application package has been downloaded.
  • the AP issues a program error prompt message or a prompt message for downloading the AOD application package through the agreed download link, and returns to step S0a.
  • the system AOD application package is not pre-stored in the memory 12 and the AOD mode cannot be turned on.
  • the AP may issue a program error prompt message indicating that the AOD mode cannot be turned on, or display a prompt message for downloading the AOD application package.
  • the download link can be stored in the AOD manager and can be used to download the AOD application package of the current APP or to download the system AOD application package.
  • step S21a Return a response message that the system AOD application package has been downloaded, and enter step S22a.
  • a response message indicating that the preset system AOD application package has been downloaded is sent to the AP through the AOD Client.
  • step S21b Return a response message that the system AOD application package has not been downloaded, and enter step S22b.
  • a response message indicating that the preset system AOD application package has not been downloaded is sent to the AP through the AOD Client.
  • the AOD Server forwards it to the AOD manager.
  • the AOD manager generates instructions for executing the AOD application and sends them to the AOD through the AOD Server. Client.
  • the AOD Server forwards it to the AOD manager.
  • the AOD manager extracts the system AOD application package from the memory 12 and then sends it to the AOD through the AOD Server. Client.
  • the AOD program engine calls the system AOD application package, executes the system AOD application, calls the GPU driver through the UI framework API, controls the GPU to draw the UI interface of the preset system AOD application, and sends it to the display screen for display.
  • the AOD system After receiving the instruction to execute the preset system AOD application, the AOD system starts the AOD program engine to call the preset system AOD application package from the local memory 22 and executes the preset system AOD application.
  • Call the UI framework API to parse the graphical interface elements of the preset system AOD application call the GPU driver to generate metadata that GPU24 can directly read and access, control the GPU to draw the UI interface of the system AOD application, and then use the timing controller 25 is sent to the display for display.
  • the AP places the UI interface data of the system AOD application as resource data in the system AOD application package.
  • the UI framework API can obtain the UI interface data of the system AOD application from the local storage 22, and then parse the UI interface of the system AOD application according to the preset primitive hierarchical model. data, calling the GPU driver to generate an instance of the primitive hierarchical model corresponding to the UI. GPU24 can directly read and use the primitive data of this instance.
  • AP enters the sleep state and monitors system event messages and AOD event messages. If it receives the system event message, it goes to step S11; if it receives the AOD event message requesting to obtain real-time data, it goes to step S7.
  • the AOD system downloads the system AOD application package and saves it in the local storage, and enters step S21a.
  • the AOD system executes the system AOD application for the first time, it needs to download the system AOD application package to the local storage 22 first.
  • the preset system AOD application is executed again, there is no need to download it.
  • the method in this example enters the system AOD mode under the dual-system collaborative display mechanism, including the following steps:
  • step S0b After the AP receives the trigger event to turn on the preset system AOD mode, if the system AOD application package is stored in the memory, it proceeds to step S1b; otherwise, it proceeds to step S20b.
  • the triggering event for turning on the preset system AOD mode may be a touch event, a key event, etc.
  • the system AOD application package can be identified by a preset tag so that the AOD manager can search it in the memory 12 .
  • the AP sends an instruction to the AOD system to detect the AOD application package of the system, and enters step S2b.
  • the AOD system detects whether the system AOD application package has been downloaded to the local storage. If so, proceed to step S21a; otherwise, proceed to step S21b.
  • the AP issues a prompt message for a program error or a prompt message for downloading the AOD application package through the agreed download link, and returns to step S0b.
  • step S21a Return a response message that the system AOD application package has been downloaded, and enter step S22a.
  • step S21b Return a response message that the system AOD application package has not been downloaded, and enter step S22b.
  • the AOD program engine calls the system AOD application package, executes the system AOD application, calls the GPU driver through the UI framework API, controls the GPU to draw the UI interface of the system AOD application, and sends it to the display screen for display.
  • AP enters the sleep state and monitors system event messages and AOD event messages. If it receives the system event message, it goes to step S11; if it receives the AOD event message requesting to obtain real-time data, it goes to step S7.
  • the AOD system downloads the system AOD application package and saves it in the local storage, and enters step S21a.
  • S1b, S2b, S21a, S21b, S22a, S22b, S23, S5b, and S24 in this example are the same as the example in Figure 4 and will not be described again here.

Abstract

本发明公开一种支持APP定制AOD功能的方法,系统和智能终端设备,通过AOD系统和AP之间的双系统协作显示机制,使显示屏显示APP定制的需在AOD模式下显示的文字,数据和图片等,而无需点亮整个显示屏,且AP也处于睡眠状态,仅在收到系统事件消息和AOD事件消息时,短时唤醒,处理完后继续进入睡眠状态,不仅丰富了AOD模式的显示内容,还使设备在AOD模式下耗电量非常低。更进一步的,在APP未定制AOD功能时,可开启预设的系统AOD模式,使显示屏显示系统AOD应用预设的需在AOD模式下显示的信息。更进一步的,如未预设系统AOD应用或APP未定制AOD应用,还可通过约定的下载链接下载系统AOD应用包或APP的AOD应用包,以开启AOD模式。

Description

支持APP定制AOD功能的方法,系统和智能终端设备 技术领域
本发明涉及计算机图形处理技术领域,尤其涉及能够支持APP定制AOD功能的方法,系统和智能终端设备。
背景技术
AOD(Always On Display)是指熄屏显示,可应用于多种智能终端设备上(例如:手机,个人电脑,平板电脑等),当智能终端设备进入AOD模式后,应用处理器(AP)仅将显示屏的小部分区域点亮,以显示系统时间,日期,电量,短信,来电消息诸如此类的系统信息。同时,AP进入睡眠状态,并监听系统事件,此时,由于AP仅需很小的电流来维持数据不丢失,功耗非常低。AOD功能可让用户无需解锁点亮整个屏幕,即可随时查看所需信息,从而降低设备功耗。当AP监听到系统事件(包括按键事件,触摸事件,电话事件,短信事件等),处理该系统事件需要退出AOD模式时,AP会通过MIPI接口和时序控制器(TCON)驱动整个显示屏点亮显示该系统事件,并退出睡眠状态。
但是随着智能终端设备上应用程序(APP)的日益普及,用户往往需要在某些事件(例如,部分APP的通知消息,垃圾短信)出现后,使AP仍然保存睡眠状态,并继续AOD模式,仅在显示屏上增加显示这些事件的通知消息,但是现有技术的智能终端设备不具备此功能。
另外,在查看某些APP的实时数据(例如,导航类APP的实时导航信息,股票类APP的实时股票信息)时,现有的智能终端设备不能实现在AOD模式下查看,用户必须解锁打开APP后才能查看,操作较为繁琐,也更加耗电。
技术问题
本发明所要解决的技术问题是提供一种支持APP定制AOD功能的方法,系统和智能终端设备,实现了在智能终端设备中以低功耗的方式显示APP定制的需在AOD模式下显示的信息。
技术解决方案
根据一实施例,一种支持APP定制AOD功能的方法,包括接收到开启APP的AOD模式的指令后,若AOD系统已下载该APP的AOD应用包,则执行该APP的AOD应用,GPU绘制该APP的AOD应用的UI界面,进入AOD模式;若需要获取实时数据用以在该APP的AOD应用的UI界面上显示,则发送获取该实时数据的请求消息给AP;进入AOD模式后,该AP进入睡眠状态,并监听系统事件消息和该AOD系统发送的AOD事件消息;若该系统事件消息已注册为在AOD模式下显示,则该AP将该系统事件消息发送给该AOD系统,再进入睡眠状态;若该AOD事件消息为获取实时数据的请求消息,则该AP从约定的服务器获取该实时数据并转发给该AOD系统,再进入睡眠状态;该AOD系统接收该系统事件消息和该实时数据后,该GPU绘制该系统事件消息和该实时数据。
根据另一实施例,一种支持APP定制AOD功能的AOD系统,包括AOD处理器,GPU,本地存储器和MIPI接口;该AOD处理器通过该MIPI接口接收到开启该APP的AOD模式的指令后,从本地存储器获取该APP的AOD应用包,执行该APP的AOD应用;该GPU绘制该APP的AOD应用的UI界面,进入AOD模式;若需要获取实时数据用以在该APP的AOD应用的UI界面上显示,则该AOD处理器通过该MIPI接口发送获取该实时数据的请求消息,以及获取该实时数据,该GPU绘制该实时数据;若该AOD处理器通过该MIPI接口收到系统事件消息,则该GPU绘制该系统事件消息。
根据另一实施例,一种支持APP定制AOD功能的AP,包括CPU,存储器和MIPI接口;接收到开启该APP的AOD模式的触发事件后,该CPU通过该MIPI接口向AOD系统发送开启该APP的AOD模式的指令;进入AOD模式后,该CPU进入睡眠状态,并监听系统事件消息和该AOD系统发送的AOD事件消息;若该系统事件消息已注册为在AOD模式下显示,则该CPU将该系统事件消息通过该MIPI接口发送给该AOD系统,再进入睡眠状态;若该AOD事件消息为获取实时数据的请求消息,则该CPU从约定的服务器获取该实时数据并通过该MIPI接口转发给该AOD系统,再进入睡眠状态。
根据另一实施例,一种支持APP定制AOD功能的智能终端设备,包括上述的AOD系统和连接上述AOD系统的上述的AP。
有益效果
本发明可支持APP定制AOD功能,开启APP的AOD模式,通过AOD系统和AP之间的双系统协作显示机制,使显示屏显示APP定制的需在AOD模式下显示的信息,包括但不限于实时数据,文字,图片,无需点亮整个显示屏,且AP处于睡眠状态,仅在收到系统事件消息和AOD事件消息时,短时唤醒,处理完后继续进入睡眠状态,不仅丰富了AOD模式的显示内容,还使设备在AOD模式下耗电量非常低。更进一步的,在APP未定制AOD功能时,可开启预设的系统AOD模式,使显示屏显示系统AOD应用预设的需在AOD模式下显示信息。更进一步的,如未预设系统AOD应用或APP未定制AOD应用,还可通过约定的下载链接下载系统AOD应用包或APP的AOD应用包,以开启AOD模式。
附图说明
图1是其中一种实施例的支持APP定制AOD功能的智能终端设备结构框图。
图2是其中一种实施例的支持APP定制AOD功能的方法流程图。
图3是其中一种实施例的开启APP的AOD模式的方法流程图。
图4是其中一种实施例的开启APP的AOD模式和系统AOD模式的方法流程图。
图5是其中一种实施例的开启系统AOD模式的方法流程图。
图6是根据本发明一些实施例的导航APP在AOD模式下的UI界面示例。
本发明的最佳实施方式
下面结合附图和实施例,对本发明作进一步详细说明。应当理解的是,此处所记录的具体实施方式仅用于说明和解释本发明,并不用于限制本发明。
本实施例中,支持APP定制AOD功能的智能终端设备包括AP,AOD系统和显示屏。
如图1的示例,其中,AP包括CPU11,存储器12和MIPI接口13。在正常工作状态下,CPU11可运行多个APP,同时MIPI接口13也处于高速模式,需要较大电流用以传输大量数据;考虑到芯片面积和存储量,智能终端设备通常采用DRAM芯片作为存储器12,这就需要持续的周期性刷新电流来维持数据不被丢失,同样非常耗电。因此,在正常工作状态下,CPU11,存储器12,MIPI接口13都会消耗较大电量。
在进入AOD模式后,AP进入睡眠状态,CPU11仅运行AOD管理器和AOD Server,暂停执行其他APP,仅在监听到系统事件和AOD事件时短时唤醒,处理完成后继续进入睡眠状态,因此CPU11处于低功耗状态。MIPI接口13也仅用于简单的数据信息交互,并处于低速模式,无需较大电流。此时,AOD系统负责运行AOD应用程序(以下简称AOD应用),进行AOD模式下图形界面数据的读取、存储与刷新显示,无需AP中的存储器12提供及存储数据,因此,AP中的存储器12也处于睡眠状态,耗电量较低。
在一实施例中,AOD 管理器是驻留在AP中的后台服务程序,负责AOD模式的开启与关闭,负责APP的AOD 应用包的解析,下载与执行(如图3的示例),负责预设的系统AOD应用包的配置,下载与执行(如图4-5的示例), 以及处理AOD 模式下接收到的各种系统事件消息和AOD事件消息。
在一实施例中,AOD server是驻留在AP中的服务驱动程序,用于将AOD管理器生成的各种指令和消息发送给AOD Client,以及将AOD Client 发送的各种消息转发给AOD管理器,实现AOD应用的下载,执行,事件的分发及应答接收等。
在一实施例中,AOD系统包括AOD处理器21,本地存储器22,MIPI接口23,GPU24和时序控制器25。AOD处理器21可采用MCU处理器,这是一种低功耗处理器,仅运行嵌入式实时操作系统RTOS(例如,RT-Thread,Lite-OS),存储器可采用SRAM,无需周期性刷新电流来维持数据,功耗较低。GPU24可采用仅能够处理2D图形渲染的2D GPU,功耗也较低。
在一实施例中,AOD处理器21负责运行开启及退出AOD模式所需的程序,包括AOD应用,AOD程序引擎,AOD Client,UI 框架API和GPU驱动程序(以下简称GPU驱动)。
在一实施例中,AOD应用是在AOD处理器上执行的进入AOD模式的程序,执行熄屏显示及相关的信息交互。AP通过解析当前需开启AOD模式的APP的程序资源数据可提取该APP的AOD应用包,然后发送到AOD系统,使AOD处理器可执行该APP的AOD应用。在另一实施例中,AP提取当前APP的AOD应用包不成功时,可通过提取预设的系统AOD应用包,并发送到AOD系统,使AOD处理器可执行该预设的系统AOD应用。
在一实施例中,AOD程序引擎是驻留在AOD系统中的应用框架程序,实现AOD应用的启动,执行,事件的处理等。
在一实施例中,AOD Client是驻留在AOD系统中的服务驱动程序,通过AOD协议与AOD Server通信, 实现AOD应用的下载,执行,事件分发及应答接收等。
在一实施例中,UI 框架 API是驻留在AOD系统中的UI界面程序接口,通过预定义的UI框架模型来解析不同AOD应用的界面元素,向GPU驱动输出UI界面数据。
在一实施例中,GPU驱动是驻留在AOD系统中的启动GPU进行图形数据运算的驱动程序,向GPU输出可直接读取并使用的AOD应用的UI界面的 图元数据。
在一实施例中,本地存储器22可存储多个APP的AOD应用包,AOD处理器21解析APP的AOD应用包以运行APP的AOD应用。
在一实施例中,本地存储器22可存储多个APP的AOD应用包和系统AOD应用包。AOD处理器21解析APP的AOD应用包可运行APP的AOD应用,解析系统AOD应用包,可运行系统AOD应用。
在一实施例中,本地存储器22仅存储当前运行的AOD应用的程序数据,当前运行的AOD应用可以是APP的AOD应用和系统AOD应用。
在一实施例中,AP的MIPI接口13与AOD系统的MIPI接口23之间是基于MIPI DSI接口规范进行通信交互。
在接收到开启APP的AOD模式的指令后,MCU根据CPU11发送的运行当前APP的AOD应用的指令,调用AOD程序引擎运行该AOD应用,调用UI 框架API,启动GPU驱动,将该AOD应用的图形界面元素分解为GPU24可以直接读取并使用的图元数据。GPU24读取GPU驱动提供的图元数据,并缓存在内部的高速缓存(例如,SRAM)中,然后实时计算每个像素的ARGB值,通过TCON直接驱动显示屏显示。具体的,GPU如何根据图元数据来计算待显示像素的ARGB值,可参考另一篇PCT国际专利申请《基于位图图元的图形处理系统,方法和GPU》(国际申请号PCT/CN2022/10458)。
如图2的示例,本实施例的支持APP定制AOD功能的方法,包括框31-34。在框31中,接收到开启APP的AOD模式的指令后,若AOD系统已下载APP的AOD应用包,则执行APP的AOD应用,GPU绘制APP的AOD应用的UI界面,进入AOD模式;若需要获取实时数据用以在APP的AOD应用的UI界面上显示,则发送获取实时数据的请求消息给AP。
在一实施例中,开启APP的AOD模式的指令,是AP接收到开启当前APP的AOD模式的触发事件后,并检测到AOD系统已经预存有该APP的AOD应用,再通过MIPI接口13向AOD系统发送的。
在一实施例中,开启APP的AOD模式的指令,是AP接收到开启APP的AOD模式的触发事件后,向AOD系统发送该APP的AOD应用包后,再通过MIPI接口13向AOD系统发送的。
上述开启APP的AOD模式的指令可替换为执行该APP的AOD应用的指令。上述开启APP的AOD模式的上述开启APP的AOD模式的触发事件可替换为执行该APP的AOD应用的触发事件。
在框32中,若APP没有AOD应用包,且AOD系统已下载预设的系统AOD应用包,则接收到开启预设的系统AOD模式的指令后,AOD系统执行系统AOD应用,GPU绘制系统AOD应用的UI界面,进入AOD模式;若需要获取实时数据用以在系统AOD应用的UI界面上显示,则发送获取实时数据的请求消息给AP。
在一实施例中,AP接收到开启当前APP的AOD模式的触发事件后,并检测到当前APP没有AOD应用包,但存储器12预存有预设的系统AOD应用包,且AOD系统已下载该系统AOD应用包,则通过MIPI接口13向AOD系统发送开启系统AOD模式的指令。AOD系统接收到开启系统AOD模式的指令后,再执行系统AOD应用。
在一实施例中,AP接收到开启当前APP的AOD模式的触发事件后,并检测到当前APP没有AOD应用包,但存储器12预存有预设的系统AOD应用包,而AOD系统未下载该系统AOD应用包,则通过MIPI接口13向AOD系统发送该系统AOD应用包,再向AOD系统发送开启系统AOD模式的指令。
在一实施例中,AP接收到开启当前APP的AOD模式的触发事件后,并检测到当前APP没有AOD应用包,则发出程序错误的提示消息或者发出通过约定的下载链接下载AOD应用包的提示消息。该下载链接可用于下载当前APP的AOD应用包。
在一实施例中,AP接收到开启当前APP的AOD模式的触发事件后,并检测到当前APP没有AOD应用包,且存储器12未预存系统AOD应用包,则发出程序错误的提示消息或者发出通过约定的下载链接下载AOD应用包的提示消息。该下载链接可用于下载当前APP的AOD应用包,或者用于下载系统AOD应用包。
在一实施例中,AP接收到开启预设的系统AOD模式的触发事件后,并检测到存储器12预存有预设的系统AOD应用包,且AOD系统已下载该系统AOD应用包,则通过MIPI接口13向AOD系统发送开启系统AOD模式的指令。AOD系统接收到开启系统AOD模式的指令后,再执行系统AOD应用。
在一实施例中,AP接收到开启预设的系统AOD模式的触发事件后,并检测到存储器12预存有预设的系统AOD应用包,且AOD系统未下载该系统AOD应用包,则通过MIPI接口13向AOD系统发送该系统AOD应用包,再向AOD系统发送开启系统AOD模式的指令。
在一实施例中,AP接收到开启预设的系统AOD模式的触发事件后,并检测到存储器12未预存系统AOD应用包,则发出程序错误的提示消息或者发出通过约定的下载链接下载AOD应用包的提示消息。该下载链接可用于下载当前APP的AOD应用包,或者用于下载系统AOD应用包。
上述开启预设的系统AOD模式的触发事件可替换为执行预设的系统AOD应用的触发事件。上述开启APP的AOD模式的触发事件可替换为执行APP的AOD应用的触发事件。上述开启预设的系统AOD模式的指令可替换为执行该系统AOD应用的指令。
上述触发事件可以是触摸感应事件,按键事件等。AP通过外部中断电平可获取传感器模块,按键模块等发送的触发事件。
在框33中,进入AOD模式后,AP进入睡眠状态,并监听系统事件消息和AOD系统发送的AOD事件消息;若系统事件消息已注册为在AOD模式下显示,则AP将系统事件消息发送给AOD系统,再进入睡眠状态;若AOD事件消息为获取实时数据的请求消息,则AP从约定的服务器获取实时数据并转发给AOD系统,再进入睡眠状态。
可通过一注册表记录维持AOD模式的系统事件,退出AOD模式的系统事件,和需在AOD模式显示的系统事件等,CPU11可查找该注册表获得该系统事件的类型。该注册表可存储在存储器12中。
在一实施例中,若该系统事件消息注册为退出AOD模式的事件,则AP向AOD系统发出退出AOD模式指令,并退出睡眠状态回到正常工作状态;AOD系统收到退出AOD模式指令后,退出当前AOD应用,控制GPU24停止绘制当前AOD应用的UI界面。
在一实施例中,若该系统事件消息注册为维持AOD模式的系统事件,则AP可不做任何处理。
上述AOD模式包括APP的AOD模式和系统AOD模式。如进入APP的AOD模式,上述约定的服务器可以是该APP运营商预设的后台服务器;上述退出AOD模式指令可替换为停止执行APP的AOD应用的指令。如进入系统AOD模式,上述约定的服务器可以是智能终端设备提供商预设的后台服务器;上述退出AOD模式指令可替换为停止执行系统AOD应用的指令。
在框34中,AOD系统接收系统事件消息和实时数据后,GPU绘制该系统事件消息和该实时数据。
在一实施例中,AOD系统中预存有UI框架API,该UI框架API是基于预设的图元分层模型来解析上述UI界面,以及解析上述实时数据,和解析上述系统事件消息,生成GPU24可直接读取和访问的图元数据。上述UI界面包括APP的AOD应用的UI界面和系统AOD应用的UI界面。
在一实施例中,GPU24将系统事件消息绘制在当前AOD应用的UI界面之外的其他区域。实时数据是指当前AOD应用需要通过网络从APP服务器上获取的实时更新的数据,并通过显示屏显示在当前AOD应用的UI界面之上。该当前AOD应用包括APP的AOD应用和系统AOD应用。
本发明可支持APP定制AOD功能,开启APP的AOD模式,通过AOD系统和AP之间的双系统协作显示机制,使显示屏显示APP定制的需显示信息,包括但不限于实时数据,文字,图片,无需点亮整个显示屏,且AP处于睡眠状态,仅在收到系统事件消息和AOD事件消息时,短时唤醒,处理完后继续进入睡眠状态,不仅丰富了AOD模式的显示内容,还使设备在AOD模式下耗电量非常低。更进一步的,在APP未定制AOD功能时,可开启预设的系统AOD模式,使显示屏显示系统AOD应用预设的需显示信息和图片。更进一步的,如未预设系统AOD应用或APP未定制AOD应用,还可通过约定的下载链接下载系统AOD应用包或APP的AOD应用包,以开启AOD模式。
如图3的示例,在双系统协作显示机制下,本示例的支持APP定制AOD功能的方法,包括步骤:
S1.接收到开启当前APP的AOD模式的触发事件后,AP从该APP的程序数据包中解析AOD应用包,若解析成功,向AOD系统发送检测该APP的AOD应用包的指令。
具体的,当AP接收到开启当前APP的AOD模式的触发事件后,CPU11运行AOD管理器,从存储器12中获取当前APP 的程序数据包,解析其AOD应用包,如解析成功,则通过AOD server向AOD系统的AOD Client发送检测AOD应用包的指令。在本发明中,AOD server 与AOD Client之间遵循预先约定的AOD 协议进行AOD协议层的通信,物理层通信接口为MIPI接口。若当前APP的AOD应用包解析不成功,可不启动AOD模式,发出程序错误的提示消息;或者启动预设的系统AOD应用(此部分内容将结合图4的示例在下文进行详述)。
具体的,APP可将预先定义的AOD应用包作为程序资源数据,预先存储在存储器12中,并通过预先约定的标签,使AOD管理器可解析和获取该APP的AOD应用包。
S2.AOD系统检测该APP的AOD应用包是否已下载到本地存储器,如是进入步骤S3a,否则,进入步骤S3b。
具体的,AOD系统通过AOD Client 接收到检测该APP的AOD应用包的指令后,查找本地存储器22,判断是否已经下载该AOD应用包。
S3a.AOD系统向AP返回该AOD应用包已下载的应答消息,进入步骤S4a。
若本地存储器22中已有该AOD应用包,则通过AOD Client向AP发送该AOD应用包已下载的应答消息。
S3b.AOD系统向AP返回该AOD应用包未下载的应答消息,进入步骤S4b。
若本地存储器22中没有该AOD应用包,则通过AOD Client向AP发送该AOD应用包未下载的应答消息。
S4a.AP向AOD系统发送执行当前APP的AOD应用的指令,进入步骤S5a,S5b。
具体的,AOD Server收到已下载的应答消息后,转发给AOD管理器,AOD管理器生成执行该APP的AOD应用的指令,通过AOD Server 发送给AOD Client。
S4b.AP向AOD系统发送该APP的AOD应用包,进入步骤S6。
具体的,AOD Server收到未下载的应答消息后,转发给AOD管理器,AOD管理器将该APP的AOD应用包,通过MIPI接口13发送给AOD系统。
S5a.AOD程序引擎调用该AOD应用包,执行该APP的AOD应用,通过UI 框架API调用GPU驱动,控制GPU24绘制该APP的AOD应用的 UI界面,发送到显示屏显示;如需要获取实时数据用以在该APP的AOD应用的UI界面上显示,则发送获取实时数据的请求消息给AP。
具体的,AOD系统收到执行该APP的AOD应用的指令后,启动AOD程序引擎从本地存储器22中调用该APP的AOD应用包,执行该APP的AOD应用。调用UI框架API并调用GPU驱动,获得该APP的AOD应用的图形界面元素,控制GPU24绘制该APP的AOD 应用的UI界面,再通过时序控制器25发送到显示屏显示。
在本示例中,UI 框架 API基于预设的图元分层模型来解析不同APP的AOD应用的 UI界面元素。APP将AOD应用的UI 界面数据作为资源数据放在AOD应用包中。在AOD应用包下载到本地存储器22后,该UI框架API可从本地存储器22中获取当前AOD应用的 UI 界面数据,解析并通过GPU驱动将该AOD应用的 UI 界面数据转换为该图元分层模型表示的一个实例,GPU24可以直接读取并使用该实例的图元数据。
图元分层模型是指将图形界面的各种元素(例如,背景图片,图标,文字等)按约定的规则进行元素分类和图层分层。例如,可将各种图片和文字分类为纯色图元,ARGB图元,线性渐变图元,字形图元等,可将不同叠加层次的图层分类为位于底层的窗口层图元,位于中间层的控件层图元和位于顶层的位图层图元等。具体的,可参考另一篇PCT国际专利申请《基于位图图元的图形处理系统,方法和GPU》(国际申请号PCT/CN2022/10458)。
S5b.AP 进入睡眠状态,并监听系统事件消息和AOD事件消息,如收到系统事件消息,进入步骤S11;如收到获取实时数据请求的AOD 事件消息,则进入步骤S7。
具体的,在AOD系统执行当前APP的AOD应用后,AP进入睡眠状态,仅监听系统事件消息和AOD系统发送的AOD 事件消息。在本发明中,AOD事件消息是指AOD应用向AOD管理器发送的应答消息,请求消息等各种类型的消息,是遵循预先约定的AOD 协议进行AOD应用层的通信,物理层通信接口为MIPI接口。
若AOD应用定制了需要在AOD模式下显示实时数据,则AOD系统运行该AOD应用时,会生成获取实时数据的请求消息,发送给AOD管理器。例如,导航APP的AOD应用可定制在AOD模式下显示当前道路,前方道路,剩余里程,剩余时间,前行方向,前行距离等实时导航数据,在AOD应用包中增加相应的应用逻辑。AOD 系统执行该导航APP的AOD应用后,可根据该应用逻辑判断当前需要获取哪些实时数据,然后发送获取这些实时数据的请求消息给AP。
S6.AOD系统下载该AOD应用包,并保存在本地存储器,进入步骤S3a。
在初次执行该AOD应用时,需要先将该AOD应用包下载到本地存储器22,当再次执行该AOD应用时,就无需下载。
S7.AP向服务器发送获取该实时数据的请求。
具体的,AP收到AOD系统发送的获取实时数据的请求消息后,会短时唤醒,通过AP系统的网络服务接口或其他通信接口向约定的服务器发送获取该实时数据的请求。AOD系统可在获取实时数据的请求中携带该服务器的数据下载地址。
S8.服务器向AP发送该实时数据。
S9.AP向AOD系统转发该实时数据,进入步骤S10a,S10b。
具体的,AP通过网络服务接口或其他通信接口收到该实时数据后,通过MIPI接口13发送给AOD系统。此时,AP仅用作转发数据,而无需运算和处理数据,因此所需时间极短,功耗也极低。
S10a.AOD系统接收该实时数据,AOD程序引擎调用该APP的应用逻辑处理该实时数据, 调用UI框架API和GPU驱动,控制GPU24绘制该实时数据,发送到显示屏显示。
具体的,AOD Client通过MIPI接口23接收实时数据后,AOD程序引擎调用该APP的应用逻辑处理该实时数据,通过UI框架API,解析该实时数据,通过调用GPU驱动生成该实时数据的图元数据,控制GPU24绘制该实时数据,再通过时序控制器25发送到显示屏显示。
为避免耗电,AOD 模式下,APP的显示界面较正常模式的界面更加简洁,仅保留必要信息(包括实时数据等),除此之外,避免显示其他无关紧要的信息。如图6的示例,示例中导航APP在AOD模式下,UI界面40仅显示文字,数字和图标,其中,“高新大道”41为当前道路,“右转图标”42为前行方向,“200米”45为前行距离,“科兴路”43为前方道路,“500米”44为剩余里程,“10分钟”46为剩余时间。“当前道路”,“前方道路”,“剩余里程”,“剩余时间”,“前行方向”,“前行距离”,这些导航数据是APP定制的在AOD模式下需实时刷新显示的实时数据。
S10b.AP转发完该实时数据后,返回步骤S5b。
S11.AP判断该系统事件消息是否已注册为在AOD模式下显示的事件消息,如是,执行步骤S12,否则,判断该系统事件消息是否属于退出AOD模式的事件,如是,退出睡眠状态,并执行步骤S13。
具体的,AOD管理器可根据注册表的记录判断该系统事件是否被注册为可在AOD模式下显示,以及该系统事件是否被注册为退出AOD模式的事件。
S12.AP向AOD系统转发该系统事件消息。
若该系统事件被注册为需在AOD模式下显示,AOD管理器发送该系统事件消息给AOD应用,使AOD系统显示该系统事件消息。
S13.AOD系统接收该系统事件消息,调用UI框架API和GPU驱动,控制GPU24绘制该系统事件消息,发送到显示屏显示。
具体的,AOD应用收到该系统事件消息后,调用UI框架API,通过UI框架API调用GPU驱动,解析该系统事件消息,生成该系统事件消息的图元数据,使GPU24绘制出该系统事件消息,再通过TCON驱动显示屏显示。
在当前AOD系统在执行AOD应用时,如收到系统事件消息,可在当前AOD应用的 UI界面之外的其他区域显示该系统事件消息。
如图6的示例,在执行导航APP 的AOD应用时,收到1条新信息,可在导航APP 的AOD应用的UI界面40之外的区域显示该系统事件消息50。
S14.AP向AOD系统发送退出AOD模式指令。
若该系统事件属于退出AOD模式的事件,则AOD管理器向AOD应用发送退出AOD模式指令,并且,AP也退出睡眠状态。
S15.AOD系统退出当前AOD应用,关闭AOD显示。
具体的,AOD应用收到退出AOD模式指令后,停止运行,关闭AOD显示。
在另一实施例中,若AOD管理器不能解析当前APP的AOD应用包,表明该APP未定制AOD功能,则,AOD系统还可运行预设的系统AOD应用,以进入AOD模式,而不是无法进入AOD模式,避免出现异常。
如图4的示例,本示例的方法在双系统协作显示机制下,若当前APP未定制AOD应用,仍可进入AOD模式,包括以下步骤:
S0a.AP接收到开启当前APP的AOD模式的触发事件后,从当前APP的程序数据包中解析AOD应用包,如解析成功,进入步骤S1a,否则,判断存储器12中是否存储有系统AOD应用包,如是,进入步骤S1b,否则,进入步骤S20a。
具体的,AOD管理器从存储器12中获取当前APP 的程序数据包,解析其AOD应用包,如解析成功,则通过AOD server向AOD Client发送检测当前APP 的AOD应用包的指令。如解析不成功,则,查找存储器12判断是否存储有预设的系统AOD应用包,如是,再通过AOD server向AOD Client发送检测预设的系统AOD应用包的指令。预设的系统AOD应用包用于运行预设的系统AOD应用,用以在AOD模式下显示各种系统信息,例如时间,日期,天气,日程,新的短信和电话,新的APP通知消息等,还可以显示各种图片,例如壁纸,照片等,以及各种图标,例如指示天气的图标等。
S1a.AP向AOD系统发送检测该APP的AOD应用包的指令,进入步骤S2a。
S1b.AP向AOD系统发送检测预设的系统AOD应用包的指令,进入步骤S2b。
S2a.AOD系统检测该APP的AOD应用包是否已下载到本地存储器22,如是,进入步骤S3a,否则,进入步骤S3b。
此步骤S2a和图3示例的步骤S2是相同的,此处不再赘述。
S2b.AOD系统检测该预设的系统AOD应用包是否已下载到本地存储器,如是,进入步骤S21a,否则,进入步骤S21b。
具体的,AOD系统通过AOD Client 接收到检测预设的系统AOD应用包的指令后,查找本地存储器22,判断是否已经下载该预设的系统AOD应用包。
S20a.AP发出程序错误的提示消息或者发出通过约定的下载链接下载AOD应用包的提示消息,返回步骤S0a。
具体的,存储器12中未预存系统AOD应用包,无法开启AOD模式,AP可发出程序错误的提示消息,表示无法开启AOD模式,或者,显示下载AOD应用包的提示消息。该下载链接可存在AOD管理器中,可用于下载当前APP的AOD应用包,或者用于下载系统AOD应用包。
S21a.返回该系统AOD应用包已下载的应答消息,进入步骤S22a。
若本地存储器22中已有该预设的系统AOD应用包,则通过AOD Client向AP发送该预设的系统AOD应用包已下载的应答消息。
S21b.返回该系统AOD应用包未下载的应答消息,进入步骤S22b。
若本地存储器22中没有该预设的系统AOD应用包,则通过AOD Client向AP发送该预设的系统AOD应用包未下载的应答消息。
S22a.发送执行预设的系统AOD应用的指令,进入步骤S23,S5b。
具体的,AOD Server收到已下载的应答消息后,转发给AOD管理器,AOD管理器生成执行该AOD应用的指令,通过AOD Server 发送给AOD Client。
S22b.发送该系统AOD应用包,进入步骤S24。
具体的,AOD Server收到未下载的应答消息后,转发给AOD管理器,AOD管理器从存储器12中提取该系统AOD应用包,再通过AOD Server 发送给AOD Client。
S23.AOD程序引擎调用该系统AOD应用包,执行该系统AOD应用, 通过UI框架API调用GPU驱动,控制GPU绘制该预设的系统AOD应用的UI界面,发送到显示屏显示。
具体的,AOD系统收到执行该预设的系统AOD应用的指令后,启动AOD程序引擎从本地存储器22中调用该预设的系统AOD应用包,执行该预设的系统AOD应用。调用UI框架API,解析该预设的系统AOD应用的图形界面元素,调用GPU驱动生成GPU24可直接读取和访问的图元数据,控制GPU绘制该系统AOD应用的 UI界面,再通过时序控制器25发送到显示屏显示。
在本示例中,AP将该系统AOD应用的UI 界面数据作为资源数据放在系统AOD应用包中。在该系统AOD应用包下载到本地存储器22后,UI框架API可从本地存储器22中获取该系统AOD应用的 UI 界面数据,然后根据预设的图元分层模型解析该系统AOD应用的UI 界面数据,调用GPU驱动生成该UI对应的图元分层模型的一个实例,GPU24可以直接读取并使用该实例的图元数据。
S5b.AP 进入睡眠状态,并监听系统事件消息和AOD事件消息,如收到系统事件消息,进入步骤S11;如收到获取实时数据请求的AOD 事件消息,则进入步骤S7。
本示例的S5b,S11,S7与图3的示例是相同的,此处不再赘述。
S24.AOD系统下载该系统AOD应用包,并保存在本地存储器,进入步骤S21a。
本示例中,AOD系统初次执行该系统AOD应用时,需要先将该系统AOD应用包下载到本地存储器22,当再次执行该预设的系统AOD应用时,就无需下载。
如图5的示例,本示例的方法在双系统协作显示机制下进入系统AOD模式,包括以下步骤:
S0b.AP接收到开启预设的系统AOD模式的触发事件后,如存储器中存储有该系统AOD应用包,则进入步骤S1b,否则,进入步骤S20b。
具体的,该开启预设的系统AOD模式的触发事件可以是触摸事件,按键事件等。系统AOD应用包可通过预设的标签来标识,以使AOD管理器可在存储器12中查找。
S1b.AP向AOD系统发送检测该系统AOD应用包的指令,进入步骤S2b。
S2b.AOD系统检测该系统AOD应用包是否已下载到本地存储器,如是,进入步骤S21a,否则,进入步骤S21b。
S20b.AP发出程序错误的提示消息或者发出通过约定的下载链接下载AOD应用包的提示消息,返回步骤S0b。
S21a.返回该系统AOD应用包已下载的应答消息,进入步骤S22a。
S21b.返回该系统AOD应用包未下载的应答消息,进入步骤S22b。
S22a.发送执行该系统AOD应用的指令,进入步骤S23,S5b。
S22b.发送该系统AOD应用包,进入步骤S24。
S23.AOD程序引擎调用该系统AOD应用包,执行该系统AOD应用,通过UI框架API调用GPU驱动,控制GPU绘制该系统AOD应用的UI界面,发送到显示屏显示。
S5b.AP 进入睡眠状态,并监听系统事件消息和AOD事件消息,如收到系统事件消息,进入步骤S11;如收到获取实时数据请求的AOD 事件消息,则进入步骤S7。
S24.AOD系统下载该系统AOD应用包,并保存在本地存储器,进入步骤S21a。
本示例的S1b,S2b,S21a,S21b,S22a,S22b,S23,S5b,S24与图4的示例相同,此处不再赘述。
以上举较佳实施例,对本发明的目的,技术方案和优点进行了进一步详细说明,所应理解的是,以上该实施例仅为了使本领域技术人员能够制作或实现而公开的实施例,并不用以限制本发明的保护范围。凡在本发明所定义的原理基础上所作的任何显而易见的修改,等同的替换与改进,均应包含在本发明的保护范围之内。本发明所主张的权利范围不应仅限于上述实施例,而是应与本发明权利要求所定义的原理和技术特征相一致的最广的可能范围。

Claims (10)

  1. 一种支持APP定制AOD功能的方法,其特征在于,包括:
    接收到开启所述APP的AOD模式的指令后,若AOD系统已下载所述APP的AOD应用包,则执行所述APP的AOD应用,GPU绘制所述APP的AOD应用的UI界面,进入AOD模式;若需要获取实时数据用以在所述APP的AOD应用的UI界面上显示,则发送获取所述实时数据的请求消息给AP;
    进入AOD模式后,所述AP进入睡眠状态,并监听系统事件消息和所述AOD系统发送的AOD事件消息;若所述系统事件消息已注册为在AOD模式下显示,则所述AP将所述系统事件消息发送给所述AOD系统,再进入睡眠状态;若所述AOD事件消息为获取实时数据的请求消息,则所述AP从约定的服务器获取所述实时数据并转发给所述AOD系统,再进入睡眠状态;
    所述AOD系统接收所述系统事件消息和所述实时数据后,所述GPU绘制所述系统事件消息和所述实时数据。
  2. 如权利要求1所述的支持APP定制AOD功能的方法,其特征在于,若所述APP没有AOD应用包,且所述AOD系统已下载预设的系统AOD应用包,则接收到开启预设的系统AOD模式的指令后,所述AOD系统执行预设的系统AOD应用,所述GPU绘制所述系统AOD应用的UI界面,进入AOD模式;若需要获取实时数据用以在所述系统AOD应用的UI界面上显示,则发送获取所述实时数据的请求消息给所述AP。
  3. 如权利要求2所述的支持APP定制AOD功能的方法,其特征在于,所述AOD系统中预存有UI框架API,所述UI框架API是基于预设的图元分层模型来解析所述UI界面,解析所述实时数据,和解析所述系统事件消息,通过调用GPU驱动程序生成所述GPU可直接读取和访问的图元数据。
  4. 如权利要求1所述的支持APP定制AOD功能的方法,其特征在于,若所述APP有AOD应用包但未下载在所述AOD系统中,则所述AP向所述AOD系统发送所述APP的AOD应用包。
  5. 如权利要求2所述的支持APP定制AOD功能的方法,其特征在于,若所述APP没有AOD应用包,且所述AP已预存所述系统AOD应用包,但所述AOD系统未下载所述系统AOD应用包,则所述AP向所述AOD系统发送所述系统AOD应用包。
  6. 如权利要求2所述的支持APP定制AOD功能的方法,其特征在于,若所述APP没有AOD应用包,且所述AP未预存所述系统AOD应用包,则发出程序错误的提示消息或者发出通过约定的下载链接下载AOD应用包的提示消息。
  7. 如权利要求1或2所述的支持APP定制AOD功能的方法,其特征在于,若所述系统事件消息注册为退出AOD模式的事件,则所述AP向所述AOD系统发出退出AOD模式指令,并退出睡眠状态回到正常工作状态;
    所述AOD系统收到所述退出AOD模式指令后,退出当前AOD应用,GPU停止绘制当前AOD应用的UI界面。
  8. 如权利要求2所述的支持APP定制AOD功能的方法,其特征在于,进入AOD模式后,所述AOD系统接收所述系统事件消息后,所述GPU将所述系统事件消息绘制在当前AOD应用的UI界面之外的其他区域。
  9. 如权利要求1所述的支持APP定制AOD功能的方法,其特征在于,所述开启APP的AOD模式的指令可替换为执行所述APP的AOD应用的指令。
  10. 如权利要求2所述的支持APP定制AOD功能的方法,其特征在于,所述开启预设的系统AOD模式的指令可替换为执行预设的系统AOD应用的指令。
    11.一种支持APP定制AOD功能的AOD系统,其特征在于,包括AOD处理器,GPU,本地存储器和MIPI接口;
    所述AOD处理器通过所述MIPI接口接收到开启所述APP的AOD模式的指令后,从本地存储器获取所述APP的AOD应用包,执行所述APP的AOD应用;所述GPU绘制所述APP的AOD应用的UI界面,进入AOD模式;若需要获取实时数据用以在所述APP的AOD应用的UI界面上显示,则所述AOD处理器通过所述MIPI接口发送获取所述实时数据的请求消息,以及获取所述实时数据,所述GPU绘制所述实时数据;若所述AOD处理器通过所述MIPI接口收到系统事件消息,则所述GPU绘制所述系统事件消息。
    12.如权利要求11所述的支持APP定制AOD功能的AOD系统,其特征在于,所述AOD处理器通过所述MIPI接口接收到开启预设的系统AOD模式的指令后,从所述本地存储器获取系统AOD应用包,执行所述系统AOD应用,所述GPU绘制所述系统AOD应用的UI界面,进入AOD模式;若需要获取实时数据用以在所述系统AOD应用的UI界面上显示,则所述AOD处理器通过所述MIPI接口获取所述实时数据。
    13.如权利要求12所述的支持APP定制AOD功能的AOD系统,其特征在于,所述本地存储器中预存有UI框架API,所述UI框架API是基于预设的图元分层模型来解析所述UI界面,解析所述实时数据,和解析所述系统事件消息;所述AOD处理器通过所述UI框架API调用GPU驱动程序,生成所述GPU可直接读取和访问的图元数据。
    14.如权利要求11所述的支持APP定制AOD功能的AOD系统,其特征在于,所述AOD处理器通过所述MIPI接口获取所述APP的AOD应用包,并保存在所述本地存储器中。
    15.如权利要求12所述的支持APP定制AOD功能的AOD系统,其特征在于,所述AOD处理器通过所述MIPI接口获取所述系统AOD应用包,并保存在所述本地存储器中。
    16.如权利要求11所述的支持APP定制AOD功能的AOD系统,其特征在于,所述AOD处理器通过所述MIPI接口接收到退出AOD模式指令后,退出当前AOD应用,所述GPU停止绘制当前AOD应用的UI界面。
    17.如权利要求12所述的支持APP定制AOD功能的AOD系统,其特征在于,所述开启所述APP的AOD模式的指令可替换为执行所述APP的AOD应用的指令;所述开启预设的系统AOD模式的指令可替换为执行预设的系统的AOD应用的指令。
    18.一种支持APP定制AOD功能的AP,其特征在于,包括CPU,存储器和MIPI接口;
    接收到开启所述APP的AOD模式的触发事件后,所述CPU通过所述MIPI接口向AOD系统发送开启所述APP的AOD模式的指令;
    进入AOD模式后,所述CPU进入睡眠状态,并监听系统事件消息和所述AOD系统发送的AOD事件消息;若所述系统事件消息已注册为在AOD模式下显示,则所述CPU将所述系统事件消息通过所述MIPI接口发送给所述AOD系统,再进入睡眠状态;若所述AOD事件消息为获取实时数据的请求消息,则所述CPU从约定的服务器获取所述实时数据并通过所述MIPI接口转发给所述AOD系统,再进入睡眠状态。
    19.如权利要求18所述的支持APP定制AOD功能的AP,其特征在于,接收到开启所述APP的AOD模式的触发事件后,若所述APP没有AOD应用包,且所述存储器中存储有预设的系统AOD应用包,则所述CPU通过所述MIPI接口向AOD系统发送开启预设的系统AOD模式的指令;
    或者,接收到开启预设的系统AOD模式的触发事件后,且所述存储器中存储有预设的系统AOD应用包,则所述CPU通过所述MIPI接口向所述 AOD系统发送开启预设的系统AOD模式的指令。
    20.如权利要求19所述的支持APP定制AOD功能的AP,其特征在于,接收到开启所述预设的系统AOD模式的触发事件后,若所述存储器未存储所述系统AOD应用包,则所述CPU发出程序错误的提示消息或者发出通过约定的下载链接下载AOD应用包的提示消息。
    21.如权利要求18所述的支持APP定制AOD功能的AP,其特征在于,若所述系统事件消息注册为退出AOD模式的事件,则所述CPU通过所述MIPI接口向所述AOD系统发出退出AOD模式的指令,并退出睡眠状态回到正常工作状态。
    22.如权利要求19所述的支持APP定制AOD功能的AP,其特征在于,所述开启所述APP的AOD模式的触发事件可替换为执行所述APP的AOD应用的触发事件;所述开启所述APP的AOD模式的指令可替换为执行所述APP的AOD应用的指令;
    所述开启预设的系统AOD模式的触发事件可替换为执行所述预设的系统AOD应用的触发事件;所述开启预设的系统AOD模式的指令可替换为执行预设的系统的AOD应用的指令。
    23.一种支持APP定制AOD功能的智能终端设备,其特征在于,包括权利要求11至17任意一项所述的AOD系统,和权利要求18至22任意一项所述的AP。
PCT/CN2022/111460 2022-08-10 2022-08-10 支持 app 定制 aod 功能的方法,系统和智能终端设备 WO2024031439A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2022/111460 WO2024031439A1 (zh) 2022-08-10 2022-08-10 支持 app 定制 aod 功能的方法,系统和智能终端设备
CN202280003457.0A CN115843355A (zh) 2022-08-10 2022-08-10 支持app定制aod功能的方法,系统和智能终端设备

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2022/111460 WO2024031439A1 (zh) 2022-08-10 2022-08-10 支持 app 定制 aod 功能的方法,系统和智能终端设备

Publications (1)

Publication Number Publication Date
WO2024031439A1 true WO2024031439A1 (zh) 2024-02-15

Family

ID=85577738

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/111460 WO2024031439A1 (zh) 2022-08-10 2022-08-10 支持 app 定制 aod 功能的方法,系统和智能终端设备

Country Status (2)

Country Link
CN (1) CN115843355A (zh)
WO (1) WO2024031439A1 (zh)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106233249A (zh) * 2013-12-29 2016-12-14 谷歌技术控股有限责任公司 用于管理睡眠模式的处理器的图形缓冲区的装备和方法
CN107968874A (zh) * 2016-10-19 2018-04-27 中兴通讯股份有限公司 屏幕控制方法、装置及终端
CN108337363A (zh) * 2017-12-26 2018-07-27 努比亚技术有限公司 一种终端熄屏显示控制方法、终端
CN110554815A (zh) * 2018-05-30 2019-12-10 北京小米移动软件有限公司 图标唤醒方法、电子设备和存储介质
CN112417396A (zh) * 2020-11-17 2021-02-26 努比亚技术有限公司 一种终端解锁方法、终端及计算机可读存储介质
WO2021057614A1 (zh) * 2019-09-24 2021-04-01 深圳市万普拉斯科技有限公司 移动终端的控制方法、装置、计算机设备和存储介质

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106233249A (zh) * 2013-12-29 2016-12-14 谷歌技术控股有限责任公司 用于管理睡眠模式的处理器的图形缓冲区的装备和方法
CN107968874A (zh) * 2016-10-19 2018-04-27 中兴通讯股份有限公司 屏幕控制方法、装置及终端
CN108337363A (zh) * 2017-12-26 2018-07-27 努比亚技术有限公司 一种终端熄屏显示控制方法、终端
CN110554815A (zh) * 2018-05-30 2019-12-10 北京小米移动软件有限公司 图标唤醒方法、电子设备和存储介质
WO2021057614A1 (zh) * 2019-09-24 2021-04-01 深圳市万普拉斯科技有限公司 移动终端的控制方法、装置、计算机设备和存储介质
CN112417396A (zh) * 2020-11-17 2021-02-26 努比亚技术有限公司 一种终端解锁方法、终端及计算机可读存储介质

Also Published As

Publication number Publication date
CN115843355A (zh) 2023-03-24

Similar Documents

Publication Publication Date Title
AU2015242956B2 (en) Delayed shut down of computer
US7711868B2 (en) Waking a main computer system to pre-fetch data for an auxiliary computing device
US9625987B1 (en) Updating and displaying information in different power modes
CN107479700B (zh) 黑屏手势控制方法、装置、存储介质及移动终端
WO2014029247A1 (zh) 移动终端屏幕的显示方法及装置
JP2014517928A (ja) 表示画像の選択的な更新によるプラットフォーム電力消費の制御
US20120233482A1 (en) Power management based on combined user interface and sensor inputs
WO2019019901A1 (zh) 黑屏手势的响应方法、装置、存储介质及移动终端
WO2019019818A1 (zh) 加快黑屏手势处理的方法、装置、存储介质及移动终端
WO2019128588A1 (zh) 进程处理方法和装置、电子设备、计算机可读存储介质
US20160274738A1 (en) Display method using virtual widget and associated device
WO2022052828A1 (zh) 获取应用的下载信息的方法、系统、服务器以及存储介质
WO2022048367A1 (zh) 多媒体内容的显示方法、装置、终端及存储介质
WO2019128586A1 (zh) 应用程序处理方法、电子设备、计算机可读存储介质
CN114816031B (zh) 终端设备的省电方法、终端设备及介质
WO2024031439A1 (zh) 支持 app 定制 aod 功能的方法,系统和智能终端设备
WO2022252906A1 (zh) 界面显示方法、装置、终端设备及计算机可读存储介质
US20140306973A1 (en) Method, module and electronic apparatus for updating contents to be displayed before turning on display device
WO2022089216A1 (zh) 一种界面显示的方法和电子设备
WO2019128545A1 (zh) 进程处理方法、电子设备、计算机可读存储介质
WO2022179283A1 (zh) 推送消息的发送方法、电子设备及可读介质
WO2024046088A1 (zh) 任务调度方法及相关设备
WO2022237371A1 (zh) 获取定位数据的方法、装置、终端及存储介质
WO2022206707A1 (zh) 一种灭屏显示方法及电子设备
CN116700585B (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: 22954414

Country of ref document: EP

Kind code of ref document: A1