CN112114883A - Terminal awakening method, terminal and computer storage medium - Google Patents

Terminal awakening method, terminal and computer storage medium Download PDF

Info

Publication number
CN112114883A
CN112114883A CN202010952145.7A CN202010952145A CN112114883A CN 112114883 A CN112114883 A CN 112114883A CN 202010952145 A CN202010952145 A CN 202010952145A CN 112114883 A CN112114883 A CN 112114883A
Authority
CN
China
Prior art keywords
terminal
display screen
display
interface
user
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010952145.7A
Other languages
Chinese (zh)
Inventor
王永清
梅正怡
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hisense Mobile Communications Technology Co Ltd
Original Assignee
Hisense Mobile Communications Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hisense Mobile Communications Technology Co Ltd filed Critical Hisense Mobile Communications Technology Co Ltd
Priority to CN202010952145.7A priority Critical patent/CN112114883A/en
Publication of CN112114883A publication Critical patent/CN112114883A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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
    • G06F9/4418Suspend and resume; Hibernate and awake
    • 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/451Execution arrangements for user interfaces

Abstract

The invention relates to the technical field of computers, in particular to a terminal awakening method, a terminal and a computer storage medium, which are used for solving the problem that the time for switching a terminal from a dormant state to an awakening state is too long in the prior art. The embodiment of the invention responds to the operation of awakening the terminal triggered by a user, and the terminal triggers the display screen of the terminal to carry out initialization operation while drawing a display interface; and after the initialization of the display screen is completed, the terminal displays the drawn display interface in the display screen. The terminal awakening method provided by the embodiment of the invention enables the terminal to simultaneously perform the initialization processing of the display screen when drawing the display interface, thereby reducing the awakening time of the terminal and achieving the purpose of rapidly awakening the terminal.

Description

