Input method, device, storage medium and electronic device

By passing randomly generated numbers in non-plain text and performing calculations, the problem of easy leakage of password input in public places is solved, and the security of electronic devices is improved.

CN114065189BActive Publication Date: 2025-08-19CHINA TELECOM CORP LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202111339355.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-11-12
Publication Date
2025-08-19
Estimated Expiration
2041-11-12

AI Technical Summary

Technical Problem

When entering a password in a public place, it is easy to be peeped or recorded, resulting in security issues such as password leakage.

Method used

The randomly generated numbers are passed through non-plain text notification messages, and the user input operators and numbers are received to generate the target number, and the target number cannot be calculated externally.

Benefits of technology

Effectively prevent targeted digital leakage and improve the security of use of electronic devices.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114065189B_ABST
    Figure CN114065189B_ABST
Patent Text Reader

Abstract

The present disclosure provides an input method, device, storage medium, and electronic device, relating to the field of information security technology. The method comprises: in response to a triggering instruction for inputting a target number, issuing a first notification message in non-plaintext form, wherein the first notification message includes: a randomly generated first number; receiving a first input from a user based on the notification message, wherein the first input is used to enter a first operator and a second number; and in response to the first input, performing an operation corresponding to the first operator on the first and second numbers to obtain the target number.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of information security technology, and in particular to an input method, device, storage medium, and electronic device. Background Art

[0002] With the development of life, electronic devices with display screens such as mobile phones, tablets, and computers are increasingly used.

[0003] When people operate electronic devices, password entry is a simple and effective means of identity authentication and information security protection. Entering a password to complete certain permission-requiring operations, such as payment and login, is very common. However, when entering a password in public places, it is easy for people around to observe or be recorded by numerous surveillance cameras, which may lead to password leaks.

[0004] It should be noted that the information disclosed in the above background technology section is only used to enhance the understanding of the background of the present disclosure, and therefore may include information that does not constitute prior art known to ordinary technicians in the field. Summary of the Invention

[0005] The present disclosure provides an input method, device, storage medium and electronic device, which at least to some extent overcome the problem in the related art that passwords are easily peeped and leaked when entering passwords in various public places.

[0006] Other features and advantages of the present disclosure will become apparent from the following detailed description, or may be learned in part by practice of the present disclosure.

[0007] According to one aspect of the present disclosure, there is provided an input method, comprising:

[0008] In response to an input trigger instruction of a target number, a first notification message in non-plaintext form is issued, wherein the first notification message includes: a randomly generated first number;

[0009] receiving a first input from a user based on the notification message, where the first input is used to input a first operator and a second number;

[0010] In response to the first input, an operation corresponding to the first operator is performed on the first number and the second number to obtain a target number.

[0011] In one embodiment of the present disclosure, sending a first notification message in non-plaintext form includes:

[0012] The first number is transmitted to the user in the form of vibration.

[0013] In one embodiment of the present disclosure, transmitting a first number to a user in the form of vibration includes:

[0014] The first number is transmitted to the user in a preset area of the electronic device in the form of vibration.

[0015] In one embodiment of the present disclosure, after receiving a first input from a user based on a notification message, the method further includes:

[0016] receiving a second input from the user, where the second input is used to input a second operator and a third number;

[0017] In response to the first input, performing an operation corresponding to a first operator on the first number and the second number to obtain a target number includes:

[0018] Perform the operation corresponding to the first operator on the first number and the second number to obtain the first digit of the target number;

[0019] The operation corresponding to the second operator is performed on the first and third digits to obtain the second digit of the target number.

[0020] In one embodiment of the present disclosure, after receiving a first input from a user based on a notification message, the method further includes:

[0021] In response to the input trigger instruction of the target number, a second notification message in non-plain text form is issued, wherein the second notification message includes: a randomly generated fourth number;

[0022] receiving a third input from the user based on the second notification message, where the third input is used to input a third operator and a fifth number;

[0023] In response to the first input, performing an operation corresponding to a first operator on the first number and the second number to obtain a target number includes:

[0024] Perform the operation corresponding to the first operator on the first number and the second number to obtain the first digit of the target number;

[0025] The operation corresponding to the third operator is performed on the fourth and fifth digits to obtain the second digit of the target number.

