CN104461285A - Unlocking interface processing method - Google Patents

Unlocking interface processing method Download PDF

Info

Publication number
CN104461285A
CN104461285A CN201410692415.XA CN201410692415A CN104461285A CN 104461285 A CN104461285 A CN 104461285A CN 201410692415 A CN201410692415 A CN 201410692415A CN 104461285 A CN104461285 A CN 104461285A
Authority
CN
China
Prior art keywords
unlocking interface
unlocking
interface
terminal
resolution
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201410692415.XA
Other languages
Chinese (zh)
Inventor
叶泽钢
陈强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Jinli Communication Equipment Co Ltd
Original Assignee
Shenzhen Jinli Communication Equipment 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 Shenzhen Jinli Communication Equipment Co Ltd filed Critical Shenzhen Jinli Communication Equipment Co Ltd
Priority to CN201410692415.XA priority Critical patent/CN104461285A/en
Publication of CN104461285A publication Critical patent/CN104461285A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04845Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range for image manipulation, e.g. dragging, rotation, expansion or change of colour
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • G06F1/325Power saving in peripheral device
    • G06F1/3265Power saving in display device
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • G06F21/36User authentication by graphic or iconic representation

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • Human Computer Interaction (AREA)
  • Telephone Function (AREA)

Abstract

The embodiment of the invention relates to the technical field of human-computer interfaces, in particular to an unlocking interface processing method. The method comprises the steps that an awakening instruction input by a user is received; the awakening instruction is answered so as to obtain a target unlocking interface display mode, and the target unlocking interface display mode comprises that an unlocking interface display mode matched with an unlocking interface is obtained from an unlocking interface display mode set prestored in a terminal; the unlocking interface is output, and the output display mode of the unlocking interface is consistent with the target unlocking interface display mode. The unlocking interface display mode matched with the unlocking interface is obtained from the unlocking interface display mode set prestored in the terminal to serve as the target unlocking interface display mode, and therefore the power consumption of the terminal in the unlocking process is reduced.

Description