Terminal awakening method, terminal and computer storage medium
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a terminal wake-up method, a terminal, and a computer storage medium.
Background
With the development of computer technology, the electronic industry has developed rapidly and the popularization of terminals has made terminals an essential part of daily life. Each company optimizes the terminal performance and improves the user experience.
In daily use of the terminal, a user can frequently switch the terminal from a dormant state to an awakening state, and the time required for switching the terminal from the dormant state to the awakening state is very important for the actual use experience of the user; and the sleep and wake-up time of the terminal is also one of the important indexes of the terminal performance test. Especially, in daily use of the mobile phone, the requirement on the time for waking up the system to be on is more strict. The terminal is in a sleep state to an awake state for too long, which may result in a reduction in the operating speed of the terminal and poor performance.
Disclosure of Invention
The exemplary embodiments of the present invention provide a terminal wake-up method, a terminal and a computer storage medium, so as to solve the problem that the time for switching a terminal from a sleep state to a wake-up state is too long in the prior art.
According to an aspect of the exemplary embodiments, there is provided a terminal including a processor and a display:
the processor is used for responding to the operation of awakening the terminal triggered by a user, drawing a display interface and simultaneously triggering a display screen of the terminal to carry out initialization operation;
and the display screen is used for displaying the drawn display interface after the initialization is finished.
In an optional implementation manner, the processor is specifically configured to:
and after the kernel layer is awakened, the kernel layer informs the display screen to carry out initialization operation.
In an optional implementation manner, the processor is specifically configured to:
and informing the display screen to carry out initialization operation by calling a communication interface corresponding to the display screen in the kernel layer.
In an optional implementation manner, the processor is specifically configured to draw the display interface according to the following manner:
and if the operation of waking up the terminal triggered by the user is the operation of only lightening the screen, drawing an interface to be unlocked by the processor.
In an optional implementation manner, the processor is specifically configured to:
sending first display data which are obtained by drawing and correspond to the interface to be unlocked to the display screen;
the display screen is specifically configured to:
and receiving the first display data sent by the processor, and displaying the drawn interface to be unlocked according to the first display data.
In an optional implementation manner, the processor is specifically configured to draw the display interface according to the following manner:
and if the operation of awakening the terminal triggered by the user is the operation of unlocking the terminal, the processor verifies the unlocking authority according to verification information carried in the operation of unlocking the terminal, and after the verification is passed, a user interface of the terminal is drawn.
In an optional implementation manner, the processor is specifically configured to:
sending the drawn second display data corresponding to the user interface to the display screen;
the display screen is specifically configured to:
and receiving the second display data sent by the processor, and displaying the drawn user interface according to the second display data.
According to another aspect of the exemplary embodiments, there is provided a terminal wake-up method including:
responding to an operation of awakening a terminal triggered by a user, and triggering a display screen of the terminal to carry out initialization operation while the terminal draws a display interface;
and after the initialization of the display screen is completed, the terminal displays the drawn display interface in the display screen.
An optional implementation manner is that the terminal triggers a display screen of the terminal to perform an initialization operation, including:
and after the terminal is awakened by the kernel layer, the terminal informs the display screen to carry out initialization operation through the kernel layer.
An optional implementation manner is that, the terminal notifies the display screen to perform an initialization operation through the kernel layer, including:
and the terminal informs the display screen to carry out initialization operation by calling a communication interface corresponding to the display screen in the kernel layer.
An optional implementation manner is that the terminal draws a display interface according to the following manner:
and if the operation of waking up the terminal triggered by the user is the operation of only lightening the screen, drawing an interface to be unlocked by the terminal.
An optional implementation manner is that, the terminal displays a display interface with completed drawing in a display screen, and the method includes:
and the terminal sends first display data which are obtained by drawing and correspond to the interface to be unlocked to the display screen, and the drawn interface to be unlocked is displayed in the display screen according to the first display data.
An optional implementation manner is that the terminal draws a display interface according to the following manner:
and if the operation of awakening the terminal triggered by the user is the operation of unlocking the terminal, the terminal verifies the unlocking authority according to verification information carried in the operation of unlocking the terminal, and after the verification is passed, a user interface of the terminal is drawn.
An optional implementation manner is that, the terminal displays a display interface with completed drawing in a display screen, and the method includes:
and the terminal sends second display data which is obtained by drawing and corresponds to the user interface to the display screen, and the drawn user interface is displayed in the display screen according to the second display data.
According to a further aspect of the exemplary embodiments, there is provided a computer storage medium having stored therein computer program instructions which, when run on a computer, cause the computer to perform a processing method as described above.
The terminal responds to the awakening operation of the user, and the display screen of the terminal is initialized while the display interface is drawn; the terminal awakening method provided by the embodiment of the invention adopts a parallel processing mode, and initializes the display screen in the process of drawing the display interface, thereby reducing the switching time of the terminal from the dormant state to the awakening state and accelerating the awakening process of the terminal. After the user triggers the awakening operation, the waiting time of the user can be reduced, and the user experience is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise. In the drawings:
fig. 1 is a block diagram illustrating an exemplary hardware configuration of a terminal according to an embodiment of the present invention;
fig. 2 is a block diagram illustrating a software structure of a terminal according to an embodiment of the present invention;
fig. 3 is a schematic diagram illustrating a user interface of a terminal provided by an embodiment of the present invention;
fig. 4 is a schematic diagram illustrating a sleep interface of a terminal according to an embodiment of the present invention;
fig. 5 is a schematic diagram illustrating a wake-up method according to an embodiment of the present invention;
FIG. 6 is a schematic diagram illustrating a toggle power key provided by an embodiment of the present invention;
FIG. 7 is a diagram illustrating an example of fingerprint unlocking provided by an embodiment of the present invention;
fig. 8 schematically illustrates a face recognition unlocking diagram according to an embodiment of the present invention;
fig. 9 is a schematic diagram illustrating a hand raising and screen lighting provided by an embodiment of the present invention;
fig. 10 is a schematic diagram illustrating an interface to be unlocked of a terminal according to an embodiment of the present invention;
fig. 11 is a schematic diagram illustrating a user fingerprint unlocking failure interface of a terminal according to an embodiment of the present invention;
fig. 12 is a schematic diagram illustrating a user face unlocking failure interface of a terminal according to an embodiment of the present invention;
fig. 13 is a schematic diagram illustrating an interface for inputting a password of a terminal according to an embodiment of the present invention;
fig. 14 is a complete flowchart illustrating a terminal wake-up method according to an embodiment of the present invention;
fig. 15 is a complete flow chart illustrating another terminal wake-up method according to an embodiment of the present invention;
fig. 16 is a block diagram illustrating an architecture of a terminal according to an embodiment of the present invention;
fig. 17 is a block diagram illustrating a structure of a terminal wake-up apparatus according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the present invention will be described in further detail with reference to the accompanying drawings, and it is apparent that the described embodiments are only a part of the embodiments of the present invention, not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Some of the words that appear in the text are explained below:
1. the term "and/or" in the embodiments of the present invention describes an association relationship of associated objects, and indicates that three relationships may exist, for example, a and/or B may indicate: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship.
2. The term "terminal" in the embodiment of the present invention may be a mobile phone, a tablet computer, a game console, a tablet device, a medical device, a fitness device, a wearable device, a laptop, a television, and the like.
Fig. 1 shows a schematic structural diagram of a terminal 100.
The following describes an embodiment specifically by taking the terminal 100 as an example. It should be understood that the terminal 100 shown in fig. 1 is merely an example, and that the terminal 100 may have more or fewer components than shown in fig. 1, may combine two or more components, or may have a different configuration of components. The various components shown in the figures may be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and/or application specific integrated circuits.
A block diagram of a hardware configuration of the terminal 100 according to an exemplary embodiment is exemplarily shown in fig. 1. As shown in fig. 1, the terminal 100 includes: a Radio Frequency (RF) circuit 110, a memory 120, a display unit 130, a camera 140, a sensor 150, an audio circuit 160, a Wireless Fidelity (Wi-Fi) module 170, a processor 180, a bluetooth module 181, and a power supply 190.
The RF circuit 110 may be used for receiving and transmitting signals during information transmission and reception or during a call, and may receive downlink data of a base station and then send the downlink data to the processor 180 for processing; the uplink data may be transmitted to the base station. Typically, the RF circuitry includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like.
The memory 120 may be used to store software programs and data. The processor 180 performs various functions of the terminal 100 and data processing by executing software programs or data stored in the memory 120. The memory 120 may include high speed random access memory and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. The memory 120 stores an operating system that enables the terminal 100 to operate. The memory 120 may store an operating system and various application programs, and may also store codes for performing the methods described in the embodiments of the present application.
The display unit 130 may be used to receive input numeric or character information and generate signal input related to user settings and function control of the terminal 100, and particularly, the display unit 130 may include a touch screen 131 disposed on the front surface of the terminal 100 and may collect touch operations of a user thereon or nearby, such as clicking a button, dragging a scroll box, and the like.
The display unit 130 may also be used to display a Graphical User Interface (GUI) of information input by or provided to the user and various menus of the terminal 100. Specifically, the display unit 130 may include a display screen 132 disposed on the front surface of the terminal 100. The display screen 132 may be configured in the form of a liquid crystal display, a light emitting diode, or the like. The display unit 130 may be used to display various graphical user interfaces described herein.
The touch screen 131 may cover the display screen 132, or the touch screen 131 and the display screen 132 may be integrated to implement the input and output functions of the terminal 100, and after the integration, the touch screen may be referred to as a touch display screen for short. In the present application, the display unit 130 may display the application programs and the corresponding operation steps.
The camera 140 may be used to capture still images or video. The object generates an optical image through the lens and projects the optical image to the photosensitive element. The photosensitive element may be a Charge Coupled Device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The light sensing elements convert the light signals into electrical signals which are then passed to the processor 180 for conversion into digital image signals.
The terminal 100 may further comprise at least one sensor 150, such as an acceleration sensor 151, a distance sensor 152, a fingerprint sensor 153, a temperature sensor 154. The terminal 100 may also be configured with other sensors such as a gyroscope, barometer, hygrometer, thermometer, infrared sensor, light sensor, motion sensor, etc.
Audio circuitry 160, speaker 161, and microphone 162 may provide an audio interface between a user and terminal 100. The audio circuit 160 may transmit the electrical signal converted from the received audio data to the speaker 161, and convert the electrical signal into a sound signal for output by the speaker 161. The terminal 100 may also be provided with a volume button for adjusting the volume of the sound signal. On the other hand, the microphone 162 converts the collected sound signal into an electrical signal, converts the electrical signal into audio data after being received by the audio circuit 160, and outputs the audio data to the RF circuit 110 to be transmitted to, for example, another terminal or outputs the audio data to the memory 120 for further processing. In this application, the microphone 162 may capture the voice of the user.
Wi-Fi belongs to a short-distance wireless transmission technology, and the terminal 100 can help a user to send and receive e-mails, browse webpages, access streaming media, and the like through the Wi-Fi module 170, and provides wireless broadband internet access for the user.
The processor 180 is a control center of the terminal 100, connects various parts of the entire terminal using various interfaces and lines, and performs various functions of the terminal 100 and processes data by running or executing software programs stored in the memory 120 and calling data stored in the memory 120. In some embodiments, processor 180 may include one or more processing units; the processor 180 may also integrate an application processor, which mainly handles operating systems, user interfaces, applications, etc., and a baseband processor, which mainly handles wireless communications. It will be appreciated that the baseband processor described above may not be integrated into the processor 180. In the present application, the processor 180 may run an operating system, an application program, a user interface display, and a touch response, and the processing method described in the embodiments of the present application. Further, the processor 180 is coupled with the display unit 130.
And the bluetooth module 181 is configured to perform information interaction with other bluetooth devices having a bluetooth module through a bluetooth protocol. For example, the terminal 100 may establish a bluetooth connection with a wearable electronic device (e.g., a smart watch) having a bluetooth module via the bluetooth module 181, so as to perform data interaction.
The terminal 100 also includes a power supply 190 (e.g., a battery) to power the various components. The power supply may be logically connected to the processor 180 through a power management system to manage charging, discharging, power consumption, etc. through the power management system. The terminal 100 may also be configured with power buttons for powering the terminal on and off, and locking the screen.
Fig. 2 is a block diagram of a software configuration of the terminal 100 according to the embodiment of the present invention.
The layered architecture divides the software into several layers, each layer having a clear role and division of labor. The layers communicate with each other through a software interface. In some embodiments, the Android system is divided into four layers, an application layer, an application framework layer, an Android runtime (Android runtime) and system library, and a kernel layer from top to bottom.
The application layer may include a series of application packages.
As shown in fig. 2, the application package may include applications such as camera, gallery, calendar, phone call, map, navigation, WLAN, bluetooth, music, video, short message, etc.
The application framework layer provides an Application Programming Interface (API) and a programming framework for the application program of the application layer. The application framework layer includes a number of predefined functions.
As shown in FIG. 2, the application framework layers may include a window manager, content provider, view system, phone manager, resource manager, notification manager, and the like.
The window manager is used for managing window programs. The window manager can obtain the size of the display screen, judge whether a status bar exists, lock the screen, intercept the screen and the like.
The content provider is used to store and retrieve data and make it accessible to applications. The data may include video, images, audio, calls made and received, browsing history and bookmarks, phone books, etc.
The view system includes visual controls such as controls to display text, controls to display pictures, and the like. The view system may be used to build applications. The display interface may be composed of one or more views. For example, the display interface including the short message notification icon may include a view for displaying text and a view for displaying pictures.
The phone manager is used to provide a communication function of the terminal 100. Such as management of call status (including on, off, etc.).
The resource manager provides various resources, such as localized strings, icons, pictures, layout files, video files, etc., to the application.
The notification manager enables the application to display notification information in the status bar, can be used to convey notification-type messages, can disappear automatically after a short dwell, and does not require user interaction. Such as a notification manager used to inform download completion, message alerts, etc. The notification manager may also be a notification that appears in the form of a chart or scroll bar text at the top status bar of the system, such as a notification of a background running application, or a notification that appears on the screen in the form of a dialog window. For example, text information is prompted in the status bar, a prompt tone is given, the terminal vibrates, an indicator light flashes, and the like.
The Android Runtime comprises a core library and a virtual machine. The Android runtime is responsible for scheduling and managing an Android system.
The core library comprises two parts: one part is a function which needs to be called by java language, and the other part is a core library of android.
The application layer and the application framework layer run in a virtual machine. And executing java files of the application program layer and the application program framework layer into a binary file by the virtual machine. The virtual machine is used for performing the functions of object life cycle management, stack management, thread management, safety and exception management, garbage collection and the like.
The system library may include a plurality of functional modules. For example: surface managers (surface managers), Media Libraries (Media Libraries), three-dimensional graphics processing Libraries (e.g., OpenGL ES), 2D graphics engines (e.g., SGL), and the like.
The surface manager is used to manage the display subsystem and provide fusion of 2D and 3D layers for multiple applications.
The media library supports a variety of commonly used audio, video format playback and recording, and still image files, among others. The media library may support a variety of audio-video encoding formats, such as MPEG4, h.264, MP3, AAC, AMR, JPG, PNG, and the like.
The three-dimensional graphic processing library is used for realizing three-dimensional graphic drawing, image rendering, synthesis, layer processing and the like.
The 2D graphics engine is a drawing engine for 2D drawing.
The kernel layer is a layer between hardware and software. The inner core layer at least comprises a display driver, a camera driver, an audio driver and a sensor driver.
The following exemplifies the workflow of the software and hardware of the communication terminal 100 in connection with capturing a photographing scene.
When the touch screen 131 receives a touch operation, a corresponding hardware interrupt is issued to the kernel layer. The kernel layer processes the touch operation into an original input event (including touch coordinates, a time stamp of the touch operation, and other information). The raw input events are stored at the kernel layer. And the application program framework layer acquires the original input event from the kernel layer and identifies the control corresponding to the input event. Taking the touch operation as a touch click operation, and taking a control corresponding to the click operation as a control of a camera application icon as an example, the camera application calls an interface of an application framework layer, starts the camera application, further starts a camera drive by calling a kernel layer, and captures a still image or a video through the camera 140.
The communication terminal 100 in the embodiment of the present invention may be a mobile phone, a tablet computer, a wearable device, a notebook computer, a television, and the like.
Fig. 3 is a schematic diagram for illustrating a user interface on a terminal (e.g., the communication terminal 100 of fig. 1). In some implementations, the user wakes up the terminal by voice and performs corresponding operations by intelligent dialogue with the communication terminal, for example, the user inputs a voice command of "open folder", and the terminal can open the corresponding folder; or the corresponding application program is opened through a voice command, for example, the user inputs a voice command of "open camera", and the terminal can open the camera application program.
Or a schematic diagram of a sleep interface of a communication terminal as shown in fig. 4. In some implementations, the user can interrupt the sleep of the terminal by interrupting the operation, waking up the terminal. For example, the user may wake up the terminal by means of a key, a fingerprint, a face, a raising of a hand, a screen, and the like.
When the terminal is in a dormant state, after a user triggers a wake-up instruction for interrupting the terminal dormancy, the wake-up process of the terminal system is a serial process; for example, after the kernel layer receives the wake-up instruction, the kernel layer wakes up first, reports an interrupt to the powerManager, and then draws a display interface according to the wake-up instruction triggered by the user; and after the display interface is drawn, triggering the display screen to initialize, and displaying the drawn display interface in the display screen after the initialization of the display screen is finished. Because the display screen can be initialized only after the display interface is drawn, and the initialization process of the display screen is relatively long, the time of the whole terminal wake-up process is long, and the use experience of a user is influenced.
Based on the above problem, embodiments of the present invention provide a terminal wake-up method, which can wake up a terminal quickly.
As shown in fig. 5, a schematic diagram of a wake-up method provided in an embodiment of the present invention specifically includes the following steps:
step 501, responding to an operation of awakening a terminal triggered by a user, and triggering initialization operation on a display screen of the terminal while the terminal draws a display interface;
and 502, after the display screen is initialized, displaying the drawn display interface in the display screen by the terminal.
The terminal responds to the awakening operation of the user, and the display screen of the terminal is initialized while the display interface is drawn; the terminal awakening method provided by the embodiment of the invention adopts a parallel processing mode, and initializes the display screen in the process of drawing the display interface, thereby reducing the switching time of the terminal from the dormant state to the awakening state and accelerating the awakening process of the terminal. After the user triggers the awakening operation, the waiting time of the user can be reduced, and the user experience is improved.
It should be noted that, in the embodiment of the present invention, when the terminal is in the sleep state, the user may wake up the terminal by triggering the wake-up operation, where the wake-up operation may be divided into an operation of only turning on the screen and an operation of unlocking the terminal. The following explains the terminal wake-up for the above two types of operations respectively:
1. the user triggers an operation awakening terminal which only lights up a screen;
alternatively, the operation of only lighting the screen may be an operation triggered by a specific key on the terminal. For example, the specific key may be a power key on the terminal.
As shown in fig. 6, the user can trigger an operation of only lighting the screen by pressing the power key.
2. A user triggers an operation of unlocking the terminal to wake up the terminal;
the operation of unlocking the terminal includes but is not limited to:
fingerprint unlocking operation, face recognition operation, and operation of lifting hands and brightening screens;
it should be noted that the operation of unlocking the terminal is only an example of the embodiment of the present invention, and the operation of unlocking the terminal to be protected by the embodiment of the present invention is not limited to the above manner.
The following describes the operations of the three unlocking terminals respectively;
the method comprises the following steps that 1, a user wakes up a terminal in a fingerprint unlocking mode;
it should be noted that, in this way, the terminal stores fingerprint information that can be used for unlocking in advance; the user may trigger fingerprint unlocking in the manner shown in fig. 7.
In the mode 2, a user wakes up the terminal in a face recognition unlocking mode;
it should be noted that, in this way, the terminal stores face information that can be used for unlocking in advance; as shown in fig. 8, the user may aim the face at the camera of the terminal, and trigger the face recognition unlocking.
Mode 3, a user wakes up the terminal in a hand-lifting and screen-lighting mode;
in this way, the user can start the hand-raising and screen-lighting function in the terminal in advance; as shown in fig. 9, the user triggers the operation of raising the hand and lighting the screen by lifting the terminal.
And after the terminal responds to the awakening operation of the user, the terminal triggers the operation of initializing the display screen while drawing the display interface.
In specific implementation, the terminal can perform initialization operation on the display screen according to the following mode;
an optional implementation manner is that, in response to an operation of waking up the terminal by a user, after the terminal wakes up the kernel layer, the kernel layer notifies the display screen to perform an initialization operation.
In implementation, the terminal can notify the display screen to perform initialization operation by calling a communication interface corresponding to the display screen in the kernel layer.
After the terminal responds to the awakening operation of the user, awakening the kernel layer; and sending an initialization instruction to the display screen through a communication interface corresponding to the display screen in the kernel layer.
It should be noted that the initialization instruction sent by the kernel layer to the display screen includes, but is not limited to: the method comprises a display screen power-on instruction, a display screen reset instruction and a preset initialization parameter.
When the terminal sends the initialization instruction to the display screen, the terminal can call an MDP initialization instruction of the mobile display processor and a DSI initialization instruction of the display interface to initialize the MDP and the DSI.
The architecture of the kernel layer in the terminal according to the embodiment of the present invention may be a DRM architecture (Direct Rendering Manager, graphic display architecture) or a FrameBuffer architecture. The following description is based on two cases of the core layer.
In case one, the architecture in the kernel layer is a DRM architecture.
An initialization instruction sent by the kernel layer to the display screen needs to be configured in a communication interface in advance; and the kernel layer sends an initialization instruction to the display screen by calling the preset initialization instruction.
In case two, the architecture in the kernel layer is a FrameBuffer architecture.
In the FrameBuffer architecture, an initialization instruction of a display screen is stored in a structural body of the FrameBuffer architecture, and a kernel layer can directly call a communication interface and send the initialization instruction to the display screen.
In the embodiment of the invention, after the display screen receives the initialization instruction sent by the kernel layer, the configuration parameters of the display screen are cleared after the power-on instruction in the initialization instruction is powered on, the reset is carried out, the configuration parameter information is carried out according to the received initialization parameter, and the initialization is completed.
In addition, in the process of initializing the display screen, the terminal simultaneously draws a display interface;
in specific implementation, after responding to the operation of waking up the terminal triggered by a user, the terminal processes the waking up operation of the user into interrupt information and reports the interrupt information to a powerManager for terminal power supply management; and identifying the received interrupt information by the powerManager, and drawing a display interface according to an identification result.
An optional implementation manner is that if the operation of waking up the terminal triggered by the user is an operation of only lighting up the screen, the terminal draws an interface to be unlocked.
Another optional implementation manner is that if the operation of waking up the terminal triggered by the user is the operation of unlocking the terminal, the terminal verifies the unlocking authority according to verification information carried in the operation of unlocking the terminal, and after the verification is passed, a user interface of the terminal is drawn;
in addition, after the verification is determined not to pass, the terminal enters a dormant state or draws a prompt interface for failing to pass the verification.
The following describes the terminal drawing interface according to two cases, namely, the user operation is only the screen lighting operation and the terminal unlocking operation.
In case one, the user operation is an operation of only lighting up the screen.
And identifying the interrupt information by the powerManager of the terminal, and starting to draw an interface to be unlocked after determining that the operation of the user is the operation of only lightening the screen.
An optional implementation manner is that the power supply state of the terminal is acquired through the power supply management interface, and after the power supply state of the terminal is determined to be the state of starting to supply power to the display screen, an interface to be unlocked is drawn.
The terminal draws an interface to be unlocked through the display layer and stores first display data of the drawn interface to be unlocked in a memory area corresponding to the display layer.
And after the initialization of the display screen is determined to be completed, the terminal displays the drawn interface to be unlocked in the display screen.
In a specific implementation, the terminal in the embodiment of the present invention may display an interface to be unlocked in the display screen according to the following manner:
after the terminal determines that the display screen is initialized, the terminal sends a memory address corresponding to first display data of an interface to be unlocked in a display layer to the MDP;
the MDP acquires first display data corresponding to an interface to be unlocked, which is drawn by the terminal, through the received memory address, and then transmits the acquired first display data to the display screen through the DSI;
and the display screen displays the drawn interface to be unlocked according to the received first display data.
As shown in fig. 10, when the operation of the user is an operation of only lighting up the screen, the display screen displays the drawn interface to be unlocked according to the first display data.
And in case two, the terminal determines that the operation of the user is the operation of unlocking the terminal.
And identifying the interrupt information by a powerManager of the terminal, sending verification information carried in the interrupt information to a corresponding verification manager according to the type of the operation of the unlocking terminal after determining that the operation of the user is the operation of unlocking the terminal, and verifying the unlocking authority of the operation of the user by the verification manager to determine whether the operation of the user has the unlocking authority. The verification manager sends a verification result to the powerManager, and the powerManager judges whether to draw a display interface according to the verification result; if the verification is confirmed to pass, starting to draw a user interface; and if the verification is determined not to pass, drawing a prompt interface for failing to pass the verification, or enabling the terminal to recover the dormant state.
The verification manager includes but is not limited to a fingerprint verification manager, a face recognition verification manager, and a sensor manager.
The user interface of the embodiment of the invention can be a desktop of the terminal or a display interface of an application running in the foreground of the terminal.
For example, when the user operation is a fingerprint awakening operation of unlocking the terminal, the verification information is uploaded to a fingerprint verification manager, and the fingerprint verification manager performs unlocking authority verification according to the fingerprint information in the verification information and the prestored fingerprint information, namely performs fingerprint information matching; if the verification fails, drawing a prompt interface which does not pass the verification, or enabling the terminal to enter a dormant state; and if the verification is passed, drawing a user interface.
For example, when the user operation is a face recognition awakening operation of an unlocking terminal, the verification information is uploaded to a face recognition verification manager, and the face recognition verification manager performs unlocking authority verification according to the face information in the verification information and preset face information, namely, performs face information matching; if the verification fails, drawing a prompt interface which does not pass the verification, or enabling the terminal to enter a dormant state; and if the verification is passed, drawing a user interface.
For another example, when the user operation is a hand-lifting and screen-lighting wakeup operation for unlocking the terminal, the verification information is uploaded to the sensor manager, and the sensor manager performs unlocking authority verification according to the hand-lifting amplitude in the verification information and the preset range of the screen-lighting hand-lifting amplitude, namely, whether the hand-lifting amplitude is in the preset range of the screen-lighting hand-lifting amplitude is judged; if the verification fails, drawing a prompt interface which does not pass the verification, or enabling the terminal to enter a dormant state; and if the verification is passed, drawing a user interface.
The two verification results are described below.
And in case 1, drawing a user interface after the operation verification of the user is passed.
An optional implementation manner is that the power supply state of the terminal is acquired through the power supply management interface, the power supply state of the terminal is determined to be a state in which power supply starts to be supplied to the display screen, and the user interface starts to be drawn after the operation verification of the user passes.
And the terminal draws the user interface through the display layer and stores second display data of the drawn user interface in a memory area corresponding to the display layer.
And after the initialization of the display screen is determined to be completed, the terminal displays the drawn user interface in the display screen.
In a specific implementation, the terminal in the embodiment of the present invention may display the user interface in the display screen according to the following manner:
the terminal sends the memory address of the memory area corresponding to the second display data of the display layer user interface to the MDP;
the MDP acquires second display data corresponding to the user interface drawn by the terminal through the received memory address, and then transmits the acquired second display data to the display screen through the DSI;
as shown in fig. 3, after the operation verification of the user's unlock terminal is passed, the display screen displays the drawn user interface according to the received second display data.
And 2, drawing a prompt interface for failing verification after the operation verification of the user fails.
An optional implementation manner is that the power supply state of the terminal is acquired through the power supply management interface, the power supply state of the terminal is determined to be a state of starting to supply power to the display screen, and a prompt interface of which the verification fails is drawn after the operation verification of the user fails.
It should be noted that the prompt interface for failing to pass the verification may be an interface for failing to unlock the user, or may be an interface for inputting a password, which is not limited herein.
In an optional implementation manner, the terminal draws a user unlocking failure interface through the display layer, and stores third display data corresponding to the drawn user unlocking failure interface in a memory area corresponding to the display layer.
In a specific implementation, the terminal in the embodiment of the present invention may display a user unlocking failure interface in the display screen according to the following manner:
the terminal sends the memory address of the memory area corresponding to the third display data of the display layer user unlocking failure interface to the MDP;
the MDP acquires third display data corresponding to a user unlocking failure interface drawn by the terminal through the received memory address, and then transmits the acquired third display data to the display screen through the DSI;
and the display screen displays the drawn user unlocking failure interface according to the received third display data.
For example, when the operation of waking up the terminal by the user is a fingerprint wake-up operation, as shown in fig. 11, the display screen displays a user unlock failure interface; when the operation of the user wake-up terminal is a face recognition wake-up operation, as shown in fig. 12, the display screen displays a user unlock failure interface.
In another optional implementation manner, the terminal draws an input password interface through the display layer, and stores fourth display data corresponding to the input password interface, which is obtained by drawing, in the memory area corresponding to the display layer.
In a specific implementation, the terminal in the embodiment of the present invention may display the password input interface in the display screen according to the following manner:
the terminal sends the memory address of the memory area corresponding to the fourth display data of the display layer input password interface to the MDP;
the MDP acquires fourth display data corresponding to the password input interface drawn by the terminal through the received memory address, and then transmits the acquired fourth display data to the display screen through the DSI;
as shown in fig. 13, the display screen displays the drawn input password interface according to the received fourth display data.
Fig. 14 is a complete flowchart of a terminal wake-up method according to an embodiment of the present invention, in which taking an operation of waking up a terminal triggered by a user as an operation of only lighting up a screen as an example, as shown in fig. 14, the method includes the following steps:
step S1401, the terminal responds to the operation of waking up the terminal triggered by the user;
step S1402, after the terminal wakes up the kernel layer, the terminal informs the display screen to carry out initialization operation through a communication interface corresponding to the display screen in the kernel layer;
step S1403, the initialization of the display screen is completed;
step S1404, the terminal identifies the operation of the user and determines that the operation of the user is a wake-up operation only for lighting up the screen;
step S1405, drawing an interface to be unlocked by the terminal;
step S1406, the terminal sends first display data which are obtained by drawing and correspond to the interface to be unlocked to a display screen;
and step S1407, after the display screen receives the first display data, displaying the drawn interface to be unlocked.
Fig. 15 is a complete flowchart of a terminal wake-up method according to an embodiment of the present invention, where for example, a user wakes up a terminal by raising a hand and lighting a screen, as shown in fig. 15, the method includes the following steps:
step S1501, the terminal responds to the operation of awakening the terminal triggered by the user;
step S1502, after the terminal wakes up the kernel layer, the terminal informs the display screen to carry out initialization operation through a communication interface corresponding to the display screen in the kernel layer;
s1503, initializing the display screen;
step S1504, the terminal identifies the operation of the user and determines that the operation of the user is the operation of unlocking the terminal;
step S1505, the terminal verifies the unlocking authority according to the verification information carried in the operation of unlocking the terminal;
step S1506, after the verification is passed, the terminal draws a user interface;
step S1507, the terminal sends the drawn second display data corresponding to the user interface to the display screen;
step 1508, after the display screen receives the second display data, displaying the drawn user interface;
based on the same inventive concept, the embodiment of the present invention further provides a terminal, and as the principle of the terminal for solving the problem is similar to the terminal wake-up method in the embodiment of the present invention, the implementation of the apparatus may refer to the implementation of the method, and repeated details are not repeated.
As shown in fig. 16, a terminal according to an embodiment of the present invention includes:
the processor 1601 is used for responding to an operation of waking up the terminal triggered by a user, and triggering a display screen of the terminal to perform initialization operation while drawing a display interface;
and a display screen 1602, configured to display the drawn display interface after the initialization is completed.
In an optional implementation manner, the processor 1601 is specifically configured to:
and after the kernel layer is awakened, the kernel layer informs the display screen to carry out initialization operation.
In an optional implementation manner, the processor 1601 is specifically configured to:
and informing the display screen to carry out initialization operation by calling a communication interface corresponding to the display screen in the kernel layer.
In an optional implementation manner, the processor 1601 is specifically configured to draw a display interface according to the following manner:
and if the operation of waking up the terminal triggered by the user is the operation of only lightening the screen, drawing an interface to be unlocked by the processor.
In an optional implementation manner, the processor 1601 is specifically configured to:
sending first display data which are obtained by drawing and correspond to the interface to be unlocked to the display screen;
the display screen 1602 is specifically configured to:
and receiving the first display data sent by the processor, and displaying the drawn interface to be unlocked according to the first display data.
In an optional implementation manner, the processor 1601 is specifically configured to draw a display interface according to the following manner:
and if the operation of awakening the terminal triggered by the user is the operation of unlocking the terminal, the processor verifies the unlocking authority according to verification information carried in the operation of unlocking the terminal, and after the verification is passed, a user interface of the terminal is drawn.
In an optional implementation manner, the processor 1601 is specifically configured to:
sending the drawn second display data corresponding to the user interface to the display screen;
the display screen 1602 is specifically configured to:
and receiving the second display data sent by the processor, and displaying the drawn user interface according to the second display data.
Based on the same inventive concept, the embodiment of the present invention further provides a terminal wake-up apparatus, and as the principle of the apparatus for solving the problem is similar to the terminal wake-up method in the embodiment of the present invention, the implementation of the apparatus may refer to the implementation of the method, and repeated details are not repeated.
As shown in fig. 17, a terminal wake-up apparatus according to an embodiment of the present invention includes:
the processing module 1701 is used for responding to the operation of waking up the terminal triggered by a user, and triggering a display screen of the terminal to carry out initialization operation while drawing a display interface;
a display module 1702, configured to display the rendered display interface after the initialization is completed.
In an optional implementation manner, the processing module 1701 is specifically configured to:
and after the kernel layer is awakened, the kernel layer informs the display screen to carry out initialization operation.
In an optional implementation manner, the processing module 1701 is specifically configured to:
and informing the display screen to carry out initialization operation by calling a communication interface corresponding to the display screen in the kernel layer.
In an optional implementation manner, the processing module 1701 is specifically configured to render the display interface according to the following manner:
and if the operation of waking up the terminal triggered by the user is the operation of only lightening the screen, drawing an interface to be unlocked by the processor.
In an optional implementation manner, the processing module 1701 is specifically configured to:
sending first display data which are obtained by drawing and correspond to the interface to be unlocked to the display screen;
the display module 1702 is specifically configured to:
and receiving the first display data sent by the processor, and displaying the drawn interface to be unlocked according to the first display data.
In an optional implementation manner, the processing module 1701 is specifically configured to render the display interface according to the following manner:
and if the operation of awakening the terminal triggered by the user is the operation of unlocking the terminal, the processor verifies the unlocking authority according to verification information carried in the operation of unlocking the terminal, and after the verification is passed, a user interface of the terminal is drawn.
In an optional implementation manner, the processing module 1701 is specifically configured to:
sending the drawn second display data corresponding to the user interface to the display screen;
the display module 1702 is specifically configured to:
and receiving the second display data sent by the processor, and displaying the drawn user interface according to the second display data.
Embodiments of the present invention also provide a computer-readable medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of any of the methods described above.
Those of ordinary skill in the art will understand that: all or a portion of the steps of implementing the above-described method embodiments may be performed by hardware associated with program instructions. The program may be stored in a computer-readable storage medium. When executed, the program performs steps comprising the method embodiments described above; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
While specific embodiments of the invention have been described above, it will be appreciated by those skilled in the art that these are by way of example only, and that the scope of the invention is defined by the appended claims. Various changes and modifications to these embodiments may be made by those skilled in the art without departing from the spirit and scope of the invention, and these changes and modifications are within the scope of the invention.