[0026] In one embodiment of the present disclosure, in response to the input trigger instruction of the target number, before issuing the first notification message in non-plaintext form, the method further includes:

[0027] When it is detected that the displayed interface is a privacy interface requiring input of a target number, an input trigger instruction for the target number is generated.

[0028] In one embodiment of the present disclosure, after issuing a notification message in a non-plaintext format in response to an input trigger instruction of a target number, the method further includes:

[0029] On the display interface, a digital input control is displayed.

[0030] According to another aspect of the present disclosure, there is provided an input device, comprising:

[0031] A first notification module is configured to send a first notification message in a non-plaintext format in response to an input trigger instruction of a target number, wherein the first notification message includes: a randomly generated first number;

[0032] A first receiving module is configured to receive a first input from a user based on the notification message, where the first input is used to input a first operator and a second number;

[0033] The execution module is used to perform an operation corresponding to the first operator on the first number and the second number in response to the first input to obtain a target number.

[0034] According to another aspect of the present disclosure, an electronic device is provided, comprising: a processor; and a memory for storing executable instructions of the processor; wherein the processor is configured to perform the above-mentioned input method by executing the executable instructions.

[0035] According to another aspect of the present disclosure, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the input method described above is implemented.

[0036] The input method provided by the embodiments of the present disclosure, in response to a triggering instruction for inputting a target number, issues a first notification message in non-plaintext form, wherein the first notification message includes: a randomly generated first number; a first operator and a second number input by the user based on the first number; and then performing the operation corresponding to the first operator on the first and second numbers to obtain the target number. As the first number cannot be viewed from the display screen, even if the user's inputted first operator and second number are visible, the target number cannot be calculated without the first number. This effectively prevents the target number from being leaked, thereby improving the security of the electronic device.

[0037] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] The accompanying drawings are incorporated into and constitute a part of the specification, illustrate embodiments consistent with the present disclosure, and together with the specification, are used to explain the principles of the present disclosure. Obviously, the drawings described below are only some embodiments of the present disclosure, and those skilled in the art can derive other drawings based on these drawings without inventive effort.

[0039] Figure 1A schematic diagram showing a system structure in an embodiment of the present disclosure;

[0040] Figure 2 A flow chart of an input method according to an embodiment of the present disclosure is shown;

[0041] Figure 3 Shows a flow chart of another input method in an embodiment of the present disclosure;

[0042] Figure 4 A schematic diagram of a display interface in an embodiment of the present disclosure is shown;

[0043] Figure 5 A schematic diagram of an input device according to an embodiment of the present disclosure is shown;

[0044] Figure 6 A structural block diagram of a computer device in an embodiment of the present disclosure is shown. DETAILED DESCRIPTION

[0045] Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments can be embodied in many forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete and will fully convey the concepts of the example embodiments to those skilled in the art. The described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.

[0046] In addition, the accompanying drawings are merely schematic illustrations of the present disclosure and are not necessarily drawn to scale. Identical reference numerals in the figures denote identical or similar parts, and thus repetitive descriptions thereof will be omitted. Some of the block diagrams shown in the accompanying drawings are functional entities that do not necessarily correspond to physically or logically separate entities. These functional entities may be implemented in software, in one or more hardware modules or integrated circuits, or in different networks and / or processor devices and / or microcontroller devices.

[0047] Based on the background technology, it can be known that in the related art, when entering passwords in various public places, there is a problem that the passwords are easily peeped and leaked.

[0048] Specifically, in some scenarios, wearing a mask prevents facial recognition from being used for identity verification, requiring a numeric password. However, simple, infrequently modified numeric passwords can be easily snooped on by malicious parties or recorded by numerous surveillance cameras, posing a significant security risk of password leaks.

[0049] In the related art, anti-voyeur input systems and methods mainly include physical masking, barehand masking, and agreed knowledge-based systems. The inventors have found that all of the above methods have certain problems, as shown below:

[0050] 1. Physical shield type: Most of them are physical shield type external accessories, which are commonly used in fixed ATMs or POS machines, but are not generally suitable for mobile terminal scenarios (such as mobile phones);