Method for processing unlocking interface
Technical Field
The invention relates to the technical field of human-computer interfaces, in particular to an unlocking interface processing method.
Background
With the rapid popularization of terminals, the terminals have become an important part of people's lives, and the functions of the terminals are increasingly powerful; for example: the user can play games, listen to songs, navigate and the like by using the terminal; however, if the user wants to use the terminal in the true sense, the terminal must be unlocked first so that the user can perform the relevant operation. At present, the terminal unlocking process mainly comprises the steps that a user inputs a wake-up instruction, the terminal responds to the wake-up instruction to enable the terminal to be on, and an unlocking key is input after the terminal is on the screen to unlock; however, in the current terminal unlocking mode, in order to make the unlocking interface display smoothly in the unlocking process, the display screen adopts higher resolution, and the rendering of the image and the synthesis of the image are processed in a hardware mode; the higher the resolution is, the larger the data amount processed by each frame is, so the higher the unlocking power consumption is, and when the hardware mode is used for rendering and synthesizing the image, the power consumption of the terminal is easy to be high because each component of the terminal is in a working state; therefore, the power consumption of the current terminal unlocking mode is high in the unlocking process.
Disclosure of Invention
The embodiment of the invention provides a method for processing an unlocking interface, which is used for reducing the power consumption of a terminal in the unlocking process.
The embodiment of the invention provides a method for processing an unlocking interface, which comprises the following steps:
receiving a wake-up instruction input by a user, wherein the wake-up instruction is used for opening an unlocking interface of the terminal;
responding to the awakening instruction to acquire a target unlocking interface display mode, wherein the target unlocking interface display mode comprises an unlocking interface display mode which is acquired from an unlocking interface display mode set stored in the terminal in advance and is matched with the unlocking interface;
and outputting the unlocking interface, wherein the display mode of the output unlocking interface is consistent with the display mode of the target unlocking interface.
In the embodiment of the invention, a wake-up instruction input by a user is received, wherein the wake-up instruction is used for opening an unlocking interface of the terminal; responding to the awakening instruction to acquire a target unlocking interface display mode, wherein the target unlocking interface display mode comprises an unlocking interface display mode which is acquired from an unlocking interface display mode set stored in the terminal in advance and is matched with the unlocking interface; and outputting the unlocking interface, wherein the display mode of the output unlocking interface is consistent with the display mode of the target unlocking interface. And acquiring an unlocking interface display mode matched with the unlocking interface from an unlocking interface display mode set pre-stored in the terminal as a target unlocking interface display mode, so that the power consumption of the terminal in the unlocking process is reduced.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings without creative efforts.
Fig. 1 is a flowchart of an unlocking interface processing method according to an embodiment of the present invention;
FIG. 2 is a flowchart of another unlocking interface processing method disclosed in the embodiment of the present invention;
FIG. 3 is a flowchart of another unlocking interface processing method disclosed in the embodiment of the present invention;
fig. 4 is a schematic structural diagram of a terminal disclosed in the embodiment of the present invention;
fig. 5 is a schematic structural diagram of another terminal disclosed in the embodiment of the present invention;
fig. 6 is a schematic structural diagram of another terminal disclosed in the embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The embodiment of the invention provides a method for processing an unlocking interface, which is used for reducing the power consumption of a terminal in the unlocking process. The following are detailed below.
Referring to fig. 1, fig. 1 is a flowchart illustrating an unlocking interface processing method according to an embodiment of the present invention; in fig. 1, the terminal may be a Mobile phone, a laptop computer, a palmtop computer, an internet device (MID), or the like; as shown in fig. 1, the flowchart of the unlocking interface processing method includes the following steps: :
s101, receiving a wake-up instruction input by a user, wherein the wake-up instruction is used for opening an unlocking interface of the terminal.
As an optional implementation manner, the wake-up instruction is generally an instruction for opening a terminal unlocking interface, which is input by a user by manually pressing a switch key, and after the user manually presses a switch section, an interface for prompting the user to input an unlocking key is provided.
And S102, responding to the awakening instruction to acquire a target unlocking interface display mode, wherein the target unlocking interface display mode comprises an unlocking interface display mode which is acquired from an unlocking interface display mode set stored in the terminal in advance and is matched with the unlocking interface.
As an optional implementation manner, the unlocking interface display manner includes at least one or more of an unlocking interface resolution, an unlocking interface image rendering manner, and an unlocking interface image synthesizing manner. The terminal can pre-store a plurality of unlocking interface display modes, the number of the unlocking interface display modes is determined according to the situation, and the terminal has a default unlocking interface display mode of the system.
Specifically, the terminal responds to the wake-up instruction, namely, an unlocking interface display mode matched with the unlocking interface is acquired from an unlocking interface display mode set stored in the terminal in advance and serves as a target unlocking interface display mode. Because the unlocking interface display mode comprises at least one or more of the unlocking interface resolution, the unlocking interface image rendering mode and the unlocking interface image synthesis mode, the terminal executes different operations for different unlocking interface display modes, and the unlocking interface display mode matched with the unlocking interface is obtained as the target unlocking interface display mode.
S103, outputting the unlocking interface, wherein the display mode of the output unlocking interface is consistent with that of the target unlocking interface.
As an optional implementation manner, the unlocking interface is an interface that is output after the terminal responds to the wake-up instruction and sets the display mode of the unlocking interface after the user inputs the wake-up instruction. The unlocking interface can be an interface which can be unlocked only by inputting an unlocking key, or an interface which can be unlocked by clicking or sliding any one of the unlocking interfaces, and when the unlocking interface is an interface which can be unlocked only by inputting the unlocking key by a user, the unlocking interface can be a dot matrix or an interface which can be unlocked only by inputting a group of numbers; the invention is not limited.
In the embodiment of the invention, a terminal receives a wake-up instruction input by a user, wherein the wake-up instruction is used for opening an unlocking interface of the terminal; the terminal responds to the awakening instruction to acquire a target unlocking interface display mode, wherein the target unlocking interface display mode comprises an unlocking interface display mode which is obtained from an unlocking interface display mode set stored in the terminal in advance and is matched with the unlocking interface; and the terminal outputs the unlocking interface. The unlocking interface display mode matched with the unlocking interface is acquired from the unlocking interface display mode set stored in the terminal in advance and serves as the target unlocking interface display mode, so that the power consumption of the terminal in the unlocking process can be reduced.
Referring to fig. 2, fig. 2 is a flowchart illustrating another unlocking interface processing method according to an embodiment of the present invention; in fig. 2, the terminal unlocking interface graphics may be static or dynamic pictures; as shown in fig. 2, the flowchart of the unlocking interface processing method includes the following steps:
s201, receiving a wake-up instruction input by a user, wherein the wake-up instruction is used for opening an unlocking interface of the terminal.
S202, when the unlocking interface display mode comprises the unlocking interface resolution, responding to the awakening instruction, and acquiring an unlocking interface resolution lower than the default unlocking interface resolution of the terminal system from an unlocking interface resolution set stored in the terminal in advance to serve as a target unlocking interface resolution.
Specifically, when the unlocking interface display mode includes an unlocking interface resolution, responding to the awakening instruction to judge the number of unlocking interface resolutions lower than the default unlocking interface resolution of the terminal system in an unlocking interface resolution set pre-stored in the terminal; when judging that at least one unlocking interface resolution ratio lower than the default unlocking interface resolution ratio of the terminal system exists in the unlocking interface resolution ratio set, acquiring an unlocking interface resolution ratio lower than the default unlocking interface resolution ratio of the terminal system as a target unlocking interface resolution ratio according to current unlocking interface image information, wherein the unlocking interface image information comprises the size of the unlocking interface image and the state of the unlocking interface image. For example, some unlocking interface resolutions smaller than the default unlocking interface resolution of the system may be stored in the unlocking interface resolution set pre-stored in the terminal, and the number of the unlocking interface resolutions smaller than the default unlocking interface resolution of the system may be one, two, or more. However, when the terminal responds to the wake-up instruction, the terminal only needs to acquire an unlocking interface resolution which is smaller than the default unlocking interface resolution of the system from the unlocking interface resolution set as the target unlocking interface resolution. Such as: when the default unlocking interface resolution of the terminal system is 1280X1024, 1440X900, 1366X768, 1360X760, 1260X916, 960X900 and the like are stored in the system in advance, a resolution smaller than 1280X1024 can be selected temporarily as the target resolution when the terminal system responds to the awakening instruction.
Further, before the unlocking interface is output, modifying the bandwidth attribute value of the memory of the terminal into a value matched with the unlocking interface information according to the unlocking interface information, wherein the unlocking interface information comprises the length of the unlocking interface, the width of the unlocking interface, the display bit number of the unlocking interface, the frame rate of the unlocking interface, the data volume transmitted by the terminal per second, the bit number read by the memory of the terminal in one clock period and the bandwidth of the memory of the terminal; and setting the value of the bandwidth of the terminal memory according to the modified bandwidth attribute value of the memory, wherein the value of the bandwidth of the terminal memory is used for determining the resolution of the terminal unlocking interface.
Still further, modifying the bandwidth attribute value of the memory of the terminal to a value matching the unlocking interface information according to the unlocking interface information includes: acquiring the length of the unlocking interface and the width of the unlocking interface; calculating the data volume transmitted by the terminal every second, wherein the data volume transmitted by the terminal every second is the product of the length of the unlocking interface, the width of the unlocking interface, the display digit of the unlocking interface and the frame rate of the unlocking interface; calculating the bandwidth of the terminal memory by using an equation, wherein the equation is 2 times of the product of the bandwidth of the terminal memory and the number of bits read by the terminal memory in one clock period and is divided by 8 to be equal to the data volume transmitted by the terminal per second; and modifying the bandwidth attribute value of the terminal memory into a value matched with the unlocking interface information according to the unlocking interface information.
And S203, outputting the unlocking interface, wherein the display mode of the output unlocking interface is consistent with that of the target unlocking interface.
In the embodiment of the invention, a series of operations when the display mode of the unlocking interface comprises the resolution of the unlocking interface are mainly involved, and the terminal acquires the resolution of the unlocking interface which is default to the system from the resolution set of the unlocking interface which is stored in the terminal in advance as the resolution of the target unlocking interface, so that the effect of reducing power consumption in the unlocking process can be still achieved.
Referring to fig. 3, fig. 3 is a flowchart illustrating another unlocking interface processing method according to an embodiment of the present invention; as shown in fig. 3, the flowchart of the unlocking interface processing method includes the following steps:
s301, the terminal receives a wake-up instruction input by a user, and the wake-up instruction is used for opening an unlocking interface of the terminal.
S302, when the unlocking interface display mode comprises the unlocking interface image rendering mode, responding to the awakening instruction to obtain an unlocking interface image.
Specifically, the display mode of the unlocking interface comprises at least one or more of the resolution of the unlocking interface, the rendering mode of the unlocking interface image and the synthesis mode of the unlocking interface image. And responding to the awakening instruction to acquire the unlocking interface image when the unlocking interface display mode comprises the unlocking interface image rendering mode. The unlocking interface image may be a static image or a dynamic image.
S303, starting an image processing engine to acquire a software rendering mode from an unlocking interface image rendering mode set pre-stored in the terminal so as to add materials to the unlocking interface image, wherein the materials are elements added by the terminal according to the unlocking interface image.
Specifically, when the unlocking interface display mode includes an unlocking interface synthesis mode, the terminal acquires an unlocking interface image of the unlocking interface, starts an image processing engine, acquires a software rendering mode from an unlocking interface image rendering mode set stored in the terminal in advance, and adds a material to the unlocking interface image, wherein the material is an element added by the terminal according to the unlocking interface image.
As an optional implementation manner, the terminal unlocking interface image is an image of an interface output by the terminal after a user presses a switch key, after the user inputs a wake-up instruction, the terminal reads a source image from an application program, adds some materials to the source image to enable the source image to have an aesthetic effect, displays a plurality of different source images on the same image through superposition processing, and finally displays the superposed image on the unlocking interface; when the terminal adds materials to the source image, the added materials can be colors, contrast, lighting effects and the like; the unlocking interface seen by the user is often composed of a plurality of different images which are superposed through synthesis. Such as: when a user inputs a wake-up instruction and an unlocking interface is on screen, a bottom image, namely commonly called a background image, is generally generated, and time, an unlocking dot matrix, a digital matrix needing to be input for unlocking, an emergency call box, the current power utilization condition of some terminals and the like are generally displayed on the background image. The images are obtained through rendering and composition before being displayed on the unlocking interface.
As an optional implementation manner, when adding a material to an image, the terminal may select the image processing engine Skia to add the image material, and since the terminal uses software to accelerate when adding the material to the source image by using the image processing engine Skia, the terminal can ensure the fluency of the system and reduce power consumption no matter what source image the terminal has; when the source images are synthesized and superposed on the same image, an image Display submodule (mdp) can be adopted for synthesis, and the mdp is calculated by a single core, so that the effect of saving power consumption can be achieved in the processing Process.
And S304, outputting the unlocking interface, wherein the display mode of the output unlocking interface is consistent with that of the target unlocking interface.
S305, receiving an unlocking key input by the user.
Specifically, after receiving a wake-up instruction of a user, the terminal performs a series of adjustment operations and outputs an unlocking interface, where the unlocking interface is used by the user to input an unlocking key when opening the operation interface, and the unlocking mode of the unlocking interface may be a digital input method, a dot matrix input method, or an image input method. When the unlocking mode is a digital input method, the number of input numbers is not limited, but for safety, the number of input numbers is preferably more than or equal to four; when the unlocking mode is a dot matrix input method, the dot matrix related to the set unlocking key is preferably more than or equal to four.
And S306, after the unlocking is successful, setting the image rendering mode of the operation interface as the default image rendering mode of the terminal system, wherein the operation interface is the interface after the unlocking is successful.
Specifically, before unlocking is successful, the display mode of the unlocking interface of the terminal is a reset display mode of the unlocking interface, when the user inputs the unlocking key, the input unlocking key is wrong or the unlocking is unsuccessful due to other reasons, the terminal prompts the user to input the unlocking key again, and when the number of times of unsuccessful unlocking of the user reaches a preset value, the terminal can blank the screen. In the process, the unlocking interface resolution of the terminal is consistent with the target unlocking interface resolution set before, the mode of adding materials to the picture is the Skia mode, and the synthesis mode is the mdp synthesis. However, after the unlocking is successful, since the pictures of the operation interface are more complicated and a plurality of program interfaces are used, in order to display the images clearly and continuously, each unlocking interface display mode needs to be set as the default unlocking interface display mode of the system. Furthermore, the unlocking interface resolution should be set as the default unlocking interface resolution of the system, the unlocking interface image rendering mode should be set as the default unlocking interface image rendering mode of the system, and the unlocking interface image synthesis mode should be set as the default unlocking interface image synthesis mode of the system. The set operation flows are different for different unlocking interface display modes.
In the embodiment of the invention, before the unlocking is successful, the rendering mode of the unlocking interface image is mainly software rendering, and when all different images are superposed on one image layer, a single-core image synthesis mode is adopted. Therefore, the embodiment of the invention can still achieve the effect of reducing power consumption.
Referring to fig. 4, fig. 4 is a schematic structural diagram of a terminal according to an embodiment of the present invention; in fig. 4, the terminal may be a Mobile phone, a laptop computer, a palmtop computer, an internet device (MID), or the like; as shown in fig. 4, the terminal includes:
the receiving unit 41 is configured to receive a wake-up instruction input by a user, where the wake-up instruction is used to open an unlocking interface of the terminal.
As an optional implementation manner, the wake-up instruction is generally an instruction for opening a terminal unlocking interface, which is input by a user by manually pressing a switch key, and after the user manually presses a switch section, an interface for prompting the user to input an unlocking key is provided.
And the unlocking interface display mode acquisition unit 42 is configured to respond to the wake-up instruction to acquire a target unlocking interface display mode, where the target unlocking interface display mode includes an unlocking interface display mode which is acquired from an unlocking interface display mode set pre-stored in the terminal and is matched with the unlocking interface.
As an optional implementation manner, the unlocking interface display manner includes at least one or more of an unlocking interface resolution, an unlocking interface image rendering manner, and an unlocking interface image synthesizing manner. The storage unit can store a plurality of unlocking interface display modes in advance, the number of the unlocking interface display modes is determined according to the situation, and the terminal has a default unlocking interface display mode of the system.
Specifically, the unlocking interface display mode obtaining unit 42 responds to the wake-up instruction, that is, obtains an unlocking interface display mode matched with the unlocking interface from an unlocking interface display mode set pre-stored in the terminal as a target unlocking interface display mode. Since the unlocking interface display mode includes at least one or more of the unlocking interface resolution, the unlocking interface image rendering mode, and the unlocking interface image synthesizing mode, the unlocking interface display mode obtaining unit 42 performs different obtaining operations for different unlocking interface display modes, but obtains the unlocking interface display mode matched with the unlocking interface as the target unlocking interface display mode.
The output unit 43 is configured to output the unlocking interface, and a display mode of the output unlocking interface is consistent with a display mode of the target unlocking interface.
As an optional implementation manner, the unlocking interface is an interface that is output after the receiving unit 41 receives the wake-up instruction, and the unlocking interface display mode obtaining unit 42 responds to the wake-up instruction and sets the unlocking interface display mode. The unlocking interface can be an interface which can be unlocked only by inputting an unlocking key, or an interface which can be unlocked by clicking or sliding any one of the unlocking interfaces, and when the unlocking interface is an interface which can be unlocked only by inputting the unlocking key by a user, the unlocking interface can be a dot matrix or an interface which can be unlocked only by inputting a group of numbers; the invention is not limited.
In the embodiment of the present invention, the receiving unit 41 receives a wake-up instruction input by a user, where the wake-up instruction is used to open an unlocking interface of the terminal; the unlocking interface display mode obtaining unit 42 responds to the awakening instruction to obtain a target unlocking interface display mode, wherein the target unlocking interface display mode comprises an unlocking interface display mode which is obtained from an unlocking interface display mode set stored in the terminal in advance and is matched with the unlocking interface; the output unit 43 outputs the unlock interface. The unlocking interface display mode matched with the unlocking interface is acquired from the unlocking interface display mode set stored in the terminal in advance and serves as the target unlocking interface display mode, so that the power consumption of the terminal in the unlocking process can be reduced.
Referring to fig. 5, fig. 5 is a schematic structural diagram of another terminal disclosed in the embodiment of the present invention, configured to execute the method for processing the unlock interface disclosed in the embodiment of the present invention. The terminal shown in fig. 5 is further optimized based on the terminal shown in fig. 4. The terminal shown in fig. 5 may include, in addition to the units included in the terminal shown in fig. 4:
the modifying unit 53 is configured to modify the bandwidth attribute value of the memory of the terminal into a value matched with the unlocking interface information according to the unlocking interface information, where the unlocking interface information includes a length of the unlocking interface, a width of the unlocking interface, a display bit number of the unlocking interface, a frame rate of the unlocking interface, a data amount transmitted by the terminal per second, a bit number read by the memory of the terminal in one clock cycle, and a bandwidth of the memory of the terminal.
In the embodiment of the present invention, the modifying unit 53 modifies the bandwidth attribute value of the memory of the terminal according to the information of the unlocking interface, and the bandwidth attribute value may be set to be different for different information of the unlocking interface. For example, when the terminal is a mobile phone, the bandwidth attribute value may be set according to information such as the length of a mobile phone screen, the width of the mobile phone screen, the number of display bits of the mobile phone screen, the frame rate of the mobile phone screen, and the like; when the terminal is a tablet computer or other computers, the bandwidth attribute value is also set according to the unlocking interface information.
The setting unit 54 is configured to set a value of the bandwidth of the terminal memory according to the modified bandwidth attribute value of the memory, where the value of the bandwidth of the terminal memory is used to determine a resolution of the terminal unlocking interface.
The unlocking interface display mode obtaining unit 52 may further include a determining unit 520 and an unlocking interface resolution obtaining unit 521, where:
the determining unit 520 is configured to determine, when the unlocking interface display mode includes an unlocking interface resolution, the number of unlocking interface resolutions lower than the default unlocking interface resolution of the terminal system in an unlocking interface resolution set pre-stored in the terminal.
In the embodiment of the present invention, before the determining unit 520 determines, the number of the unlocking interface resolutions in the unlocking interface resolution set stored in advance cannot be determined without error, so the determining unit 520 should determine the unlocking interface resolutions and determine the number of the unlocking interface resolutions lower than the default unlocking interface resolution of the system in the unlocking interface resolution set.
The unlocking interface resolution acquiring unit 521 is configured to, when it is determined that there is at least one unlocking interface resolution lower than the default unlocking interface resolution of the terminal system in the unlocking interface resolution set, acquire, according to current unlocking interface image information, an unlocking interface resolution lower than the default unlocking interface resolution of the terminal system as a target unlocking interface resolution, where the unlocking interface image information includes a size of the unlocking interface image and a state of the unlocking interface image.
In the embodiment of the present invention, when the determining unit 520 determines that there is at least one unlocking interface resolution lower than the default unlocking interface resolution of the terminal system in the unlocking interface resolution set, the obtaining unit may first obtain current unlocking interface image information, and the unlocking interface resolution obtaining unit 521 may obtain an unlocking interface resolution lower than the default unlocking interface resolution of the system as a target unlocking interface resolution according to the obtained unlocking interface image information. The information of the unlocking interface image comprises the size of the unlocking interface image and the state of the unlocking interface image. When the unlocking interface image is large, a high unlocking interface resolution can be properly selected, but it should be noted that the selected unlocking interface resolution is certainly lower than the default unlocking interface resolution of the system. Such as: when the default unlocking interface resolution of the system in the storage unit is 1280X1024, 1440X900, 1366X768, 1360X760, 1260X916, 960X900 and the like are stored in the system in advance, a resolution smaller than 1280X1024 can be temporarily selected as the target resolution when the system responds to the awakening instruction.
The above-mentioned modifying unit 53 may further include an obtaining unit 530, a first calculating unit 531, a second calculating unit 532, and a bandwidth attribute value modifying unit 533, wherein:
the obtaining unit 530 is configured to obtain a length of the unlocking interface and a width of the unlocking interface.
The first calculating unit 531 is configured to calculate a data amount per second transmitted by the terminal, where the data amount per second transmitted by the terminal is a product of a length of the unlocking interface, a width of the unlocking interface, a number of display bits of the unlocking interface, and a frame rate of the unlocking interface.
The second calculating unit 532 is configured to calculate the bandwidth of the terminal memory by using an equation, wherein the equation is 2 times the product of the bandwidth of the terminal memory and the number of bits read by the terminal memory in one clock cycle, and the product is divided by 8 to be equal to the amount of data transmitted by the terminal per second.
The bandwidth attribute value modifying unit 533 is configured to modify the bandwidth attribute value of the terminal memory to a value matching with the unlocking interface information according to the unlocking interface information.
In fig. 5, the determining unit 520 may first determine the number of the unlocking interface resolutions lower than the default unlocking interface resolution of the system in the unlocking interface resolution set, and obtain an unlocking interface resolution lower than the default unlocking interface resolution of the system from the unlocking interface resolution set lower than the default unlocking interface resolution of the system as the target unlocking interface resolution.
Referring to fig. 6, fig. 6 is a structural diagram of another terminal according to the embodiment of the present invention; the method is used for executing the unlocking interface processing method disclosed by the embodiment of the invention. As shown in fig. 6, the terminal 600 includes: at least one processor 601, input-output devices 602, memory 604, and the like. These components are communicatively coupled via one or more buses 603. It will be understood by those skilled in the art that the configuration of the terminals shown in the figures is not intended to limit the invention, and may be a bus or star configuration, including more or less components than those shown, or some components in combination, or a different arrangement of components. Wherein,
the processor 601 is a control center of the terminal, connects various parts of the entire terminal using various interfaces and lines, and performs various functions of the terminal and/or processes data by operating or executing programs and/or modules stored in the memory 604 and calling data stored in the memory 604. The processor 601 may be composed of an Integrated Circuit (IC), for example, a single packaged IC, or a plurality of packaged ICs connected with the same or different functions. For example, the processor 601 may include only a Central Processing Unit (CPU), or may be a combination of a CPU, a Digital Signal Processor (DSP), a Graphics Processing Unit (GPU), and various control chips. In the embodiment of the present invention, the CPU may be a single operation core, or may include multiple operation cores.
The memory 604 may be used to store software programs and modules, and the processor 601 executes various functional applications of the terminal and implements data processing by operating the software programs and modules stored in the memory 604. The memory 604 mainly includes a program storage area and a data storage area, wherein the program storage area may store an operating system 605, an application 606 required for at least one function (such as an unlocking interface resolution control program, etc.), and the like; the data storage area may store data (such as unlock interface graphic information) created according to the use of the unlock interface processing device, and the like. In the embodiment of the present invention, the operating system may be an Android system, an iOS system, or the like.
Specifically, the processor 601 calls the application 606 stored in the memory 604, performing the following operations:
receiving a wake-up instruction input by a user, wherein the wake-up instruction is used for opening an unlocking interface of the terminal;
responding to the awakening instruction to acquire a target unlocking interface display mode, wherein the target unlocking interface display mode comprises an unlocking interface display mode which is acquired from an unlocking interface display mode set stored in the terminal in advance and is matched with the unlocking interface;
and the input and output device 602 outputs the unlocking interface, and the display mode of the output unlocking interface is consistent with that of the target unlocking interface.
The memory 604 is configured to store unlocking interface graphic information, an unlocking interface display mode set, and information of an unlocking interface.
In one embodiment, the display mode of the unlocking interface comprises at least one or more of the resolution of the unlocking interface, the rendering mode of the unlocking interface image and the synthesis mode of the unlocking interface image.
In another embodiment, the specific steps of the processor 601 responding to the wake-up instruction to obtain the display mode of the target unlocking interface include:
and when the unlocking interface display mode comprises the unlocking interface resolution, responding to the awakening instruction, and acquiring an unlocking interface resolution lower than the default unlocking interface resolution of the terminal system from an unlocking interface resolution set stored in the terminal in advance as a target unlocking interface resolution.
In another embodiment, the specific steps of the processor 601 responding to the wake-up instruction to obtain the display mode of the target unlocking interface include:
when the unlocking interface display mode comprises an unlocking interface resolution, responding to the awakening instruction to judge the number of unlocking interface resolutions lower than the default unlocking interface resolution of the terminal system in an unlocking interface resolution set prestored in the terminal;
when judging that at least one unlocking interface resolution ratio lower than the default unlocking interface resolution ratio of the terminal system exists in the unlocking interface resolution ratio set, acquiring an unlocking interface resolution ratio lower than the default unlocking interface resolution ratio of the terminal system as a target unlocking interface resolution ratio according to current unlocking interface image information, wherein the unlocking interface image information comprises the size of the unlocking interface image and the state of the unlocking interface image.
In yet another embodiment, before the input-output device 602 outputs the unlocking interface, the method further includes:
modifying the bandwidth attribute value of the memory of the terminal into a value matched with the unlocking interface information according to the unlocking interface information, wherein the unlocking interface information comprises the length of the unlocking interface, the width of the unlocking interface, the display bit number of the unlocking interface, the frame rate of the unlocking interface, the data volume transmitted by the terminal per second, the bit number read by the memory of the terminal in one clock period and the bandwidth of the memory of the terminal;
and setting the value of the bandwidth of the terminal memory according to the modified bandwidth attribute value of the memory, wherein the value of the bandwidth of the terminal memory is used for determining the resolution of the terminal unlocking interface.
In another embodiment, the modifying, by the processor 601, the bandwidth attribute value of the memory of the terminal to a value matching the unlocking interface information according to the unlocking interface information includes:
acquiring the length of the unlocking interface and the width of the unlocking interface;
calculating the data volume transmitted by the terminal every second, wherein the data volume transmitted by the terminal every second is the product of the length of the unlocking interface, the width of the unlocking interface, the display digit of the unlocking interface and the frame rate of the unlocking interface;
calculating the bandwidth of the terminal memory by using an equation, wherein the equation is 2 times of the product of the bandwidth of the terminal memory and the number of bits read by the terminal memory in one clock period and is divided by 8 to be equal to the data volume transmitted by the terminal per second;
and modifying the bandwidth attribute value of the terminal memory into a value matched with the unlocking interface information according to the unlocking interface information.
In another embodiment, after the input/output device 602 outputs the unlocking interface, the method further includes:
the processor 601 receives an unlocking key input by the user; and when the unlocking is successful, setting the resolution of an operation interface as the default resolution of the terminal system, wherein the operation interface is the interface after the unlocking is successful.
In another embodiment, the responding to the wake-up instruction by the processor 601 to obtain the target unlocking interface display mode includes:
when the unlocking interface display mode comprises the unlocking interface image rendering mode, responding to the awakening instruction to acquire an unlocking interface image;
starting an image processing engine to acquire a software rendering mode from an unlocking interface image rendering mode set stored in a terminal in advance, and adding materials to the unlocking interface image, wherein the materials are elements added by the terminal according to the unlocking interface image.
In one embodiment, after the input/output device 602 outputs the unlocking interface, the method further includes:
the processor 601 receives an unlocking key input by the user; and when the unlocking is successful, setting the image rendering mode of the operation interface as the default image rendering mode of the terminal system, wherein the operation interface is the interface after the unlocking is successful.
In another embodiment, the responding to the wake-up instruction by the processor 601 to obtain the target unlocking interface display mode includes:
when the unlocking interface display mode comprises the unlocking interface image synthesis mode, responding to the awakening instruction to obtain an unlocking interface image;
and acquiring a single-core image synthesis mode from an unlocking interface image synthesis mode set stored in a terminal in advance, and overlapping and displaying at least one unlocking interface image on an image layer to generate the unlocking interface.
In another embodiment, after the input/output device 602 outputs the unlocking interface, the method further includes: receiving an unlocking key input by the user; and when the unlocking is successful, setting the image synthesis mode of the operation interface as the default image synthesis mode of the terminal system, wherein the operation interface is the interface after the unlocking is successful.
In another embodiment, before the processor 601 responds to the wake-up instruction, the method further includes: and acquiring image information of the terminal unlocking interface.
The modules or sub-modules in all embodiments of the present invention may be implemented by a general-purpose integrated Circuit, such as a CPU (Central Processing Unit), or an ASIC (Application specific integrated Circuit).
The steps in the method of the embodiment of the invention can be sequentially adjusted, combined and deleted according to actual needs.
The units in the device of the embodiment of the invention can be merged, divided and deleted according to actual needs.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-only Memory (ROM), a Random Access Memory (RAM), or the like.
The above disclosure is only for the purpose of illustrating the preferred embodiments of the present invention, and it is therefore to be understood that the invention is not limited by the scope of the appended claims.