Claims (10)

1. A terminal, comprising a processor and a display:
the processor is used for responding to the operation of awakening the terminal triggered by a user, drawing a display interface and simultaneously triggering a display screen of the terminal to carry out initialization operation;
and the display screen is used for displaying the drawn display interface after the initialization is finished.
2. The terminal of claim 1, wherein the processor is further specifically configured to:
and after the kernel layer is awakened, the kernel layer informs the display screen to carry out initialization operation.
3. The terminal of claim 2, wherein the processor is further specifically configured to:
and informing the display screen to carry out initialization operation by calling a communication interface corresponding to the display screen in the kernel layer.
4. The terminal of claim 1, wherein the processor is specifically configured to draw a display interface according to:
and if the operation of waking up the terminal triggered by the user is the operation of only lightening the screen, drawing an interface to be unlocked by the processor.
5. The terminal of claim 4, wherein the processor is further specifically configured to:
sending first display data which are obtained by drawing and correspond to the interface to be unlocked to the display screen;
the display screen is specifically configured to:
and receiving the first display data sent by the processor, and displaying the drawn interface to be unlocked according to the first display data.
6. The terminal of claim 1, wherein the processor is specifically configured to draw a display interface according to:
and if the operation of awakening the terminal triggered by the user is the operation of unlocking the terminal, the processor verifies the unlocking authority according to verification information carried in the operation of unlocking the terminal, and after the verification is passed, a user interface of the terminal is drawn.
7. The terminal of claim 6, wherein the processor is further specifically configured to:
sending the drawn second display data corresponding to the user interface to the display screen;
the display screen is specifically configured to:
and receiving the second display data sent by the processor, and displaying the drawn user interface according to the second display data.
8. A terminal wake-up method is characterized by comprising the following steps:
responding to an operation of awakening a terminal triggered by a user, and triggering a display screen of the terminal to carry out initialization operation while the terminal draws a display interface;
and after the initialization of the display screen is completed, the terminal displays the drawn display interface in the display screen.
9. The method of claim 8, wherein the terminal triggers a display screen of the terminal to perform an initialization operation, comprising:
and after the terminal is awakened by the kernel layer, the terminal informs the display screen to carry out initialization operation through the kernel layer.
10. A computer storage medium having computer program instructions stored therein which, when run on a computer, cause the computer to perform the method of claim 8 or 9.
CN202010952145.7A 2020-09-11 2020-09-11 Terminal awakening method, terminal and computer storage medium Pending CN112114883A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010952145.7A CN112114883A (en) 2020-09-11 2020-09-11 Terminal awakening method, terminal and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010952145.7A CN112114883A (en) 2020-09-11 2020-09-11 Terminal awakening method, terminal and computer storage medium