[0051] 2. Bare-handed covering type: For large-screen mobile terminals, both hands are often required to complete input, and it is difficult to free up one hand to cover the screen with bare hands to prevent visual leakage of digital passwords.

[0052] 3. Conventional knowledge type: Some digital replacement solutions (such as replacing the numbers 0-9 with fruits and vegetables) rely on the mapping memory between numbers and replacement elements as a prerequisite.

[0053] To address the above-mentioned issues, the embodiments of the present disclosure provide an input method, apparatus, storage medium, and electronic device. In response to a trigger instruction for inputting a target number, the method sends a first notification message in non-plaintext form, wherein the first notification message includes: a randomly generated first number; a user inputs a first operator and a second number based on the first number, and then performs the operation corresponding to the first operator on the first and second numbers to obtain the target number. In this way, since the first number cannot be viewed from the display screen, even if the first operator and second number entered by the user are seen, the target number cannot be calculated without the first number. This effectively prevents the target number from being leaked, thereby improving the safety of the electronic device.

[0054] Figure 1 A schematic diagram showing an exemplary system architecture that can be applied to an input method or input device according to an embodiment of the present disclosure is shown.

[0055] like Figure 1 As shown, the system architecture 100 may include terminal devices 101 , 102 , 103 , a network 104 and a server 105 .

[0056] The network 104 is a medium for providing a communication link between the terminal devices 101 , 102 , 103 and the server 105 , and can be a wired network or a wireless network.

[0057] Optionally, the above-mentioned wireless network or wired network uses standard communication technologies and / or protocols. The network is typically the Internet, but can also be any network, including but not limited to a local area network (LAN), a metropolitan area network (MAN), a wide area network (WAN), a mobile, wired or wireless network, a private network or any combination of a virtual private network). In some embodiments, technologies and / or formats including Hyper Text Mark-up Language (HTML), Extensible Markup Language (XML), etc. are used to represent data exchanged over the network. In addition, conventional encryption technologies such as Secure Socket Layer (SSL), Transport Layer Security (TLS), Virtual Private Network (VPN), Internet Protocol Security (IPsec), etc. can be used to encrypt all or some links. In other embodiments, customized and / or dedicated data communication technologies can also be used to replace or supplement the above-mentioned data communication technologies.

[0058] The terminal devices 101 , 102 , and 103 may be various electronic devices, including but not limited to smart phones, tablet computers, laptop computers, desktop computers, wearable devices, augmented reality devices, virtual reality devices, and the like.

[0059] Optionally, the client of the application installed in different terminal devices 101, 102, and 103 is the same, or the client of the same type of application based on different operating systems. Based on different terminal platforms, the specific form of the client of the application can also be different, for example, the application client can be a mobile phone client, a PC client, etc.

[0060] The server 105 may be a server that provides various services, such as a background management server that provides support for devices operated by users using the terminal devices 101, 102, and 103. The background management server may analyze and process received requests and other data, and feed back the processing results to the terminal device.

[0061] Optionally, the server can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN (Content Delivery Network), and big data and artificial intelligence platforms. The terminal can be a smart phone, tablet computer, laptop computer, desktop computer, smart speaker, smart watch, etc., but is not limited to these. The terminal and the server can be directly or indirectly connected via wired or wireless communication, which is not limited in this application.

[0062] Those skilled in the art will know that Figure 1 The number of terminal devices, networks, and servers in the embodiment is merely illustrative, and any number of terminal devices, networks, and servers may be provided based on actual needs. This embodiment of the present disclosure does not limit this.

[0063] This exemplary implementation is described in detail below with reference to the accompanying drawings and examples.

[0064] First, the embodiments of the present disclosure provide an input method that can be executed by any electronic device with computing processing capabilities. For example, the execution entity of the input method can be, but is not limited to, any terminal device described above that can be configured to execute the input method provided by the embodiments of the present disclosure. Alternatively, the execution entity of the method can also be a client itself that is capable of executing the method.

[0065] Figure 2 A flow chart of an input method according to an embodiment of the present disclosure is shown as follows: Figure 2 As shown, the input method provided in the embodiment of the present disclosure includes the following steps:

[0066] Step S202 , in response to a trigger instruction of inputting a target number, issuing a first notification message in non-plaintext form, wherein the first notification message includes: a randomly generated first number;

