Unlocking interface control method and device of terminal equipment and terminal equipment
By receiving the unlock screen trigger operation on the terminal device, determining the trajectory position and displaying the unlock screen, the problem of inconvenient unlock screen on large-screen terminal devices is solved, improving the user's ease of operation and experience.
Patent Information
- Application Number
- CN202210589443.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-05-26
- Publication Date
- 2025-12-12
- Estimated Expiration
- 2042-05-26
AI Technical Summary
When users use large-screen smart terminal devices, the unlock interface is often not located in the area that the user can operate, making the unlocking operation inconvenient and affecting the user experience.
By receiving the trigger operation of the unlock interface, the trajectory position of the trigger operation on the terminal device display screen is determined, and the unlock interface is displayed in the area corresponding to the trajectory position. The area to be displayed is determined by using hot zone division or center point coordinates.
This avoids the problem of the unlock interface display area not matching the user's operable area, thus improving the convenience and user experience of unlocking the terminal device.
Smart Images

Figure CN114860144B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present disclosure relates to the technical field of terminal devices, and in particular, to a terminal device unlocking interface control method and device and a terminal device. BACKGROUND
[0002] Generally, when using a smart display terminal such as a mobile phone or tablet computer, most users operate the touch screen with one hand. With the development of technology, the screen size of the smart display terminal is large. When unlocking the screen, the location of the unlocking interface is not in the operable area of the user's operating hand, which causes the user's unlocking operation to be inconvenient and affects the user experience. SUMMARY
[0003] To overcome the problems in the related art, the present disclosure provides a terminal device unlocking interface control method and device and a terminal device.
[0004] According to a first aspect of an embodiment of the present disclosure, a terminal device unlocking interface control method is provided, comprising:
[0005] receiving a trigger operation for entering an unlocking interface;
[0006] determining a trajectory position of the trigger operation on a display screen of the terminal device;
[0007] displaying the unlocking interface in a region of the display screen corresponding to the trajectory position.
[0008] In some embodiments of the present disclosure, the displaying the unlocking interface in the region of the display screen corresponding to the trajectory position comprises:
[0009] determining a to-be-displayed region of the unlocking interface from the display screen according to the trajectory position;
[0010] displaying the unlocking interface in the to-be-displayed region.
[0011] As a possible implementation manner, the determining the to-be-displayed region of the unlocking interface from the display screen according to the trajectory position comprises:
[0012] determining a current display mode of the terminal device;
[0013] dividing the display screen into a plurality of hot regions according to the display mode based on a preset hot region division manner;
[0014] determining a target hot region corresponding to the trajectory position from the plurality of hot regions, and determining the to-be-displayed region according to the target hot region.
[0015] As an example, the method further comprises:
[0016] determining a start position of the trigger operation in response to the trajectory position corresponding to at least two hot areas;
[0017] The determining of the target hot area from the plurality of hot areas corresponding to the trajectory position comprises:
[0018] determining a target hot area corresponding to the start position from the at least two hot areas.
[0019] As another example, the method further comprises:
[0020] determining at least two first hot areas from the plurality of hot areas corresponding to the trajectory position in response to the trajectory position corresponding to at least two hot areas;
[0021] determining a length proportion of a sliding trajectory of the trigger operation falling into each of the first hot areas according to the trajectory position;
[0022] The determining of the target hot area from the plurality of hot areas corresponding to the trajectory position comprises:
[0023] taking the first hot area corresponding to the maximum value in the length proportion as the target hot area.
[0024] As another possible implementation, the determining of the to-be-displayed area of the unlock interface from the display screen according to the trajectory position comprises:
[0025] determining a coordinate of a first center point from the display screen according to the trajectory position; the coordinate of the first center point is a coordinate in a coordinate system established based on the display screen;
[0026] determining the to-be-displayed area according to the coordinate of the first center point and a size of the unlock interface.
[0027] In some embodiments of the present disclosure, after the unlock interface is displayed in the area of the display screen corresponding to the trajectory position, the method further comprises:
[0028] displaying the unlock interface in a preset area of the display screen in response to a display mode switching of the terminal device.
[0029] As a possible implementation, the receiving of the trigger operation of entering the unlock interface comprises:
[0030] receiving the trigger operation of entering the unlock interface in response to an opening trigger operation of a moving display function of the unlock interface.
[0031] According to a second aspect of the present disclosure, a terminal device unlock interface control apparatus is provided, comprising:
[0032] The receiving module is used to receive the trigger operation for entering the unlock interface;
[0033] The determining module is used to determine the trajectory position of the triggering operation on the terminal device display screen;
[0034] The first display module is used to display the unlock interface in the area of the display screen corresponding to the trajectory position.
[0035] In some embodiments of this disclosure, the first display module includes:
[0036] A determining unit is configured to determine the area to be displayed for the unlock interface from the display screen based on the trajectory position;
[0037] The display unit is used to display the unlock interface in the display area.
[0038] As one possible implementation, the determining unit is specifically used for:
[0039] Determine the current display mode of the terminal device;
[0040] Based on a preset hot zone division method, the display screen is divided into multiple hot zones according to the display mode;
[0041] The target hot zone corresponding to the trajectory position is determined from the plurality of hot zones, and the area to be displayed is determined based on the target hot zone.
[0042] As an example, the determining unit is also used for:
[0043] In response to the trajectory position corresponding to at least two hot zones, the starting position of the triggering operation is determined;
[0044] Determine the target hot zone corresponding to the starting position from the at least two hot zones.
[0045] As another example, the determining unit is also used for:
[0046] In response to the trajectory position corresponding to at least two hot zones, at least two first hot zones corresponding to the trajectory position are determined from the plurality of hot zones;
[0047] Based on the trajectory position, determine the percentage of the length of the sliding trajectory of the triggering operation that falls into each of the first hot zones;
[0048] The first hot zone corresponding to the maximum value among the length percentages is taken as the target hot zone.
[0049] As another possible implementation, the determining unit is specifically used for:
[0050] determining a coordinate of a first center point from the display screen according to the trajectory position; the coordinate of the first center point is a coordinate in a coordinate system established based on the display screen;
[0051] determining the to-be-displayed area according to the coordinate of the first center point and a size of the unlocking interface.
[0052] In some embodiments of the present disclosure, the apparatus further includes:
[0053] a second display module, configured to, after displaying the unlocking interface in the area corresponding to the trajectory position on the display screen, display the unlocking interface in a preset area on the display screen in response to a display mode switching of the terminal device.
[0054] In some embodiments of the present disclosure, the receiving module is specifically configured to:
[0055] In response to an opening trigger operation of the moving display function of the unlocking interface, receiving a trigger operation of entering the unlocking interface.
[0056] According to a third aspect of the embodiments of the present disclosure, a terminal device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, and the processor implements the method of the first aspect when executing the computer program.
[0057] According to a fourth aspect of the embodiments of the present disclosure, a computer readable storage medium is provided, and the computer readable storage medium stores a computer program, and the computer program is executable on a processor to implement the method of the first aspect.
[0058] According to a fifth aspect of the embodiments of the present disclosure, a computer program product is provided, including a computer program, and the computer program is executable on a processor to implement the method of the first aspect.
[0059] The technical solutions provided by the embodiments of the present disclosure can have the following beneficial effects: by receiving a trigger operation of entering the unlocking interface, determining a trajectory position of the trigger operation on the display screen of the terminal device, and displaying the unlocking interface in an area corresponding to the trajectory position on the display screen, the unlocking interface is displayed in an area corresponding to the trajectory position of the trigger operation, which can avoid the problem that the display area of the unlocking interface does not conform to the operable area of the user, and the user can perform the unlocking operation on the terminal device with a larger display screen within the range of the operation hand without other operations, thereby improving the convenience of the user in performing the unlocking operation on the terminal device, and improving the user experience of the terminal device.
[0060] It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure. BRIEF DESCRIPTION OF DRAWINGS
[0061] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and serve to explain the principles of the present application, in which, like reference numerals designate corresponding parts throughout the several views.
[0062] Figure 1 is a flowchart of a method for controlling an unlock interface of a terminal device according to an exemplary embodiment;
[0063] Figure 2 is a flowchart of another method for controlling an unlock interface of a terminal device according to an exemplary embodiment;
[0064] Figure 3 is a flowchart of yet another method for controlling an unlock interface of a terminal device according to an exemplary embodiment;
[0065] Figure 4 is an example diagram of a hot zone division method according to an exemplary embodiment;
[0066] Figure 5 is an example diagram of a trajectory position corresponding to at least two hot zones according to an exemplary embodiment;
[0067] Figure 6 is a flowchart of yet another method for controlling an unlock interface of a terminal device according to an exemplary embodiment;
[0068] Figure 7 is a flowchart of yet another method for controlling an unlock interface of a terminal device according to an exemplary embodiment;
[0069] Figure 8a is an example diagram of an unlock interface display corresponding to a left-side up-swipe trigger method; Figure 8b is an example diagram of an unlock interface display corresponding to a middle up-swipe trigger method; Figure 8c is an example diagram of an unlock interface display corresponding to a right-side up-swipe trigger method;
[0070] Figure 9 is a block diagram of a device for controlling an unlock interface of a terminal device according to an exemplary embodiment;
[0071] Figure 10 is a block diagram of a terminal device according to an exemplary embodiment. DETAILED DESCRIPTION
[0072] The exemplary embodiments will be described in detail herein with reference to the attached drawings. In the following description, like reference numerals refer to like elements throughout the description. The following exemplary embodiments are not representative of all embodiments consistent with the present disclosure. Rather, they are merely examples of apparatuses and methods consistent with some aspects of the present disclosure as detailed in the appended claims.
[0073] It should be noted that generally, when a user uses a smart display terminal such as a mobile phone, a tablet computer, etc., most users operate the touch screen by one hand. With the development of technology, the screen size of the smart display terminal is larger, and when the user performs screen unlocking, the location of the unlocking interface is not in the operable area of the user's operating hand, which causes the user's unlocking operation to be inconvenient and affects the user experience.
[0074] To solve the above problems, the present disclosure provides a terminal device unlocking interface control method, device and terminal device.
[0075] Figure 1 FIG. 1 is a flowchart of a terminal device unlocking interface control method according to an exemplary embodiment. It should be noted that the terminal device unlocking interface control method in the present embodiment can be used in the terminal device unlocking interface control device in the present embodiment, and the terminal device unlocking interface control device in the present embodiment can be configured in the terminal device. The terminal device unlocking interface control method in the present embodiment can be used in a terminal device, such as a mobile phone, a tablet computer, a smart device equipped with a folding screen, and the like. As shown in FIG. 1, the method can include the following steps. Figure 1
[0076] Step 101, receiving a trigger operation for entering an unlocking interface.
[0077] Generally, when a user uses a terminal device with touch display function, the user first needs to unlock the terminal device to enter the relevant function page of the terminal device. The trigger operation for entering the unlocking interface refers to the user's trigger operation on the display screen of the terminal device before entering the unlocking interface after waking up the display screen of the terminal device, such as an upward sliding operation, a downward sliding operation, etc. The unlocking interface can be a numerical password unlocking input interface, a pattern unlocking input interface, etc.
[0078] Step 102, determining the trajectory position of the trigger operation on the display screen of the terminal device.
[0079] That is, a sliding track of the trigger operation on the terminal device display screen and relative position information of the sliding track relative to the display screen are determined.
[0080] In some embodiments of the present disclosure, a coordinate system based on the terminal device display screen can be established, and when the trigger operation for entering the unlock interface is received, the coordinate of the starting touch point is determined, and the coordinates of each point in the sliding track of the trigger operation are determined following the sliding track, so that the track position of the trigger operation on the display screen can be determined.
[0081] Step 103: The unlock interface is displayed in the area corresponding to the track position on the display screen.
[0082] The area corresponding to the track position can be the area where the track position is located, or can be the unlock interface display area that has a mapping relationship with the track position according to a preset mapping relationship between the track position and the unlock interface display area.
[0083] It can be understood that the track position corresponding to the trigger operation for entering the unlock interface is a position that can be reached by the operating hand of the user holding the terminal device, so the unlock interface can be displayed in the area corresponding to the track position on the display screen, that is, the unlock interface is displayed following the track position of the trigger operation, so that the problem that the operation of the user on the unlock interface is not in the area that can be reached by the operating hand of the user can be avoided, and thus the user can be more convenient in the unlocking operation of the unlock interface.
[0084] In some embodiments of the present disclosure, a large amount of statistical analysis can be performed on the track position of the trigger operation for entering the unlock interface, so as to divide the display screen into a plurality of hot areas according to the distribution of the track position, the size of each hot area is consistent with the size of the unlock interface, and each hot area corresponds to its coordinate range relative to the display screen, so that the target hot area where the track position is located can be determined according to the track position of the trigger operation on the display screen, and the unlock interface is displayed in the target hot area.
[0085] In some embodiments of the present disclosure, the center of the sliding track of the trigger operation on the display screen can be determined according to the track position of the trigger operation on the display screen, the coordinate of the center of the sliding track in the coordinate system of the display screen is determined, and the display area of the unlock interface in the display screen is determined according to the size of the unlock interface and the coordinate of the center of the sliding track in the coordinate system of the display screen, and the unlock interface is displayed in the display area.
[0086] It should be noted that after step 103, if the display module of the terminal device is switched, the display of the unlocking interface will also be affected. The display mode switching can refer to switching the terminal device from the horizontal screen display to the vertical screen display, or switching the terminal device from the vertical screen display to the horizontal screen display. In order to enable the unlocking interface to be normally displayed, after step 103, the method can further include: in response to the display mode switching of the terminal device, displaying the unlocking interface in a preset area of the display screen. The preset area of the display screen refers to a default area for displaying the unlocking interface, such as being displayed in the center of the display screen.
[0087] It should be further noted that some terminal devices are equipped with fingerprint unlocking or face recognition unlocking functions, and generally, when the fingerprint unlocking fails or the face recognition unlocking fails, the password unlocking interface or the pattern unlocking interface is automatically entered. In this case, the user does not need to trigger to enter the password unlocking interface or the pattern unlocking interface, so the area of the unlocking interface display cannot be determined according to the triggering operation, and therefore, in this case, the unlocking interface can also be displayed in the preset area of the display screen.
[0088] According to the unlocking interface control method of the terminal device provided in the embodiments of the present disclosure, the triggering operation of entering the unlocking interface is received, the trajectory position of the triggering operation on the display screen of the terminal device is determined, and the unlocking interface is displayed in the area corresponding to the trajectory position in the display screen. In this way, the unlocking interface is displayed in the area corresponding to the trajectory position of the triggering operation, which can avoid the problem that the display area of the unlocking interface does not conform to the user operable area, and the user can perform the unlocking operation on the terminal device with a large display screen within the range of the operation hand without other operations, thereby improving the convenience of the user for the unlocking operation of the terminal device and improving the user experience of the terminal device.
[0089] Next, the implementation manner of displaying the unlocking interface in the area corresponding to the trajectory position in the display screen will be described in detail.
[0090] Figure 2 is a flowchart of another unlocking interface control method of a terminal device according to an example embodiment. As shown in Figure 2 , the method includes:
[0091] Step 201, receiving a triggering operation of entering an unlocking interface.
[0092] Step 202, determining a trajectory position of the triggering operation on a display screen of a terminal device.
[0093] Step 203, determining a to-be-displayed area of the unlocking interface from the display screen according to the trajectory position.
[0094] In some embodiments of the present disclosure, the to-be-displayed area of the unlock interface refers to an area of the display screen for displaying the unlock interface. Since the to-be-displayed area of the unlock interface is not a fixed area in the embodiments of the present disclosure, in order to make the to-be-displayed area of the unlock interface be an area that can be reached by the user's operating hand, the to-be-displayed area of the unlock interface can be determined from the display screen according to the position of the track.
[0095] As an implementation, the display screen can be divided into hot areas in a preset manner, and the size of each hot area can be consistent with the size of the unlock interface; the coordinate of the starting point of the sliding track can be determined according to the position of the track, and the target hot area where the starting point of the sliding track is located can be determined, and the target hot area is taken as the to-be-displayed area of the unlock interface.
[0096] As another implementation, the coordinate information of the circumscribed rectangle of the sliding track can be determined according to the position of the track, and the center point coordinate of the circumscribed rectangle can be determined according to the coordinate information of the circumscribed rectangle, the center point coordinate of the circumscribed rectangle is taken as the center point coordinate of the to-be-displayed area, the size of the unlock interface is taken as the size of the to-be-displayed area, and the to-be-displayed area is determined from the display screen. If the to-be-displayed area determined by taking the center point coordinate of the circumscribed rectangle as the center point coordinate of the to-be-displayed area and taking the size of the unlock interface as the size of the to-be-displayed area has exceeded the first boundary of the display screen, the offset of the center point coordinate is determined, the final center point coordinate is determined, and the final center point coordinate is taken as the coordinate of the to-be-displayed area again, the size of the unlock interface is taken as the size of the to-be-displayed area, and the to-be-displayed area of the unlock interface is determined.
[0097] Step 204, displaying the unlock interface in the to-be-displayed area.
[0098] According to the unlock interface control method of the terminal device provided in the embodiments of the present disclosure, the to-be-displayed area of the unlock interface is determined from the display screen according to the position of the track, and the unlock interface is displayed in the to-be-displayed area. In this way, the problem that the display area of the unlock interface does not conform to the user's operable area can be avoided, and the user can perform the unlock operation on the terminal device with a large display screen within the range that can be reached by the user's operating hand without other operations, thereby improving the convenience of the user's unlock operation on the terminal device and improving the user experience of the terminal device.
[0099] Next, the implementation of determining the to-be-displayed area will be described.
[0100] Figure 3 is a flowchart of another unlock interface control method of a terminal device according to an example embodiment. As shown in Figure 3 , the method comprises:
[0101] Step 301, receiving a trigger operation for entering the unlock interface.
[0102] Step 302, determining the track position of the trigger operation on the display screen of the terminal device.
[0103] Step 303, determining the current display mode of the terminal device.
[0104] In some embodiments of the present disclosure, the current display mode of the terminal device can be the display manner of the current interface content of the terminal device, which can include terminal device landscape display, terminal device portrait display, and the like.
[0105] Step 304, dividing the display screen into multiple hot zones according to the display mode based on a preset hot zone division manner.
[0106] It can be understood that in different display modes, the orientation of the display screen is different, so the hot zone division manner is also different.
[0107] In some embodiments of the present disclosure, the hot zone division manner can be obtained based on statistical analysis of the sliding track of the trigger operation of the user entering the unlock interface. For example, clustering analysis can be performed according to the sliding track of the trigger operation of multiple users, and the area with high density indicates that the operation hand of part of the users is reachable in the area, and then the area with high density is divided into a hot zone. The size of each hot zone can be consistent or inconsistent, and the size of each hot zone and the unlock interface can be consistent or inconsistent, which is not limited in the present disclosure.
[0108] As an example, statistical analysis can be performed based on the trigger operation of the user entering the unlock interface of the folding screen mobile phone. Since the trigger manner of the user sliding upward by the finger accounts for the largest proportion, for the landscape display mode, the track position corresponding to the trigger manner of the user sliding upward is counted, and according to the drop point diagram of the track, as shown in FIG. 3B, the display screen is divided into three hot zones of left, middle, and right. Figure 4
[0109] Step 305, determining the target hot zone corresponding to the track position from the multiple hot zones, and determining the to-be-displayed area according to the target hot zone.
[0110] That is, the hot zone into which the track position falls is determined from the multiple hot zones, and the hot zone into which the track position falls is taken as the target hot zone.
[0111] In some embodiments of the present disclosure, each hot zone can correspond to a coordinate range of a coordinate system established based on the display screen, and the track position can include the coordinates of each point in the sliding track. The coordinates of each point in the track position are compared with the coordinate range of each hot zone. If the coordinates of each point in the track position fall into a certain hot zone, the hot zone is taken as the target hot zone.
[0112] In some embodiments of the present disclosure, the trajectory position can correspond to at least two hot zones, such as Figure 5 As shown, a part of the trajectory position falls into the middle-hot zone, and another part of the trajectory position falls into the right-hot zone. In this case, the method can further include: in response to the trajectory position corresponding to at least two hot zones, determining a starting position of triggering the operation; and determining a target hot zone corresponding to the starting position from the plurality of hot zones.
[0113] In some other embodiments of the present disclosure, for the case that the trajectory position corresponds to at least two hot zones, at least two first hot zones corresponding to the trajectory position can also be determined from the plurality of hot zones; a length proportion of the sliding trajectory of triggering the operation falling into each first hot zone can be determined according to the trajectory position; and the first hot zone corresponding to the maximum value in the length proportion can be taken as the target hot zone. The first hot zone refers to the hot zone where the trajectory position falls.
[0114] In addition, the implementation manner of determining the to-be-displayed region according to the target hot zone can include: if the size of the target hot zone is consistent with the size of the unlock interface, the target hot zone can be taken as the to-be-displayed region of the unlock interface; and if the size of the target hot zone is inconsistent with the size of the unlock interface, the center of the target hot zone can be taken as the center of the to-be-displayed region, and the size of the unlock interface can be taken as the size of the to-be-displayed region to determine the to-be-displayed region of the unlock interface.
[0115] As another implementation manner, for the case that the size of the target hot zone is inconsistent with the size of the unlock interface, if the size of the target hot zone is greater than the size of the unlock interface, the center position of the target hot zone can be taken as the center position of the to-be-displayed region, and the size of the unlock interface can be taken as the size of the to-be-displayed region to determine the to-be-displayed region of the unlock interface; and if the size of the target hot zone is less than the size of the unlock interface, the center position of the target hot zone can be taken as the center position of the operation region of the unlock interface in the to-be-displayed region, and the size of the unlock interface can be taken as the size of the to-be-displayed region to determine the to-be-displayed region.
[0116] In step 306, the unlock interface is displayed in the to-be-displayed region.
[0117] The unlock interface control method of the terminal device according to the embodiments of the present disclosure can divide the display screen into hot zones, determine a target hot zone corresponding to the trajectory position from the plurality of hot zones, and determine a to-be-displayed region according to the target hot zone to display the unlock interface in the to-be-displayed region. In this way, the to-be-displayed region of the unlock interface can be determined based on the hot zone corresponding to the trajectory position, which not only enables the unlock interface to be displayed in the region corresponding to the trajectory position, but also enables the display region of the unlock interface to meet the operation habits of most users, thereby improving the convenience of the user in unlocking the terminal device and improving the user experience of the terminal device.
[0118] To meet the operation requirements of different users, the disclosure further provides another way to determine the to-be-displayed region.
[0119] Figure 6 is a flowchart of another unlocking interface control method of a terminal device according to an exemplary embodiment. As shown in Figure 6 the method comprises:
[0120] Step 601: receiving a trigger operation for entering an unlocking interface.
[0121] Step 602: determining a trajectory position of the trigger operation on a display screen of the terminal device.
[0122] Step 603: determining a coordinate of a first center point from the display screen according to the trajectory position; the coordinate of the first center point is a coordinate in a coordinate system established based on the display screen.
[0123] In some embodiments of the disclosure, the first center point can be the center of the trajectory position, the center point of the circumscribed rectangle of the sliding trajectory, or the starting trigger point of the sliding trajectory, and the coordinate corresponding to the center point is determined according to the trajectory position.
[0124] Step 604: determining a to-be-displayed region according to the coordinate of the first center point and the size of the unlocking interface.
[0125] In some embodiments of the disclosure, the coordinate of the first center point can be taken as the coordinate of the center point of the to-be-displayed region, and the size of the unlocking interface can be taken as the size of the to-be-displayed region, so as to determine the to-be-displayed region of the unlocking interface from the display screen.
[0126] In some other embodiments of the disclosure, the coordinate of the first center point is taken as the coordinate of the center point of the to-be-displayed region, and the size of the unlocking interface is taken as the size of the to-be-displayed region, so as to determine the to-be-displayed region. In this case, the to-be-displayed region can exceed the boundary of the display screen. In this case, the coordinate offset of the first center point can be determined according to the length by which the to-be-displayed region exceeds the boundary of the display screen, and the corrected coordinate of the first center point can be determined according to the coordinate of the first center point and the coordinate offset. The to-be-displayed region of the unlocking interface is determined again by taking the corrected coordinate of the first center point as the coordinate of the center point of the to-be-displayed region and taking the size of the unlocking interface as the size of the to-be-displayed region. For example, the to-be-displayed region determined for the first time exceeds the left boundary of the display screen by 2 mm and exceeds the lower boundary of the display screen by 3 mm, so the coordinate offset of the first center point is (+2, +3), and if the coordinate of the first center point is (3, 4), the corrected coordinate of the first center point is (5, 7).
[0127] Step 605: displaying the unlocking interface in the to-be-displayed region.
[0128] According to the unlocking interface control method of the terminal device, the coordinate of the first center point can be determined from the track position in the display screen, and the to-be-displayed area can be determined according to the coordinate of the first center point and the size of the unlocking interface, which is equivalent to determining the to-be-displayed area based on the track position completely, and removing the limitation of the hot area. Instead, the to-be-displayed area is determined based on the track position of the user trigger operation each time, so as to meet the operation habits of different users. The convenience of the user for the unlocking operation of the terminal device can be improved, and the user experience of the terminal device can be improved.
[0129] In addition, since the unlocking interface is displayed according to the track position of the trigger operation, the display of the unlocking interface is realized by the calculation of the terminal device. Therefore, in order to reduce the calculation amount of the terminal device and improve the flexibility of the configuration of the terminal device, the display mode of the unlocking interface can be set through system setting.
[0130] Figure 7 FIG. 7 is a flowchart illustrating another unlocking interface control method of a terminal device according to an example embodiment. As shown in FIG. 7, the method includes the following steps. Figure 7
[0131] In step 701, a trigger operation of entering the unlocking interface is received in response to an opening trigger operation of a moving display function of the unlocking interface.
[0132] In some embodiments of the present disclosure, the system setting interface of the terminal device includes a setting component of the moving display function of the unlocking interface, and the user can set the moving display function of the unlocking interface based on the demand. If the user opens the moving display function of the unlocking interface, the unlocking interface will be displayed according to the track position of the trigger operation of entering the unlocking interface. If the user does not open the moving display function of the unlocking interface, the unlocking interface is displayed in the region of the system default display screen.
[0133] In step 702, the track position of the trigger operation on the display screen of the terminal device is determined.
[0134] In step 703, the unlocking interface is displayed in the region corresponding to the track position in the display screen.
[0135] According to the unlocking interface control method of the terminal device, when the moving display function of the unlocking interface is opened, the unlocking interface is displayed in the region corresponding to the track position of the trigger operation, otherwise the unlocking interface is displayed in the default region. This is equivalent to that the user can set based on the demand, and improves the flexible configurability of the display of the unlocking interface. In addition, the resource consumption of the terminal device for the calculation of the display position of the unlocking interface can be avoided when the user does not need the moving display of the unlocking interface, thereby further improving the user experience of the terminal device.
[0136] For the convenience of understanding, the unlocking interface control method of the terminal device of the present disclosure will be introduced in the form of examples. The above sliding is taken as an example to introduce the trigger mode of entering the unlocking interface, and the display screen is divided into three hot zones, i.e., left, middle, and right, as shown in Figure 4 , and the starting point of the gesture of the trigger operation is taken as the basis for determining the area to be displayed. As shown in Figure 8a , for the terminal device in the locked state, if the user slides up on the left side of the display screen, the starting position of the trigger operation can be determined based on the track position of the trigger mode. Since the starting position is located in the divided left-hot zone, the left-hot zone is taken as the area to be displayed of the unlocking interface, i.e., the unlocking interface is displayed in the left area of the display screen. As shown in Figure 8b , if the user slides up in the middle of the display screen, the starting position of the trigger operation can be determined based on the track position of the trigger mode, which is located in the divided middle-hot zone. Therefore, the middle-hot zone can be taken as the area to be displayed of the unlocking interface, i.e., the unlocking interface is displayed in the middle area of the display screen. In addition, if the user enters the unlocking interface through the sliding trigger mode, the unlocking interface can also be displayed in the middle area of the display screen. As shown in Figure 8c , if the user slides up on the right side of the display screen, the starting position of the trigger operation can be determined based on the track position of the trigger mode, which is located in the divided right-hot zone. Therefore, the right-hot zone can be taken as the area to be displayed of the unlocking interface, i.e., the unlocking interface is displayed in the right area of the display screen. In this way, the display area of the unlocking interface can follow the position of the user's up-sliding operation, thereby avoiding the problem that the display area of the unlocking interface is no longer within the user's reach, and improving the convenience of the user in unlocking the terminal device.
[0137] To implement the above-mentioned embodiments, the present disclosure provides an unlocking interface control apparatus of a terminal device.
[0138] Figure 9 is a structural block diagram of an unlocking interface control apparatus of a terminal device according to an exemplary embodiment. As shown in Figure 9 , the apparatus comprises:
[0139] The receiving module 910 is configured to receive a trigger operation for entering an unlocking interface.
[0140] The determining module 920 is configured to determine the track position of the trigger operation on the display screen of the terminal device.
[0141] The first display module 930 is configured to display the unlocking interface in the area of the display screen corresponding to the track position.
[0142] In some embodiments of the present disclosure, the first display module 930 comprises:
[0143] The determining unit 931 is configured to determine, according to the track position, a region to be displayed of the unlocking interface from the display screen.
[0144] The displaying unit 932 is configured to display the unlocking interface in the region to be displayed.
[0145] As a possible implementation, the determining unit 931 is specifically configured to:
[0146] determine a current display mode of the terminal device;
[0147] divide the display screen into a plurality of hot regions according to the display mode based on a preset hot region division manner;
[0148] determine a target hot region corresponding to the track position from the plurality of hot regions, and determine the region to be displayed according to the target hot region.
[0149] As an example, the determining unit 931 is further configured to:
[0150] determine a starting position of the triggering operation in response to the track position corresponding to at least two hot regions;
[0151] determine a target hot region corresponding to the starting position from the at least two hot regions.
[0152] As another example, the determining unit 931 is further configured to:
[0153] determine at least two first hot regions corresponding to the track position from the plurality of hot regions in response to the track position corresponding to at least two hot regions;
[0154] determine a length proportion of a sliding track of the triggering operation falling into each first hot region according to the track position;
[0155] determine a first hot region corresponding to a maximum value in the length proportions as the target hot region.
[0156] As another possible implementation, the determining unit 931 is specifically configured to:
[0157] determine a coordinate of a first center point from the display screen according to the track position; the coordinate of the first center point is a coordinate in a coordinate system established based on the display screen;
[0158] determine the region to be displayed according to the coordinate of the first center point and a size of the unlocking interface.
[0159] In some other embodiments of the present disclosure, the apparatus further includes:
[0160] The second displaying module 940 is configured to, after displaying the unlocking interface in a region corresponding to the track position in the display screen, display the unlocking interface in a preset region in the display screen in response to a display mode switching of the terminal device.
[0161] In some embodiments of the present disclosure, the receiving module 910 is specifically configured to:
[0162] In response to the opening trigger operation of the movement display function of the unlocking interface, the receiving module 910 is configured to receive the trigger operation of entering the unlocking interface.
[0163] The unlocking interface control apparatus of the terminal device according to the embodiments of the present disclosure, by receiving the trigger operation of entering the unlocking interface, determining the track position of the trigger operation on the display screen of the terminal device, and displaying the unlocking interface in the region corresponding to the track position in the display screen. In this way, the unlocking interface is displayed in the region corresponding to the track position of the trigger operation, which can avoid the problem that the display region of the unlocking interface does not conform to the user operable region, and the user can perform the unlocking operation on the terminal device with a larger display screen within the range of the operation hand without other operations, thereby improving the convenience of the user for the unlocking operation of the terminal device, and improving the user experience of the terminal device.
[0164] As to the apparatus in the above embodiments, specific manners in which various modules perform operations have been described in details in the embodiments of the method, and will not be described in details here.
[0165] Figure 10 FIG. 10 is a block diagram of a terminal device 1000 for implementing an unlocking interface control method of a terminal device according to an exemplary embodiment. For example, the terminal device 1000 can be a mobile phone, a camera, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, or the like.
[0166] Referring to Figure 10 , the terminal device 1000 can include one or more of the following components: a processing component 1002, a memory 1004, a power supply component 1006, a multimedia component 1008, an audio component 1010, an input / output (I / O) interface 1012, a sensor component 1014, and a communication component 1016.
[0167] The processing component 1002 usually controls overall operations of the terminal device 1000, such as operations associated with display, a phone call, data communication, camera operation, and recording operation. The processing component 1002 can include one or more processors 1020 to execute instructions to complete all or part of steps of the methods described above. Further, the processing component 1002 can include one or more modules to facilitate the interaction between the processing component 1002 and other components. For example, the processing component 1002 can include a multimedia module to facilitate the interaction between the multimedia component 1008 and the processing component 1002.
[0168] The memory 1004 is configured to store various types of data to support the operation of the terminal device 1000. Examples of such data include instructions for any application or method operating on the terminal device 1000, contact data, phonebook data, messages, pictures, videos, and the like. The memory 1004 can be implemented by any type of volatile or nonvolatile memory, or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disc, or optical disc.
[0169] The power component 1006 provides power to the various components of the terminal device 1000. The power component 1006 can include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for the terminal device 1000.
[0170] The multimedia component 1008 includes a screen providing an output interface between the terminal device 1000 and a user. In some embodiments, the screen can include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes the touch panel, the screen can be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense a touch, a slide, and a gesture on the touch panel. The touch sensor can not only sense a boundary of a touching or a sliding action, but also detect duration and pressure related to the touching or sliding action. In some embodiments, the multimedia component 1008 includes a front camera and / or a back camera, and the number of front cameras is greater than or equal to 2, or the number of back cameras is greater than or equal to 2. The front camera and / or the back camera can receive external multimedia data when the terminal device 1000 is in an operation mode, such as a photographing mode or a video mode. Each of the front camera and the back camera can be a fixed optical lens system or have a focal length and an optical zoom capability.
[0171] The audio component 1010 is configured to output and / or input an audio signal. For example, the audio component 1010 includes a microphone (MIC) configured to receive an external audio signal when the terminal device 1000 is in an operation mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signal can be further stored in the memory 1004 or transmitted via the communication component 1016. In some embodiments, the audio component 1010 also includes a speaker for outputting an audio signal.
[0172] The I / O interface 1012 provides an interface between the processing component 1002 and peripheral interface modules, which can be a keypad, a click wheel, buttons, and so on. The buttons can include, but are not limited to, a home button, a volume button, a start button, and a lock button.
[0173] The sensor component 1014 includes one or more sensors for providing status assessments for various aspects of the device 1000. For example, the sensor component 1014 can detect an open / closed position of the terminal device 1000, relative positioning of components, such as a display and a keypad of the device 1000, a change in position of the terminal device 1000 or a component of the terminal device 1000, the presence or absence of user contact with the terminal device 1000, the orientation or acceleration / deceleration / g-force and a temperature change of the terminal device 1000. The sensor component 1014 can include an accelerometer, a gyroscope, a geonome, a magnetometer, a pressure sensor or a temperature sensor.
[0174] The communication component 1016 is configured to facilitate wired or wireless communication between the terminal device 1000 and other devices. The terminal device 1000 can access a wireless network based on a communication standard, such as WiFi, 2G, or 3G, or a combination thereof. In an example embodiment, the communication component 1016 receives broadcast signals or broadcast-related information from an external broadcast management system via a broadcast channel. In an example embodiment, the communication component 1016 further includes a Near Field Communication (NFC) module to facilitate close proximity communication. For example, the NFC module can be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
[0175] In an example embodiment, the terminal device 1000 can be implemented with one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic elements to perform the above-described methods.
[0176] In an example embodiment, a non-transitory computer readable storage medium, for example, a memory 1004 including instructions, is also provided, which can be executed by the processor 1020 of the terminal device 1000 to complete the above method. For example, the non-transitory computer readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, and an optical data storage device, etc.
[0177] Other embodiments of the application will be apparent to those skilled in the art from consideration of the specification and practice of the application disclosed herein. It is intended that the specification and examples be considered as exemplary only, with the true scope and spirit of the application being indicated by the following claims.
[0178] It is to be understood that the application is not limited to the precise details of design and construction that have been described above and illustrated in the drawings. The scope of the application is indicated by the appended claims rather than by the foregoing description.
Claims
1. A method for controlling the unlocking interface of a terminal device, characterized in that, The method comprises the following steps: receiving a trigger operation for entering an unlocking interface; determining a trajectory position of the trigger operation on a display screen of a terminal device; dividing the display screen of the terminal device into a plurality of hot areas based on a preset hot area division mode and a current display mode of the terminal device, determining at least two first hot areas corresponding to the trajectory position from the plurality of hot areas, determining a length proportion of a sliding trajectory of the trigger operation in each first hot area, taking a first hot area corresponding to a maximum value in the length proportions as a target hot area, determining the target hot area as a display area of the unlocking interface, and displaying the unlocking interface in the display area; after displaying the unlocking interface in the display area, if a display mode of the terminal device is switched from a horizontal screen display to a vertical screen display or from the vertical screen display to the horizontal screen display, displaying the unlocking interface in a default area of the display screen of the terminal device.
2. The method of claim 1, wherein, The method for determining the display area further comprises the following steps: determining a coordinate of a first center point from the display screen of the terminal device according to the trajectory position; the coordinate of the first center point is a coordinate in a coordinate system established based on the display screen of the terminal device; determining the display area according to the coordinate of the first center point and a size of the unlocking interface.
3. The method according to claim 1 or 2, characterized in that, The method for receiving the trigger operation for entering the unlocking interface comprises the following steps: in response to an opening trigger operation of a moving display function of the unlocking interface, receiving the trigger operation for entering the unlocking interface.
4. The method of claim 1, wherein, The method for determining the target hot area further comprises the following steps: determining a starting position of the trigger operation in response to the trajectory position corresponding to at least two hot areas; determining the target hot area corresponding to the starting position from the at least two hot areas.
5. An unlocking interface control apparatus of a terminal device, characterized by comprising: The method comprises the following steps: a receiving module configured to receive a trigger operation for entering an unlocking interface; a determining module configured to determine a trajectory position of the trigger operation on a display screen of a terminal device; a first display module configured to divide the display screen of the terminal device into a plurality of hot areas based on a preset hot area division mode and a current display mode of the terminal device, determine at least two first hot areas corresponding to the trajectory position from the plurality of hot areas, determine a length proportion of a sliding trajectory of the trigger operation in each first hot area, take a first hot area corresponding to a maximum value in the length proportions as a target hot area, determine the target hot area as a display area of the unlocking interface, and display the unlocking interface in the display area; a second display module configured to, after displaying the unlocking interface in the display area, display the unlocking interface in a default area of the display screen of the terminal device if a display mode of the terminal device is switched from a horizontal screen display to a vertical screen display or from the vertical screen display to the horizontal screen display.
6. The apparatus of claim 5, wherein, The method for determining the display area further comprises the following steps: determining a coordinate of a first center point from the display screen of the terminal device according to the trajectory position; the coordinate of the first center point is a coordinate in a coordinate system established based on the display screen of the terminal device; determining the display area according to the coordinate of the first center point and a size of the unlocking interface.
7. The apparatus of claim 5 or 6, wherein, The receiving module is specifically configured to In response to the opening trigger operation of the movement display function of the unlocking interface, a trigger operation of entering the unlocking interface is received.
8. The apparatus of claim 5, wherein, The manner of determining the target hot area further includes: In response to the track position corresponding to at least two hot areas, a starting position of the trigger operation is determined; A target hot area corresponding to the starting position is determined from the at least two hot areas.
9. A terminal device, comprising: The method comprises: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the method according to any one of claims 1-4 when executing the computer program.
10. A computer-readable storage medium having stored thereon a computer program, characterized in that, The computer program is executed by the processor to implement the method according to any one of claims 1-4.
11. A computer program product comprising a computer program, characterized in that, The computer program is executed by the processor to implement the method according to any one of claims 1-4.
Citation Information
Patent Citations
Password processing method and device
CN104036165A
Interface icon movement control method and device
CN104503681A
Window switching method, electronic equipment and readable storage medium
CN114416227A