CN117807642A - Method for inputting numbers and electronic equipment - Google Patents

Method for inputting numbers and electronic equipment Download PDF

Info

Publication number
CN117807642A
CN117807642A CN202211179972.2A CN202211179972A CN117807642A CN 117807642 A CN117807642 A CN 117807642A CN 202211179972 A CN202211179972 A CN 202211179972A CN 117807642 A CN117807642 A CN 117807642A
Authority
CN
China
Prior art keywords
instruction
key
input
user
password
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211179972.2A
Other languages
Chinese (zh)
Inventor
孙任宇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN202211179972.2A priority Critical patent/CN117807642A/en
Publication of CN117807642A publication Critical patent/CN117807642A/en
Pending legal-status Critical Current

Links

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the application provides a method for inputting numbers and electronic equipment. The method comprises the following steps: receiving a first instruction of an input device, the first instruction being used to map a first number; determining whether a second instruction of the input device is received, wherein the second instruction is used for indicating that the first number is subjected to addition operation or subtraction operation; under the condition that the second instruction is received, determining whether the time interval between the first instruction and the second instruction is smaller than a first preset duration; if the time interval is smaller than or equal to the first preset duration, calculating the first number according to the second instruction to obtain a first target number; a first target number is entered. According to the technical scheme, the numbers can be quickly input on the display device through the direction keys of the remote controller and the mode of calculating by combining the volume increasing and decreasing keys, so that the selection of the number passwords in the mode of displaying the interface focus is avoided, and the security of inputting the passwords can be improved.

Description