[0067] Step S204: receiving a first input from the user based on the notification message, where the first input is used to input a first operator and a second number;

[0068] Step S206: In response to the first input, perform an operation corresponding to the first operator on the first number and the second number to obtain a target number.

[0069] The input method provided by the embodiments of the present disclosure, in response to a triggering instruction for inputting a target number, issues a first notification message in non-plaintext form, wherein the first notification message includes: a randomly generated first number; a first operator and a second number input by the user based on the first number; and then performing the operation corresponding to the first operator on the first and second numbers to obtain the target number. As the first number cannot be viewed from the display screen, even if the user's inputted first operator and second number are visible, the target number cannot be calculated without the first number. This effectively prevents the target number from being leaked, thereby improving the security of the electronic device.

[0070] The above steps are explained in detail below:

[0071] The target number in step S202 may be a digital verification information that needs to be input when the electronic device displays a privacy interface. If the digital verification information needs to be kept confidential, the interface may be a privacy interface.

[0072] As an example, the target number may be a password that needs to be entered when the electronic device is turned on, that is, the power-on password of the electronic device.

[0073] In some embodiments, the electronic device may be installed with applications, which may include online shopping applications, payment applications, information recording applications, file compression applications, and the like.

[0074] As an example, the target number in the above embodiment may be a payment password that needs to be input when using an application, such as a payment password in an online shopping application or a payment application.

[0075] As another example, the target number in the above embodiment can also be a decryption password that needs to be entered when using an application, for example, a decryption password that needs to be entered when decrypting encrypted information or decrypting an encrypted file in an information recording application or a file compression application.

[0076] In addition, the target number in the above embodiment may also be a login password that needs to be entered when logging into various applications or websites.

[0077] Plaintext can be a meaningful set of characters or bits, or a message that can be obtained using a public encoding standard. After being processed by an encryption algorithm, the resulting text is called ciphertext. To recover the plaintext, ciphertext must be decrypted using the decryption algorithm corresponding to the encryption algorithm. Plaintext can specifically be unencrypted text (or a string of characters). Plaintext can be a bit stream, such as text, a bitmap, digitized audio, or a digitized video image.

[0078] In the above embodiment, the “non-plain text form” may be a form that cannot be directly obtained through vision or hearing without contact with the electronic device and its associated devices.

[0079] As an example, the "non-plaintext" "notification message" in the above embodiment can be transmitted through a headset. The user of the electronic device can receive the "notification message" through the headset. In this case, without contact with the electronic device and its associated device (the headset), other users cannot directly receive the "notification message" transmitted by the headset through sight or hearing.

[0080] As another example, the "non-plaintext" "notification message" in the above embodiment can be sent to the user of an electronic device via an encrypted bitstream. The user of the electronic device can decrypt the message using a pre-agreed decryption method to recover the plaintext information. However, other users cannot directly obtain the plaintext information through visual or auditory means. The bitstream can be text, a bitmap, digitized audio, or a digitized video image, among other possibilities.

[0081] As another example, the "notification message" in the above embodiment, which is not in plain text, can be transmitted via vibration. The user of the electronic device can receive the "notification message" through touch. In this case, other users cannot directly receive the "notification message" through sight, hearing, or touch without touching the electronic device. The specific implementation of vibration transmission is detailed in the following embodiments and will not be repeated here.

[0082] In the embodiment of the present disclosure, an "operator" may be an operator corresponding to a set of operations that can be performed on numbers, and the operator includes but is not limited to any one of the operators of addition, subtraction, multiplication and division.

[0083] It should be noted that the “number” in the embodiments of the present disclosure can be 0 or a positive integer.

[0084] The target number can be a positive integer including one or more digits, or it can be 0.

[0085] The first number may be a randomly generated number, which may be 0 or a positive integer.

[0086] The "input" in the embodiments of the present disclosure may be: a user's click input on a control in an electronic device, or a voice command input by a user, or a specific gesture input by a user. The specific input may be determined based on actual usage requirements, and the embodiments of the present disclosure do not limit this.

