Decryption device method, apparatus, device and computer readable medium
By displaying alternative logos of hidden numbers and unhidden numbers in the unlocking interface of the device and arranging them in a preset order, the problem of poor security during the unlocking process is solved and the security of decryption is improved.
Patent Information
- Application Number
- CN202011159332.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-10-26
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2040-10-26
Smart Images

Figure CN113742712B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computer technology, and in particular to a method, apparatus, device and computer-readable medium for decrypting a device. Background Art
[0002] As mobile devices are increasingly used, multiple ways of unlocking the mobile devices are available to protect user privacy.
[0003] In the process of implementing the present invention, the inventors found that there are at least the following problems in the prior art: since the unlocking process can be easily seen by others, the security of decryption is poor. Summary of the invention
[0004] In view of this, embodiments of the present invention provide a method, apparatus, device and computer-readable medium for a decryption device, which can improve the security of decryption.
[0005] To achieve the above object, according to one aspect of an embodiment of the present invention, a method for decrypting a device is provided, comprising:
[0006] In the unlocking interface of the device, displaying alternative identifiers of the hidden numbers and the unhidden numbers, wherein the alternative identifiers and the unhidden numbers are arranged in a preset order;
[0007] receiving an input instruction, and determining an input password of the input instruction according to the hidden numbers and / or the unhidden numbers involved in the input instruction, wherein the input instruction is determined according to the preset sequence for the replacement identifier and / or the unhidden numbers;
[0008] Based on the input password and the preset decryption password, it is determined whether to decrypt the device.
[0009] The method further includes: displaying the alternative identifier of the hidden number and the unhidden number in the unlocking interface of the device before displaying the alternative identifier of the hidden number and the unhidden number:
[0010] Locating the position of the number in the original interface according to a preset numerical sequence and the position of at least one number, wherein the numerical sequence includes a positive numerical sequence and a reverse numerical sequence;
[0011] According to the number of hidden numbers, locating the hidden numbers in the numbers on the original interface;
[0012] In the original interface, the hidden number is replaced by the replacement identifier to generate the unlocking interface.
[0013] The number of the hidden numbers is less than or equal to a preset upper limit value.
[0014] The hidden number is randomly selected from the numbers.
[0015] Determining the input password of the input instruction according to the hidden numbers and / or the unhidden numbers involved in the input instruction includes:
[0016] According to the hidden numbers and / or unhidden numbers involved in the input instruction, and the input sequence of the substitute identifiers of the hidden numbers and / or the unhidden numbers involved, the input password of the input instruction is determined.
[0017] The receiving of an input instruction for the replacement identifier and / or the unhidden number comprises:
[0018] An input instruction connecting the replacement identifier and / or the unhidden number is received.
[0019] Determining the input password of the input instruction according to the hidden numbers and / or the unhidden numbers involved in the input instruction includes:
[0020] The input code for the input command is determined according to the connected hidden numbers and / or unhidden numbers.
[0021] According to a second aspect of an embodiment of the present invention, there is provided a decryption device apparatus, comprising:
[0022] A display module, used to display alternative identifiers of hidden numbers and non-hidden numbers in the unlocking interface of the device, wherein the alternative identifiers and the non-hidden numbers are arranged in a preset order;
[0023] a determination module, configured to receive an input instruction, and determine an input password of the input instruction according to the hidden numbers and / or the unhidden numbers involved in the input instruction, wherein the input instruction is determined according to the preset sequence for the replacement identifier and / or the unhidden numbers;
[0024] The judgment module is used to judge whether to decrypt the device based on the input password and the preset decryption password.
[0025] The display module is further used to locate the position of the number in the original interface according to a preset numerical sequence and the position of at least one number, wherein the numerical sequence includes a positive numerical sequence and a reverse numerical sequence;
[0026] According to the number of hidden numbers, locating the hidden numbers in the numbers on the original interface;
[0027] In the original interface, the hidden number is replaced by the replacement identifier to generate the unlocking interface.
[0028] According to a third aspect of an embodiment of the present invention, there is provided an electronic device for a decryption device, comprising:
[0029] one or more processors;
[0030] a storage device for storing one or more programs,
[0031] When the one or more programs are executed by the one or more processors, the one or more processors implement the above method.
[0032] According to a fourth aspect of an embodiment of the present invention, there is provided a computer-readable medium on which a computer program is stored, and when the program is executed by a processor, the method as described above is implemented.
[0033] An embodiment of the above invention has the following advantages or beneficial effects: in the unlocking interface of the device, the substitute identifiers of the hidden numbers and the non-hidden numbers are displayed, and the substitute identifiers and the non-hidden numbers are arranged in a preset order; receiving an input instruction; determining the input password of the input instruction according to the hidden numbers and / or non-hidden numbers involved in the input instruction, and the input instruction is determined according to the preset order for the substitute identifiers and / or the non-hidden numbers; judging whether to decrypt the device based on the input password and the preset decryption password. In the process of decrypting the device, some numbers are hidden with substitute identifiers, and the user can input instructions in combination with the non-hidden numbers, thereby improving the security of decryption.
[0034] The further effects of the above-mentioned non-conventional optional manner will be described below in conjunction with the specific implementation manner. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] The accompanying drawings are used to better understand the present invention and do not constitute an improper limitation of the present invention.
[0036] Figure 1 is a schematic diagram of the main process of a method for decrypting a device according to an embodiment of the present invention;
[0037] Figure 2 It is a schematic diagram of a numeric keyboard in the prior art;
[0038] Figure 3 is a schematic diagram of a numeric keyboard according to an embodiment of the present invention;
[0039] Figure 4 is a schematic diagram of a process for generating an unlocking interface according to an embodiment of the present invention;
[0040] Figure 5 is a schematic diagram of a numerical sequence according to an embodiment of the present invention;
[0041] Figure 6 is a schematic diagram after the sequence of numbers is changed according to an embodiment of the present invention;
[0042] Figure 7 is a schematic diagram of setting gesture unlocking according to an embodiment of the present invention;
[0043] Figure 8 is a schematic diagram of an unlocking interface in gesture unlocking according to an embodiment of the present invention;
[0044] Fig. 9 is a schematic diagram of a numeric keyboard according to an embodiment of the present invention;
[0045] Fig.10 is a schematic diagram of the main structure of a decryption device according to an embodiment of the present invention;
[0046] Fig.11 is an exemplary system architecture diagram to which embodiments of the present invention may be applied;
[0047] Fig.12 It is a schematic diagram of the structure of a computer system of a terminal device or a server suitable for implementing an embodiment of the present invention. DETAILED DESCRIPTION
[0048] The following is a description of exemplary embodiments of the present invention in conjunction with the accompanying drawings, including various details of the embodiments of the present invention to facilitate understanding, which should be considered as merely exemplary. Therefore, it should be recognized by those of ordinary skill in the art that various changes and modifications may be made to the embodiments described herein without departing from the scope and spirit of the present invention. Similarly, for clarity and conciseness, the description of well-known functions and structures is omitted in the following description.
[0049] Currently, there are many ways to unlock a mobile device, such as biometric unlocking, digital unlocking, and gesture unlocking.
[0050] Biometric unlocking requires hardware support, and in some specific scenarios it is still necessary to rely on digital unlocking or gesture unlocking.
[0051] The most commonly used is digital unlocking. The mobile device displays a keyboard in the unlocking interface, and multiple numbers are marked on the keyboard. The user enters a number on the keyboard. If the number entered is consistent with the preset decryption password, the unlocking is successful; correspondingly, if the number entered is different from the preset decryption password, the unlocking fails.
[0052] In addition, you can also use gesture unlocking. Similar to digital unlocking, the mobile device displays a keyboard in the unlocking interface, and multiple numbers are marked on the keyboard. The user enters a gesture on the keyboard. If the password corresponding to the entered gesture is consistent with the preset decryption password, the unlocking is successful; correspondingly, if the password corresponding to the entered gesture is different from the preset decryption password, the unlocking fails.
[0053] However, in practical applications, it is found that digital unlocking or gesture unlocking can easily leak passwords during the unlocking process, resulting in poor decryption security.
[0054] In order to solve the technical problem of poor decryption security, the following technical solution in the embodiment of the present invention can be adopted.
[0055] See also Figure 1 , Figure 1 1 is a schematic diagram of the main process of the method for decrypting a device according to an embodiment of the present invention. In the unlocking interface of the device, not only the unhidden data but also the substitute identification of the hidden number are displayed, an input instruction is received, and then it is determined whether the input password of the input instruction is consistent with the preset decryption password to decrypt the device. Figure 1 As shown, the specific steps include:
[0056] Understandably, Figure 1 The execution subject of each step can be software running in the decryption device, such as: APP.
[0057] S101. Displaying substitute identifiers of hidden numbers and non-hidden numbers in an unlocking interface of a device, wherein the substitute identifiers and non-hidden numbers are arranged in a preset order.
[0058] In the embodiment of the present invention, the device can be understood as a device that requires a password to be entered for unlocking. As an example, the device can be a mobile phone, a tablet computer, a laptop computer, and other devices.
[0059] For a device that is provided with a screen, before using the device, a password or a gesture is required to unlock the device.
[0060] See also Figure 2 , Figure 2 It is a schematic diagram of a numeric keyboard in the prior art. Figure 2 It is a keyboard displayed by the device. The keyboard includes 9 numbers from 1 to 9. The user enters the password or gestures through the keyboard. However, during the unlocking process of digital unlocking or gesture unlocking, the user may easily leak the password by entering numbers or gestures on the commonly used digital keyboard, resulting in poor decryption security.
[0061] See also Figure 3 , Figure 3 is a schematic diagram of a numeric keyboard according to an embodiment of the present invention. Figure 3 The left picture in the figure shows the alternative identifiers of hidden numbers and the non-hidden numbers in the unlocking interface of the device. Among them, the alternative identifier of the hidden number is *, and the non-hidden numbers are 6 and 9. The hidden numbers include 1, 2, 3, 4, 5, 7 and 8.
[0062] Figure 3 The right picture in is an unlocking interface including hidden numbers and unhidden numbers. In the above unlocking interface, the specific position of each hidden number can be known.
[0063] The process of establishing the unlocking interface is exemplarily described below with reference to the accompanying drawings.
[0064] In the embodiment of the present invention, the process of establishing the unlocking interface specifically includes the following two parts: the first part is to determine the position of the number, and the second part is to hide the number.
[0065] See also Figure 4 , Figure 4 1 is a schematic diagram of a process for generating an unlocking interface according to an embodiment of the present invention, which specifically includes the following steps:
[0066] S401. Locate the position of a number in the original interface according to a preset numerical sequence and the position of at least one number, wherein the numerical sequence includes a positive numerical sequence and a reverse numerical sequence.
[0067] In the embodiment of the present invention, the keyboard includes 9 numbers from 1 to 9, and each number is located at a preset position.
[0068] See also Figure 5 , Figure 5 is a schematic diagram of a numerical sequence according to an embodiment of the present invention, Figure 5 The middle left picture is a schematic diagram of the positive sequence of numbers. It can be understood that the order of numbers from 1 to 9 is called the positive sequence of numbers. Figure 5 The middle right picture is a schematic diagram of reverse order of numbers. It can be understood that the order of numbers from 9 to 1 is called reverse order of numbers.
[0069] In the embodiment of the present invention, the digital sequence can be preset, such as: the preset digital sequence is the digital positive sequence. The digital sequence can also be preset in a random manner. As an example, the digital sequence is determined by a function. 0 represents the digital positive sequence, and 1 represents the digital reverse sequence. The digital sequence is randomly obtained by Regular=random(0,1).
[0070] The original interface cannot be uniquely determined based on the numerical order. The original interface is an interface where the numbers are arranged in a preset numerical order. In order to uniquely determine the original interface, it is also necessary to locate the position of at least one number. As an example, in Figure 5 The above number can be any number from 1 to 9.
[0071] As an example, in order to uniquely identify the original interface, the position of the number 1 may be located. For example, a random function may be used to determine the position of the number.
[0072] By combining the preset number sequence and the position of at least one number, the position of the number can be located in the original interface.
[0073] See also Figure 6 , Figure 6 It is a schematic diagram after the sequence of numbers is changed according to an embodiment of the present invention. Figure 6 The middle left picture is the original interface obtained by arranging the numbers in positive order, based on the fact that the position of number 1 is on the left side of the middle row.
[0074] Figure 6 The middle right picture is the original interface obtained by arranging the numbers in reverse order, based on the fact that the position of number 1 is on the right side of the middle row.
[0075] S402: According to the number of hidden numbers, locate the hidden numbers in the numbers on the original interface.
[0076] In the embodiment of the present invention, in order to enhance the security of decryption, some numbers in the original interface can be hidden, wherein the numbers hidden are referred to as hidden numbers.
[0077] In the original interface, multiple numbers can be hidden. In the embodiment of the present invention, considering that the user needs at least two unhidden numbers to determine the order of numbers, the number of hidden numbers can be set to be less than or equal to a preset upper limit.
[0078] Continue to see Figure 5 , Figure 5 The original interface includes 9 numbers, and the preset upper limit value is the difference between the number of numbers included in the original interface and the number of unhidden numbers required to determine the number sequence. Figure 5 The number of digits in is 9, and the minimum number of unhidden digits required to determine the order of the digits is 2. Figure 5 For example, the preset upper limit value is equal to 7.
[0079] In one embodiment of the present invention, the number of hidden numbers is randomly set, and 7 or less numbers can be randomly selected from 9 numbers from 1 to 9 as the number of hidden numbers.
[0080] Based on the number of hidden numbers, the hidden numbers are positioned in the original interface. The hidden numbers can be randomly set to improve the security of the encryption process. It is understood that the number of hidden numbers and the hidden numbers are randomly set.
[0081] After the number of hidden numbers and the hidden numbers are determined, the hidden numbers can be located in the original interface. It is understandable that the numbers in the original interface include hidden numbers and non-hidden numbers.
[0082] S403: In the original interface, the hidden number is replaced with a substitute identifier to generate an unlocking interface.
[0083] In order to improve the security of decryption, the hidden numbers are replaced by alternative identifiers on the basis of the original interface, thereby generating an unlocking interface including the alternative identifiers and non-hidden numbers.
[0084] exist Figure 4In the embodiment of the present invention, the hidden number can be replaced by the replacement mark to generate an unlocking interface. Since the numbers in the unlocking interface have no significant regularity, the security of unlocking can be improved.
[0085] It is understandable that the alternative identifiers and the unhidden numbers in the unlocking interface are arranged in a preset order, wherein the preset order is determined by a preset numerical order and the position of at least one number.
[0086] The position of the replacement mark is the position of the hidden number, in other words, the hidden number and the unhidden number are arranged in a preset order, wherein the preset order is determined by a preset number sequence and the position of at least one number.
[0087] S102, receiving an input instruction, and determining an input password of the input instruction according to the hidden numbers and / or unhidden numbers involved in the input instruction, wherein the input instruction is determined according to a preset order for the replacement identifiers and / or unhidden numbers.
[0088] After the unlocking interface of the device is displayed to the user, the user can input a command. In an embodiment of the present invention, the user has learned before unlocking the device that the digital sequence includes a positive digital sequence and a reverse digital sequence. As an example, the user can determine the digital sequence based on the unhidden numbers.
[0089] Then, the hidden number corresponding to the replacement mark can be inferred according to the unhidden number. The user enters a password for the replacement mark and / or the unhidden number.
[0090] After receiving the input instruction, it is necessary to determine the input password of the input instruction. The input instruction is determined according to a preset sequence for the replacement identifier and / or the unhidden number.
[0091] In one embodiment of the present invention, when the unlocking method is digital unlocking, to determine the input password of the input instruction, it is necessary to consider not only the hidden numbers and / or non-hidden numbers involved in the input instruction, but also the alternative identifiers of the hidden numbers involved and / or the input order of the non-hidden numbers.
[0092] As an example, the hidden numbers and / or unhidden numbers involved in the input instruction include: 3, 6 and 9. If the input order of the above numbers is not considered, the input password may include the following: 369, 396, 639, 693, 936 and 963. If the input order of the above numbers is considered, the input password is 369. It can be understood that the input order is the order of the hidden numbers and / or unhidden numbers involved in the input instruction.
[0093] In one embodiment of the present invention, when the unlocking method is gesture unlocking, to determine the input password of the input instruction, only the hidden numbers and / or non-hidden numbers involved in the input instruction need to be considered, without considering the alternative identifiers of the hidden numbers involved and / or the input order of the non-hidden numbers.
[0094] See also Figure 7 , Figure 7 is a schematic diagram of setting gesture unlocking according to an embodiment of the present invention. Figure 7 The middle left picture is a schematic diagram of the numbers on the keyboard when setting gesture unlocking. Figure 7 The middle right picture is a schematic diagram of setting up gesture unlocking. Figure 7 A vertical line is set as the decryption password. Accordingly, the decryption password corresponding to the vertical line is the number 147 or 741. It can be understood that gesture unlocking does not involve the input order.
[0095] In one embodiment of the present invention, when the unlocking mode is gesture unlocking, an input instruction connecting a replacement identifier and / or an unhidden number is received. In other words, a gesture connecting a replacement identifier and / or an unhidden number can be received, and the input instruction is a gesture.
[0096] Since the gesture is not related to the order of number input, the input password of the input instruction can be determined according to the connected hidden numbers and / or non-hidden numbers.
[0097] See also Figure 8 , Figure 8 4 is a schematic diagram of an unlocking interface in gesture unlocking according to an embodiment of the present invention.
[0098] Figure 8 In the unlocking interface of the device in the middle left picture, the numbers that are not hidden are 9 and 7, which shows that the order of the numbers is in positive order. Figure 8 The middle figure shows a digital schematic diagram. Figure 8 The middle right picture shows the user's input instruction. This input instruction connects two alternative logos and an unhidden number.
[0099] Finally, according to the connected hidden numbers and the unhidden numbers, it is determined that the input password of the input instruction is 147 or 741.
[0100] S103: Determine whether to decrypt the device based on the input password and the preset decryption password.
[0101] By comparing the input password with the preset decryption password, it is determined whether to decrypt the device. If the input password is consistent with the preset decryption password, the device is decrypted; if the input password is different from the preset decryption password, decryption of the device is prohibited.
[0102] If the unlocking method is digital unlocking, the password you enter must be exactly the same as the preset decryption password in order to decrypt the device. That is, not only must the numbers in the password you enter be consistent with the numbers in the preset decryption password, but the order of the numbers in the password you enter must also be consistent with the order of the numbers in the preset decryption password.
[0103] As an example, the input password is 478, and the preset decryption password is 478, then the input password is completely consistent with the preset decryption password. As another example, the input password is 874, and the preset decryption password is 478, then the input password is not completely consistent with the preset decryption password, and decryption of the device is prohibited.
[0104] When the unlocking method is gesture unlocking, the password you enter needs to be consistent with the preset decryption password numbers, and then the device can be decrypted. It can be understood that only the numbers in the password you enter need to be consistent with the numbers in the preset decryption password, and there is no need to enter the order of the numbers in the password, which is consistent with the order of the numbers in the preset decryption password.
[0105] As an example, the input password corresponding to the gesture is 478, and the preset decryption password is 478, then the input password and the preset decryption password are numerically consistent. As another example, the input password is 874, and the preset decryption password is 478, then the input password and the preset decryption password are numerically consistent, and the device is decrypted.
[0106] See also Fig. 9 , Fig. 9 is a schematic diagram of a numeric keyboard according to an embodiment of the present invention, Fig. 9 The numeric keypad also includes keys: Display numbers.
[0107] Although the user can guess the numeric keypad in the decryption interface based on the unhidden numbers, in order to avoid miscalculation, a "show numbers" button can be set in the numeric keypad in the decryption interface. The user can long press the "show numbers" button to display all the numbers in the numeric keypad.
[0108] It should be noted that the above-mentioned "Show Numbers" button is not directly visible in the numeric keypad in the decryption interface. The user needs to perform a preset operation to present the "Show Numbers" button in the above-mentioned numeric keypad. As an example, the preset operation can be to long press any key in the numeric keypad to present the "Show Numbers" button in the numeric keypad.
[0109] In the above embodiment, in the unlocking interface of the device, alternative identifiers of hidden numbers and non-hidden numbers are displayed, and the above alternative identifiers and non-hidden numbers are arranged in a preset order; an input instruction is received; according to the hidden numbers and / or non-hidden numbers involved in the input instruction, an input password of the input instruction is determined, and the input instruction is determined according to the preset order for the alternative identifiers and / or the non-hidden numbers; based on the input password and the preset decryption password, it is determined whether to decrypt the device. In the process of decrypting the device, some numbers are hidden with alternative identifiers, and the user can input instructions in combination with non-hidden numbers. The method of changing the position of numbers combined with randomly hiding numbers can improve the security of decryption.
[0110] See also Fig.10 , Fig.10 is a schematic diagram of the main structure of a decryption device according to an embodiment of the present invention. The decryption device can implement a decryption device method, such as Fig.10 As shown, the decryption device specifically includes:
[0111] Display module 1001, used to display alternative identifiers of hidden numbers and non-hidden numbers in the unlocking interface of the device, wherein the alternative identifiers and the non-hidden numbers are arranged in a preset order;
[0112] The determination module 1002 is used to receive an input instruction and determine an input password of the input instruction according to the hidden numbers and / or the unhidden numbers involved in the input instruction, wherein the input instruction is determined according to the preset sequence for the replacement identifier and / or the unhidden numbers;
[0113] The judgment module 1003 is used to judge whether to decrypt the device based on the input password and the preset decryption password.
[0114] In one embodiment of the present invention, the display module 1001 is further used to locate the position of the number in the original interface according to a preset numerical sequence and the position of at least one number, wherein the numerical sequence includes a numerical positive sequence and a numerical reverse sequence;
[0115] According to the number of hidden numbers, locating the hidden numbers in the numbers on the original interface;
[0116] In the original interface, the hidden number is replaced by the replacement identifier to generate the unlocking interface.
[0117] In one embodiment of the present invention, the number of hidden numbers is less than or equal to a preset upper limit value.
[0118] In one embodiment of the present invention, the hidden number is randomly selected from the numbers.
[0119] In one embodiment of the present invention, the determination module 1002 is specifically used to determine the input password of the input instruction according to the hidden numbers and / or unhidden numbers involved in the input instruction, and the input order of the substitute identifiers of the hidden numbers and / or the unhidden numbers involved.
[0120] In one embodiment of the present invention, the determination module 1002 is specifically configured to receive an input instruction connecting the replacement identifier and / or the unhidden number.
[0121] In one embodiment of the present invention, the determination module 1002 is specifically configured to determine the input password of the input instruction according to the connected hidden numbers and / or unhidden numbers.
[0122] Fig.11 An exemplary system architecture 1100 is shown to which the method or apparatus for decrypting a device according to an embodiment of the present invention may be applied.
[0123] like Fig.11 As shown, system architecture 1100 may include terminal devices 1101, 1102, 1103, a network 1104, and a server 1105. Network 1104 is used to provide a medium for communication links between terminal devices 1101, 1102, 1103 and server 1105. Network 1104 may include various connection types, such as wired, wireless communication links, or optical fiber cables, etc.
[0124] Users can use terminal devices 1101, 1102, 1103 to interact with server 1105 through network 1104 to receive or send messages, etc. Various communication client applications can be installed on terminal devices 1101, 1102, 1103, such as shopping applications, web browser applications, search applications, instant messaging tools, email clients, social platform software, etc. (only as examples).
[0125] The terminal devices 1101 , 1102 , and 1103 may be various electronic devices having a display screen and supporting web browsing, including but not limited to smart phones, tablet computers, laptop computers, and desktop computers, etc.
[0126] The server 1105 may be a server that provides various services, such as a backend management server (only an example) that provides support for shopping websites browsed by users using the terminal devices 1101, 1102, and 1103. The backend management server may analyze and process the received data such as product information query requests, and feed back the processing results (such as target push information, product information - only an example) to the terminal device.
[0127] It should be noted that the method of the decryption device provided in the embodiment of the present invention is generally executed by the server 1105 , and accordingly, the device of the decryption device is generally set in the server 1105 .
[0128] It should be understood that Fig.11 The number of terminal devices, networks and servers in the embodiment is only for illustration. Any number of terminal devices, networks and servers may be provided according to the implementation requirements.
[0129] Reference below Fig.12 , which shows a schematic diagram of the structure of a computer system 1200 of a terminal device suitable for implementing an embodiment of the present invention. Fig.12 The terminal device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.
[0130] like Fig.12 As shown, the computer system 1200 includes a central processing unit (CPU) 1201, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 1202 or a program loaded from a storage part 1208 into a random access memory (RAM) 1203. In the RAM 1203, various programs and data required for the operation of the system 1200 are also stored. The CPU 1201, the ROM 1202, and the RAM 1203 are connected to each other via a bus 1204. An input / output (I / O) interface 1205 is also connected to the bus 1204.
[0131] The following components are connected to the I / O interface 1205: an input section 1206 including a keyboard, a mouse, etc.; an output section 1207 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 1208 including a hard disk, etc.; and a communication section 1209 including a network interface card such as a LAN card, a modem, etc. The communication section 1209 performs communication processing via a network such as the Internet. A drive 1210 is also connected to the I / O interface 1205 as needed. A removable medium 1211, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 1210 as needed, so that a computer program read therefrom is installed into the storage section 1208 as needed.
[0132] In particular, according to the embodiments disclosed in the present invention, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present invention include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication part 1209, and / or installed from the removable medium 1211. When the computer program is executed by the central processing unit (CPU) 1201, the above-mentioned functions defined in the system of the present invention are executed.
[0133] It should be noted that the computer-readable medium shown in the present invention may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present invention, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device or device. In the present invention, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program code. This propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than computer-readable storage media, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, optical cable, RF, etc., or any suitable combination of the above.
[0134] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present invention. In this regard, each box in the flow chart or block diagram can represent a module, a program segment, or a part of a code, and the above-mentioned module, program segment, or a part of a code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flow chart, and the combination of the boxes in the block diagram or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0135] The modules involved in the embodiments of the present invention may be implemented in software or hardware. The modules described may also be set in a processor, for example, it may be described as: a processor includes a display module, a determination module, and a judgment module. The names of these modules do not constitute a limitation on the modules themselves in some cases. For example, the display module may also be described as "a module for displaying an alternative identifier of a hidden number and an unhidden number in the unlocking interface of a device".
[0136] As another aspect, the present invention further provides a computer-readable medium, which may be included in the device described in the above embodiment; or may exist independently without being assembled into the device. The above computer-readable medium carries one or more programs, and when the above one or more programs are executed by a device, the device includes:
[0137] In the unlocking interface of the device, displaying alternative identifiers of the hidden numbers and the unhidden numbers, wherein the alternative identifiers and the unhidden numbers are arranged in a preset order;
[0138] receiving an input instruction, and determining an input password of the input instruction according to the hidden numbers and / or the unhidden numbers involved in the input instruction, wherein the input instruction is determined according to the preset sequence for the replacement identifier and / or the unhidden numbers;
[0139] Based on the input password and the preset decryption password, it is determined whether to decrypt the device.
[0140] According to the technical solution of the embodiment of the present invention, in the unlocking interface of the device, alternative identifiers of hidden numbers and non-hidden numbers are displayed, and the above-mentioned alternative identifiers and non-hidden numbers are arranged in a preset order; receive input instructions; determine the input password of the input instruction according to the hidden numbers and / or non-hidden numbers involved in the input instruction, and the input instruction is determined according to the preset order for the alternative identifiers and / or the non-hidden numbers; based on the input password and the preset decryption password, determine whether to decrypt the device. In the process of decrypting the device, some numbers are hidden with alternative identifiers, and the user can input instructions in combination with the non-hidden numbers, thereby improving the security of decryption.
[0141] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may occur depending on design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. A method for decrypting a device, characterized in that: include: In the unlocking interface of the device, displaying alternative identifiers of the hidden numbers and the unhidden numbers, wherein the alternative identifiers and the unhidden numbers are arranged in a preset order; receiving an input instruction, and determining an input password of the input instruction according to the hidden numbers and / or the unhidden numbers involved in the input instruction, wherein the input instruction is determined according to the preset sequence for the replacement identifier and / or the unhidden numbers; Determining whether to decrypt the device based on the input password and a preset decryption password; The method further includes: displaying the alternative identifier of the hidden number and the unhidden number in the unlocking interface of the device before displaying the alternative identifier of the hidden number and the unhidden number: According to a preset numerical sequence and the position of at least one number, the position of the number is located in the original interface, wherein the numerical sequence includes a positive numerical sequence and a reverse numerical sequence, and the numerical sequence is pre-set in a random manner; According to the number of hidden numbers, locate the hidden numbers in the numbers on the original interface; and randomly set the number of hidden numbers; In the original interface, the hidden number is replaced by the replacement identifier to generate the unlocking interface.
2. The method for decrypting a device according to claim 1, characterized in that: The number of the hidden numbers is less than or equal to a preset upper limit value.
3. The method for decrypting a device according to claim 1, characterized in that: The hidden number is randomly selected from the numbers.
4. The method for decrypting a device according to claim 1, characterized in that: Determining the input password of the input instruction according to the hidden numbers and / or the unhidden numbers involved in the input instruction includes: According to the hidden numbers and / or unhidden numbers involved in the input instruction, and the input sequence of the substitute identifiers of the hidden numbers and / or the unhidden numbers involved, the input password of the input instruction is determined.
5. The method for decrypting a device according to any one of claims 1 to 3, characterized in that: The receiving of an input instruction for the replacement identifier and / or the unhidden number comprises: An input instruction connecting the replacement identifier and / or the unhidden number is received.
6. The method for decrypting a device according to claim 5, characterized in that: Determining the input password of the input instruction according to the hidden numbers and / or the unhidden numbers involved in the input instruction includes: The input code for the input command is determined according to the connected hidden numbers and / or unhidden numbers.
7. A device for decrypting a device, characterized in that: include: A display module, used to display alternative identifiers of hidden numbers and non-hidden numbers in the unlocking interface of the device, wherein the alternative identifiers and the non-hidden numbers are arranged in a preset order; a determination module, configured to receive an input instruction, and determine an input password of the input instruction according to the hidden numbers and / or the unhidden numbers involved in the input instruction, wherein the input instruction is determined according to the preset sequence for the replacement identifier and / or the unhidden numbers; A judgment module, used for judging whether to decrypt the device based on the input password and a preset decryption password; The display module is further used to locate the position of the number in the original interface according to a preset numerical sequence and the position of at least one number, wherein the numerical sequence includes a positive numerical sequence and a reverse numerical sequence, and the numerical sequence is pre-set in a random manner; According to the number of hidden numbers, locate the hidden numbers in the numbers on the original interface; and randomly set the number of hidden numbers; In the original interface, the hidden number is replaced by the replacement identifier to generate the unlocking interface.
8. An electronic device for decrypting a device, characterized in that: include: one or more processors; a storage device for storing one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors implement the method according to any one of claims 1 to 6.
9. A computer readable medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the method according to any one of claims 1 to 6 is implemented.
Citation Information
Patent Citations
Unlocking method and device for screen
CN104462894A
A method and a device for inputting user passwords securely
CN109002698A