Method for inputting numbers and electronic equipment
Technical Field
The embodiment of the application relates to the technical field of electronics, and more particularly relates to a method for inputting numbers and electronic equipment.
Background
A user often needs to enter a password during use of the display device. For example, when the wireless password is input through the connection network, or when the child mode is set, the user needs to input the password when exiting the child mode. However, in the process of inputting the password by the user, the password is required to be input by selecting the focus of the interface, and the password of the user is easy to be acquired by other people.
Therefore, how to improve the security of inputting the password becomes a technical problem to be solved.
Disclosure of Invention
The embodiment of the application provides a method for inputting numbers and electronic equipment. According to the technical scheme, the numbers can be quickly input on the display device through the direction keys of the remote controller and the mode of calculating by combining the volume increasing and decreasing keys, so that the selection of the number passwords in the mode of displaying the interface focus is avoided, and the security of inputting the passwords can be improved.
In a first aspect, there is provided a method of inputting numbers, the method being applied to an electronic device, the method comprising: the electronic device receives a first instruction of an input device, wherein the first instruction is used for mapping a first number; the electronic equipment determines whether a second instruction of the input equipment is received or not, wherein the second instruction is used for indicating that the first number is subjected to addition operation or subtraction operation; under the condition that the second instruction is received, the electronic equipment determines whether the time interval between the receiving of the first instruction and the receiving of the second instruction is smaller than a first preset duration; if the time interval is smaller than or equal to the first preset duration, the electronic equipment calculates the first number according to the second instruction to obtain a first target number; the electronic device inputs the first target number.
The input device may be a remote control, for example.
In some examples, the electronic device may receive the first instruction and the second instruction simultaneously. For example, when the user simultaneously presses a direction key and an audio key of the remote controller, the electronic device may simultaneously receive the first instruction and the second instruction.
In other examples, the electronic device may also receive the first instruction first, and receive the second instruction again within the preset duration. For example, the user presses the direction key first, and then continues to press the volume key.
In this embodiment of the present application, the electronic device receives a first instruction mapped to a first number, determines whether a second instruction for performing an addition operation or a subtraction operation on the first number is received, and if the electronic device determines that a time interval between receiving the first instruction and the second instruction is smaller than a first preset duration in a case where the second instruction is determined to be received, the electronic device performs an operation on the first number according to the second instruction to obtain a first target number, and inputs the target number. According to the technical scheme, the digits mapped by the first instruction can be subjected to addition operation or subtraction operation through the second instruction so as to input the final digits, so that the input of the digital passwords in the form of the display interface focus can be avoided, and the security of inputting the passwords can be improved.
With reference to the first aspect, in an implementation manner of the first aspect, the method further includes: and if the time interval is determined to be greater than the first preset duration, the electronic equipment inputs the first number.
In this embodiment of the present application, when the time interval between the receipt of the second instruction and the receipt of the first instruction is greater than the first preset duration, which means that the time interval between the user pressing the direction key and the volume key of the remote controller is longer, the user may wish the electronic device to input the first number. The technical scheme is beneficial to the user to conveniently input the first number.
With reference to the first aspect, in an implementation manner of the first aspect, the method further includes: and if the fact that the second instruction is not received within the second preset duration is determined, the electronic equipment inputs the first number.
In this embodiment of the present application, after the electronic device receives the first instruction, the electronic device may directly input the first number if a second instruction for indicating an addition operation or a subtraction operation is not received within a second preset duration.
With reference to the first aspect, in an implementation manner of the first aspect, before the electronic device determines whether the second instruction of the input device is received, the method further includes: receiving a third instruction of the input device, wherein the third instruction is used for mapping a second number; the electronic device inputs the first number.
In this embodiment of the present application, when the electronic device receives a first instruction for mapping a first number and then receives a second instruction for mapping a second number, the electronic device may directly input the first number and may continuously determine whether to input the second number. The technical scheme is beneficial to the user to quickly input the first number, and improves the user experience.
With reference to the first aspect, in an implementation manner of the first aspect, when the second instruction pair indicates that the first number is subjected to an add operation, the electronic device calculates the first number according to the second instruction to obtain a first target number, where the calculating includes: and the electronic equipment performs addition operation on the first number according to the second instruction to obtain the first target number.
In this embodiment of the present application, when the second instruction indicates that the first number is added, the electronic device may add the first number according to the second instruction to input a new number. The technical scheme is beneficial to the user to input different numbers through convenient operation.
With reference to the first aspect, in an implementation manner of the first aspect, when the second instruction pair indicates that the first number is subtracted by one, the electronic device calculates the first number according to the second instruction to obtain a first target number, including: and the electronic equipment performs subtraction operation on the first number according to the second instruction to obtain the first target number.
In this embodiment of the present application, when the second instruction indicates to perform a subtraction operation on the first number, the electronic device may perform a subtraction operation on the first number according to the second instruction, so as to input a new number. According to the technical scheme, the user can conveniently input different numbers through convenient operation.
With reference to the first aspect, in an implementation manner of the first aspect, the first instruction is sent by the input device detecting that the user presses a direction key of the input device, and the second instruction is sent by the input device detecting that the input device detects that the user presses a volume key of the input device.
In the embodiment of the application, the user can conveniently input the number by pressing the direction key and the volume key of the input device, so that the safety of inputting the password is improved.
In a second aspect, there is provided an electronic device comprising: one or more processors; one or more memories; the one or more memories store one or more computer programs comprising instructions that when executed by the one or more processors cause the method of inputting numbers as described in the first aspect and any possible implementation to be performed.
With reference to the second aspect, in an implementation manner of the second aspect, the input device is a remote controller.
In a third aspect, there is provided an apparatus for inputting digits, comprising means for implementing a method for inputting digits as described in the first aspect and any possible implementation.
In a fourth aspect, there is provided a system comprising an electronic device and an input device as in the method of inputting numbers of the first aspect and any of the possible implementations.
In a fifth aspect, there is provided a chip comprising a processor and a communication interface for receiving signals and transmitting the signals to the processor, the processor processing the signals such that the method of inputting numbers as described in the first aspect and any one of the possible implementations is performed.
In a sixth aspect, there is provided a computer readable storage medium having stored therein computer instructions which, when run on a computer, cause a method of inputting numbers as described in the first aspect and any one of the possible implementations to be performed.
In a seventh aspect, a computer program product is provided, the computer program product comprising computer program code which, when run on a computer, causes a method of inputting numbers as described in the first aspect and any one of its possible implementations to be performed.
Drawings
Fig. 1 is a schematic diagram of a password input in a display device.
Fig. 2 is a schematic diagram of a password entry exiting child mode in a display device.
FIG. 3 is a schematic diagram of a set of GUIs provided in an embodiment of the present application.
Fig. 4 is a schematic diagram of key mapping numbers in a remote controller according to an embodiment of the present application.
FIG. 5 is a schematic diagram of another set of GUIs provided in an embodiment of the present application.
FIG. 6 is a schematic diagram of another set of GUIs provided in an embodiment of the present application.
Fig. 7 is a schematic flow chart of a method for inputting numbers provided in an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described below with reference to the accompanying drawings.
The method for inputting the numbers in the embodiment of the application can be applied to large-screen display equipment such as intelligent televisions, intelligent screens, displays and projectors, and can also be applied to electronic equipment such as tablet computers, notebook computers, personal computers, ultra-mobile personal computer (UMPC), netbooks, personal digital assistants (personal digital assistant, PDA) vehicle-mounted equipment and the like, and the embodiment of the application does not limit the specific types of the electronic equipment.
Before introducing the digital input method and the technical scheme of the electronic equipment, the technical terms possibly related to the application are introduced as follows.
Child mode: a restrictive and regulatory system mode is provided in an electronic device by parents in order to prevent children from engaging in networks and accessing content beyond age limits. For example, a parent may set applications that the electronic device is permitted to use, duration of use, content displayed, etc. in a child mode. In addition, when exiting the child mode, a password is required to be input, and when the password is correct, the child mode can be exited.
Focal point: the control that receives events and processes responses in the non-touch screen display device is a control with focus (focused). Only one control with focus can be presented in one display window or display interface for one time. In the embodiment of the present application, the display box for currently inputting the password may be regarded as the focus.
Fig. 1 is a schematic diagram of a password input in a display device. As shown in fig. 1, when the display apparatus 200a is networked, a user is required to input a password using the remote controller 200b to access the network.
Referring to fig. 1, the display interface 210 of the display device 200a may display text contents "please input" the password of the LSLDXA "network", and may further include a password input box 211, a connection button 212, and a keyboard display area.
When a user inputs a password using the remote controller 200b, a corresponding letter, number, character, etc. can be selected in the keyboard display area by the directional keys such as the up key 224, the down key 222, the left key 221, and the right key 223 of the remote controller 200 b. After the letters, numbers and characters are selected, the corresponding display frame, i.e. the focus of the display interface 210, may be highlighted or highlighted to alert the user to the selected state. After selection, the user may effect input by clicking on the ok button 226. Referring to fig. 1, when a user selects the number 9, the display frame 213 of the number 9 is in a highlighted state, and when the user clicks the ok button 226, the number 9 may be input into the password input frame 211. When the user finishes inputting the password, the user can move the focus into the connection button 212 through the direction key, and perform a connection-to-network operation by clicking the ok button 226.
In the process of inputting the password, the number or letter selected by the user is highlighted, the password is easy to be obtained by other people or children, and privacy of the user is not protected.
Fig. 2 is a schematic diagram of a password entry exiting child mode in a display device. Referring to fig. 2, when the display apparatus 300 sets the child mode, when the child mode is exited, a card 320 is displayed in a display interface 310 of the display apparatus 300, addition and subtraction calculation questions of a traditional Chinese character are randomly appeared in the card 320, and four numbers to be selected appear, and a user is required to select an answer to the calculation questions from the four numbers to be selected. Illustratively, the addition and subtraction calculation is entitled "three times two equals", the four candidate numbers are "6, 2, 0, 8", and when the user selects the numbers 6 and 0 through the remote controller 200b, the display device 300 determines that the answer input is correct, and the child mode may be exited. It should be appreciated that the correct answer may be considered a password to exit child mode.
In the process of inputting the digital answers, the complex characters are required to be identified to determine the answers and input, so that the difficulty of a part of children exiting the child mode is improved, but after the children learn the complex characters and arithmetic, the children can freely exit the child mode, and the child mode is similar to a dummy mode.
In view of this, the embodiment of the application provides a method and an electronic device for inputting numbers, which can quickly input a number password by combining a direction key of a remote controller with a volume up-down key calculation mode, so that the selection of the number password in a form of displaying an interface focus is avoided, and the security of inputting the password can be improved.
It should be understood that the method for inputting numbers in the embodiments of the present application may be applied to any scenario in which a user inputs a digital password. For example, a scenario in which a digital password is required to be input when exiting the child mode, a scenario in which a digital authentication code is required to be input, a scenario in which a payment password is required to be input, and the like. Hereinafter, the present application will take the example of exiting the child mode and inputting a number password as an example to describe the method of inputting a number, but this should not cause any limitation on the applicable scenario of the present application.
When the user sets the child mode in the display device, a password needs to be set. After entering child mode, when the user wishes to exit child mode, a password is entered. When the input password is the same as the preset password, the display device can exit the child mode and display a normal system interface.
Fig. 3 is a schematic diagram of a set of graphical user interfaces (graphical user interface, GUI) provided by an embodiment of the present application. Referring to fig. 3, the GUI is a display interface 310 of a display device 300. When the user exits the child mode, a card 320 may be displayed in the display interface 310, a title bar 321 may be displayed in the display card 320, a text content "exit child mode" may be displayed in the title bar 321, and a number input area may be further included in the display card 320, where the number input area may include a number of number input boxes. The number entered by the user is the password.
It should be appreciated that the display device 300 may be a smart screen, smart television, or the like, which requires remote control operation.
It should be appreciated that the number of digital input boxes may be related to the number of digits of the password set by the user. For example, if the user sets a 6-digit numeric password, the number of the numeric input boxes may be 6; if the user sets a 4-digit numeric password, the number of numeric input boxes may be 4.
When a user inputs a number, the number may be input through the direction keys of the remote controller, the up key 224, the down key 222, the left key 221, and the right key 223, or the number may be input through the direction keys in combination with the volume up key 231 or the volume down key 232.
Referring to fig. 4 for exemplary purposes, fig. 4 is a schematic diagram of a remote control directional key map number. In a scenario where a number is required to be input, the up key 224 in the direction key of the remote controller 200b may map to the number 2, the right key 223 may map to the number 5, the down key 222 may map to the number 8, and the left key 221 may map to the number 0. The volume up key 231 of the remote controller 200b may map the function +1 and the volume down key 232 may map the function-1. Thus, the user can input the numerals 0 to 9 by combining the up-down, left-right direction keys of the remote controller 200b with the volume up-down keys.
For example, the user may input number 0 through the left key, number 1 through the left key up volume up key, number 2 through the up key up volume up key, number 3 through the up key up volume down key, number 4 through the right key up volume down key, number 5 through the right key up volume up key, number 6 through the right key up volume down key, number 7 through the down key up volume down key, number 8 through the down key up volume up key, and number 9 through the down key up volume up key.
It should be appreciated that when a user desires to enter a number in combination with a direction key and a volume key, a certain direction key and a certain volume key may be pressed simultaneously. For example, when inputting the number 1, the user may press the left key and the volume up key simultaneously, or may press the up key and the volume down key simultaneously.
In other examples, the remote control 200b may display 2 for the area of the up key 224, 5 for the area of the right key 223, 8 for the area of the down key 222, and 0 for the area of the left key 221.
It should be appreciated that the manner in which the above-described directional keys map numbers is merely one example. In other examples, the up key 224 may map to the number 0, the right key 223 may map to the number 2, the down key 222 may map to the number 5, and the left key 221 may map to the number 8. Alternatively, the four keys may be mapped with four numbers 1, 4, 5, 8, etc., which is not limited in the embodiment of the present application.
With continued reference to fig. 3, the card 320 may include 6 digital input boxes therein, i.e., requiring the user to enter a 6-digit numeric code. When the user inputs a number through the remote controller 200b, the current number input box may be in a selected state (e.g., highlighted color display) to prompt the user as to what number of passwords the number currently input is. And after the user finishes inputting the current number, if the display device 300 determines that the current number is correctly input, the identifiers such as "+,", etc. can be displayed in the number input box, and the number is not specifically displayed, so that the security of the input password can be improved.
For example, for the third digit, when the user selects the input box 321 for the third digit, the input box 321 may be highlighted in color. After the user presses the direction key or the direction key of the remote controller and inputs the third digit in combination with the volume key, the display device 300 may receive the command sent by the remote controller and determine the digit input by the user according to the command. If the display device 300 determines that the third digit is correct, the current input box 321 may display identification information such as "+"; if the display device 300 determines that the third digit is wrong, the current input box 321 may be red-displayed, or the current card 320 or the display interface 310 may be dithered to alert the user of the password input error of the current digit.
In other examples, the card 320 may further include a function button 322, and when the user selects to turn off the function button 322, the number input by the user in the input box 321 may not be specifically displayed, but the identification information of "×", etc. described above is displayed. When the user selects to turn on the function button 322, the number entered by the user in the input box 321 may be specifically displayed.
It should be understood that the mapping relationship between the direction key and the number of the remote controller and the mapping relationship between the combination key and the number between the direction key and the volume key in the scene of inputting the number may be stored in the display device, and for example, the mapping relationship may be stored in the mapping table. Alternatively, the mapping relationship may be stored in the cloud.
When a user inputs a number through the remote controller, the display device can receive a target instruction of the remote controller, acquire a target number corresponding to the target instruction through the mapping table, and determine whether the target number input by the user is correct or not by comparing the target number with a stored password.
In other examples, the mapping relationship between the direction key and the number of the remote control and the function type (e.g., +1 or-1) of the volume key may be stored in the display device, and when the display device receives the first instruction of the direction key and the second instruction of the function type of the remote control, the corresponding function (e.g., +1 or-1) may be performed on the number mapped by the direction key to determine the final number.
It should be understood that the first instruction and the second instruction may be received by the display device at the same time, or may be received at predetermined intervals. For example, when the user presses the up key and the volume up key simultaneously, the display device may receive the first instruction and the second instruction simultaneously, determine that +1 is performed on numeral 2 mapped to the up key according to the first instruction and the second instruction, and determine numeral 3; when the user presses the direction key first and presses the volume key again in the interval between t1, the display device can determine that the interval time between the first instruction and the second instruction is within the preset time t1, and then +1 can be executed on the number 2 mapped by the upper key to determine the final number 3.
In another example, when the user presses the first direction key and presses the second direction key again within the preset time t1, a number corresponding to the first direction key may be input.
It should be understood that in the embodiment of the present application, when the user double-clicks the volume key, it may be considered to be an operation of +1, that is +2, twice. When the user double clicks the volume down key, it may be considered to be an operation of-1, i.e., -2, twice.
In the embodiment of the application, the user can quickly input the digital password in the display device in a mode of combining the direction key and the direction key of the remote controller with the volume key, so that the selection of the digital password in the form of the focus of the display interface is avoided, and the security of inputting the password can be improved. And the input digital password is invisible to the user, so that the password can be prevented from being acquired by children or others, and the security of the password input by the user can be protected. In addition, the display device can also judge whether the password input by the user is correct bit by bit, and when the error is determined, a prompt can be output to the user, so that the user can input all the passwords again when a certain password is wrong, and the user experience can be improved.
The technical scheme of inputting numbers by the user through the direction key and the volume key of the remote controller will be described in detail with reference to fig. 5.
FIG. 5 is a schematic diagram of a set of GUIs provided in an embodiment of the present application. Here, a process in which the user inputs a numerical password in the display device 400 using the combination key of the remote controller 200b is shown from (a) to (f) in fig. 5.
In the embodiment of the present application, it is assumed that the password of the child mode set by the user is "314679". When the user exits child mode, a password may be entered as follows.
Referring to fig. 5 (a), the GUI is a schematic diagram of the remote controller 200b and a display interface 410 of the display apparatus 400. A card 420 may be displayed in the display interface 410, and six password input boxes and function buttons 411 may be included in the card 420.
When the display apparatus 400 detects that the user opens the function button 411, the user may simultaneously press the up key 224 and the volume up key 231 of the remote controller 200b for the first password, or the user may press the up key 224 and the volume up key 231 of the remote controller 200b for an interval less than a preset time period, and after the display apparatus 400 receives an instruction of the remote controller, the number 3 may be displayed in the password input box 421. When the display apparatus 400 detects the number 3 input by the user, a GUI as shown in (b) of fig. 5 may be displayed.
Alternatively, the user may double-click the volume down key 232 again to input the number 3 within a preset time of pressing the right key 223 of the remote controller 200 b.
In some cases, when the user fails to operate, the display device 400 may compare the input number with the preset password, and when the first password is determined to be wrong, the first password may be displayed in red on the password input box 421, or the password is displayed in text, or the user is prompted by dithering the card 420 or the display interface 410, or the like. At this point, the user may reenter.
In other examples, the card 420 may not include the function button 411, and when the user inputs the number 3, the display device determines that the first password is correct, and may directly display the identification information such as "×", etc. without specific display, so as to protect the privacy of the user. When the display device determines that the first-bit password is wrong, the password input box 421 may be red-displayed, or the user may be prompted for the first-bit password input error in the form of window dithering or the like.
Referring to fig. 5 (b), a "×" is displayed in the input box 421 of the card 420, and the focus is moved from the input box 421 to the input box 422, that is, the input box 422 is in the selected state, and the user can input a password in the input box 422.
In other examples, the number 3 may be displayed in the input box 421.
For the second password, the user may simultaneously press the up key 224 and the volume down key 232 of the remote controller 200b, or the user may press the up key 224 and the volume up key 231 of the remote controller 200b for an interval less than a preset time period to input the number 1, and after the display apparatus 400 receives an instruction of the remote controller, the number 1 may be displayed in the password input box 422. When the display apparatus 400 detects the number 1 input by the user, a GUI as shown in (c) of fig. 5 may be displayed.
It should be understood that the input of the number 1 may also be implemented when the user simultaneously presses the left key 221 and the volume up key 231 of the remote controller 200b, or the user presses the left key 221 and the volume up key 231 of the remote controller 200b for a time interval less than a preset time period.
Also, in other examples, the card 420 may not include the function button 411, and when the user inputs the number 1, the display device determines that the second password is correct, and may directly display identification information such as "+,", etc. so as to protect the privacy of the user. When the display device determines that the second bit password is wrong, the password input box 422 may be displayed in red, or the user may be prompted in the form of window jitter, etc.
Referring to fig. 5 (c), the input boxes 421 and 422 in the card 420 are displayed "×", and the focus is moved from the input box 422 to the input box 423, that is, the input box 423 is in the selected state, and the user can input the password in the input box 423.
In other examples, the number 3 may be displayed in input box 421 and the number 1 may be displayed in input box 422.
For the third password, the user may simultaneously press the right key 223 and the volume down key 232 of the remote controller 200b to input the number 4, or the user may further press the volume down key 232 to input the number 4 within a preset time after pressing the right key 223 of the remote controller 200 b. When the display apparatus 400 receives an instruction of the remote controller, the number 4 may be displayed in the password input box 423. When the display apparatus 400 detects the number 4 input by the user, a GUI as shown in (d) of fig. 5 may be displayed.
In other examples, the user may also double click volume up key 231 to enter the number 4 while pressing up key 223 of remote control 200 b; alternatively, the user may double-click volume up key 232 to enter the number 4 within a preset time of pressing remote control 200 b.
Also, in other examples, the card 420 may not include the function button 411, and when the user inputs the number 4, the display device determines that the third password is correct, and may directly display identification information such as "+,", etc. so as to protect the privacy of the user. When the display device determines that the third bit password is wrong, the third bit password input box 423 may be displayed in red, or the user may be prompted in the form of window jitter, or the like.
Referring to fig. 5 (d), input boxes 421, 422, 423 in the card 420 show "×", and the focus is moved from input box 423 to input box 424, that is, input box 424 is in the selected state, and the user can input a password in input box 424.
In other examples, the numbers may be specifically displayed in the input boxes 421, 422, 423.
For the fourth password, the user may simultaneously press the right key 223 and the volume up key 231 of the remote controller 200b to input the number 6, and after the display apparatus 400 receives an instruction of the remote controller, the number 6 may be displayed in the password input box 424. When the display apparatus 400 detects the number 6 input by the user, a GUI as shown in (e) of fig. 5 may be displayed.
In other examples, the user may also press the volume up key 231 to enter the number 6 within a preset time of pressing the right key 223 of the remote controller 200 b.
Also, in other examples, the card 420 may not include the function button 411, and when the user inputs the number 6, the display device determines that the fourth password is correct, and may directly display identification information such as a serial number, so as to protect the privacy of the user. When the display device determines that the fourth bit password is wrong, the password input box 424 may be displayed in red, or the user may be prompted in the form of window jitter, etc. for the fourth bit password.
Referring to fig. 5 (e), the input boxes 421, 422, 423, 424 in the card 420 show "×" and the focus is moved from the input box 424 to the input box 425, i.e. the input box 425 is in the selected state, and the user can enter a password in the input box 425.
In other examples, the input boxes 421, 422, 423, 424 may specifically display numbers.
For the fifth password, the user may simultaneously press the down key 222 and the volume down key 232 of the remote controller 200b to input the number 7, and after the display apparatus 400 receives an instruction of the remote controller, the number 7 may be displayed in the password input box 425. When the display apparatus 400 detects the number 7 input by the user, a GUI as shown in (f) of fig. 5 may be displayed.
Alternatively, the user may further press the volume down key 232 to input the number 7 within a preset time of pressing the down key 222 of the remote controller 200 b.
Also, in other examples, the card 420 may not include the function button 411, and when the user inputs the number 7, the display device determines that the fifth password is correct, and may directly display identification information such as a serial number, so as to protect the privacy of the user. When the display device determines that the fifth bit password is wrong, the password input box 425 may be displayed in red, or the user may be prompted in the form of window dithering, etc. for the fifth bit password to be input wrong.
Referring to fig. 5 (f), the input boxes 421, 422, 423, 424, 425 in the card 420 show "×" and the focus is moved from the input box 425 to the input box 426, i.e. the input box 426 is in the selected state, and the user can input a password in the input box 426.
For the sixth password, the user may simultaneously press the down key 222 and the volume up key 231 of the remote controller 200b to input the number 9, and after the display apparatus 400 receives an instruction of the remote controller, the number 9 may be displayed in the password input box 426. When the display apparatus 400 detects the number 9 input by the user, a GUI as shown in (f) of fig. 5 may be displayed.
In other examples, the user may also press the volume up key 231 to enter the number 9 within a preset time of pressing the down key 222 of the remote controller 200 b.
Also, in other examples, the card 420 may not include the function button 411, and when the user inputs the number 9, the display device determines that the sixth password is correct, and may directly display identification information such as a serial number, so as to protect the privacy of the user. When the display device determines that the sixth bit password is wrong, the password input box 426 may be displayed in red, or the user may be prompted in the form of window jitter, or the like.
In the embodiment of the present application, when the display device detects that the user turns off the function button 411, the display device 400 may not display a specific number.
In other embodiments of the present application, the display device may also determine the correctness of the password input by the user after the user inputs all the passwords, and when determining that the password is wrong, the display device may display all the passwords input by the user in the form of red frame marks, or prompt the user that the password is wrong in the form of window jitter, etc.
In the embodiment of the application, the user can quickly input the digital password in the display device by combining the direction key and the direction key of the remote controller with the volume key, the password is not required to be input by adopting a mode selected in the input method, and the password can be prevented from being acquired by children or others, so that the security of the password input by the user can be protected. In addition, the display device can not display the password input by the user, so that the security of the password is further improved, the display device can also judge whether the password input by the user is correct bit by bit, when an error is determined, a prompt can be output to the user, and when a certain password is wrong, the user can avoid inputting all the passwords again, so that the experience of the user can be improved.
FIG. 6 is a schematic diagram of another set of GUIs provided in an embodiment of the present application. Wherein a schematic of several different graphical passwords is shown from (a) to (f) in fig. 6.
In the embodiment of the application, the display device may store the key sequence of the direction keys of the remote controller as a graphic password. When the user needs to input the password, for example, when exiting the child mode, if the graphic password formed by the sequence of the direction keys of the remote controller pressed by the user is the same as the preset graphic password, the child mode can be exited.
Referring to fig. 6 (a), the graphic is a graphic password showing a key sequence of a remote controller which can be stored in the apparatus. The starting point of the graphic password is the left key of the direction key of the remote controller, and the key sequence of the graphic password is left key, upper key, right key and lower key. When the user needs to input the graphic password, such as exiting the child mode, the user can press the left key, the upper key, the right key and the lower key in sequence, and after the display device determines that the graphic password is correct according to the received instruction, the child mode can be exited.
Referring to (b) of fig. 6, the graphic is another graphic password showing a key sequence of a remote controller which can be stored in the apparatus. The starting point of the graphic password is the left key of the direction key of the remote controller, and the key sequence for forming the graphic password is the left key, the right key, the lower key and the upper key in sequence. When the user needs to input the graphic password, such as exiting the child mode, the user can press the left key, the right key, the lower key and the upper key in sequence, and after the display device determines that the graphic password is correct according to the received instruction, the child mode can be exited.
Referring to (c) of fig. 6, the graphic is another graphic password showing a key sequence of a remote controller which can be stored in the apparatus. The starting point of the graphic password is the left key of the direction key of the remote controller, and the key sequence of the graphic password is sequentially left key, lower key, upper key and right key. When the user needs to input the graphic password, such as exiting the child mode, the user can press the left key, the lower key, the upper key and the right key in sequence, and after the display device determines that the graphic password is correct according to the received instruction, the child mode can be exited.
Referring to (d) of fig. 6, the graphic is another graphic password showing a key sequence of a remote controller which can be stored in the apparatus. The starting point of the graphic password is an upper key of a direction key of the remote controller, and the key sequence for forming the graphic password is an upper key, a right key, a lower key and a left key in sequence. When the user needs to input the graphic password, such as exiting the child mode, the user can press the upper key, the right key, the lower key and the left key in sequence, and when the display device determines that the graphic password is correct according to the received instruction, the child mode can be exited.
Referring to (e) of fig. 6, the graphic is another graphic password showing a key sequence of a remote controller which can be stored in the device. The starting point of the graphic password is the key-down of the direction key of the remote controller, and the key-press sequence of the graphic password is the key-down, the key-up and the right key. When the user needs to input the graphic password, such as exiting the child mode, the user can sequentially press the key down, the key up, the key down and the key right, and after the display device determines that the graphic password is correct according to the received instruction, the child mode can be exited.
Referring to (f) of fig. 6, the graphic is another graphic password showing a key sequence of a remote controller which can be stored in the apparatus. The starting point of the graphic password is the left key of the direction key of the remote controller, and the key sequence of the graphic password is right key, left key, up key and down key. When the user needs to input the graphic password, such as exiting the child mode, the user can press the right key, the left key, the upper key and the lower key in sequence, and after the display device determines that the graphic password is correct according to the received instruction, the child mode can be exited.
It should be understood that, in the process that the user presses the direction keys of the remote controller, the interval time of the user pressing the two adjacent direction keys should be less than or equal to the preset duration. When the interval is greater than the preset duration, the user needs to reenter from scratch.
In other examples, the graphical password may also consist of at least two of the directional keys.
In other examples, the same directional key may also appear multiple times in the graphical password, e.g., the key sequence making up the graphical password is "top left, bottom right, left".
In other embodiments, the display device may also have stored therein a preset sequence of remote control direction keys. For example, the preset sequence stored by the display device is "up, down, left and right", and when the sequence in which the user presses the direction key of the remote controller is "up, down, left and right", the display device can determine that the password is correct, and the child mode can be exited.
In other embodiments, when the user wishes to exit child mode, the display interface of the display device may display the text content "please enter a graphical password" to act as a prompt for the user.
In other embodiments, when the user wishes to exit the child mode, the graphical input area may be displayed in the display interface of the display device, and in the process that the user presses the direction key of the remote controller, the graphical animation may be displayed in the graphical input area of the display device synchronously, so as to provide a part of guidance for the user, and improve the user experience.
In the embodiment of the application, the path can be formed in the sequence of pressing the direction keys of the remote controller by the user and the graphic password is formed, so that the user is easy to operate, and the user experience can be improved.
Fig. 7 is a schematic flow chart of a method for inputting numbers provided in an embodiment of the present application. As shown in fig. 7, the method 700 may be applied in an electronic device, and the method 700 may include steps 710 to 750.
The electronic device receives a first instruction of the input device, the first instruction for mapping a first number 710. Accordingly, the input device sends a first instruction to the electronic device.
It is to be understood that the electronic device may be a display device as in the foregoing, for example, a smart television, a smart screen, etc. The input device may be the remote control hereinbefore.
The method 700 of the embodiment of the application can be applied to a scene that a user inputs numbers in a display device through a remote controller.
For example, when the remote controller detects an operation in which the user presses a direction key of the remote controller, a first instruction may be transmitted to the display device. For example, when the user presses one of the up, down, left, or right keys, the remote control may send a first instruction to the display device, which may be used to map a number. Correspondingly, the display device receives the first instruction.
Referring to fig. 4, the upper key of the remote controller may map a number 2, the right key may map a number 5, the lower key may map a number 8, and the left key may map a number 0, and when the user presses the upper key of the remote controller, the remote controller may transmit a first instruction to the display device, which may be used to map the number 2.
It should be understood that the direction keys of the remote controller may also map other numbers, and the embodiments of the present application are not limited.
720, the electronic device determines whether a second instruction of the input device is received, the second instruction being for indicating to add an operation or subtract an operation on the first number.
For example, when the remote controller detects an operation in which the user presses a volume key of the remote controller, a second instruction may be transmitted to the display device.
Referring to fig. 4, a volume up key of the remote controller may indicate an up operation and a volume down key may indicate a down operation. For example, after the user presses the direction key and continues to press the volume up key, the remote controller may send a second instruction to the display device, where the second instruction is used to instruct to add one to the first number mapped by the first instruction.
At 730, in the case of determining that the second instruction is received, the electronic device determines whether a time interval between receiving the first instruction and receiving the second instruction is less than a first preset duration.
In one possible implementation, the user may press the direction key and the volume key of the remote control simultaneously, and the electronic device may receive the first instruction and the second instruction simultaneously.
In another possible implementation, the user may press the direction key of the remote control first, and then continue to press the volume key, and the electronic device may determine whether a time interval between receiving the first instruction and receiving the second instruction is less than a first preset duration.
It should be understood that, in the embodiment of the present application, the specific value of the first preset duration is not limited, and may be, for example, 3s, 5s, etc.
740, if the time interval is less than or equal to the first preset duration, the electronic device calculates the first number according to the second instruction, so as to obtain the first target number.
And under the condition that the electronic equipment determines that the time interval is smaller than or equal to the first preset time length, carrying out corresponding operation on the numbers mapped by the first instruction according to the operation mode indicated in the second instruction so as to obtain first target numbers.
In one example, referring to (a) in fig. 5, the first instruction may map a number 2, and the second instruction may be for indicating an addition operation, where when the display device determines that the time interval is less than or equal to the first preset time period, the addition operation may be performed on the number 2 to obtain a number 3, where the number 3 is the first target number.
In another example, referring to (b) in fig. 5, the first instruction may map a number 2, and the second instruction may be for indicating a subtraction operation, where when the display device determines that the time interval is less than or equal to the first preset time period, the subtraction operation may be performed on the number 2 to obtain a number 1, where the number 1 is the first target number.
750, the electronic device inputs a first target number.
The electronic device illustratively inputs the first target number in the display screen. For example, a number is entered in a password entry box.
In this embodiment of the present application, the electronic device receives a first instruction mapped to a first number, determines whether a second instruction for performing an addition operation or a subtraction operation on the first number is received, and if the electronic device determines that a time interval between receiving the first instruction and the second instruction is smaller than a first preset duration in a case where the second instruction is determined to be received, the electronic device performs an operation on the first number according to the second instruction to obtain a first target number, and inputs the target number. According to the technical scheme, the digits mapped by the first instruction can be subjected to addition operation or subtraction operation through the second instruction so as to input the final digits, so that the input of the digital passwords in the form of the display interface focus can be avoided, and the security of inputting the passwords can be improved.
In some embodiments, the method 1000 may further comprise:
if the time interval is determined to be greater than the first preset duration, the electronic device inputs a first number.
In this embodiment of the present application, when the electronic device determines that the time for receiving the second instruction and the time for receiving the first instruction are longer than the first preset duration, which means that the interval time between the user pressing the direction key and the volume key of the remote controller is longer, the user may wish the electronic device to input the first number, and the electronic device may directly input the first number mapped by the first instruction. The technical scheme is beneficial to the user to conveniently input the first number.
In some embodiments, the method 1000 may further comprise:
if the fact that the second instruction is not received within the second preset duration is determined, the electronic equipment inputs the first number.
In this embodiment of the present application, after the electronic device receives the first instruction, the electronic device may directly input the first number if a second instruction for indicating an addition operation or a subtraction operation is not received within a second preset duration.
In some embodiments, the method 1000 may further include, prior to the electronic device determining whether the second instruction of the input device is received:
receiving a third instruction of the input device, wherein the third instruction is used for mapping the second number;
The electronic device inputs a first number.
For example, when the user presses the key on the remote control and then presses the key on the remote control, the electronic device may first input the number corresponding to the key on the remote control, and then continue to determine whether to input the number corresponding to the key on the remote control.
In this embodiment of the present application, when the electronic device receives a first instruction for mapping a first number and then receives a second instruction for mapping a second number, the electronic device may directly input the first number and may continuously determine whether to input the second number. The technical scheme is beneficial to the user to quickly input the first number, and improves the user experience.
In some embodiments, when the second instruction pair indicates to perform an addition operation on the first number, the electronic device calculates the first number according to the second instruction to obtain a first target number, including: and the electronic equipment performs addition operation on the first number according to the second instruction to obtain the target number.
In this embodiment of the present application, when the second instruction indicates that the first number is added, the electronic device may add the first number according to the second instruction to input a new number. In the technical scheme, the method is beneficial to users to input different numbers through convenient operation.
In some embodiments, when the second instruction pair indicates to perform a subtraction operation on the first number, the electronic device calculates the first number according to the second instruction to obtain a first target number, including: and the electronic equipment performs one-subtracting operation on the first number according to the second instruction to obtain a first target number.
In this embodiment of the present application, when the second instruction indicates to perform a subtraction operation on the first number, the electronic device may perform a subtraction operation on the first number according to the second instruction, so as to input a new number. The technical scheme is beneficial to the user to input different numbers through convenient operation.
In some embodiments, the first instruction is sent by the input device detecting a user pressing a directional key of the input device, and the second instruction is sent by the input device detecting a user pressing a volume key of the input device.
In the embodiment of the application, the user can conveniently input the number by pressing the direction key and the volume key of the input device, so that the safety of inputting the password is improved.
The embodiment of the application also provides electronic equipment, which comprises: one or more processors; one or more memories; the one or more memories store one or more computer programs comprising instructions that, when executed by the one or more processors, cause the method of inputting numbers as described in any of the possible implementations hereinbefore to be performed.
The embodiment of the application also provides a device for inputting numbers, which comprises a module for realizing the method for inputting numbers in any of the possible implementation manners.
Embodiments of the present application provide a system including an electronic device and an input device in a method of inputting numbers as previously described.
The electronic device is illustratively a display device in the foregoing and the input device is a remote control in the foregoing.
The present embodiments also provide a chip comprising a processor and a communication interface for receiving signals and transmitting the signals to the processor, the processor processing the signals such that the method of inputting numbers as described in any one of the possible implementations hereinbefore is performed.
The present embodiment also provides a computer-readable storage medium having stored therein computer instructions which, when executed on an electronic device, cause the electronic device to perform the above-described related method steps to implement the method of inputting numbers in the above-described embodiments.
The present embodiment also provides a computer program product which, when run on a computer, causes the computer to perform the above-described related steps to implement the method of inputting numbers in the above-described embodiments.
In addition, embodiments of the present application also provide an apparatus, which may be specifically a chip, a component, or a module, and may include a processor and a memory connected to each other; the memory is configured to store computer-executable instructions, and when the device is operated, the processor may execute the computer-executable instructions stored in the memory, so that the chip performs the method for inputting numbers in the above-described method embodiments.
The electronic device, the computer readable storage medium, the computer program product or the chip provided in this embodiment are used to execute the corresponding method provided above, so that the beneficial effects thereof can be referred to the beneficial effects in the corresponding method provided above, and will not be described herein.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
It will be clear to those skilled in the art that, for convenience and brevity of description, specific working procedures of the above-described systems, apparatuses and units may refer to corresponding procedures in the foregoing method embodiments, and are not repeated herein.
In the several embodiments provided in this application, it should be understood that the disclosed systems, devices, and methods may be implemented in other manners. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of the units is merely a logical function division, and there may be additional divisions when actually implemented, e.g., multiple units or components may be combined or integrated into another system, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in each embodiment of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer-readable storage medium. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution, in the form of a software product stored in a storage medium, including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a read-only memory (ROM), a random access memory (random access memory, RAM), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
The foregoing is merely specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily think about changes or substitutions within the technical scope of the present application, and the changes and substitutions are intended to be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (13)