[0087] The specific gesture in the embodiment of the present disclosure can be any one of a single-click gesture, a sliding gesture, a drag gesture, a pressure recognition gesture, a long press gesture, an area change gesture, a double-press gesture, and a double-click gesture; the click input in the embodiment of the present disclosure can be a single-click input, a double-click input, or any number of click inputs, etc., and can also be a long press input or a short press input.

[0088] The first input in the above embodiment may be an input of a first operator and a second number.

[0089] In some embodiments, the step S202 of sending the first notification message in non-plain text format may include:

[0090] The first number is transmitted to the user in the form of vibration.

[0091] Here, the user can receive information transmitted by vibration through tactile sensation.

[0092] As an example, the user may feel the number of vibrations through tactile sensation and thus obtain the first number.

[0093] As another example, transmitting the first number to the user may specifically include: transmitting the first number to the user in a preset area of the electronic device in the form of vibration.

[0094] In this way, the user can obtain different numbers transmitted by the electronic device through vibrations in different areas, and then obtain the first number.

[0095] The disclosed embodiment transmits "notification messages" via vibration, effectively preventing peeping and recording. Even in a quiet environment, bystanders cannot distinguish the vibrations, ensuring a clear and secure privacy.

[0096] In addition, the hardware of the mobile terminal can realize the above-mentioned method of transmitting information by vibration. The conditions for actual application are fully met, the development is simple, and it can be quickly promoted.

[0097] In some embodiments, based on the above embodiment, after receiving the first input of the user based on the notification message in step S204, the method may further include:

[0098] A second input from the user is received, where the second input is used to input a second operator and a third number.

[0099] Here, the implementation method of the second input is similar to that of the first input in the previous embodiment, and will not be repeated here.

[0100] After receiving the second input, step S206 in the above embodiment can be specifically implemented as follows:

[0101] Perform the operation corresponding to the first operator on the first number and the second number to obtain the first digit of the target number;

[0102] The operation corresponding to the second operator is performed on the first and third digits to obtain the second digit of the target number.

[0103] Here, the target number is an integer consisting of two digits.

[0104] In the case where the target number consists of more than two digits, the processing method can be similar to that described in the above embodiment. For example, in the case where the target number consists of three digits, the electronic device can again receive the digits and operators input by the user. Accordingly, the above step S206 can include three operations to obtain the three digits of the target number respectively.

[0105] In the disclosed embodiment, the user can input an operator and a number for each digit of the target number, which can further increase the difficulty of cracking the input information and improve the security of the system.

[0106] In some embodiments, based on the above embodiments, Figure 3 As shown, after receiving the first input of the user based on the notification message in step S204, the method may further include:

[0107] Step S302: In response to the input trigger instruction of the target number, a second notification message in non-plain text form is issued, wherein the second notification message includes: a randomly generated fourth number;

[0108] Step S304: Receive a third input from the user based on the second notification message, where the third input is used to input a third operator and a fifth number.

[0109] Accordingly, the above step S206 can be specifically implemented as follows:

[0110] Perform the operation corresponding to the first operator on the first number and the second number to obtain the first digit of the target number;

[0111] The operation corresponding to the third operator is performed on the fourth and fifth digits to obtain the second digit of the target number.

[0112] In this way, in the embodiment of the present disclosure, a random number can be provided for each digit of the target number, thereby further enhancing the security of the system.

[0113] It should be noted that, here, the first input is used to input the first operator and the second number; the second input is used to input the second operator and the third number; and the third input is used to input the third operator and the fifth number.

[0114] The second input and the third input are inputs in a parallel scheme. That is, in one scheme, the user can input the first input and the second input; in another scheme, the user can input the first input and the third input.

[0115] In addition, the embodiment of the present disclosure can also be applied to the scenario where the target number includes more than two digits. The specific implementation method is similar to the above embodiment and will not be repeated here.

[0116] In some embodiments, before step S202, the method may further include:

[0117] When it is detected that the displayed interface is a privacy interface requiring input of a target number, an input trigger instruction for the target number is generated.

[0118] In this way, the electronic device can implement monitoring and respond in a timely manner when the input method needs to be enabled, without the user having to open the relevant settings when it needs to be used, thereby improving the convenience of using this method.

[0119] In some embodiments, based on the above embodiment, after issuing a notification message in a non-plaintext form in response to the input trigger instruction of the target number in step S202, the method may further include:

[0120] On the display interface, a digital input control is displayed.

[0121] like Figure 4 As shown, the display interface of the electronic device may include a number input control 401. In addition, the display interface may also include a number box 402. When the user inputs information, the number box may display a corresponding identifier.

[0122] The disclosed embodiment uses the four basic arithmetic operations, which are simple to operate, have a low error rate in inputting information, and also ensure the security of information.

[0123] Based on the same inventive concept, the present disclosure also provides an input device, as described in the following embodiments. Since the principle of solving the problem in the device embodiment is similar to that in the above method embodiment, the implementation of the device embodiment can refer to the implementation of the above method embodiment, and the repeated parts will not be repeated.

[0124] Figure 5 A schematic diagram of an input device according to an embodiment of the present disclosure is shown. Figure 5 As shown, the input device 500 includes:

[0125] The first notification module 502 is configured to send a first notification message in a non-plaintext format in response to an input trigger instruction of a target number, wherein the first notification message includes: a randomly generated first number;

[0126] A first receiving module 504 is configured to receive a first input from a user based on the notification message, where the first input is used to input a first operator and a second number;

[0127] The execution module 505 is configured to execute an operation corresponding to a first operator on the first number and the second number in response to the first input to obtain a target number.

[0128] In some embodiments, the notification module 502 sends a first notification message in a non-plain text form, which may specifically include: transmitting a first number to the user in the form of vibration.

[0129] In some embodiments, the notification module 502 transmits the first number to the user in the form of vibration, which may include: transmitting the first number to the user in the form of vibration in a preset area of the electronic device.

[0130] In some embodiments, the input device 500 may further include:

[0131] The second receiving module may be configured to receive a second input from the user after receiving a first input from the user based on the notification message, wherein the second input is used to input a second operator and a third number;

[0132] The execution module 505 may be specifically configured to execute the following steps:

[0133] Perform the operation corresponding to the first operator on the first number and the second number to obtain the first digit of the target number;

[0134] The operation corresponding to the second operator is performed on the first and third digits to obtain the second digit of the target number.

[0135] In some embodiments, the input device 500 may further include:

[0136] The second notification module may be configured to receive a first input from a user based on a notification message and, in response to a triggering instruction of an input of a target number, issue a second notification message in non-plaintext form, wherein the second notification message includes: a randomly generated fourth number;

[0137] a third receiving module, configured to receive a third input from the user based on the second notification message, where the third input is used to input a third operator and a fifth number;

[0138] The execution module 505 may be specifically configured to execute the following steps:

[0139] Perform the operation corresponding to the first operator on the first number and the second number to obtain the first digit of the target number;

[0140] The operation corresponding to the third operator is performed on the fourth and fifth digits to obtain the second digit of the target number.

[0141] In some embodiments, the input device 500 may further include:

[0142] The generation module can be used to generate an input trigger instruction for the target number in response to the input trigger instruction of the target number before issuing a first notification message in non-plain text form, when it is monitored that the display interface is a privacy interface that requires the input of the target number.

[0143] In some embodiments, the input device 500 may further include:

[0144] The display module can be used to display a digital input control on a display interface after issuing a non-plaintext notification message in response to an input trigger instruction of a target number.

[0145] The input device provided in the embodiment of the present application can be used to execute the input methods provided in the above-mentioned method embodiments. Its implementation principles and technical effects are similar, and for the sake of simplicity, they will not be repeated here.

[0146] Those skilled in the art will appreciate that various aspects of the present disclosure may be implemented as systems, methods, or program products. Therefore, various aspects of the present disclosure may be implemented in the following forms: a complete hardware implementation, a complete software implementation (including firmware, microcode, etc.), or a combination of hardware and software implementations, which may be collectively referred to herein as "circuits," "modules," or "systems."

[0147] Refer to the following Figure 6 hereinafter, an electronic device 600 according to this embodiment of the present disclosure is described. Figure 6 The electronic device 600 shown is merely an example and should not limit the functions and scope of use of the embodiments of the present disclosure.

[0148] like Figure 6 As shown, electronic device 600 is implemented as a general-purpose computing device. Components of electronic device 600 may include, but are not limited to, the aforementioned at least one processing unit 610, the aforementioned at least one storage unit 620, and a bus 630 connecting different system components (including storage unit 620 and processing unit 610).