Claims (12)

1. An unlocking interface processing method is characterized by comprising the following steps:
receiving a wake-up instruction input by a user, wherein the wake-up instruction is used for opening an unlocking interface of the terminal;
responding to the awakening instruction to acquire a target unlocking interface display mode, wherein the target unlocking interface display mode comprises an unlocking interface display mode which is acquired from an unlocking interface display mode set stored in the terminal in advance and is matched with the unlocking interface;
and outputting the unlocking interface, wherein the display mode of the output unlocking interface is consistent with the display mode of the target unlocking interface.
2. The method of claim 1, wherein the unlocking interface display mode comprises at least one or more of an unlocking interface resolution, an unlocking interface image rendering mode and an unlocking interface image synthesizing mode.
3. The method according to claim 2, wherein the responding to the wake-up instruction to obtain a target unlock interface display mode comprises:
and when the unlocking interface display mode comprises the unlocking interface resolution, responding to the awakening instruction, and acquiring an unlocking interface resolution lower than the default unlocking interface resolution of the terminal system from an unlocking interface resolution set stored in the terminal in advance as a target unlocking interface resolution.
4. The method according to claim 3, wherein when the unlocking interface display mode includes the unlocking interface resolution, responding to the wake-up command to acquire an unlocking interface resolution lower than the default unlocking interface resolution of the terminal system from an unlocking interface resolution set stored in a terminal in advance as a target unlocking interface resolution, and the method includes:
when the unlocking interface display mode comprises an unlocking interface resolution, responding to the awakening instruction to judge the number of unlocking interface resolutions lower than the default unlocking interface resolution of the terminal system in an unlocking interface resolution set prestored in the terminal;
when judging that at least one unlocking interface resolution ratio lower than the default unlocking interface resolution ratio of the terminal system exists in the unlocking interface resolution ratio set, acquiring an unlocking interface resolution ratio lower than the default unlocking interface resolution ratio of the terminal system as a target unlocking interface resolution ratio according to current unlocking interface image information, wherein the unlocking interface image information comprises the size of the unlocking interface image and the state of the unlocking interface image.
5. The method according to any one of claims 1-4, wherein before outputting the unlocking interface, the method further comprises:
modifying the bandwidth attribute value of the memory of the terminal into a value matched with the unlocking interface information according to the unlocking interface information, wherein the unlocking interface information comprises the length of the unlocking interface, the width of the unlocking interface, the display bit number of the unlocking interface, the frame rate of the unlocking interface, the data volume transmitted by the terminal per second, the bit number read by the memory of the terminal in one clock period and the bandwidth of the memory of the terminal;
and setting the value of the bandwidth of the terminal memory according to the modified bandwidth attribute value of the memory, wherein the value of the bandwidth of the terminal memory is used for determining the resolution of the terminal unlocking interface.
6. The method according to claim 5, wherein the modifying the bandwidth attribute value of the memory of the terminal to a value matching the unlocking interface information according to the unlocking interface information comprises:
acquiring the length of the unlocking interface and the width of the unlocking interface;
calculating the data volume transmitted by the terminal every second, wherein the data volume transmitted by the terminal every second is the product of the length of the unlocking interface, the width of the unlocking interface, the display digit of the unlocking interface and the frame rate of the unlocking interface;
calculating the bandwidth of the terminal memory by using an equation, wherein the equation is 2 times of the product of the bandwidth of the terminal memory and the number of bits read by the terminal memory in one clock period and is divided by 8 to be equal to the data volume transmitted by the terminal per second;
and modifying the bandwidth attribute value of the terminal memory into a value matched with the unlocking interface information according to the unlocking interface information.
7. The method of claim 6, wherein after outputting the unlock interface, the method further comprises:
receiving an unlocking key input by the user;
and when the unlocking is successful, setting the resolution of an operation interface as the default resolution of the terminal system, wherein the operation interface is the interface after the unlocking is successful.
8. The method according to claim 2, wherein the responding to the wake-up instruction to obtain a target unlock interface display mode comprises:
when the unlocking interface display mode comprises the unlocking interface image rendering mode, responding to the awakening instruction to acquire an unlocking interface image;
starting an image processing engine to acquire a software rendering mode from an unlocking interface image rendering mode set stored in a terminal in advance, and adding materials to the unlocking interface image, wherein the materials are elements added by the terminal according to the unlocking interface image.
9. The method of claim 8, wherein after outputting the unlock interface, the method further comprises:
receiving an unlocking key input by the user;
and when the unlocking is successful, setting the image rendering mode of the operation interface as the default image rendering mode of the terminal system, wherein the operation interface is the interface after the unlocking is successful.
10. The method according to claim 2, wherein the responding to the wake-up instruction to obtain a target unlock interface display mode comprises:
when the unlocking interface display mode comprises the unlocking interface image synthesis mode, responding to the awakening instruction to obtain an unlocking interface image;
and acquiring a single-core image synthesis mode from an unlocking interface image synthesis mode set stored in a terminal in advance, and overlapping and displaying at least one unlocking interface image on an image layer to generate the unlocking interface.
11. The method of claim 10, wherein after outputting the unlock interface, the method further comprises:
receiving an unlocking key input by the user;
and when the unlocking is successful, setting the image synthesis mode of the operation interface as the default image synthesis mode of the terminal system, wherein the operation interface is the interface after the unlocking is successful.
12. The method of claim 4, wherein before responding to the wake-up command, the method further comprises:
and acquiring image information of the terminal unlocking interface.
CN201410692415.XA 2014-11-25 2014-11-25 Unlocking interface processing method Pending CN104461285A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410692415.XA CN104461285A (en) 2014-11-25 2014-11-25 Unlocking interface processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410692415.XA CN104461285A (en) 2014-11-25 2014-11-25 Unlocking interface processing method