1. A method of inputting numbers, the method being applied to an electronic device, the method comprising:
the electronic device receives a first instruction of an input device, wherein the first instruction is used for mapping a first number;
the electronic equipment determines whether a second instruction of the input equipment is received or not, wherein the second instruction is used for indicating that the first number is subjected to addition operation or subtraction operation;
under the condition that the second instruction is received, the electronic equipment determines whether the time interval between the receiving of the first instruction and the receiving of the second instruction is smaller than a first preset duration;
if the time interval is smaller than or equal to the first preset duration, the electronic equipment calculates the first number according to the second instruction to obtain a first target number;
the electronic device inputs the first target number.
2. The method according to claim 1, wherein the method further comprises:
and if the time interval is determined to be greater than the first preset duration, the electronic equipment inputs the first number.
3. The method according to claim 1 or 2, characterized in that the method further comprises:
And if the fact that the second instruction is not received within the second preset duration is determined, the electronic equipment inputs the first number.
4. A method according to any of claims 1-3, wherein before the electronic device determines whether a second instruction of an input device is received, the method further comprises:
receiving a third instruction of the input device, wherein the third instruction is used for mapping a second number;
the electronic device inputs the first number.
5. The method of any of claims 1-4, wherein when the second instruction pair indicates to add an operation to the first number, the electronic device calculates the first number according to the second instruction to obtain a first target number, including:
and the electronic equipment performs addition operation on the first number according to the second instruction to obtain the first target number.
6. The method of any of claims 1-4, wherein when the second instruction pair indicates to subtract one operation from the first number, the electronic device calculates the first number according to the second instruction to obtain a first target number, including:
And the electronic equipment performs subtraction operation on the first number according to the second instruction to obtain the first target number.
7. The method of any of claims 1-6, wherein the first instruction is sent by the input device detecting a user pressing a directional key of the input device and the second instruction is sent by the input device detecting a user pressing a volume key of the input device.
8. An electronic device, comprising: one or more processors; one or more memories; the one or more memories store one or more computer programs comprising instructions that, when executed by the one or more processors, cause the method of inputting numbers of any of claims 1-7 to be performed.
9. The electronic device of claim 7, wherein the input device is a remote control.
10. An electronic device comprising means for implementing a method of inputting digits as claimed in any one of claims 1-7.
11. A system comprising an electronic device and an input device in a method of inputting digits as claimed in any of claims 1-7.
12. A chip comprising a processor and a communication interface for receiving signals and transmitting the signals to the processor, the processor processing the signals such that the method of inputting numbers according to any of claims 1-7 is performed.
13. A computer readable storage medium having stored therein computer instructions which, when run on a computer, cause the method of inputting numbers according to any of claims 1-7 to be performed.
CN202211179972.2A 2022-09-26 2022-09-26 Method for inputting numbers and electronic equipment Pending CN117807642A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211179972.2A CN117807642A (en) 2022-09-26 2022-09-26 Method for inputting numbers and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211179972.2A CN117807642A (en) 2022-09-26 2022-09-26 Method for inputting numbers and electronic equipment