[0149] The storage unit stores program code, which can be executed by the processing unit 610, so that the processing unit 610 performs the steps of various exemplary embodiments of the present disclosure described in the "Exemplary Method" section of this specification. For example, the processing unit 610 can perform the following steps of the above-mentioned method embodiment: in response to an input trigger instruction of a target number, issuing a first notification message in non-plaintext form, wherein the first notification message includes: a randomly generated first number; receiving a first input from a user based on the notification message, the first input being used to enter a first operator and a second number; and in response to the first input, performing an operation corresponding to the first operator on the first number and the second number to obtain the target number.

[0150] The storage unit 620 may include a readable medium in the form of a volatile storage unit, such as a random access memory unit (RAM) 6201 and / or a cache memory unit 6202 , and may further include a read-only memory unit (ROM) 6203 .

[0151] The storage unit 620 may also include a program / utility 6204 having a set (at least one) of program modules 6205, such program modules 6205 including but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment.

[0152] Bus 630 may represent one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.

[0153] The electronic device 600 can also communicate with one or more external devices 640 (e.g., a keyboard, a pointing device, a Bluetooth device, etc.), one or more devices that enable a user to interact with the electronic device 600, and / or any device that enables the electronic device 600 to communicate with one or more other computing devices (e.g., a router, a modem, etc.). Such communication can occur via an input / output (I / O) interface 650. Furthermore, the electronic device 600 can communicate with one or more networks (e.g., a local area network (LAN), a wide area network (WAN), and / or a public network such as the Internet) via a network adapter 660. As shown, the network adapter 660 communicates with other modules of the electronic device 600 via a bus 630. It should be understood that, although not shown in the figure, other hardware and / or software modules can be used in conjunction with the electronic device 600, including but not limited to microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.

[0154] Through the description of the above embodiments, it is easy for those skilled in the art to understand that the example embodiments described herein can be implemented by software or by combining software with necessary hardware. Therefore, the technical solution according to the embodiments of the present disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which can be a personal computer, a server, a terminal device, or a network device, etc.) to execute the method according to the embodiments of the present disclosure.

[0155] In an exemplary embodiment of the present disclosure, a computer-readable storage medium is also provided. The computer-readable storage medium may be a readable signal medium or a readable storage medium. A program product capable of implementing the above-mentioned method of the present disclosure is stored thereon. In some possible implementations, various aspects of the present disclosure may also be implemented in the form of a program product, which includes program code. When the program product is run on a terminal device, the program code is used to cause the terminal device to execute the steps according to various exemplary embodiments of the present disclosure described in the "Exemplary Methods" section above of this specification.

[0156] More specific examples of computer-readable storage media in the present disclosure may include, but are not limited to, an electrical connection having one or more conductors, 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), optical fibers, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0157] In the present disclosure, a computer-readable storage medium may include a data signal propagated in baseband or as part of a carrier wave, which carries readable program code. Such propagated data signals may take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. A readable signal medium may also be any readable medium other than a readable storage medium that can transmit, propagate, or transfer a program for use by or in conjunction with an instruction execution system, apparatus, or device.

[0158] Alternatively, the program code contained on the computer-readable storage medium may be transmitted using any appropriate medium, including but not limited to wireless, wired, optical cable, RF, etc., or any suitable combination thereof.

[0159] In a specific implementation, the program code for performing the operations of the present disclosure may be written in any combination of one or more programming languages, including object-oriented programming languages such as Java, C++, and the like, as well as conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as a standalone software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user computing device via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device (e.g., via the Internet using an Internet service provider).

[0160] It should be noted that although several modules or units of the device for action execution are mentioned in the detailed description above, this division is not mandatory. In fact, according to the embodiments of the present disclosure, the features and functions of two or more modules or units described above can be concretized in one module or unit. Conversely, the features and functions of one module or unit described above can be further divided into multiple modules or units to be concretized.

[0161] Furthermore, although the steps of the method of the present disclosure are described in a particular order in the accompanying drawings, this does not require or imply that the steps must be performed in this particular order, or that all steps shown must be performed to achieve the desired results. Additionally or alternatively, some steps may be omitted, multiple steps may be combined into one step, and / or one step may be decomposed into multiple steps.