Publications (1)

Publication Number Publication Date
CN112114883A true CN112114883A (en) 2020-12-22

Family

ID=73801907

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010952145.7A Pending CN112114883A (en) 2020-09-11 2020-09-11 Terminal awakening method, terminal and computer storage medium

Country Status (1)

Country Link
CN (1) CN112114883A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023207715A1 (en) * 2022-04-28 2023-11-02 华为技术有限公司 Screen-on control method, electronic device, and computer-readable storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108376086A (en) * 2018-02-05 2018-08-07 广东欧珀移动通信有限公司 Display control method and device, terminal, computer readable storage medium
CN108650423A (en) * 2018-05-10 2018-10-12 Oppo广东移动通信有限公司 Control method for screen display and device
CN108762813A (en) * 2018-05-22 2018-11-06 厦门美图移动科技有限公司 screen awakening method and device
CN108762814A (en) * 2018-05-07 2018-11-06 Oppo广东移动通信有限公司 Bright screen method and relevant device
CN109032675A (en) * 2018-06-25 2018-12-18 北京集创北方科技股份有限公司 The unlocking screen method, apparatus and terminal device of terminal device
CN110209428A (en) * 2018-12-28 2019-09-06 深圳市泰衡诺科技有限公司 A kind of terminal screen awakening method, device, terminal and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108376086A (en) * 2018-02-05 2018-08-07 广东欧珀移动通信有限公司 Display control method and device, terminal, computer readable storage medium
CN108762814A (en) * 2018-05-07 2018-11-06 Oppo广东移动通信有限公司 Bright screen method and relevant device
CN108650423A (en) * 2018-05-10 2018-10-12 Oppo广东移动通信有限公司 Control method for screen display and device
CN108762813A (en) * 2018-05-22 2018-11-06 厦门美图移动科技有限公司 screen awakening method and device
CN109032675A (en) * 2018-06-25 2018-12-18 北京集创北方科技股份有限公司 The unlocking screen method, apparatus and terminal device of terminal device
CN110209428A (en) * 2018-12-28 2019-09-06 深圳市泰衡诺科技有限公司 A kind of terminal screen awakening method, device, terminal and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
刘纯武 等: "《嵌入式系统设计与应用》", 31 December 2011, 长沙:国防科技大学出版社, pages: 352 - 353 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023207715A1 (en) * 2022-04-28 2023-11-02 华为技术有限公司 Screen-on control method, electronic device, and computer-readable storage medium

