CN112835487A - Terminal screen unlocking control method, system, equipment and storage medium - Google Patents

Terminal screen unlocking control method, system, equipment and storage medium Download PDF

Info

Publication number
CN112835487A
CN112835487A CN202110302075.5A CN202110302075A CN112835487A CN 112835487 A CN112835487 A CN 112835487A CN 202110302075 A CN202110302075 A CN 202110302075A CN 112835487 A CN112835487 A CN 112835487A
Authority
CN
China
Prior art keywords
screen
desktop
desktop icon
unlocking
icon
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.)
Granted
Application number
CN202110302075.5A
Other languages
Chinese (zh)
Other versions
CN112835487B (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.)
Sichuan Kubi Communication Equipment Co ltd
Original Assignee
Sichuan Kubi 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 Sichuan Kubi Communication Equipment Co ltd filed Critical Sichuan Kubi Communication Equipment Co ltd
Priority to CN202110302075.5A priority Critical patent/CN112835487B/en
Publication of CN112835487A publication Critical patent/CN112835487A/en
Application granted granted Critical
Publication of CN112835487B publication Critical patent/CN112835487B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04817Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons
    • 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

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)
  • Human Computer Interaction (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

According to the control method, the system, the equipment and the storage medium for unlocking the terminal screen, when the terminal receives a screen unlocking instruction, position information of a desktop icon is obtained in response to the screen unlocking instruction; determining the moving time and the moving track of each desktop icon in the screen unlocking process according to the position information of each desktop icon; and determining animation information corresponding to each desktop icon in the screen unlocking process according to the moving time, the moving track, the preset zoom multiple and the change range of the transparent value, generating a screen unlocking configuration file according to the animation information corresponding to each desktop icon, and controlling the terminal to unlock according to the screen unlocking configuration file. According to the method disclosed by the embodiment, the screen unlocking configuration file can be generated according to the icon layout information on the desktop before the screen is locked, and the terminal unlocks the screen according to the screen unlocking configuration file, so that the screen unlocking form is enriched, the interestingness of terminal unlocking is improved, and the personalized requirements of users are met.

Description

Terminal screen unlocking control method, system, equipment and storage medium
Technical Field
The invention relates to the technical field of electronic equipment, in particular to a terminal screen unlocking control method, a terminal screen unlocking control system, terminal screen unlocking control equipment and a storage medium.
Background
With the popularity of electronic devices, more and more users use various applications on the electronic devices to conduct various transactions. When more and more applications are available on the screen of the electronic device, more and more icons corresponding to the applications on the desktop are available.
When a user does not use the electronic device for a long time or presses a trigger key such as a power key, the electronic device generally sets a screen of the terminal to enter a locked state in order to save electric power or protect user information from being leaked. When the user wants to use the electronic apparatus again, the user needs to perform an unlocking operation on the screen of the terminal device. The unlocking mode in the prior art is generally to input an unlocking password or unlock by utilizing a fingerprint and the like, and the unlocking mode directly enters the desktop, so that the unlocking mode in the prior art is single in form and lacks diversity when the screen is unlocked.
There is therefore a need for further improvements in the art.
Disclosure of Invention
In view of the defects in the prior art, the invention aims to provide a terminal screen unlocking control method, a terminal screen unlocking control system, a terminal screen unlocking control device and a storage medium, and overcomes the defects that in the prior art, the screen unlocking mode is single, and the requirements of a user on terminal screen locking for more intellectualization and more diversification cannot be met.
In a first aspect, the present embodiment discloses a terminal screen unlocking control method, including:
receiving a screen unlocking instruction, and responding to the screen unlocking instruction to acquire position information of a desktop icon;
determining the moving time and the moving track of each desktop icon in the screen unlocking process according to the position information of each desktop icon; the moving time is the time used by each desktop icon to move from a target position point to an original position point, and the moving track is the distance between the target position point and the original position point;
determining animation information corresponding to each desktop icon in the screen unlocking process according to the moving time and the moving track, the preset zoom times and the change range of the transparent value;
and generating a screen-off configuration file according to the animation information corresponding to each desktop icon, and controlling the terminal to unlock according to the screen-off configuration file.
Optionally, the step of receiving a screen unlocking instruction and obtaining the position information of the desktop icon in response to the screen unlocking instruction includes:
after receiving a screen unlocking instruction, sending the screen unlocking instruction to a desktop through AIDL communication;
and traversing each desktop icon on the desktop, and acquiring the position coordinates of each desktop icon and the screen center point coordinates of the desktop.
Optionally, the step of determining the moving time and the moving track of each desktop icon in the screen unlocking process according to the position information of each desktop icon includes:
determining a target position point according to the distance between the original position point of each desktop icon and the central point of the screen and a connecting line between the original position point and the central point of the screen;
determining a moving track according to the target position point;
and calculating the moving speed or moving time of each desktop icon according to the moving track and the preset animation maximum duration.
Optionally, the step of determining the target position point according to the distance between the home position point and the screen center point of each desktop icon and the connection line between the home position point and the screen center point includes:
sequentially connecting the original position point of each desktop icon with the central point of the screen to obtain a connecting line corresponding to each desktop icon;
and taking the original position point as a central point and the screen central point as a symmetrical point to obtain target position points corresponding to the original position points on the connecting lines.
Optionally, the step of determining animation information corresponding to each desktop icon in the screen unlocking process according to the moving time and the moving track, the preset zoom factor and the change range of the transparent value includes:
traversing the sub-controls of each desktop icon, and controlling each desktop icon to move from a target position to an original position point within the moving time when an unlocking instruction is received;
setting the zoom factor and the change transparency value of each desktop icon in the animation process according to the preset zoom factor and the change range of the transparency value;
and generating animation information corresponding to each desktop icon according to the moving track, the icon scaling times and the change transparency value.
Optionally, the screen-unlocking configuration file includes: and the control attributes corresponding to the desktop icons comprise: unlocking the animation mode;
the step of generating the screen-off configuration file according to the animation information corresponding to each desktop icon comprises the following steps:
generating an unlocking animation mode corresponding to each desktop according to the animation information corresponding to each desktop icon;
the unlocking animation mode comprises the following steps:
controlling each desktop icon to move from a target position to a home position point along the connecting line within the moving time;
and simultaneously controlling the zoom times of the desktop icons to be the same, wherein the desktop icons are all greatly reduced, and the change transparency values of the desktop icons are changed from small to large.
Optionally, after the step of sending the screen unlocking instruction to the desktop through aid id l communication after receiving the screen unlocking instruction, the method further includes:
and responding to the unlocking instruction, and adding the animation information corresponding to each desktop icon into the desktop process.
In a second aspect, the present embodiment discloses a control system for unlocking a terminal screen, wherein the control system comprises:
the command response module is used for receiving a screen unlocking command, receiving the screen unlocking command and responding to the screen unlocking command to acquire the position information of the desktop icon;
the distance calculation module is used for determining the moving time and the moving track of each desktop icon in the screen unlocking process according to the position information of each desktop icon; the moving time is the time used by each desktop icon to move from a target position point to an original position point, and the moving track is the distance between the target position point and the original position point;
the animation configuration module is used for determining animation information corresponding to each desktop icon in the screen unlocking process according to the moving time, the moving track, the preset zoom multiple and the change range of the transparent value;
and the unlocking display module is used for generating screen unlocking configuration files according to the animation information corresponding to each desktop icon and controlling the terminal to unlock according to the screen unlocking configuration files.
In a third aspect, this embodiment discloses a terminal device, where the terminal device includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and the processor executes the computer program to perform the steps of implementing the terminal screen unlocking control method.
In a fourth aspect, the present embodiment discloses a computer-readable storage medium, which is characterized in that the computer-readable storage medium stores a computer program, and the computer program is executed by a processor to perform the steps of the terminal screen unlocking control method.
According to the control method, the system, the equipment and the storage medium for unlocking the terminal screen, when the terminal receives a screen unlocking instruction, position information of a desktop icon is obtained in response to the screen unlocking instruction; determining the moving time and the moving track of each desktop icon in the screen unlocking process according to the position information of each desktop icon; and determining animation information corresponding to each desktop icon in the screen unlocking process according to the moving time and the moving track, the preset zoom multiple and the change range of the transparent value, generating a screen unlocking configuration file according to the animation information corresponding to each desktop icon, and controlling the terminal to unlock according to the screen unlocking configuration file. According to the method disclosed by the embodiment, the screen unlocking configuration file can be generated according to the icon layout information on the desktop before the screen is locked, and the terminal unlocks the screen according to the screen unlocking configuration file, so that the screen unlocking form is enriched, the interestingness of terminal unlocking is improved, and the personalized requirements of users are met.
Drawings
FIG. 1 is a flowchart illustrating steps of a method for controlling unlocking of a terminal screen according to the present invention;
fig. 2 is a schematic diagram illustrating the transmission of an unlocking instruction in the method according to the present invention;
FIG. 3 is a schematic diagram of a home position point and a target position point of a desktop icon in the method provided by the present invention;
FIG. 4 is a schematic diagram illustrating a distance between a home position point and a target position point of a desktop icon in the method provided by the present invention;
FIG. 5 is a functional block diagram of a control system for unlocking a terminal screen provided by the present invention;
fig. 6 is a schematic structural diagram of the smart device provided in the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer and clearer, the present invention is further described in detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
As used herein, the singular forms "a", "an", "the" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms "comprises" and/or "comprising," when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof. It will be understood that when an element is referred to as being "connected" or "coupled" to another element, it can be directly connected or coupled to the other element or intervening elements may also be present. Further, "connected" or "coupled" as used herein may include wirelessly connected or wirelessly coupled. As used herein, the term "and/or" includes all or any element and all combinations of one or more of the associated listed items.
It will be understood by those skilled in the art that, unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. It will be further understood that terms, such as those defined in commonly used dictionaries, should be interpreted as having a meaning that is consistent with their meaning in the context of the prior art and will not be interpreted in an idealized or overly formal sense unless expressly so defined herein.
When a screen in the prior art is unlocked, a fixed unlocking mode is usually adopted, the requirements on intelligence and various types of intelligent terminals are higher as users increasingly rely on the intelligent terminals, and the fixed unlocking mode cannot provide a user-defined unlocking mode for the users, so that the requirements of the users on intellectualization and individualization of terminal equipment cannot be met.
In order to solve the problem of single screen unlocking mode, the invention provides a terminal screen unlocking control method, which utilizes the diversity of desktop icons to realize that each unlocking animation changes along with the change of the desktop icons, thereby meeting the individualized requirements of users on the unlocking animation, and because the animation corresponds to the information of the desktop icons during each unlocking, the unlocking animation changes along with the change of the desktop icons when the users layout the desktop icons according to the preference, enriching the unlocking mode and providing the intelligence of equipment.
Specifically, according to the terminal screen unlocking control method provided by the embodiment, after a screen unlocking instruction is received, the position information of the desktop icons is obtained, animation information is set according to the position information of each desktop icon, an unlocking configuration file is generated for the animation information according to the set animation information, and finally, the screen locking is controlled according to the unlocking configuration file. The moving position and the moving time of the animation information are different according to the difference of the coordinate position of each desktop icon, so that the generated animation information is different, and the requirement of diversification of unlocking animations of users is met.
The terminal screen unlocking control method provided by the embodiment can be applied to various terminal devices with a screen locking function, such as mobile phones, tablet computers, televisions and the like. Taking a mobile phone as an example, the screen unlocking control method may be specifically executed by a server, or may be executed when the method is specially used for screen unlocking.
Exemplary method
As shown in fig. 1, the present embodiment provides a terminal screen unlocking control method, as shown in fig. 1, the method includes:
and step S1, receiving a screen unlocking instruction, and responding to the screen unlocking instruction to acquire the position information of the desktop icon.
And when the terminal equipment receives a screen unlocking instruction, acquiring the position information of the current desktop icon. The position information of the desktop icon is coordinate information of the desktop icon, specifically, a screen coordinate system is established on the screen, the screen coordinate system takes the lower right corner of the screen as a coordinate origin, and takes an X axis and a Y axis which are parallel to the side edge and the bottom edge of the screen as coordinates respectively, and are defined by screen pixels.
And when a screen unlocking instruction is received, acquiring the coordinates of each desktop icon on the desktop in a screen coordinate system. Specifically, with reference to fig. 2, the step of receiving a screen unlocking instruction and obtaining the position information of the desktop icon in response to the screen unlocking instruction includes:
step S11, after receiving a screen unlocking instruction, sending the screen unlocking instruction to a desktop through AIDL communication;
and step S12, traversing each desktop icon on the desktop, and acquiring the position coordinates of each desktop icon and the screen center point coordinates of the desktop.
The method comprises the steps that a user sends a screen unlocking instruction through a touch screen, the screen unlocking instruction can be sliding unlocking or can be realized by inputting an unlocking password and the like, and therefore after a UI (user interface) of the terminal device receives the screen unlocking instruction, the screen unlocking instruction is sent to a desktop through a system UI process in a remote service agent mode through an AIDL (aid directory language) communication channel, unlocking is added into the desktop process in a similar implementation method mode, and finally unlocking of the screen is achieved. Therefore, after the unlocking is added to the desktop process, the desktop process first acquires the icon layout information on the current desktop. The specific layout information of the desktop icon is also the position information of each desktop icon and the position information of the central point of the desktop on the current terminal main interface.
Specifically, before the position information of each desktop icon is acquired, a screen coordinate system is established, and coordinate values of each desktop icon and coordinate values of a desktop center point are obtained in the screen coordinate system.
Step S2, determining the moving time and the moving track of each desktop icon in the screen unlocking process according to the position information of each desktop icon; the moving time is the time used by each desktop icon to move from a target position point to a home position point, and the moving track is the distance between the target position point and the home position point.
And according to the position information of each desktop icon obtained in the step, the moving track and the moving time of each desktop icon. In an embodiment, with reference to fig. 3 and 4, the target position point P2 corresponding to each desktop icon is located on a connecting line between the home position point P1 and the desktop center point P, and the target position point P2 is symmetrically arranged with respect to the desktop center point P, that is, the target position point is located on an opposite extension line of the connecting line between the home position point and the desktop center point, and the distance from the desktop center point is twice as long as the home position point.
In an embodiment, the step of determining the moving time and the moving track of each desktop icon in the screen unlocking process according to the position information of each desktop icon includes:
and step S21, determining a target position point according to the distance between the original position point and the screen center point of each desktop icon and the connecting line between the original position point and the screen center point.
As shown in fig. 3 and 4, since the target position point is on the connecting line of the home position point and the screen center point, the target position point, the home position point and the screen center point are on the same straight line, and the distance between the target position point and the home position point is equal to the distance between the home position point and the screen center point, the target position point of each desktop icon can be determined according to the known home position point and screen center point.
Specifically, the step of determining the target position point according to the distance between the original position point and the screen center point of each desktop icon and the connecting line between the original position point and the screen center point includes:
sequentially connecting the original position point of each desktop icon with the central point of the screen to obtain a connecting line corresponding to each desktop icon;
and taking the original position point as a central point and the screen central point as a symmetrical point to obtain target position points corresponding to the original position points on the connecting lines.
In order to obtain the accurate position of the target position point, the original position point of the desktop icon is connected with the central point of the screen, the connecting line of the original position point and the central point of the screen is obtained, and the connecting line is prolonged to obtain the target position point on the connecting line.
And step S22, calculating the moving distance corresponding to the moving track according to the target position point.
And calculating the required moving distance of each desktop icon in the unlocking animation based on the target position point, and calculating the moving distance between the target position point and the original position point. As shown in fig. 4, if the moving distance is the same as the distance between the original position point and the center point of the screen in the figure, the moving distance can be calculated according to the coordinate values of the original position point and the center point of the screen.
And step S23, calculating the moving speed or moving time of each desktop icon according to the moving track and the preset animation maximum time length.
And calculating the moving speed and the moving time of each desktop icon in the moving process according to the moving distance calculated in the step S22 and the preset maximum duration of the unlocking animation.
In order to achieve a better animation effect, the moving speed of each desktop icon from the target position point to the original position point is controlled to be the same, or the moving time used for each desktop icon from the target position point to the original position point is controlled to be the same. If the control moving speed is the same, the moving time of each desktop icon is different due to different moving distances. If the control moving time is the same, since the moving speed between the target position point and the home position point is different according to the distance between the target position point and the home position point, in order to achieve the synchronization of the moving tracks of the desktop icons in the moving process, in one embodiment, the desktop icons are controlled to move from the target position point to the home position point within the same moving speed.
And step S3, determining animation information corresponding to each desktop icon in the screen unlocking process according to the moving time, the moving track, the preset zoom times and the change range of the transparent value.
And controlling each desktop icon to move from the target position point to the original position point within the moving time according to the moving time, the moving track, the preset zoom factor and the preset transparent value change range obtained in the step, and determining animation information of each desktop icon according to the preset zoom factor and the preset transparent value change range in the moving process.
Specifically, the step of determining the animation information corresponding to each desktop icon in the screen unlocking process according to the moving time, the moving track, the preset zoom factor and the change range of the transparent value comprises the following steps:
traversing the sub-controls of each desktop icon, and controlling each desktop icon to move from a target position to an original position point within the moving time when an unlocking instruction is received;
setting the zoom factor and the change transparency value of each desktop icon in the animation process according to the preset zoom factor and the change range of the transparency value;
and generating animation information corresponding to each desktop icon according to the moving track, the icon scaling times and the change transparency value.
In one control mode, the preset zoom factor is changed from large to small, and the preset transparency value is changed in a range from 0 to 1, for example: and each desktop icon is controlled to change in a change range of 2 times of the original icon and 0.2 to 1 of the transparency value of the desktop icon, so that the animation information of each desktop icon is obtained.
And step S4, generating screen-off configuration files according to the animation information corresponding to each desktop icon, and controlling the terminal to unlock according to the screen-off configuration files.
And generating an unlocking configuration file according to the animation information of each desktop icon obtained in the step, and executing corresponding unlocking operation according to the configuration unlocking file, so that each time the unlocking animation is generated according to the layout mode of the current desktop icon, if the desktop icons are changed, the unlocking animations are different, the diversity of the animation in the unlocking process is enriched, and the unlocking animation is different based on the difference of the desktop icons, so that the unlocking configuration file has vivid personality, and meets the requirement of a user on the diversity and intelligence of the unlocking process.
The screen-unlocking configuration file comprises: and the control attributes corresponding to the desktop icons comprise: unlocking the animation mode;
the step of generating the screen-off configuration file according to the animation information corresponding to each desktop icon comprises the following steps:
generating an unlocking animation mode corresponding to each desktop according to the animation information corresponding to each desktop icon;
the unlocking animation mode comprises the following steps:
controlling each desktop icon to move from a target position to a home position point along the connecting line within the moving time;
and simultaneously controlling the zoom times of the desktop icons to be the same, wherein the desktop icons are all greatly reduced, and the change transparency values of the desktop icons are changed from small to large.
Further, after the step of sending the screen unlocking instruction to the desktop through aid id communication after receiving the screen unlocking instruction, the method further includes:
and responding to the unlocking instruction, and adding the animation information corresponding to each desktop icon into the desktop process.
In order to further explain the method disclosed by the present invention, the following takes the terminal device as a mobile phone as an example to explain the embodiment.
And when the client triggers unlocking, informing the server of responding by a desktop.
1. Client SystemUI
The interface is as follows ioverviewproxy.aidl file:
void onSystemUiUnlock(int stateFlags) = 19。
2. server Launcher
Java as a service
@Override public void onSystemUiUnlock(int i) throws RemoteException {
}
2. And (4) desktop unlocking animation algorithm.
Step1, when receiving an unlocking message sent by the client, the desktop process starts to traverse all icons of the current interface. And circularly traversing all desktop icon child controls, and playing a displacement animation (translation X, translation Y), a scaling animation (scaleX, scaleY) 1.5-1 and a transparent value animation alpha (0-1) on each child control.
Specifically, the coordinates of the target position point of the icon in the screen, which is centered on the coordinates of the center point of the icon, are calculated, as shown in fig. 3 and 4, the center point of the screen is P, the original position P1 of the desktop icon is taken as the center point, and the target position point P2 corresponding to the coordinates P of the center point of the screen is taken as the center point P1.
In the unlocking animation, the icon is first shifted to the P2 position and then to the P1 position in an animated manner. Animation time value: for example, a maximum animation duration of 400 milliseconds may be required because each icon is located at a different distance from the center point.
Diagonal distance D, distance m from icon P1 to screen center P, then the animation duration for each desktop icon is calculated as D =400 × m/D screen diagonal. Then other icons also play the animation according to this algorithm and so on, animating all icons.
And simultaneously setting the size of each desktop icon with the animation initial value of 1.3 to be scaled to the original size, namely 1 scaling animation, wherein the animation initial value of the transparency value is changed between 0 and 1.
According to the method disclosed by the embodiment, in order to improve the diversity of the terminal equipment during unlocking and avoid singleness, a method for generating the unlocking animation based on the current desktop icon is provided, and due to the fact that the layout of the icons in the desktop of each user is different, different unlocking animations can be generated, and on the premise that the personalized design of the user is met, the diversity of the unlocking animation is increased.
Exemplary device
On the basis of disclosing the above method, the present embodiment discloses a control system for unlocking a terminal screen, as shown in fig. 5, including:
the instruction response module 510 is configured to receive a screen unlocking instruction, receive the screen unlocking instruction, and obtain position information of a desktop icon in response to the screen unlocking instruction; the function of which is as described in step S1;
the distance calculation module 520 is configured to determine a moving time and a moving track of each desktop icon in the screen unlocking process according to the position information of each desktop icon; the moving time is the time used by each desktop icon to move from a target position point to an original position point, and the moving track is the distance between the target position point and the original position point; the function of which is as described in step S2;
the animation configuration module 530 is configured to determine animation information corresponding to each desktop icon in the screen unlocking process according to the movement time and the movement track, and a preset zoom factor and a preset transparent value change range; the function of which is as described in step S3;
and an unlocking display module 540, configured to generate a screen-off configuration file according to the animation information corresponding to each desktop icon, and control the terminal to unlock according to the screen-off configuration file, where the function of the unlocking display module is as described in step S4.
The present embodiment discloses a terminal device, as shown in fig. 6, the terminal device includes a memory 22, a processor 20, and a computer program stored in the memory 22 and executable on the processor 20, and when the processor 20 executes the computer program, the steps of implementing the terminal screen unlocking control method are executed.
Further, the terminal device includes at least one processor 20 (processor) and a memory 22 (memory), and may further include a display 21, a communication Interface 23 (Communications Interface), and a bus 24. The processor 20, the display 21, the memory 22 and the communication interface 23 can communicate with each other through the bus 24. The display screen 21 is configured to display a user guidance interface preset in the initial setting mode. The communication interface 23 may transmit information. The processor 20 may invoke logic instructions in the memory 22 to perform the steps of the detection method of the fingerprint recognition function in the above embodiments.
In addition, the logic instructions in the memory may be implemented in the form of software functional units and may be stored in a computer readable storage medium when sold or used as a stand-alone product.
The memory, which is a computer-readable storage medium, may be configured to store a software program, a computer-executable program, such as program instructions or modules corresponding to the methods in the embodiments of the present disclosure. The processor executes the functional application and data processing by executing the software program, instructions or modules stored in the memory, that is, implements the method in the above embodiments.
The memory may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the use of the terminal device, and the like. In addition, the memory may include high speed random access memory, and may also include non-volatile memory. For example, a variety of media that can store program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk, may also be transient storage media.
In another aspect, a computer-readable storage medium stores one or more programs, and the one or more programs are executable by one or more processors to implement the steps of the terminal screen unlock control method.
According to the control method, the system, the equipment and the storage medium for unlocking the terminal screen, when the terminal receives a screen unlocking instruction, position information of a desktop icon is obtained in response to the screen unlocking instruction; determining the moving time and the moving track of each desktop icon in the screen unlocking process according to the position information of each desktop icon; and determining animation information corresponding to each desktop icon in the screen unlocking process according to the moving time and the moving track, the preset zoom multiple and the change range of the transparent value, generating a screen unlocking configuration file according to the animation information corresponding to each desktop icon, and controlling the terminal to unlock according to the screen unlocking configuration file. According to the method disclosed by the embodiment, the screen unlocking configuration file can be generated according to the icon layout information on the desktop before the screen is locked, and the terminal unlocks the screen according to the screen unlocking configuration file, so that the screen unlocking form is enriched, the interestingness of terminal unlocking is improved, and the personalized requirements of users are met.
It should be understood that equivalents and modifications of the technical solution and inventive concept thereof may occur to those skilled in the art, and all such modifications and alterations should fall within the scope of the appended claims.

Claims (10)

1. A terminal screen unlocking control method is characterized by comprising the following steps:
receiving a screen unlocking instruction, and responding to the screen unlocking instruction to acquire position information of a desktop icon;
determining the moving time and the moving track of each desktop icon in the screen unlocking process according to the position information of each desktop icon; the moving time is the time used by each desktop icon to move from a target position point to an original position point, and the moving track is the distance between the target position point and the original position point;
determining animation information corresponding to each desktop icon in the screen unlocking process according to the moving time and the moving track, the preset zoom times and the change range of the transparent value;
and generating a screen-off configuration file according to the animation information corresponding to each desktop icon, and controlling the terminal to unlock according to the screen-off configuration file.
2. The method of claim 1, wherein the step of receiving a screen unlock instruction and obtaining position information of a desktop icon in response to the screen unlock instruction comprises:
after receiving a screen unlocking instruction, sending the screen unlocking instruction to a desktop through AIDL communication;
and traversing each desktop icon on the desktop, and acquiring the position coordinates of each desktop icon and the screen center point coordinates of the desktop.
3. The method of claim 2, wherein the step of determining the moving time and the moving track of each desktop icon in the screen unlocking process according to the position information of each desktop icon comprises:
determining a target position point according to the distance between the original position point of each desktop icon and the central point of the screen and a connecting line between the original position point and the central point of the screen;
determining a moving track according to the target position point;
and calculating the moving speed or moving time of each desktop icon according to the moving track and the preset animation maximum duration.
4. The method of claim 3, wherein the step of determining the target position point according to the distance between the home position point and the center point of the screen of each desktop icon and the connecting line between the home position point and the center point of the screen comprises:
sequentially connecting the original position point of each desktop icon with the central point of the screen to obtain a connecting line corresponding to each desktop icon;
and taking the original position point as a central point and the screen central point as a symmetrical point to obtain target position points corresponding to the original position points on the connecting lines.
5. The method of claim 4, wherein the step of determining animation information corresponding to each desktop icon in the screen unlocking process according to the moving time and the moving track, and the preset zoom factor and the change range of the transparent value comprises:
traversing the sub-controls of each desktop icon, and controlling each desktop icon to move from a target position to an original position point within the moving time when an unlocking instruction is received;
setting the zoom factor and the change transparency value of each desktop icon in the animation process according to the preset zoom factor and the change range of the transparency value;
and generating animation information corresponding to each desktop icon according to the moving track, the icon scaling times and the change transparency value.
6. The method of claim 5, wherein the screen-release profile comprises: and the control attributes corresponding to the desktop icons comprise: unlocking the animation mode;
the step of generating the screen-off configuration file according to the animation information corresponding to each desktop icon comprises the following steps:
generating an unlocking animation mode corresponding to each desktop according to the animation information corresponding to each desktop icon;
the unlocking animation mode comprises the following steps:
controlling each desktop icon to move from a target position to a home position point along the connecting line within the moving time;
and simultaneously controlling the zoom times of the desktop icons to be the same, wherein the desktop icons are all greatly reduced, and the change transparency values of the desktop icons are changed from small to large.
7. The method according to claim 6, wherein after the step of sending the screen unlocking instruction to the desktop through AIDL communication after receiving the screen unlocking instruction, the method further comprises:
and responding to the unlocking instruction, and adding the animation information corresponding to each desktop icon into the desktop process.
8. A control system for unlocking a terminal screen is characterized by comprising:
the command response module is used for receiving a screen unlocking command, receiving the screen unlocking command and responding to the screen unlocking command to acquire the position information of the desktop icon;
the distance calculation module is used for determining the moving time and the moving track of each desktop icon in the screen unlocking process according to the position information of each desktop icon; the moving time is the time used by each desktop icon to move from a target position point to an original position point, and the moving track is the distance between the target position point and the original position point;
the animation configuration module is used for determining animation information corresponding to each desktop icon in the screen unlocking process according to the moving time, the moving track, the preset zoom multiple and the change range of the transparent value;
and the unlocking display module is used for generating screen unlocking configuration files according to the animation information corresponding to each desktop icon and controlling the terminal to unlock according to the screen unlocking configuration files.
9. A terminal device, characterized in that the terminal device comprises a memory, a processor and a computer program stored in the memory and operable on the processor, and the processor executes the computer program to execute the steps of implementing the terminal screen unlocking control method according to any one of the preceding claims 1-7.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program which, when executed by a processor, implements the steps of the terminal screen unlock control method according to any one of claims 1 to 7.
CN202110302075.5A 2021-03-22 2021-03-22 Terminal screen unlocking control method, system, equipment and storage medium Active CN112835487B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110302075.5A CN112835487B (en) 2021-03-22 2021-03-22 Terminal screen unlocking control method, system, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110302075.5A CN112835487B (en) 2021-03-22 2021-03-22 Terminal screen unlocking control method, system, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN112835487A true CN112835487A (en) 2021-05-25
CN112835487B CN112835487B (en) 2022-08-02

Family

ID=75930382

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110302075.5A Active CN112835487B (en) 2021-03-22 2021-03-22 Terminal screen unlocking control method, system, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112835487B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102624975A (en) * 2011-06-30 2012-08-01 北京小米科技有限责任公司 Method for unlocking mobile terminal
CN103853485A (en) * 2012-12-07 2014-06-11 腾讯科技(深圳)有限公司 Touch screen unlocking method and terminal
CN104424444A (en) * 2013-09-06 2015-03-18 中兴通讯股份有限公司 Processing method, device and terminal for hidden folder
CN111176504A (en) * 2019-12-18 2020-05-19 华为技术有限公司 Interface element display method and electronic equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102624975A (en) * 2011-06-30 2012-08-01 北京小米科技有限责任公司 Method for unlocking mobile terminal
CN103853485A (en) * 2012-12-07 2014-06-11 腾讯科技(深圳)有限公司 Touch screen unlocking method and terminal
CN104424444A (en) * 2013-09-06 2015-03-18 中兴通讯股份有限公司 Processing method, device and terminal for hidden folder
CN111176504A (en) * 2019-12-18 2020-05-19 华为技术有限公司 Interface element display method and electronic equipment

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
冰: "《"锁屏和解锁后都会:/ 显示第一页的图标,隔断时间就会这样","冰",链接:4kA锁屏和解锁后都会:/ 显示第一页的图标,隔断时间就会这样 https://v.douyin.com/RK1KaVs/ 复zhi此链接,打开抖吟搜索,矗接观看视频!》", 《"锁屏和解锁后都会:/ 显示第一页的图标,隔断时间就会这样","冰",链接:4KA锁屏和解锁后都会:/ 显示第一页的图标,隔断时间就会这样 HTTPS://V.DOUYIN.COM/RK1KAVS/ 复ZHI此链接,打开抖吟搜索,矗接观看视频!》 *
极客村长: "《4n-历代MIUI版本解锁动画/图标演示,哪个更好看? https://v.douyin.com/RK1mKGy/ 鳆制此鏈接,打开抖音搜索,直接觀看視频!》", 《4N-历代MIUI版本解锁动画/图标演示,哪个更好看? HTTPS://V.DOUYIN.COM/RK1MKGY/ 鳆制此鏈接,打开抖音搜索,直接觀看視频!》 *

Also Published As

Publication number Publication date
CN112835487B (en) 2022-08-02

Similar Documents

Publication Publication Date Title
CA2813172C (en) Multiple-access-level lock screen
RU2582854C2 (en) Method and device for fast access to device functions
US10416783B2 (en) Causing specific location of an object provided to a device
CN106462373B (en) Method and system for dynamic display of video communication data
US20230027523A1 (en) Display control method and terminal device
CN113360116A (en) Method, device and equipment for controlling terminal and storage medium
CN110083486B (en) Method, apparatus and recording medium for interacting with external terminal
US20150007089A1 (en) Method and apparatus for processing inputting of character
CN105005443B (en) A kind of application open method and mobile terminal
CN104794412A (en) Information input method and device and mobile terminal
CN105824534B (en) A kind of information processing method and electronic equipment
CN112835487B (en) Terminal screen unlocking control method, system, equipment and storage medium
CN105678144A (en) Screen unlocking method and device and electronic equipment
CN106940620A (en) Control the method and mobile terminal of mobile terminal
CN109643245B (en) Execution of task instances associated with at least one application
CN112380520A (en) Screen unlocking method and device, storage medium and mobile terminal
CN113569221B (en) Unlocking method, system and terminal
CN104298907A (en) Information processing method and electronic equipment
CN111710011B (en) Cartoon generation method and system, electronic device and medium
CN112908329B (en) Voice control method and device, electronic equipment and medium
CN111766986B (en) Method and device for performing touch operation on terminal
CN105260633B (en) A kind of intelligent terminal unlocking screen method and system based on multi-point touch
KR20230073296A (en) Group user migration method and device, and device and storage medium
CN115578623A (en) Model training method and device, detection method and device, equipment and storage medium
KR20230154786A (en) Interaction methods between display devices and terminal devices, storage media, and electronic devices

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