Publications (1)

Publication Number Publication Date
CN104461285A true CN104461285A (en) 2015-03-25

Family

ID=52907428

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410692415.XA Pending CN104461285A (en) 2014-11-25 2014-11-25 Unlocking interface processing method

Country Status (1)

Country Link
CN (1) CN104461285A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110047185A (en) * 2019-04-25 2019-07-23 广州河东科技有限公司 Unlocking method and system of intelligent door lock
CN116844196A (en) * 2023-08-31 2023-10-03 荣耀终端有限公司 Dynamic effect picture display method and electronic equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102968271A (en) * 2012-11-06 2013-03-13 广东欧珀移动通信有限公司 Unlocking method and mobile terminal
CN103312901A (en) * 2013-03-21 2013-09-18 广东欧珀移动通信有限公司 Power-saving method and device for mobile terminal with screen
US20130328813A1 (en) * 2012-06-11 2013-12-12 Inputek Co., Ltd. Unlocking Mechanism for a Touch Screen Device
CN103941847A (en) * 2013-01-21 2014-07-23 深圳富泰宏精密工业有限公司 System and method for unlocking screen
WO2014153749A1 (en) * 2013-03-28 2014-10-02 Nokia Corporation An apparatus and associated methods
CN104462897A (en) * 2014-11-25 2015-03-25 深圳市金立通信设备有限公司 Terminal

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130328813A1 (en) * 2012-06-11 2013-12-12 Inputek Co., Ltd. Unlocking Mechanism for a Touch Screen Device
CN102968271A (en) * 2012-11-06 2013-03-13 广东欧珀移动通信有限公司 Unlocking method and mobile terminal
CN103941847A (en) * 2013-01-21 2014-07-23 深圳富泰宏精密工业有限公司 System and method for unlocking screen
CN103312901A (en) * 2013-03-21 2013-09-18 广东欧珀移动通信有限公司 Power-saving method and device for mobile terminal with screen
WO2014153749A1 (en) * 2013-03-28 2014-10-02 Nokia Corporation An apparatus and associated methods
CN104462897A (en) * 2014-11-25 2015-03-25 深圳市金立通信设备有限公司 Terminal

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110047185A (en) * 2019-04-25 2019-07-23 广州河东科技有限公司 Unlocking method and system of intelligent door lock
CN110047185B (en) * 2019-04-25 2021-09-14 广州河东科技有限公司 Unlocking method and system of intelligent door lock
CN116844196A (en) * 2023-08-31 2023-10-03 荣耀终端有限公司 Dynamic effect picture display method and electronic equipment
CN116844196B (en) * 2023-08-31 2024-02-27 荣耀终端有限公司 Dynamic effect picture display method and electronic equipment

Similar Documents

Publication Publication Date Title
US11100901B2 (en) Method for controlling rendering of layers, terminal, and storage medium
CN106791212B (en) A kind of control method, device and the mobile terminal of mobile terminal refresh rate
CN106936995B (en) A kind of control method, device and the mobile terminal of mobile terminal frame per second
US9484003B2 (en) Content bound graphic
CN107481697B (en) Picture display method, user terminal and related medium product
US11995747B2 (en) Method for generating identification pattern and terminal device
CN110377220B (en) Instruction response method and device, storage medium and electronic equipment
CN103870123A (en) Information processing method and electronic equipment
CN109257549B (en) Device and method for displaying OTP state in real time on liquid crystal module
US20200249965A1 (en) Display Device with Built-In Web Browser for Graphical User Interface in an Embedded System
US20200034101A1 (en) Data displaying method and electronic device
CN104461285A (en) Unlocking interface processing method
CN104462897A (en) Terminal
CN106293658B (en) Interface component generation method and equipment
CN114242023A (en) Display screen brightness adjusting method, display screen brightness adjusting device and electronic equipment
CN112184538B (en) Image acceleration method, related device, equipment and storage medium
CN111787240A (en) Video generation method, device and computer readable storage medium
CN113409220A (en) Face image processing method, device, medium and equipment
CN107908455B (en) Browser page switching method and system
CN108509112B (en) Menu display method and device, display equipment and storage medium
WO2019109231A1 (en) Processing method for writing stroke and related device
US10321321B2 (en) Method and device for displaying locked interface and mobile terminal
US20190108814A1 (en) Method for improving system performance, device for improving system performance, and display apparatus
CN115576513A (en) Target image display method, display device, electronic device, and storage medium
CN113674704A (en) Image display control method and device and display equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20150325