Publications (1)

Publication Number Publication Date
CN117807642A true CN117807642A (en) 2024-04-02

Family

ID=90425456

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211179972.2A Pending CN117807642A (en) 2022-09-26 2022-09-26 Method for inputting numbers and electronic equipment

Country Status (1)

Country Link
CN (1) CN117807642A (en)

Similar Documents

Publication Publication Date Title
US7240367B2 (en) User interface and method for inputting password and password system using the same
US10176315B2 (en) Graphical authentication
RU2711351C2 (en) Device and method of password checking
US9946867B1 (en) Input mirroring
US20140315519A1 (en) Information processing apparatus, information processing method, and computer program
US9304655B2 (en) Graphical user interface (GUI) that receives directional input to change face for receiving passcode
US8413071B2 (en) Image processing apparatus and method
CN107734373A (en) Barrage sending method and device, storage medium, electronic equipment
KR100718984B1 (en) Virtual Keyboard Displaying Apparatus and Method for Preventing Exposure of Input Contents
US20170019786A1 (en) Method and apparatus for information verification
EP3482338B1 (en) Display apparatus and control method thereof
JP2008234440A (en) Password input system and method
JP2006243938A (en) Password input device
CN106407761B (en) Unlocking method and unlocking device
US20170249450A1 (en) Device and Method for Authenticating a User
CN117807642A (en) Method for inputting numbers and electronic equipment
Salman et al. A graphical PIN entry system with shoulder surfing resistance
CN111949192A (en) Password input prompting method and device and electronic equipment
KR102222411B1 (en) Method and Device for Password and Unlocking Input using the Combination of Password Number and Pattern Image
KR101659809B1 (en) Apparatus for input password for user authentication and method for thereof and system for thereof
KR102246446B1 (en) Method and Device for Password and Unlocking Input using the Combination of Character and Pattern Image
JP2005078251A (en) Character inputting method
KR102177565B1 (en) Method and Device for Security Number Input using the Combination of Password Number and Pattern Image Input in Mobile Stock Trading
JP2005316961A (en) Character input system and character input method
KR20210049069A (en) Method and Device for Password and Unlocking Input using the Combination of Character and Pattern Image

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination