CN111163220B - Display method, communication terminal and computer storage medium - Google Patents

Display method, communication terminal and computer storage medium Download PDF

Info

Publication number
CN111163220B
CN111163220B CN201911329643.XA CN201911329643A CN111163220B CN 111163220 B CN111163220 B CN 111163220B CN 201911329643 A CN201911329643 A CN 201911329643A CN 111163220 B CN111163220 B CN 111163220B
Authority
CN
China
Prior art keywords
communication terminal
authentication
display
screen
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.)
Active
Application number
CN201911329643.XA
Other languages
Chinese (zh)
Other versions
CN111163220A (en
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 CN201911329643.XA priority Critical patent/CN111163220B/en
Publication of CN111163220A publication Critical patent/CN111163220A/en
Application granted granted Critical
Publication of CN111163220B publication Critical patent/CN111163220B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets
    • H04M1/0202Portable telephone sets, e.g. cordless phones, mobile phones or bar type handsets
    • H04M1/026Details of the structure or mounting of specific components
    • H04M1/0266Details of the structure or mounting of specific components for a display module assembly
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/66Substation equipment, e.g. for use by subscribers with means for preventing unauthorised or fraudulent calling
    • H04M1/667Preventing unauthorised calls from a telephone set
    • H04M1/67Preventing unauthorised calls from a telephone set by electronic means
    • 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/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72463User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions to restrict the functionality of the device

Abstract

The invention relates to the field of communication, in particular to a display method and a communication terminal, which are used for prompting an unlocking state on a double-screen terminal. In the embodiment of the invention, a terminal responds to a first awakening instruction which is triggered by a user and used for activating a main screen, and displays a dynamic display diagram used for representing the unlocking state of a communication terminal in the main screen; and in response to a second wake-up instruction for activating the back screen triggered by the user, displaying a static display graph for representing the unlocking state of the communication terminal in the back screen. The display method provided by the embodiment of the invention is used for prompting the unlocking state of a user on the double-screen terminal, displaying the display pictures with different effects according to different activated display screens, and simultaneously displaying the static display pictures on the back screen when the dynamic display pictures are displayed on the main screen, so that the fluency of back screen display is improved, and the phenomenon of unsmooth back screen display is reduced. In addition, show pictures with different effects are displayed on different display screens, and the user experience is improved.

Description

Display method, communication terminal and computer storage medium
Technical Field
The present invention relates to the field of communications, and in particular, to a display method and a communication terminal.
Background
In order to improve the interaction experience between the user and the communication terminal, in some application scenarios, the communication terminal interacts with the user through the display interface, for example, in the process that the user unlocks the communication terminal, the communication terminal prompts the user of an unlocking state through the display interface so that the user performs further operation according to the prompt.
Along with the popularization of intelligent communication terminals, the requirements of people on the communication terminals are improved, and in order to better meet the requirements of users, the types of the intelligent communication terminals are more and more. The double-screen terminal is an intelligent terminal with two display screens, and a main screen of the double-screen terminal is a color screen, so that the daily use requirements of users are met, and the double-screen terminal can be used for taking pictures, watching videos and the like; the back of the body screen is the china ink screen, and the china ink screen possess the feel of paper book, can be used to read books, browse news etc. and eyeshield and china ink screen power consumption is lower, and it is long when can prolonging cell-phone use, and the design at double screen terminal has promoted the user experience of user when using intelligent communication terminal.
At present, there is no display method for prompting the unlocking state on the double-screen terminal.
Disclosure of Invention
The exemplary embodiment of the invention provides a display method and a communication terminal, which are used for prompting an unlocking state on a double-screen terminal.
According to an aspect of the exemplary embodiments, there is provided a communication terminal including:
a touch screen configured to receive a touch operation from a user;
a display screen configured to display a user interface;
a processor coupled to the touch screen and the display screen, respectively, the processor configured to:
displaying a dynamic display diagram for representing an unlocking state of the communication terminal in a main screen in response to a first wake-up instruction for activating the main screen of the communication terminal, wherein the first wake-up instruction is triggered by a user;
and in response to a second wake-up instruction which is triggered by a user and used for activating a back screen of the communication terminal, displaying a static display graph which is used for representing the unlocking state of the communication terminal in the back screen.
The display method provided by the embodiment of the invention is used for prompting the unlocking state of a user on the double-screen terminal, and displaying display diagrams with different effects according to different activated display screens, and the main screen and the back screen of the communication terminal do not need to display the same dynamic display diagram. In addition, show pictures with different effects are displayed on different display screens, and the user experience is improved.
In some exemplary embodiments, when the dynamic presentation graph for representing the unlocked state of the communication terminal is presented in the home screen, the processor is further configured to:
acquiring an authentication state of the current authority authentication application for carrying out authority authentication on the user;
determining the dynamic image parameters corresponding to the currently acquired authentication state according to the first corresponding relation between the authentication state and the dynamic image parameters;
and generating a dynamic display image according to the determined dynamic image parameters, and displaying the generated dynamic display image in the main screen.
When the main screen of the communication terminal is displayed, the authority authentication application is used for carrying out authority authentication on a user to obtain an authentication state, a dynamic display parameter corresponding to the obtained authentication state is determined according to a first corresponding relation between the authentication state and the dynamic display parameter, and a dynamic display image generated by the determined dynamic display parameter is displayed in the main screen. According to the embodiment of the invention, different dynamic display parameters are distributed according to different authority authentication states to generate different dynamic display graphs, and different authentication states prompt a user through different dynamic display graphs, so that interestingness is increased, and user experience is improved.
In some exemplary embodiments, the first corresponding relationship is stored in a RAM of the communication terminal, and the first corresponding relationship is loaded from a ROM of the communication terminal into the RAM.
In the embodiment of the invention, when the main screen of the communication terminal is displayed, the first corresponding relation between the authentication state and the dynamic display parameters is stored in the RAM of the communication terminal, and the corresponding dynamic display parameters can be quickly determined after the authentication state is obtained to generate the dynamic display diagram to be displayed on the main screen of the communication terminal; and the first corresponding relation between the authentication state and the dynamic display parameters is stored in a ROM of the communication terminal, and when the display screen needing to be activated is determined to be a main screen of the communication terminal, the display screen is loaded into the RAM from the ROM.
In some exemplary embodiments, the processor is further configured to: and if the display screen needing to be activated is determined to be the back screen of the communication terminal, releasing the first corresponding relation stored in the RAM when the first corresponding relation is detected to be stored in the RAM of the communication terminal.
In the embodiment of the invention, when the display screen needing to be activated is determined to be the back screen, the first corresponding relation stored in the RAM of the communication terminal is released, and because the first corresponding relation is the corresponding relation between the authentication state and the dynamic display parameters when the main screen of the communication terminal is displayed, the first corresponding relation between the authentication state and the dynamic display parameters is not needed when the back screen of the communication terminal is displayed, the first corresponding relation in the RAM is released, so that the running memory resource can be saved, the phenomenon of slow running speed and even blockage caused by insufficient running memory is reduced, and the system performance of the communication terminal is improved.
In some exemplary embodiments, when the static presentation graph for representing the unlocked state of the communication terminal is presented in the back screen, the processor is further configured to:
acquiring an authentication state of the current authority authentication application for carrying out authority authentication on the user;
determining the static image parameters corresponding to the currently acquired authentication state according to the second corresponding relation between the authentication state and the static image parameters;
and generating a static display image according to the determined static image parameters, and displaying the generated static display image in the back screen.
When the back screen of the communication terminal is displayed, the authority authentication application is used for carrying out authority authentication on the user to obtain the authentication state, the static display parameters corresponding to the obtained authentication state are determined according to the second corresponding relation between the authentication state and the static display parameters, and the static display graph generated by the determined static display parameters is displayed in the back screen. In the embodiment of the invention, the back screen of the communication terminal has corresponding static display pictures in different authentication states, and the same dynamic display picture as the main screen is not displayed any more, so that the display pause phenomenon caused by slow refreshing of the ink screen is avoided; different static display parameters are distributed according to different authority authentication states, different static display graphs are generated, the different authentication states prompt a user through the different static display graphs, interestingness is increased, and user experience is improved.
In some exemplary embodiments, the second corresponding relation is stored in a RAM of the communication terminal, and the second corresponding relation is loaded from a ROM of the communication terminal into the RAM.
In the embodiment of the invention, when the back screen of the communication terminal is displayed, the second corresponding relation between the authentication state and the static display parameters is stored in the RAM of the communication terminal, and the corresponding static display parameters can be quickly determined after the authentication state is obtained to generate the static display picture to be displayed on the back screen of the communication terminal; and the second corresponding relation between the authentication state and the static display parameters is stored in a ROM of the communication terminal, and when the display screen needing to be activated is determined to be the back screen of the communication terminal, the display screen is loaded into the RAM from the ROM.
In some exemplary embodiments, in obtaining the authentication state in which the current rights authentication application authenticates the rights of the user, the processor is further configured to:
acquiring a target callback function which is called back when the authority authentication application performs authority authentication on a user; wherein the target callback function is one of a plurality of callback functions registered in the permission authentication application;
and determining the authentication state corresponding to the type of the target callback function according to the third corresponding relation between the type of the callback function and the authentication state.
According to the embodiment of the invention, different authentication states correspond to different callback function types through the callback function registered in the authority authentication application, the authentication state corresponding to the target callback function called back by the authority authentication application is determined according to the third corresponding relation between the callback function type and the authentication state, and the display diagram corresponding to the authentication state is displayed on the main screen or the back screen of the terminal according to the different authentication states. According to the embodiment of the invention, the authentication state corresponding to the target callback function can be accurately determined through the preset corresponding relation between the callback function type and the authentication state.
According to another aspect of exemplary embodiments, there is provided a display method including:
at a communication terminal having a processor, a memory, a touch screen, and a display screen:
displaying a dynamic display diagram for representing an unlocking state of the communication terminal in a main screen in response to a first wake-up instruction for activating the main screen of the communication terminal, wherein the first wake-up instruction is triggered by a user;
and in response to a second wake-up instruction which is triggered by a user and used for activating a back screen of the communication terminal, displaying a static display graph which is used for representing the unlocking state of the communication terminal in the back screen.
In some exemplary embodiments, the presenting a dynamic presentation diagram for representing an unlocked state of a communication terminal in the home screen includes:
acquiring an authentication state of the current authority authentication application for carrying out authority authentication on the user;
determining the dynamic image parameters corresponding to the currently acquired authentication state according to the first corresponding relation between the authentication state and the dynamic image parameters;
and generating a dynamic display image according to the determined dynamic image parameters, and displaying the generated dynamic display image in the main screen.
In some exemplary embodiments, the first corresponding relationship is stored in a RAM of the communication terminal, and the first corresponding relationship is loaded from a ROM of the communication terminal into the RAM.
In some exemplary embodiments, the method further comprises:
and if the display screen needing to be activated is determined to be the back screen of the communication terminal, releasing the first corresponding relation stored in the RAM when the first corresponding relation is detected to be stored in the RAM of the communication terminal.
In some exemplary embodiments, the presenting a static presentation graph in the back screen for representing an unlocked state of the communication terminal includes:
acquiring an authentication state of the current authority authentication application for carrying out authority authentication on the user;
determining the static image parameters corresponding to the currently acquired authentication state according to the second corresponding relation between the authentication state and the static image parameters;
and generating a static display image according to the determined static image parameters, and displaying the generated static display image in the back screen.
In some exemplary embodiments, the second corresponding relation is stored in a RAM of the communication terminal, and the second corresponding relation is loaded from a ROM of the communication terminal into the RAM.
In some exemplary embodiments, the obtaining the authentication state of the current right authentication application for right authentication of the user includes:
acquiring a target callback function which is called back when the authority authentication application performs authority authentication on a user; wherein the target callback function is one of a plurality of callback functions registered in the permission authentication application;
and determining the authentication state corresponding to the type of the target callback function according to the third corresponding relation between the type of the callback function and the authentication state.
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.
On the basis of the common knowledge in the field, the above preferred conditions can be combined randomly to obtain the preferred embodiments of the invention.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 schematically shows a structural diagram of a communication terminal according to an embodiment of the present invention.
Fig. 2 is a schematic diagram illustrating a software architecture of a communication terminal according to an embodiment of the present invention.
Fig. 3 is a schematic diagram illustrating a user interface of a communication terminal according to an embodiment of the present invention.
Fig. 4 is a flowchart illustrating a display method according to an embodiment of the present invention.
Fig. 5 exemplarily illustrates an interface diagram showing a dynamic display diagram indicating an unlocked state as unlocked according to an embodiment of the present invention.
Fig. 6 exemplarily illustrates an interface diagram showing a dynamic display diagram indicating that the unlocking state is the unlocking failure, according to an embodiment of the present invention.
Fig. 7 exemplarily illustrates an interface diagram showing a static display diagram indicating an unlocked state as unlocked according to an embodiment of the present invention.
Fig. 8 exemplarily shows an interface diagram showing a static display diagram indicating that the unlocking state is the unlocking failure, provided by the embodiment of the present invention.
Fig. 9 is an overall flowchart illustrating a display method according to an embodiment of the present invention.
Fig. 10 is an overall flowchart illustrating another display method provided by the embodiment of the present invention.
Fig. 11 is a schematic structural diagram illustrating another communication terminal according to an embodiment of the present invention.
Fig. 12 is a schematic structural diagram schematically illustrating a display device according to an embodiment of the present invention.
Fig. 13 is a schematic structural diagram schematically illustrating another display device provided in an embodiment of the present invention.
Fig. 14 is a schematic structural diagram schematically illustrating another display device provided in an embodiment of the present invention.
Detailed Description
The technical solution in the embodiments of the present invention will be described in detail and removed with reference to the accompanying drawings. In the description of the embodiments of the present invention, where "/" denotes an or meaning, for example, a/B may denote a or B; "and/or" in the text is only an association relationship describing an associated object, and means that three relationships may exist, for example, a and/or B may mean: three cases of a alone, a and B both, and B alone exist, and in addition, "a plurality" means two or more than two in the description of the embodiment of the present invention.
In the following, the terms "first", "second" are used for descriptive purposes only and are not to be understood as implying or implying relative importance or implicitly indicating the number of technical features indicated. Thus, features defined as "first" and "second" may explicitly or implicitly include one or more of the features, and in the description of embodiments of the invention, "plurality" means two or more unless indicated otherwise.
Fig. 1 shows a schematic configuration of a communication terminal 100.
The following describes an embodiment specifically taking the communication terminal 100 as an example. It should be understood that the communication terminal 100 shown in fig. 1 is only an example, and the communication terminal 100 may have more or less components than those 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 a communication terminal 100 according to an exemplary embodiment is exemplarily shown in fig. 1. As shown in fig. 1, the communication 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 executes various functions of the communication 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 communication terminal 100 to operate. The memory 120 of the present invention may store an operating system and various application programs, and may also store codes for performing the methods according to the embodiments of the present invention.
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 communication terminal 100, and particularly, the display unit 130 may include a touch screen 131 disposed on the front surface of the communication 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 communication 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 in the present invention.
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 communication terminal 100, and after the integration, the touch screen may be referred to as a touch display screen for short. The display unit 130 of the present invention can 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 communication 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 communication terminal 100 may also be configured with other sensors such as a gyroscope, barometer, hygrometer, thermometer, infrared sensor, optical sensor, motion sensor, and the like.
The audio circuitry 160, speaker 161, microphone 162 may provide an audio interface between a user and the communication 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 communication 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. The microphone 162 can acquire the voice of the user in the present invention.
Wi-Fi belongs to a short-distance wireless transmission technology, and the communication terminal 100 may help a user to send and receive e-mails, browse webpages, access streaming media, and the like through the Wi-Fi module 170, which provides a wireless broadband internet access for the user.
The processor 180 is a control center of the communication terminal 100, connects various parts of the entire terminal using various interfaces and lines, and performs various functions of the communication 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. The processor 180 of the present invention may run an operating system, an application program, a user interface display, and a touch response, and the processing method according to the embodiments of the present invention. In addition, the processor 180 is coupled with the input unit 130 and the display unit 140.
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 communication 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 communication terminal 100 also includes a power supply 190 (such as 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 communication terminal 100 may also be configured with power buttons for powering the terminal on and off, and for locking the screen.
Fig. 2 is a block diagram of a software configuration of the communication 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 communication terminal 100. Such as management of call status (including on, off, etc.).
The resource manager provides various resources for the application, such as localized strings, icons, pictures, layout files, video files, and the like.
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 communication terminal vibrates, and an indicator light flashes.
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 communication terminal (e.g., communication terminal 100 of fig. 1). In some implementations, a user can open a corresponding application by touching an application icon on the user interface, or can open a corresponding folder by touching a folder icon on the user interface.
At present, in order to increase the interest of interface display and improve the interactive experience between a user and a communication terminal, a plurality of communication terminals introduce dynamic display diagrams in some application scenes, for example, the prompt of unlocking states is carried out on a screen locking interface of the communication terminal through the dynamic display diagrams, but when the prompt of unlocking states is carried out on the main back screen of the existing double-screen terminal, if the main screen carries out the prompt of unlocking states through the dynamic display diagrams, the back screen can only display the dynamic display diagrams with the same effect as the main screen, but because the refreshing of the ink screen is slow, the dynamic display on the back screen can cause the phenomenon of display blockage.
The embodiment of the invention provides a display method, which is used for solving the problem that the display of a back screen is blocked due to a display method of a main back screen of a double-screen terminal in the prior art.
As shown in fig. 4, a flowchart of a display method according to an embodiment of the present invention includes:
step S401, responding to a first awakening instruction which is triggered by a user and used for activating a main screen of the communication terminal, and displaying a dynamic display diagram used for representing an unlocking state of the communication terminal in the main screen;
and S402, responding to a second awakening instruction which is triggered by a user and used for activating the back screen of the communication terminal, and displaying a static display graph which is used for representing the unlocking state of the communication terminal in the back screen.
The display method provided by the embodiment of the invention is used for prompting the unlocking state of a user on the double-screen terminal, and displaying display diagrams with different effects according to different activated display screens, and the main screen and the back screen of the communication terminal do not need to display the same dynamic display diagram. In addition, show pictures with different effects are displayed on different display screens, and the user experience is improved.
The display method provided by the embodiment of the invention displays display images with different effects aiming at the main screen and the back screen of the communication terminal, so that whether the display screen which a user wants to display is the main screen or the back screen of the communication terminal needs to be judged.
When a user triggers a wake-up instruction for waking up a display screen, firstly, whether the wake-up instruction is a first wake-up instruction for activating a main screen or a second wake-up instruction for activating a back screen is judged.
In implementation, the wake-up instruction triggered by the user may press power keys corresponding to different display screens, for example: the method comprises the steps that a main screen and a back screen on the double-screen terminal respectively correspond to a power key, when a user presses the power key corresponding to the main screen, a wake-up instruction is determined to be a first wake-up instruction for activating the main screen, and when the user presses the power key corresponding to the back screen, the wake-up instruction is determined to be a second wake-up instruction for activating the back screen;
or, the main screen and the back screen of the terminal share one fingerprint identification power key, and the wake-up instruction triggered by the user may be to touch the fingerprint identification power key for fingerprint identification, for example: the method comprises the steps that fingerprints corresponding to a main screen and a back screen are respectively input on a fingerprint identification power key, the fingerprint corresponding to the main screen is assumed to be a thumb fingerprint, the fingerprint corresponding to the back screen is an index finger fingerprint, when a user touches the fingerprint identification power key, if the detected fingerprint is the thumb fingerprint, a wake-up instruction is determined to be a first wake-up instruction for activating the main screen, and if the detected fingerprint is the index finger fingerprint, a wake-up instruction is determined to be a second wake-up instruction for activating the back screen.
It should be noted that, the above method for determining whether the wake-up command is the first wake-up command or the second wake-up command is only an example, and does not limit the scope of the present invention.
When the communication terminal judges whether the awakening instruction is a first awakening instruction or a second awakening instruction, the awakening instruction is determined by executing a method function for acquiring a screen attribute value, when a user presses a power key corresponding to different display screens or touches a fingerprint identification power key to carry out fingerprint identification, the functions of the power key are all to change the screen attribute value in the screen locking layout, for example, the screen attribute value corresponding to a main screen is 1, the screen attribute value corresponding to a back screen is 0, when the user triggers the awakening instruction, the screen attribute value is changed, the terminal detects the screen attribute value of a screen which needs to be activated at present, and if the screen attribute value is detected to be 1, the awakening instruction is determined to be the first awakening instruction for activating the main screen; and if the detected screen attribute value is 0, determining that the wake-up instruction is a second wake-up instruction for activating the back screen.
For example: the method function for obtaining the screen attribute value may be geteinkscreentypefromporty, and the function specifically includes:
Public static int getEInkScreenTypeFromProperty()
{return systemProperties.getInt(DISPLAY_TYPE_PROPERTY, DISPLAY_MODE_PRIMARY_ONLY);}
assuming that a user triggers a wake-up instruction by pressing power keys corresponding to different display screens, if the user presses the power key corresponding to the main screen, the screen attribute value is changed to 1, the terminal detects that the screen attribute value is 1, and the wake-up instruction triggered by the user is determined to be a first wake-up instruction for activating the main screen.
After the awakening instruction triggered by the user is determined to be the first awakening instruction or the second awakening instruction, whether the display screen needing to be activated is the main screen or the back screen is determined according to the awakening instruction triggered by the user, and corresponding display is carried out on the main screen or the back screen. The determined display screen to be activated is described as a main screen or a back screen respectively.
Firstly, if a user triggers a first awakening instruction for activating a main screen of the communication terminal, a dynamic display diagram for representing an unlocking state of the communication terminal is displayed in the main screen.
According to the display method provided by the embodiment of the invention, when the display screen needing to be activated is determined to be the main screen of the communication terminal, the dynamic display picture is displayed on the main screen, wherein when the unlocking states of the communication terminal are different, different dynamic display pictures are displayed on the main screen of the communication terminal, so that the unlocking state of the communication terminal needs to be determined before the dynamic display picture needing to be displayed is determined.
The unlocking of the communication terminal needs to carry out authority authentication on the user through an authority authentication application, different authority authentication states correspond to different dynamic display graphs, and the user is prompted about the current unlocking state of the communication terminal through the different dynamic display graphs.
In implementation, a dynamic presentation graph for representing an unlocked state is presented on a home screen according to the following method:
acquiring an authentication state of the current authority authentication application for carrying out authority authentication on the user;
determining the dynamic image parameters corresponding to the currently acquired authentication state according to the first corresponding relation between the authentication state and the dynamic image parameters;
and generating a dynamic display image according to the determined dynamic image parameters, and displaying the generated dynamic display image in the main screen.
In the embodiment of the invention, the authority authentication application can comprise a face recognition system, a fingerprint recognition system, a password recognition system and the like; the authentication state includes successful authentication, authentication in progress, authentication failure, and the like.
When the authentication state is successful, the communication terminal is directly unlocked and enters a desktop; when the authentication state is authentication, the communication terminal displays a dynamic display diagram indicating that the unlocking state is unlocking on the main screen, as shown in fig. 5, fig. 5 shows that the authority authentication is performed on the user through the face recognition system, and the authentication state is a corresponding dynamic display diagram during authentication; when the authentication state is authentication failure, the communication terminal displays a dynamic display diagram indicating that the unlocking state is unlocking failure on the main screen, as shown in fig. 6, fig. 6 is a dynamic display diagram corresponding to the authentication state when the authentication failure occurs, and the authority of the user is authenticated by the face recognition system.
The embodiment of the invention obtains the authentication state of the authority authentication application for carrying out the authority authentication on the user through the following method:
acquiring a target callback function which is called back when the authority authentication application performs authority authentication on a user; wherein the target callback function is one of a plurality of callback functions registered in the permission authentication application; and determining the authentication state corresponding to the type of the target callback function according to the third corresponding relation between the type of the callback function and the authentication state.
In the implementation, a plurality of callback functions are registered in the authority authentication application, the callback functions of different types correspond to different authentication states, after the authority authentication application authenticates the authority of the user, the authority authentication application returns a target callback function according to the authentication state, and the communication terminal determines the authentication state corresponding to the target callback function according to the corresponding relation between the type of the callback function and the authentication state.
For example, the right authentication application is a face recognition system, and a method for determining an authentication state provided by the embodiment of the present invention is described by taking a plurality of callback functions registered in the face recognition system as an example.
It is assumed that the authentication states include successful authentication, in authentication, and failed authentication, and respectively correspond to a callback function type, and the correspondence relationship is shown in table 1:
authentication status Callback function type
Successful authentication Callback function A
In authentication Callback function B
Authentication failure Callback function C
TABLE 1
The face recognition system carries out authority authentication by carrying out face recognition on a user, compares the detected face image information with the face image information stored in advance, and succeeds in authentication when the detected face image information is matched with the face image information stored in advance; when the detected face image information is not matched with the face image information stored in advance, authentication fails; and when the detected face image is matched with the face image information stored in advance, the authentication state is authentication.
The face recognition system returns one of the callback functions of multiple types registered in the face recognition system according to the authentication state of the authority authentication, if the authority authentication state is in the authentication, the face recognition system returns the callback function B, and when the communication terminal detects that the callback function B returns, the authentication state that the face recognition system performs the authority authentication on the user is determined to be in the authentication.
In implementation, if the state of the authority authentication application for performing the authority authentication on the user is always in the authentication, the authority authentication application may return the authentication state as a callback function corresponding to the authentication every preset time period until the authentication state of the authentication success or the authentication failure is obtained.
Specifically, the callback function a may be:
public void onfaceUnlockSuccessDetected(boolean bouncershowing,boolean onlyBouncerUnlock)
callback function B may be:
public void onfaceDectLighterChanged(int status)
the callback function C may be:
public void onfaceUnlockFailedDetected(int failedCount,int reason)
in the embodiment of the invention, each time the target callback function is acquired, the authentication state corresponding to the type of the target callback function is determined according to the third corresponding relation between the type of the callback function and the authentication state.
After the authentication state that the authority authentication application carries out authority authentication on the user is determined, the dynamic image parameters corresponding to the authentication state are determined according to the first corresponding relation between the authentication state and the dynamic image parameters.
When the authentication state is authentication or authentication failure, displaying dynamic display diagrams indicating that the unlocking state is unlocking or unlocking failure on the main screen, wherein each dynamic display diagram has a dynamic image parameter for generating the dynamic display diagram, the dynamic image parameter for generating the dynamic display diagram can be layout information of the dynamic display diagram, and the layout information of the dynamic display diagram comprises information for specifying the size and the position of the dynamic display diagram and animation file information corresponding to the dynamic display diagram.
Assuming that the dynamic display diagram representing the unlocking state is unlocking is shown in fig. 5, the generated dynamic image parameter of fig. 5 is parameter 1; a dynamic display diagram showing that the unlocking state is unlocking failure is shown in fig. 6, and the generated dynamic display parameter of fig. 6 is parameter 2;
a first correspondence between the authentication status and the dynamic presentation parameter is shown in table 2:
authentication status Dynamic presentation parameters
In authentication Parameter 1
Authentication failure Parameter 2
TABLE 2
Assuming that the currently acquired authentication state is in authentication, determining that the dynamic image parameter corresponding to the authentication state is parameter 1 according to the first corresponding relation, generating the dynamic display diagram shown in fig. 5 according to the parameter 1, and displaying the dynamic display diagram shown in fig. 5 on the main screen of the communication terminal.
Wherein the first corresponding relation is stored in the RAM of the terminal, and the first corresponding relation is loaded into the RAM from the ROM of the communication terminal. After the communication terminal determines that the display screen needing to be activated is the main screen of the communication terminal, if a first corresponding relation exists in the RAM, determining the dynamic image parameters corresponding to the acquired authentication state according to the first corresponding relation; and if the first corresponding relation does not exist in the RAM, loading the first corresponding relation from the ROM of the communication terminal to the RAM, and then determining the dynamic image parameters corresponding to the acquired authentication state according to the first corresponding relation.
It should be noted that, in the embodiment of the present invention, the first corresponding relationship between the authentication state and the dynamic display parameter may be loaded from the ROM of the communication terminal to the RAM of the communication terminal after the communication terminal is powered on; alternatively, the display screen to be activated may be loaded from the ROM of the communication terminal to the RAM of the communication terminal after each determination that the display screen is the main screen of the communication terminal.
The dynamic image parameters for generating the dynamic display map may be:
<com.airbnb.lottie.LottieAnimationView
android:layout_width=“32dp”
android:layout_height=“32dp”
android:layout_marginBottom=“123dp”
android:layout_gravity=“bottom│center_horizontal”
android:id=“@+id/face_icon_locked”/>
the layout information is a dynamic image parameter corresponding to the authentication failure in the authentication state, and includes information specifying the size and position of the dynamic display diagram and animation file information corresponding to the dynamic display diagram, where the animation file information may be file identification information of an animation file to be played.
In practice, the communication terminal loads the animation file corresponding to the animation file identification information stored in the ROM of the communication terminal by recognizing the animation file identification information in the dynamic image parameters. The file identification information of the animation file to be played may be an ID of the animation file, for example: in the dynamic display parameter corresponding to the authentication state, the ID of the animation file may be face _ icon _ working.
In addition, when the dynamic presentation graph is displayed on the main screen, the generated dynamic presentation graph can be played through the lottiee control, and the playing principle is as follows: the elements in the dynamic presentation graph are split, and the execution path and execution time of each element are described.
Loading the json format animation file by using a method function setinformation () of a lot control and circularly playing, wherein the functions are as follows:
mFaceIconWorking.setAnimation(“face_icon_working.json”);
mFaceIconWorking.loop(true);
the method for acquiring the json-format animation file may be to convert the animation engineering file created in the AE into a general json-format animation file through a Bodymovin plug-in installed in the AE and store the json-format animation file in a ROM of the communication terminal. The AE is graphics and video processing software.
It should be noted that the above functions and the dynamic image parameters are only examples, and do not limit the scope of the present invention.
And secondly, if the user triggers a second awakening instruction for activating the back screen of the communication terminal, displaying a static display diagram for representing the unlocking state of the communication terminal in the back screen.
According to the display method provided by the embodiment of the invention, when the display screen needing to be activated is determined to be the back screen of the communication terminal, the static display picture is displayed on the back screen, wherein when the unlocking states of the communication terminal are different, different static display pictures are displayed on the back screen of the communication terminal, so that the unlocking state of the communication terminal needs to be determined before the static display picture needing to be displayed is determined.
The unlocking of the communication terminal needs to carry out authority authentication on the user through an authority authentication application, different authority authentication states correspond to different static display graphs, and the current unlocking state of the communication terminal is prompted to the user through the different static display graphs.
In implementation, a static presentation graph for representing an unlocked state is presented on a back screen according to the following method:
acquiring an authentication state of the current authority authentication application for carrying out authority authentication on the user;
determining the static image parameters corresponding to the currently acquired authentication state according to the second corresponding relation between the authentication state and the static image parameters;
and generating a static display image according to the determined static image parameters, and displaying the generated static display image in a back screen.
In the embodiment of the invention, the authority authentication application can comprise a face recognition system, a fingerprint recognition system, a password recognition system and the like; the authentication state includes successful authentication, authentication in progress, authentication failure, and the like.
When the authentication state is successful, the communication terminal is directly unlocked and enters a desktop; when the authentication state is authentication, the communication terminal displays a static display diagram indicating that the unlocking state is unlocking on a back screen, as shown in fig. 7, fig. 7 shows that the authority authentication is performed on the user through the face recognition system, and the authentication state is a corresponding static display diagram during authentication; when the authentication state is authentication failure, the communication terminal displays a static display diagram indicating that the unlocking state is unlocking failure on a back screen, as shown in fig. 8, fig. 8 shows that the authority authentication is performed on the user through the face recognition system, and the authentication state is a corresponding static display diagram when the authentication fails.
The embodiment of the invention obtains the authentication state of the authority authentication application for carrying out the authority authentication on the user through the following method:
acquiring a target callback function which is called back when the authority authentication application performs authority authentication on a user; wherein the target callback function is one of a plurality of callback functions registered in the permission authentication application; and determining the authentication state corresponding to the type of the target callback function according to the third corresponding relation between the type of the callback function and the authentication state.
In a specific implementation, the method for obtaining the authentication state of the authority authentication application for performing the authority authentication on the user is the same as the method for obtaining the authentication state in the main screen display, and details are not repeated here.
And after the authentication state that the authority authentication application performs authority authentication on the user is determined, determining the static image parameters corresponding to the authentication state according to the second corresponding relation between the authentication state and the static image parameters.
When the authentication state is authentication or authentication failure, displaying a static display diagram indicating that the unlocking state is unlocking or unlocking failure on a back screen, wherein each static display diagram has a static image parameter for generating the static display diagram, the static image parameter for generating the static display diagram can be layout information of the static display diagram, and the layout information of the static display diagram comprises information for specifying the size and the position of the static display diagram and picture file information corresponding to the static display diagram.
Assuming that a static presentation diagram representing an unlocked state as unlocked is shown in fig. 7, the generated static image parameter of fig. 7 is parameter 3; a static display diagram showing that the unlocking state is unlocking failure is shown in fig. 8, and a dynamic display parameter generated in fig. 8 is a parameter 4;
the second correspondence between the authentication status and the static exhibition parameters is shown in table 3:
authentication status Static presentation parameters
In authentication Parameter 3
Authentication failure Parameter 4
TABLE 3
And if the currently acquired authentication state is authentication failure, determining that the static image parameter corresponding to the authentication state is parameter 4 according to the second corresponding relation, generating a static display diagram shown in fig. 8 according to the parameter 4, and displaying the static display diagram shown in fig. 8 on a back screen of the communication terminal.
Wherein the second corresponding relation is stored in the RAM of the terminal, and the second corresponding relation is loaded into the RAM from the ROM of the communication terminal. After the communication terminal determines that the display screen needing to be activated is the back screen of the communication terminal, if a second corresponding relation exists in the RAM, determining the static image parameters corresponding to the acquired authentication state according to the second corresponding relation; and if the second corresponding relation does not exist in the RAM, loading the second corresponding relation into the RAM from the ROM of the communication terminal, and then determining the static image parameters corresponding to the acquired authentication state according to the second corresponding relation.
It should be noted that, in the embodiment of the present invention, the second corresponding relationship between the authentication state and the static display parameter may be loaded from the ROM of the communication terminal to the RAM of the communication terminal after the communication terminal is powered on; alternatively, the display screen to be activated may be loaded from the ROM of the communication terminal to the RAM of the communication terminal after each determination that the display screen is the back screen of the communication terminal.
Wherein, the static image parameters for generating the static presentation graph may be:
<ImageView
android:layout_width=“wrap_content”
android:layout_height=“wrap_content”
android:layout_marginBottom=“123dp”
android:layout_gravity=“bottom│center_horizontal”
android:id=“@+id/face_icon_retry_Pic”
android:visibility=“gone”/>
the layout information is a static image parameter corresponding to the authentication failure in the authentication state, and includes information specifying the size and position of the static display image and picture file information corresponding to the static display image, where the picture file information may be file identification information of a picture file to be displayed.
In implementation, the communication terminal loads the picture file corresponding to the picture file identification information stored in the ROM of the communication terminal by recognizing the picture file identification information in the still image parameter. The file identification information of the picture file to be displayed may be an ID of the picture file, for example: in the static display parameter corresponding to the authentication failure, the ID of the picture file may be face _ icon _ retry _ Pic.
In addition, when the static display diagram is displayed on the back screen, the display state of the image can be changed by modifying the attribute value representing the image display state visibility in the static image parameter, for example, when the attribute value is true, the image is displayed, and when the attribute value is fine, the image is hidden.
In addition, in order to improve the display performance of the communication terminal, in the embodiment of the present invention, if the display screen to be activated is a back screen of the communication terminal, the dynamic image parameter corresponding to the dynamic display map existing in the RAM may also be released.
An optional implementation manner is that, if it is determined that the display screen that needs to be activated is the back screen of the communication terminal, when it is detected that the first corresponding relationship is stored in the RAM of the communication terminal, the first corresponding relationship stored in the RAM is released.
The dynamic image parameters in the RAM are released by releasing the first corresponding relation stored in the RAM, so that the effect of saving the running memory is achieved, and the display performance of the communication terminal is improved.
It should be noted that in the embodiment of the present invention, the static image parameters occupy less operating memory in the RAM, and when it is determined that the display screen to be activated is the main screen, the attribute value indicating the image display state in the static image parameters corresponding to all the static display diagrams may not be released, and is modified to gone; or when the display screen needing to be activated is determined to be the main screen, releasing the second corresponding relation stored in the RAM.
The following is a description of an overall flow of the display method provided by the embodiment of the present invention.
Fig. 9 is a flowchart illustrating an overall display method according to a first embodiment of the present invention.
In the overall flow shown in fig. 9, the user first triggers a wake-up instruction to activate the main screen of the communication terminal, and then triggers a wake-up instruction to switch the main screen to the back screen.
Step S901: responding to a first awakening instruction which is triggered by a user and used for activating a main screen of the communication terminal, and acquiring a first corresponding relation between an authentication state and a dynamic image parameter;
wherein the first corresponding relation is stored in the RAM of the communication terminal, and when it is determined that there is no first corresponding relation in the RAM, the first corresponding relation between the authentication status and the moving image parameter is loaded from the ROM of the communication terminal into the RAM of the communication terminal;
step S902: acquiring an authentication state of the current authority authentication application for performing authority authentication on the user, and determining a dynamic image parameter corresponding to the currently acquired authentication state according to the first corresponding relation;
step S903: generating a dynamic display image according to the determined dynamic image parameters, and displaying the generated dynamic display image in a main screen;
step S904: responding to a second awakening instruction which is triggered by a user and used for activating a back screen of the communication terminal, releasing the first corresponding relation stored in the RAM, and acquiring a second corresponding relation between the authentication state and the static image parameters;
the second corresponding relation is stored in the RAM of the communication terminal, and when the second corresponding relation is determined not to exist in the RAM, the second corresponding relation between the authentication state and the static image parameters is loaded from the ROM of the communication terminal to the RAM of the communication terminal;
step S905: acquiring an authentication state of the current authority authentication application for carrying out authority authentication on the user, and determining a static image parameter corresponding to the currently acquired authentication state according to the second corresponding relation;
step S906: and generating a static display image according to the determined static image parameters, and displaying the generated static display image in a back screen.
Fig. 10 is a flowchart illustrating an overall display method according to a second embodiment of the present invention.
In the overall process shown in the figure, a user first triggers a wake-up instruction for activating the back screen of the communication terminal, and then triggers a wake-up instruction for switching the back screen to the main screen.
Step S1001: responding to a second awakening instruction which is triggered by a user and used for activating a back screen of the communication terminal, and acquiring a second corresponding relation between the authentication state and the static display parameters;
the second corresponding relation is stored in the RAM of the communication terminal, and when the second corresponding relation is determined not to exist in the RAM, the second corresponding relation between the authentication state and the static image parameters is loaded from the ROM of the communication terminal to the RAM of the communication terminal;
step S1002: acquiring an authentication state of the current authority authentication application for carrying out authority authentication on the user, and determining a static image parameter corresponding to the currently acquired authentication state according to the second corresponding relation;
step S1003: generating a static display image according to the determined static image parameters, and displaying the generated static display image in a back screen;
step S1004: responding to a first awakening instruction which is triggered by a user and used for activating a main screen of the communication terminal, and acquiring a first corresponding relation between an authentication state and a dynamic image parameter;
wherein the first corresponding relation is stored in the RAM of the communication terminal, and when it is determined that there is no first corresponding relation in the RAM, the first corresponding relation between the authentication status and the moving image parameter is loaded from the ROM of the communication terminal into the RAM of the communication terminal;
step S1005: acquiring an authentication state of the current authority authentication application for performing authority authentication on the user, and determining a dynamic image parameter corresponding to the currently acquired authentication state according to the first corresponding relation;
step S1006: and generating a dynamic display image according to the determined dynamic image parameters, and displaying the generated dynamic display image in the main screen.
Based on the same inventive concept, the embodiment of the present invention further provides a communication terminal, and as the principle of solving the problem of the communication terminal is similar to the display method of the embodiment of the present invention, the implementation of the communication terminal may refer to the implementation of the method, and repeated details are not repeated.
As shown in fig. 11, a communication terminal according to an embodiment of the present invention includes at least one processing unit 1100 and at least one storage unit 1101;
wherein the storage unit 1101 stores program code which, when executed by the processing unit 1100, causes the processing unit 1100 to perform the following procedure:
displaying a dynamic display diagram for representing an unlocking state of the communication terminal in a main screen in response to a first wake-up instruction for activating the main screen of the communication terminal, wherein the first wake-up instruction is triggered by a user;
and in response to a second wake-up instruction which is triggered by a user and used for activating a back screen of the communication terminal, displaying a static display graph which is used for representing the unlocking state of the communication terminal in the back screen.
Optionally, when a dynamic display diagram for representing an unlocked state of the communication terminal is displayed in the home screen, the processing unit 1100 is specifically configured to:
acquiring an authentication state of the current authority authentication application for carrying out authority authentication on the user;
determining the dynamic image parameters corresponding to the currently acquired authentication state according to the first corresponding relation between the authentication state and the dynamic image parameters;
and generating a dynamic display image according to the determined dynamic image parameters, and displaying the generated dynamic display image in the main screen.
Optionally, the first corresponding relationship is stored in a RAM of the communication terminal, and the first corresponding relationship is loaded from a ROM of the communication terminal into the RAM.
Optionally, the processing unit 1100 is further configured to:
and if the display screen needing to be activated is determined to be the back screen of the communication terminal, releasing the first corresponding relation stored in the RAM when the first corresponding relation is detected to be stored in the RAM of the communication terminal.
Optionally, when a static display diagram for representing an unlocked state of the communication terminal is displayed in the back screen, the processing unit 1100 is specifically configured to:
acquiring an authentication state of the current authority authentication application for carrying out authority authentication on the user;
determining the static image parameters corresponding to the currently acquired authentication state according to the second corresponding relation between the authentication state and the static image parameters;
and generating a static display image according to the determined static image parameters, and displaying the generated static display image in the back screen.
Optionally, the second corresponding relationship is stored in a RAM of the communication terminal, and the second corresponding relationship is loaded from a ROM of the communication terminal into the RAM.
Optionally, when obtaining an authentication state of the current authority authentication application for performing authority authentication on the user, the processing unit 1100 is specifically configured to:
acquiring a target callback function which is called back when the authority authentication application performs authority authentication on a user; wherein the target callback function is one of a plurality of callback functions registered in the permission authentication application;
and determining the authentication state corresponding to the type of the target callback function according to the third corresponding relation between the type of the callback function and the authentication state.
As shown in fig. 12, a display device according to an embodiment of the present invention includes:
a first display module 1201, configured to, in response to a first wake-up instruction triggered by a user and used to activate a home screen of the communication terminal, display a dynamic display diagram used to represent an unlocked state of the communication terminal in the home screen;
a second display module 1202, configured to, in response to a second wake-up instruction triggered by a user and used for activating a back screen of the communication terminal, display a static display diagram used for representing an unlocked state of the communication terminal in the back screen.
Optionally, the first display module 1201 is specifically configured to:
acquiring an authentication state of the current authority authentication application for carrying out authority authentication on the user;
determining the dynamic image parameters corresponding to the currently acquired authentication state according to the first corresponding relation between the authentication state and the dynamic image parameters;
and generating a dynamic display image according to the determined dynamic image parameters, and displaying the generated dynamic display image in the main screen.
Optionally, the first corresponding relationship is stored in a RAM of the communication terminal, and the first corresponding relationship is loaded from a ROM of the communication terminal into the RAM.
Optionally, as shown in fig. 13, the apparatus further includes:
a releasing module 1203, configured to release the first corresponding relationship stored in the RAM when it is detected that the first corresponding relationship is stored in the RAM of the communication terminal, if it is determined that the display screen that needs to be activated is the back screen of the communication terminal.
Optionally, the second display module 1202 is specifically configured to:
acquiring an authentication state of the current authority authentication application for carrying out authority authentication on the user;
determining the static image parameters corresponding to the currently acquired authentication state according to the second corresponding relation between the authentication state and the static image parameters;
and generating a static display image according to the determined static image parameters, and displaying the generated static display image in the back screen.
Optionally, the second corresponding relationship is stored in a RAM of the communication terminal, and the second corresponding relationship is loaded from a ROM of the communication terminal into the RAM.
Optionally, as shown in fig. 14, the apparatus further includes:
an authentication module 1204 to: acquiring a target callback function which is called back when the authority authentication application performs authority authentication on a user; wherein the target callback function is one of a plurality of callback functions registered in the permission authentication application;
and determining the authentication state corresponding to the type of the target callback function according to the third corresponding relation between the type of the callback function and the authentication state.
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.
Since the communication terminal and the computer storage medium in the embodiment of the present invention may be applied to the processing method, reference may also be made to the above method embodiment for obtaining technical effects, and details of the embodiment of the present invention are not described herein again.
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 (7)

1. A communication terminal, comprising:
a touch screen configured to receive a touch operation from a user;
a display screen configured to display a user interface;
a processor coupled to the touch screen and the display screen, respectively, the processor configured to:
responding to a first awakening instruction which is triggered by a user and used for activating a main screen of the communication terminal, and acquiring an authentication state of the current authority authentication application for carrying out authority authentication on the user; determining the dynamic image parameters corresponding to the currently acquired authentication state according to the first corresponding relation between the authentication state and the dynamic image parameters; generating a dynamic display image according to the determined dynamic image parameters, and displaying the generated dynamic display image in the main screen;
responding to a second awakening instruction which is triggered by the user and used for activating a back screen of the communication terminal, and acquiring an authentication state of the current authority authentication application for carrying out authority authentication on the user; determining the static image parameters corresponding to the currently acquired authentication state according to the second corresponding relation between the authentication state and the static image parameters; and generating a static display image according to the determined static image parameters, and displaying the generated static display image in the back screen.
2. The communication terminal according to claim 1, wherein the first correspondence is stored in a RAM of the communication terminal, and the first correspondence is loaded from a ROM of the communication terminal into the RAM.
3. The communication terminal of claim 2, wherein the processor is further configured to:
and if the display screen needing to be activated is determined to be the back screen of the communication terminal, releasing the first corresponding relation stored in the RAM when the first corresponding relation is detected to be stored in the RAM of the communication terminal.
4. The communication terminal according to claim 1, wherein the second correspondence is stored in a RAM of the communication terminal, and the second correspondence is loaded from a ROM of the communication terminal into the RAM.
5. The communication terminal of claim 1, wherein in obtaining an authentication state in which a current rights authentication application rights authenticates a user, the processor is further configured to:
acquiring a target callback function which is called back when the authority authentication application performs authority authentication on a user; wherein the target callback function is one of a plurality of callback functions registered in the permission authentication application;
and determining the authentication state corresponding to the type of the target callback function according to the third corresponding relation between the type of the callback function and the authentication state.
6. A display method, comprising:
at a communication terminal having a processor, a memory, at least two touch screens, and a display screen:
responding to a first awakening instruction which is triggered by a user and used for activating a main screen of the communication terminal, and acquiring an authentication state of the current authority authentication application for carrying out authority authentication on the user; determining the dynamic image parameters corresponding to the currently acquired authentication state according to the first corresponding relation between the authentication state and the dynamic image parameters; generating a dynamic display image according to the determined dynamic image parameters, and displaying the generated dynamic display image in the main screen;
responding to a second awakening instruction which is triggered by the user and used for activating a back screen of the communication terminal, and acquiring an authentication state of the current authority authentication application for carrying out authority authentication on the user; determining the static image parameters corresponding to the currently acquired authentication state according to the second corresponding relation between the authentication state and the static image parameters; and generating a static display image according to the determined static image parameters, and displaying the generated static display image in the back screen.
7. A computer storage medium having stored therein computer program instructions which, when run on a computer, cause the processor of the computer to perform the method of claim 6.
CN201911329643.XA 2019-12-20 2019-12-20 Display method, communication terminal and computer storage medium Active CN111163220B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911329643.XA CN111163220B (en) 2019-12-20 2019-12-20 Display method, communication terminal and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911329643.XA CN111163220B (en) 2019-12-20 2019-12-20 Display method, communication terminal and computer storage medium

Publications (2)

Publication Number Publication Date
CN111163220A CN111163220A (en) 2020-05-15
CN111163220B true CN111163220B (en) 2021-06-08

Family

ID=70557691

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911329643.XA Active CN111163220B (en) 2019-12-20 2019-12-20 Display method, communication terminal and computer storage medium

Country Status (1)

Country Link
CN (1) CN111163220B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112184855A (en) * 2020-09-23 2021-01-05 广州锦行网络科技有限公司 Safety equipment establishing method based on network target range

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105302418A (en) * 2015-11-02 2016-02-03 联想(北京)有限公司 Information processing method and electronic device
CN107395886A (en) * 2017-07-21 2017-11-24 青岛海信移动通信技术股份有限公司 Control method, dual-screen mobile terminal and the storage medium of dual-screen mobile terminal

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101697256A (en) * 2009-10-23 2010-04-21 深圳华为通信技术有限公司 Electronic equipment and display method thereof
EP2584768B1 (en) * 2011-10-21 2015-04-01 LG Electronics Inc. Mobile terminal and control method of the same
US9600053B2 (en) * 2013-03-11 2017-03-21 Barnes & Noble College Booksellers, Llc Stylus control feature for locking/unlocking touch sensitive devices
KR20170014407A (en) * 2015-07-30 2017-02-08 삼성전자주식회사 Apparatus and method for controlling a security of electronic device
CN106095229B (en) * 2016-06-02 2020-06-09 网易(杭州)网络有限公司 Display method and device of mobile terminal
CN106843687B (en) * 2017-01-16 2020-04-14 北京大上科技有限公司 Screen protection method and device of computer display based on electronic ink screen
CN108920121A (en) * 2018-07-20 2018-11-30 重庆宝力优特科技有限公司 Control method, device and computer readable storage medium based on multi-screen terminal
CN109739602A (en) * 2018-12-28 2019-05-10 努比亚技术有限公司 A kind of mobile terminal wallpaper setting method and device, mobile terminal and storage medium
CN110058827B (en) * 2019-03-29 2022-06-07 努比亚技术有限公司 Auxiliary screen wallpaper processing method of mobile terminal, mobile terminal and storage medium
CN109961747B (en) * 2019-04-02 2021-01-01 上海墨案智能科技有限公司 Electronic ink screen display method and device and electronic equipment

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105302418A (en) * 2015-11-02 2016-02-03 联想(北京)有限公司 Information processing method and electronic device
CN107395886A (en) * 2017-07-21 2017-11-24 青岛海信移动通信技术股份有限公司 Control method, dual-screen mobile terminal and the storage medium of dual-screen mobile terminal

Also Published As

Publication number Publication date
CN111163220A (en) 2020-05-15

Similar Documents

Publication Publication Date Title
CN111597000B (en) Small window management method and terminal
CN111240546B (en) Split screen processing method and communication terminal
CN104750355A (en) Screen display method and electronic device supporting same
CN111225108A (en) Communication terminal and card display method of negative screen interface
CN111367456A (en) Communication terminal and display method in multi-window mode
CN112114733B (en) Screen capturing and recording method, mobile terminal and computer storage medium
CN111274564A (en) Communication terminal and application unlocking method in split screen mode
CN111597004B (en) Terminal and user interface display method in application
CN114845152B (en) Display method and device of play control, electronic equipment and storage medium
CN113709026A (en) Method, device, storage medium and program product for processing instant communication message
CN111163220B (en) Display method, communication terminal and computer storage medium
CN112835472A (en) Communication terminal and display method
CN112099892A (en) Communication terminal and method for rapidly scanning two-dimensional code
CN113014614A (en) Equipment control method, control equipment and controlled equipment
CN111324255B (en) Application processing method based on double-screen terminal and communication terminal
CN114449171A (en) Method for controlling camera, terminal device, storage medium and program product
CN112114883A (en) Terminal awakening method, terminal and computer storage medium
CN114020379A (en) Terminal device, information feedback method and storage medium
CN114035870A (en) Terminal device, application resource control method and storage medium
CN111159734A (en) Communication terminal and multi-application data inter-access processing method
CN111787157A (en) Mobile terminal and operation response method thereof
CN113760164A (en) Display device and response method of control operation thereof
CN111273849A (en) Communication terminal and screen unlocking method
CN111600862A (en) User account management method and device
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
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: 266071 Shandong city of Qingdao province Jiangxi City Road No. 11

Patentee after: Qingdao Hisense Mobile Communication Technology Co.,Ltd.

Address before: 266071 Shandong city of Qingdao province Jiangxi City Road No. 11

Patentee before: HISENSE MOBILE COMMUNICATIONS TECHNOLOGY Co.,Ltd.