[0162] Through the description of the above embodiments, it is easy for those skilled in the art to understand that the example embodiments described herein can be implemented by software or by combining software with necessary hardware. Therefore, the technical solution according to the embodiments of the present disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which can be a personal computer, a server, a mobile terminal, or a network device, etc.) to execute the method according to the embodiments of the present disclosure.

[0163] Other embodiments of the present disclosure will readily occur to those skilled in the art after considering the specification and practicing the invention disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art not disclosed herein. The description and examples are to be considered as exemplary only, with the true scope and spirit of the present disclosure being indicated by the appended claims.

Claims

1. An input method, characterized in that: The method is performed by an electronic device, and includes: In response to a trigger instruction for inputting a target number, a first notification message in non-plaintext format is issued, wherein the first notification message includes: a randomly generated first number; the target number is information that needs to be prevented from being leaked; the non-plaintext format is a format that cannot be directly obtained through vision or hearing without contact with the electronic device and its associated devices; receiving a first input from a user based on the notification message, where the first input is used to input a first operator and a second number; In response to the first input, an operation corresponding to the first operator is performed on the first number and the second number to obtain the target number.

2. The input method according to claim 1, wherein: The sending of the first notification message in non-plaintext form includes: The first number is transmitted to the user in the form of vibration.

3. The input method according to claim 2, wherein: The transmitting the first number to the user in the form of vibration includes: The first number is transmitted to the user in the form of vibration in a preset area of the electronic device.

4. The input method according to any one of claims 1 to 3, characterized in that: After receiving the first input of the user based on the notification message, the method further includes: receiving a second input from a user, wherein the second input is used to input a second operator and a third number; In response to the first input, performing the operation corresponding to the first operator on the first number and the second number to obtain the target number includes: Performing the operation corresponding to the first operator on the first number and the second number to obtain the first digit of the target number; An operation corresponding to the second operator is performed on the first number and the third number to obtain a second digit of the target number.

5. The input method according to any one of claims 1 to 3, characterized in that: After receiving the first input of the user based on the notification message, the method further includes: In response to the input trigger instruction of the target number, a second notification message in non-plaintext form is issued, wherein the second notification message includes: a randomly generated fourth number; receiving a third input from the user based on the second notification message, where the third input is used to input a third operator and a fifth number; In response to the first input, performing the operation corresponding to the first operator on the first number and the second number to obtain the target number includes: Performing the operation corresponding to the first operator on the first number and the second number to obtain the first digit of the target number; An operation corresponding to the third operator is performed on the fourth digit and the fifth digit to obtain a second digit of the target digit.

6. The input method according to claim 1, wherein: Before issuing the first notification message in non-plaintext form in response to the input trigger instruction of the target number, the method further includes: When it is detected that the displayed interface is a privacy interface requiring input of a target number, an input trigger instruction for the target number is generated.

7. The input method according to claim 1, wherein: After issuing a notification message in a non-plaintext format in response to an input trigger instruction of a target number, the method further includes: On the display interface, a digital input control is displayed.

8. An input device, characterized in that: The device is provided in an electronic device, and includes: a first notification module, configured to issue a first notification message in non-plaintext format in response to an input trigger instruction of a target number, wherein the first notification message includes: a randomly generated first number; the target number is information that needs to be prevented from being leaked; and the non-plaintext format is a format in which the first number cannot be directly obtained through vision or hearing without contact with the electronic device and its associated devices; A first receiving module is configured to receive a first input from a user based on the notification message, where the first input is used to input a first operator and a second number; An execution module is used to perform an operation corresponding to the first operator on the first number and the second number in response to the first input to obtain the target number.

9. An electronic device, characterized in that: include: processor; as well as a memory for storing executable instructions of the processor; The processor is configured to execute the input method according to any one of claims 1 to 7 by executing the executable instructions.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the input method according to any one of claims 1 to 7 is implemented.

Citation Information

Patent Citations

  • User-defined two-way dynamic safety certification system

    CN103957106A

  • Mobile phone text cipher authentication method based on vibration semantic prompt

    CN106911847A