Similar Documents

Publication Publication Date Title
WO2021104030A1 (en) Split-screen display method and electronic device
CN111240546B (en) Split screen processing method and communication terminal
CN111367456A (en) Communication terminal and display method in multi-window mode
CN112114733B (en) Screen capturing and recording method, mobile terminal and computer storage medium
CN111225108A (en) Communication terminal and card display method of negative screen interface
EP4280058A1 (en) Information display method and electronic device
CN114286165A (en) Display device, mobile terminal and screen projection data transmission method
CN111274564A (en) Communication terminal and application unlocking method in split screen mode
CN114201130A (en) Screen projection method and device and storage medium
CN113709026B (en) Method, device, storage medium and program product for processing instant communication message
CN112114883A (en) Terminal awakening method, terminal and computer storage medium
CN113014614A (en) Equipment control method, control equipment and controlled equipment
CN111163220B (en) Display method, communication terminal and computer storage medium
CN111324255B (en) Application processing method based on double-screen terminal and communication terminal
CN113079332B (en) Mobile terminal and screen recording method thereof
CN114356559A (en) Multithreading control method and terminal equipment
CN111159734A (en) Communication terminal and multi-application data inter-access processing method
CN114286320A (en) Display device, mobile terminal and Bluetooth connection method
CN111225113A (en) Communication terminal and starting method thereof
CN111273849A (en) Communication terminal and screen unlocking method
CN111787157A (en) Mobile terminal and operation response method thereof
CN113760164A (en) Display device and response method of control operation thereof
CN113642010A (en) Method for acquiring data of extended storage device and mobile terminal
CN111142648B (en) Data processing method and intelligent terminal
CN111381801B (en) Audio playing method based on double-screen terminal and communication terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination