WO2023143380A1 - 输入方法、装置、电子设备及可读存储介质 - Google Patents

输入方法、装置、电子设备及可读存储介质 Download PDF

Info

Publication number
WO2023143380A1
WO2023143380A1 PCT/CN2023/073171 CN2023073171W WO2023143380A1 WO 2023143380 A1 WO2023143380 A1 WO 2023143380A1 CN 2023073171 W CN2023073171 W CN 2023073171W WO 2023143380 A1 WO2023143380 A1 WO 2023143380A1
Authority
WO
WIPO (PCT)
Prior art keywords
input
target
content
key
area
Prior art date
Application number
PCT/CN2023/073171
Other languages
English (en)
French (fr)
Inventor
吴永圣
Original Assignee
维沃移动通信有限公司
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 维沃移动通信有限公司 filed Critical 维沃移动通信有限公司
Publication of WO2023143380A1 publication Critical patent/WO2023143380A1/zh

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04886Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures by partitioning the display area of the touch-screen or the surface of the digitising tablet into independently controllable areas, e.g. virtual keyboards or menus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials

Definitions

  • the present application belongs to the technical field of communication, and in particular relates to an input method, device, electronic equipment and readable storage medium.
  • the electronic device may be triggered to display a virtual keyboard, and then the user may input content through virtual keys in the virtual keyboard.
  • the distance between different virtual keys may be relatively small, resulting in a high probability of input misoperation.
  • the purpose of the embodiments of the present application is to provide an input method, device, electronic device and readable storage medium, which can solve the problem of high probability of input misoperation when inputting content through a virtual keyboard.
  • the embodiment of the present application provides an input method, the method includes: receiving the first input from the user in the content input area of the input method, the first input is the input of targeting M button positions in the content input area, Each button position corresponds to a preset aiming button in the virtual keyboard, and M is an integer greater than 1; in response to the first input, based on the M button positions, display the virtual keyboard in the content input area; receive the user's input on the virtual keyboard A second input of the target virtual key; in response to the second input, displaying content corresponding to the target virtual key.
  • the embodiment of the present application provides an input method, the method includes: displaying the content input area; receiving the user's target input in the content input area; in response to the target input, obtaining input information corresponding to the target input, the input information includes The target position information of the target input in the content input area and the fingerprint information corresponding to the target input; when the fingerprint information conforms to the target preset fingerprint information, display the first content corresponding to the target area in the content input area, and the target area is The area where the location indicated by the target location information is located, and the first content is the content of at least one content corresponding to the target preset fingerprint information.
  • the embodiment of the present application provides an input device, the device includes a receiving module and a display module; the receiving module is used to receive the first input of the user in the content input area of the input method, the first input is in the content The input area is aimed at the input of M key positions, each key position corresponds to a preset aiming key in the virtual keyboard, and M is an integer greater than 1; the display module is used to respond to the first input received by the receiving module, based on M button positions, displaying the virtual keyboard in the content input area; the receiving module is also used to receive the user's second input to the target virtual button in the virtual keyboard; the display module is also used to respond to the second input received by the receiving module , Display the content corresponding to the target virtual key.
  • the embodiment of the present application provides an input device, the device includes a display module, a receiving module and an acquisition module; a display module, used to display the content input area; a receiving module, used to receive the user input information in the content input area Target input; an acquisition module, configured to acquire input information corresponding to the target input in response to the target input received by the receiving module, where the input information includes target position information of the target input in the content input area and fingerprint information corresponding to the target input; a display module, It is also used to display the first content corresponding to the target area in the content input area when the fingerprint information conforms to the target preset fingerprint information, the target area is the area where the position indicated by the target position information is located, and the first content is the target preset It is assumed that at least one content corresponds to the fingerprint information.
  • the embodiment of the present application provides an electronic device, the electronic device includes a processor and a memory, the memory stores programs or instructions that can run on the processor, and the programs or instructions are processed by the implement the steps of the method described in the first aspect or the second aspect when executed by a device.
  • the embodiment of the present application provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, the implementation as described in the first aspect or the second aspect is realized. steps of the method.
  • the embodiment of the present application provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run programs or instructions, so as to implement the first aspect Or the method described in the second aspect.
  • an embodiment of the present application provides a computer program product, the program product is stored in a storage medium, and the program product is executed by at least one processor to implement the method described in the first aspect or the second aspect.
  • the user's first input in the content input area of the input method can be received.
  • the first input is the input of targeting M key positions in the content input area, and each key position corresponds to a predetermined key position in the virtual keyboard.
  • Set the target button, M is an integer greater than 1; and in response to the first input, display a virtual keyboard in the content input area based on M button positions; receive a second input from the user on the target virtual button in the virtual keyboard; And in response to the second input, and display the content corresponding to the target virtual key.
  • the electronic device can be aimed based on the user's input in an area of the input method interface, and the M key positions corresponding to the M preset aiming keys in the virtual keyboard one-to-one, are displayed in this area
  • the virtual keyboard displays the content corresponding to the virtual button through the user's input of a virtual button in the virtual keyboard, that is, the virtual keyboard displayed by the electronic device is determined based on the position of the button targeted by the user's input, rather than
  • the virtual keyboard in the traditional technology is fixed and the distance between different virtual keys may be small, so when the user inputs content through the virtual keyboard, the probability of misoperation can be reduced.
  • Fig. 1 is one of the flow diagrams of the input method provided by the embodiment of the present application.
  • Fig. 2 is one of the interface schematic diagrams of the input method application provided by the embodiment of the present application.
  • Fig. 3 is the second schematic diagram of the interface of the input method application provided by the embodiment of the present application.
  • Fig. 4 is the third schematic diagram of the interface of the input method application provided by the embodiment of the present application.
  • Fig. 5 is the fourth schematic diagram of the interface of the input method application provided by the embodiment of the present application.
  • Fig. 6 is the second schematic flow diagram of the input method provided by the embodiment of the present application.
  • Fig. 7 is the fifth schematic diagram of the interface of the input method application provided by the embodiment of the present application.
  • Fig. 8 is one of the schematic diagrams of the input device provided by the embodiment of the present application.
  • Fig. 9 is the second schematic diagram of the input device provided by the embodiment of the present application.
  • Fig. 10 is a schematic diagram of an electronic device provided by an embodiment of the present application.
  • FIG. 11 is a schematic diagram of hardware of an electronic device provided by an embodiment of the present application.
  • the input method provided by the embodiment of the present application may be applied to a scenario where a user performs input through an input method in an electronic device.
  • the electronic device may receive an input area of the user in the input method A (hereinafter referred to as input area a, for example, in the embodiment of the present application content input area) after targeting the input of M button positions (such as the first input in the embodiment of the application), the electronic device can be based on the M preset buttons in the virtual keyboard of the input method A (such as the implementation of the application The preset aiming button in the example) corresponds to the M button positions one by one, the virtual keyboard is displayed in the input area a, and after receiving the virtual button 1 in the virtual keyboard from the user (such as in the embodiment of the present application After the input of the target virtual key 1), the content corresponding to the virtual key 1 is displayed.
  • input area a for example, in the embodiment of the present application content input area
  • the virtual keyboard is determined based on the position of the key targeted by the user's input, it does not need to be fixed like the traditional technology, and the distance between different virtual keys may be small, so when the user enters content through the virtual keyboard , can reduce the probability of misuse.
  • an embodiment of the present application provides an input method, and the method may include the following steps 101 to 104 .
  • Step 101 the electronic device receives a first input from a user in a content input area of an input method.
  • the above-mentioned content input area may be any possible area in the interface of the above-mentioned input method.
  • the display position and display size of the above-mentioned content input area in the interface of the above-mentioned input method can be set by the user according to the actual use requirements, or can be determined by the electronic device according to the screen size of the electronic device of.
  • the first input may be an input for the user to target M key positions in the content input area, each key position may correspond to a preset targeting key in the virtual keyboard, and M is an integer greater than 1.
  • the first input may be any possible input such as hover input or touch input.
  • the virtual keyboard may be any keyboard such as a full keyboard or a 9-key keyboard.
  • the virtual keyboard may be any possible keyboard such as an alphabetic keyboard, a numeric keyboard, or an alphanumeric keyboard.
  • the above-mentioned preset targeting button may be any virtual button in the virtual keyboard.
  • the corresponding relationship between each of the above key positions and a preset aiming key may be the default of the system, or may be set by the user according to actual usage requirements.
  • buttons position 1 corresponds to the preset aiming button “A” in the virtual keyboard
  • button position 2 corresponds to the preset aiming button “S” in the virtual keyboard. "wait.
  • At least one fixed button may be included in the above content input area, and the at least one fixed button may be any of the following: a virtual button (1) preset by the user, A virtual key (2) whose historical use frequency is greater than or equal to a preset frequency.
  • the above-mentioned at least one fixed key may be any virtual key in the virtual keyboard.
  • the fixed button may be a button that is always displayed in the above-mentioned content input area.
  • the user when the above-mentioned at least one fixed button is (1), the user can set the quantity and display position of the at least one fixed button according to actual usage requirements.
  • the preset frequency can be set by the system default or the user according to actual usage requirements
  • the display position and display size of the fixed keys in the content input area may be determined by the electronic device according to the size of the screen of the electronic device.
  • the interface 20 of the input method includes a content input area 21, and the electronic device can display a historical usage frequency greater than or equal to a preset value in an area 22 of the content input area 21 according to the size of the screen. At least one fixed key of the frequency to facilitate user input.
  • the content input area may include at least one virtual key preset by the user, or at least one virtual key whose historical use frequency is greater than or equal to the preset frequency, that is, the electronic device may display
  • the content input area conforms to the user's usage habits, so the convenience of input can be improved.
  • Step 102 the electronic device displays a virtual keyboard in the content input area based on the M key positions in response to the first input.
  • the foregoing step 102 may specifically be implemented through one of the following possible implementation manners or another possible implementation manner.
  • the virtual keyboard may include M preset targeting buttons and N non-targeting buttons, and the M preset targeting buttons correspond to the above M button positions one by one, and N is positive integer.
  • the aforementioned N non-targeting keys may be at least some of the keys in the virtual keyboard except the aforementioned M preset targeting keys.
  • step 102 may specifically be implemented through the following steps 102a and 102b.
  • Step 102a the electronic device displays the M preset targeting buttons at the locations of the M buttons.
  • the electronic device may display a preset aiming button corresponding to the button position at each of the M button positions.
  • Step 102b based on the N position offsets, the electronic device displays the N non-targeting buttons in the content input area.
  • the above-mentioned N position offsets may be in one-to-one correspondence with the above-mentioned N non-targeting buttons, and each position offset may include a non-targeting button relative to the above-mentioned M preset A position offset of at least one preset aiming button among the aiming buttons.
  • each position offset may be a system default, or may be determined according to user historical habit data.
  • each position offset when each position offset is a system default, each position offset may be any possible position offset.
  • the electronic device when each position offset is determined according to the user's historical habit data, the electronic device can obtain each virtual button Relative to the relative position data of the at least one preset aiming button, the electronic device can determine each position offset according to the relative position data.
  • the relative position data may be determined according to the coordinates of the center position of each virtual key on the screen.
  • x and y are the relative position data of the non-aiming button 2 relative to the preset aiming button 1 .
  • the electronic device may store the relative position data of each virtual key, and after the user completes an input process (that is, from the display of the virtual keyboard on the electronic device to the end of the user's input), the stored relative position The data is calibrated.
  • the virtual button "G” is a preset targeting button
  • the virtual button “T” is a non-targeting button
  • the coordinates of the center position of the virtual button “G” on the screen are ( 100, 300)
  • the coordinates of the center position of the virtual button “T” on the screen are (100, 350)
  • the electronic device can determine the position of the 5 clicks relative to the virtual key "T”
  • the average change values of the abscissa and ordinate of the center position of respectively: (95+97+102+99+94)/5-100 ⁇ -2 and (355+359+357+360+358)/5-350 ⁇ 8.
  • the electronic device can determine that the coordinates of the center position of the calibr
  • the electronic device can calibrate the relative position data of each virtual key clicked by the user during the input process, and display the calibration data when the user inputs next time. followed by the virtual keyboard.
  • a preset threshold can be set, that is, only when the average change value of the coordinates is greater than or equal to the preset threshold, the electronic device will Calibration will be performed.
  • the above-mentioned preset thresholds may be defaulted by the system, or set by users according to actual usage requirements.
  • each position offset can be the default of the system, or each position offset can be determined by the electronic device based on the user's historical habit data, it can be improved that the electronic device determines each position offset Quantitative flexibility.
  • area 30 is a content input area
  • key position 31 and key position 32 are the key positions (that is, M key positions) targeted by the user through input in area 30, and the virtual key “Space” is Fixed button; if virtual button “S” and virtual button “D” are preset aiming buttons in the virtual keyboard (that is, M preset targeting buttons), and button position 31 corresponds to virtual button "S", button position 32
  • the electronic device can display the virtual key "S” at the key position 31, display the virtual key "D” at the key position 32, and display the virtual keyboard in the area 30 based on the offset of each position defaulted by the system
  • the non-targeting keys in the virtual keyboard that is, the virtual keys in area 30 except the virtual key "S", virtual key “D” and virtual key “Space), so that the electronic device can accurately display each virtual key in the virtual keyboard. button.
  • the electronic device can display the M preset targeting buttons corresponding to the M button positions one by one at the M button positions input by the user, and based on the N non-targeting buttons The positional offset of each non-targeting button relative to at least one preset targeting button, and the N non-targeting buttons are displayed in the content input area, so the accuracy of displaying the virtual keyboard by the electronic device can be improved.
  • step 102 may specifically be implemented through the following step 102c.
  • Step 102c the electronic device displays the virtual keyboard in the content input area according to the target arrangement based on the positions of the M keys.
  • the target arrangement may include any of the following: dislocation arrangement and alignment arrangement.
  • the electronic device may display the arrangement option after receiving the user's input of targeting the M button positions, and after receiving the user's selection input, according to the arrangement method selected by the user, in the content A virtual keyboard is displayed in the input area.
  • the above-mentioned selection input may be any possible input such as sliding input, clicking input, or canceling pressing input.
  • the electronic device may prompt the user to lift up a finger and click a button above the finger, so that the electronic device may The relative distance between the initial position and the clicked position is used to automatically determine the target arrangement method that meets the user's usage habits from the multiple arrangement method options.
  • the area 40 is a content input area
  • the electronic device receives the user's aiming at the key position 41, the key position 42, the key position 43 and the key position 44 (that is, M key positions) in the area 40.
  • the arrangement option 45 and the arrangement option 46 are displayed.
  • the arrangement option 45 is an alignment arrangement
  • the arrangement option 46 is a dislocation arrangement.
  • the electronic device can display the virtual keyboard in the area 40 according to the arrangement corresponding to the arrangement option 45, so that the virtual keyboard can be displayed according to the arrangement required by the user , to facilitate user input.
  • the electronic device can display the virtual keyboard in the content input area in a misplaced arrangement or an aligned arrangement based on the positions of the M keys, the flexibility of displaying the virtual keyboard by the electronic device can be improved.
  • Step A the input method provided in the embodiment of the present application Step A described below may also be included.
  • Step A the electronic device acquires the biometric information of the user.
  • the above-mentioned target arrangement manner is an arrangement manner corresponding to the above-mentioned biometric information.
  • the biometric information may be any possible characteristic information such as hand shape, fingerprint, facial feature, iris, retina, and auricle.
  • the electronic device may acquire the biometric information of the user in any possible manner.
  • the electronic device may acquire the user's fingerprint information based on the above-mentioned first input.
  • the electronic device may collect user's facial feature information (that is, a face image) through a camera.
  • the electronic device when the user uses the electronic device for input for the first time, the electronic device may obtain the user's biometric information, and compare the target arrangement of the virtual keyboard used by the user with the biometric information. Save associatively. Therefore, when the electronic device acquires the biometric information again, it can simultaneously acquire the target arrangement associated with the biometric information, and display a virtual keyboard according to the target arrangement, thus improving the convenience of user input.
  • the electronic device can display a virtual keyboard in the content input area according to the target arrangement corresponding to the obtained user's biometric information, it can ensure that the displayed virtual keyboard conforms to the user's usage habits, so as to facilitate the user. Make an input operation.
  • Step 103 the electronic device receives a second input from the user on the target virtual key in the virtual keyboard.
  • the target virtual key may be at least one of the virtual keys displayed on the above-mentioned virtual keyboard.
  • the second input may be any possible input such as hover input or touch input.
  • the electronic device may display the content "S" corresponding to the virtual key "S".
  • Step 104 the electronic device displays content corresponding to the target virtual key in response to the second input.
  • the electronic device may display content corresponding to the target virtual key at a keying position arbitrarily selected by the user when using the electronic device.
  • the electronic device may display the content corresponding to the target virtual key at a keyed position in a displayed document or a keyed position in an input box.
  • the electronic device can be targeted based on the user's input in an area of the input method interface, and the M keys corresponding to the M preset targeting keys in the virtual keyboard one-to-one position, display the virtual keyboard in this area, and display the content corresponding to the virtual button through the user's input to a virtual button in the virtual keyboard, that is, the virtual keyboard displayed by the electronic device is based on the user's input aiming
  • the position of the key is determined by the specified key position, instead of being fixed like the virtual keyboard in the traditional technology and the distance between different virtual keys may be small, so when the user inputs content through the virtual keyboard, the probability of misoperation can be reduced.
  • the input method provided in the embodiment of the present application may further include the following steps 105 and 106.
  • Step 105 the electronic device acquires M pieces of location information corresponding to the above-mentioned first input.
  • the above-mentioned first input may include M sub-inputs, and each sub-input is used to determine a piece of location information.
  • the input times of the above M sub-inputs may be the same or different.
  • the input moments of the above-mentioned M sub-inputs when the input moments of the above-mentioned M sub-inputs are different, the input moments of each of the M sub-inputs may be different, or the input moments of some of the M sub-inputs can be different.
  • Step 106 the electronic device determines the M positions indicated by the above M position information as the above M key positions (mode 1); or, the electronic device determines M positions equally spaced in the target direction as the above M key positions location (method 2).
  • the above-mentioned target direction may be determined according to the above-mentioned M pieces of location information.
  • the electronic device may fit a first straight line according to the foregoing M pieces of position information, and indicate the foregoing target direction through the first straight line.
  • the electronic device may draw a box for the input area corresponding to each sub-input according to the M pieces of position information, and determine the area included in each box as a key positions, so that the above M key positions can be determined, and then the electronic device can display a virtual keyboard in the content input area based on the M key positions.
  • the electronic device can determine discrete M key positions (that is, M key positions arranged irregularly) according to the M position information, and display the corresponding key positions in the content input area. virtual keyboard.
  • the electronic device may draw a box for the input area corresponding to each sub-input according to the M pieces of position information, and place the drawn M boxes in the fitted
  • the target direction indicated by the first straight line is arranged at equal intervals, so that it can be determined that the area included by the arranged M boxes is the above-mentioned M key positions, and then the electronic device can display in the content input area based on the M key positions virtual keyboard.
  • the electronic device can determine M key positions at equal intervals (i.e. rule Arranged M button positions), and display the corresponding virtual keyboard in the content input area.
  • the electronic device can determine M positions indicated by the obtained M position information, or M positions equidistant in the target direction determined according to the M position information, as M key positions, therefore The flexibility of the electronic device in determining the positions of the M keys can be improved.
  • an embodiment of the present application provides an input method, and the method may include the following steps 601 to 604 .
  • Step 601 the electronic device displays a content input area.
  • Step 602 the electronic device receives a user's target input in the content input area.
  • the target input may be a user's touch input in the content input area.
  • the target input may be any possible input such as click input, long press input, or heavy press input of the user in the content input area.
  • step 603 the electronic device acquires input information corresponding to the target input in response to the target input.
  • the input information may include target position information of the target input in the content input area and fingerprint information corresponding to the target input.
  • the target location information may indicate the location of the target input.
  • the fingerprint information corresponding to the target input may be the fingerprint information of the user's target finger, and the target finger is the finger used by the user for the target input.
  • step 604 the electronic device displays the first content corresponding to the target area in the content input area when the fingerprint information matches the preset target fingerprint information.
  • the target area may be the area where the location indicated by the target location information is located, and the first content may be content in at least one content corresponding to the target preset fingerprint information.
  • the preset target fingerprint information may be fingerprint information pre-registered by the electronic device.
  • the electronic device when there are multiple at least one content, may set an area corresponding to each content one-to-one.
  • the fingerprint information of the user's right index finger is a fingerprint information (ie target preset fingerprint information) pre-registered by the electronic device, and the fingerprint information corresponds to content "Q", content "Z” and content “Cap”, And as shown in Figure 7, the content "Q" corresponds to the area 72, if the electronic device receives the input of the user's right index finger in the area 72 (i.e. target input), the electronic device can obtain the input position information and the user's right index finger fingerprint information, and display the content "Q" corresponding to the area 72 (i.e. the first content), so that only based on the input position information and the fingerprint information of the input finger, the input content required by the user can be accurately displayed, so The convenience of user input can be further improved.
  • the electronic device can acquire the position information of the input in the content input area and the fingerprint information of the user corresponding to the input through the user's input in the content input area, And when the fingerprint information conforms to the preset fingerprint information, the content corresponding to the preset fingerprint information corresponding to the area where the location indicated by the location information is displayed, so that the user does not need to pass through the virtual keys in the virtual keyboard, Just can input content accurately, thereby can reduce the probability of input misoperation.
  • the execution subject may be an input device.
  • the input device provided by the embodiment of the present application is described by taking the method of performing input by the input device as an example.
  • an embodiment of the present application provides an input device 80
  • the input device 80 may include a receiving module 81 and a display module 82 .
  • the receiving module 81 can be used to receive the first input of the user in the content input area of the input method, the first input is the input of targeting M key positions in the content input area, and each key position corresponds to a preset in the virtual keyboard Aim the button, M is an integer greater than 1.
  • the display module 82 may be configured to display a virtual keyboard in the content input area based on the M key positions in response to the first input received by the receiving module 81 .
  • the receiving module 81 may also be configured to receive a second input from the user on the target virtual key in the virtual keyboard.
  • the display module 82 may also be configured to display content corresponding to the target virtual key in response to the second input received by the receiving module 81 .
  • the input device 80 may further include an acquisition module and a determination module.
  • the obtaining module may be configured to obtain M pieces of position information corresponding to the first input before the display module 82 displays the virtual keyboard in the content input area based on the M key positions.
  • the determining module can be used to determine the M positions indicated by the M position information as M key positions; or determine M positions at equal intervals in the target direction as M key positions, and the target direction is determined according to the M position Information OK.
  • the virtual keyboard may include M preset targeting buttons and N non-targeting buttons, the M preset targeting buttons correspond to M button positions one by one, and N is a positive integer.
  • the display module 82 can specifically be used to display M preset aiming buttons at the M button positions.
  • the display module 82 can specifically be used to display N non-targeting buttons in the content input area based on the N position offsets, and the N position offsets correspond to the N non-targeting buttons one by one.
  • the displacement includes a position offset of a non-targeting button relative to at least one preset targeting button among the M preset targeting buttons.
  • the display module 82 can specifically be used to display a virtual keyboard in the content input area based on the M key positions and according to the target arrangement; wherein the target arrangement includes any of the following: misplaced arrangement , Alignment arrangement.
  • the obtaining module can also be used to obtain the biometric information of the user before displaying the virtual keyboard in the content input area in the display module 82 based on the positions of the M keys and according to the arrangement of the targets; wherein, the target The arrangement is an arrangement corresponding to the biometric information.
  • the virtual keyboard is displayed in this area, and the content corresponding to the virtual button is displayed through the user's input of a virtual button in the virtual keyboard, that is, the virtual keyboard displayed by the input device is based on the user's input aiming
  • the position of the key is determined by the specified key position, rather than the virtual keyboard in the traditional technology is fixed and the distance between different virtual keys may be small, so when the user enters content through the virtual keyboard, the chance of misoperation can be reduced. Rate.
  • an embodiment of the present application provides an input device 90
  • the input device 90 may include a display module 91 , a receiving module 92 and an acquisition module 93 .
  • the display module 91 can be used to display the content input area.
  • the receiving module 92 may be configured to receive the user's target input in the content input area.
  • the acquiring module 93 may be configured to acquire input information corresponding to the target input in response to the target input received by the receiving module 92, and the input information includes target position information of the target input in the content input area and fingerprint information corresponding to the target input.
  • the display module 91 can also be used to display the first content corresponding to the target area in the content input area when the fingerprint information conforms to the target preset fingerprint information.
  • the target area is the area where the position indicated by the target position information is located.
  • a content is the content of at least one content corresponding to the target preset fingerprint information.
  • the input device since the input device can acquire the position information of the input in the content input area and the fingerprint information of the user corresponding to the input through the user's input in the content input area, and When the fingerprint information conforms to the preset fingerprint information, the content corresponding to the preset fingerprint information corresponding to the area indicated by the position information is displayed, so that the user can accurately view the fingerprint information without using the virtual keys in the virtual keyboard. Input content accurately, thereby reducing the probability of input errors.
  • the input device in the embodiment of the present application may be an electronic device, or may be a component in the electronic device, such as an integrated circuit or a chip.
  • the electronic device may be a terminal, or other devices other than the terminal.
  • the electronic device can be a mobile phone, a tablet computer, a notebook computer, a handheld computer, a vehicle electronic device, a mobile Internet device (Mobile Internet Device, MID), an augmented reality (augmented reality, AR)/virtual reality (virtual reality, VR) ) equipment, robots, wearable devices, ultra-mobile personal computer (ultra-mobile personal computer, UMPC), netbook or personal digital assistant (personal digital assistant, PDA), etc.
  • the input device in this embodiment of the present application may be a device with an operating system.
  • the operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, which are not specifically limited in this embodiment of the present application.
  • the input device provided by the embodiment of the present application can realize various processes realized by the method embodiments in FIG. 1 to FIG. 5 or FIG. 6 to FIG. 7 , and details are not repeated here to avoid repetition.
  • the embodiment of the present application also provides an electronic device 100, including a processor 101 and a memory 102.
  • the memory 102 stores programs or instructions that can run on the processor 101.
  • the programs or instructions are executed by the processor 101, the various steps of the above-mentioned input method embodiments can be realized, and the same technical effect can be achieved. To avoid repetition, details are not repeated here.
  • the electronic devices in the embodiments of this application include the above-mentioned mobile electronic devices and non-mobile moving electronic equipment.
  • FIG. 11 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
  • the electronic device 1000 includes, but is not limited to: a radio frequency unit 1001, a network module 1002, an audio output unit 1003, an input unit 1004, a sensor 1005, a display unit 1006, a user input unit 1007, an interface unit 1008, a memory 1009, and a processor 1010, etc. part.
  • the electronic device 1000 can also include a power supply (such as a battery) for supplying power to various components, and the power supply can be logically connected to the processor 1010 through the power management system, so that the management of charging, discharging, and function can be realized through the power management system. Consumption management and other functions.
  • a power supply such as a battery
  • the structure of the electronic device shown in FIG. 11 does not constitute a limitation to the electronic device.
  • the electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange different components, and details will not be repeated here. .
  • the input is the input of targeting M key positions in the content input area, each key position corresponds to a preset targeting key in the virtual keyboard, and M is an integer greater than 1.
  • the display unit 1006 may be configured to display a virtual keyboard in the content input area based on the M key positions in response to the first input received by the user input unit 1007 .
  • the user input unit 1007 may also be configured to receive a second input from the user on the target virtual key in the virtual keyboard.
  • the display unit 1006 may also be configured to display content corresponding to the target virtual key in response to the second input received by the user input unit 1007 .
  • the senor 1005 may be used to acquire M pieces of position information corresponding to the first input before the display unit 1006 displays the virtual keyboard in the content input area based on the M key positions.
  • the processor 1010 may be configured to determine the M positions indicated by the M position information as M key positions; or determine M positions equidistant in the target direction as M key positions, and the target direction is determined according to the M key positions. The location information is confirmed.
  • the virtual keyboard may include M preset targeting buttons and N non-targeting buttons, the M preset targeting buttons correspond to M button positions one by one, and N is a positive integer.
  • the display unit 1006 may specifically be configured to display M preset aiming buttons at M button positions.
  • the display unit 1006 can specifically be used to display N non-targeting buttons in the content input area based on the N position offsets, the N position offsets correspond to the N non-targeting buttons one by one, and each position offset
  • the displacement includes a position offset of a non-targeting button relative to at least one preset targeting button among the M preset targeting buttons.
  • the display unit 1006 can specifically be used to display a virtual keyboard in the content input area based on the M key positions and according to the target arrangement; wherein the target arrangement includes any of the following: misplaced arrangement , Alignment arrangement.
  • the senor 1005 may also be used to obtain the biometric information of the user before the display unit 1006 displays the virtual keyboard in the content input area based on the positions of the M keys and according to the target arrangement; wherein, the target The arrangement is an arrangement corresponding to the biometric information.
  • the electronic device since the electronic device can be targeted based on the user's input in an area of the input method interface, and the M preset targeting buttons in the virtual keyboard correspond one-to-one button position, the virtual keyboard is displayed in this area, and the content corresponding to the virtual button is displayed through the user's input of a virtual button in the virtual keyboard, that is, the virtual keyboard displayed by the electronic device is based on the user's input aiming
  • the position of the key is determined by the specified key position, instead of being fixed like the virtual keyboard in the traditional technology and the distance between different virtual keys may be small, so when the user inputs content through the virtual keyboard, the probability of misoperation can be reduced.
  • the display unit 1006 may be used to display the content input area.
  • the user input unit 1007 may be used to receive the user's target input in the content input area.
  • the sensor 1005 can be used to respond to the target input received by the user input unit 1007 and acquire input information corresponding to the target input.
  • the input information includes target position information of the target input in the content input area and fingerprint information corresponding to the target input.
  • the display unit 1006 may also be configured to display the first content corresponding to the target area in the content input area when the fingerprint information conforms to the target preset fingerprint information, the target area is the area where the position indicated by the target position information is located, and the second A content is the content of at least one content corresponding to the target preset fingerprint information.
  • the electronic device since the electronic device can acquire the position information of the input in the content input area and the fingerprint information of the user corresponding to the input through the user's input in the content input area, and When the fingerprint information conforms to the preset fingerprint information, the content corresponding to the preset fingerprint information corresponding to the area indicated by the position information is displayed, so that the user can accurately view the fingerprint information without using the virtual keys in the virtual keyboard. Input content accurately, thereby reducing the probability of input errors.
  • the input unit 1004 may include a graphics processor (Graphics Processing Unit, GPU) 10041 and a microphone 10042, and the graphics processor 10041 is used for the image capture device (such as the image data of the still picture or video obtained by the camera) for processing.
  • the display unit 1006 may include a display panel 10061, and the display panel 10061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like.
  • the user input unit 1007 includes at least one of a touch panel 10071 and other input devices 10072 .
  • the touch panel 10071 is also called a touch screen.
  • the touch panel 10071 may include two parts, a touch detection device and a touch controller.
  • Other input devices 10072 may include, but are not limited to, physical keyboards, function keys (such as volume control buttons, switch buttons, etc.), trackballs, mice, and joysticks, which will not be repeated here.
  • the memory 1009 can be used to store software programs as well as various data.
  • the memory 1009 may mainly include a first storage area for storing programs or instructions and a second storage area for storing data, wherein the first storage area may store an operating system, an application program or instructions required by at least one function (such as a sound playing function, image playback function, etc.), etc.
  • memory 1009 may include volatile memory or nonvolatile memory, or, memory 1009 may Includes both volatile and non-volatile memory.
  • the non-volatile memory may be a read-only memory (Read-Only Memory, ROM), a programmable read-only memory (Programmable ROM, PROM), an erasable programmable read-only memory (Erasable PROM, EPROM), an electronically programmable Erase Programmable Read-Only Memory (Electrically EPROM, EEPROM) or Flash.
  • ROM Read-Only Memory
  • PROM programmable read-only memory
  • Erasable PROM Erasable PROM
  • EPROM electronically programmable Erase Programmable Read-Only Memory
  • Flash Flash
  • Volatile memory can be random access memory (Random Access Memory, RAM), static random access memory (Static RAM, SRAM), dynamic random access memory (Dynamic RAM, DRAM), synchronous dynamic random access memory (Synchronous DRAM, SDRAM), double data rate synchronous dynamic random access memory (Double Data Rate SDRAM, DDRSDRAM), enhanced synchronous dynamic random access memory (Enhanced SDRAM, ESDRAM), synchronous connection dynamic random access memory (Synch link DRAM , SLDRAM) and Direct Memory Bus Random Access Memory (Direct Rambus RAM, DRRAM).
  • RAM Random Access Memory
  • SRAM static random access memory
  • DRAM dynamic random access memory
  • DRAM synchronous dynamic random access memory
  • SDRAM double data rate synchronous dynamic random access memory
  • Double Data Rate SDRAM Double Data Rate SDRAM
  • DDRSDRAM double data rate synchronous dynamic random access memory
  • Enhanced SDRAM, ESDRAM enhanced synchronous dynamic random access memory
  • Synch link DRAM , SLDRAM
  • Direct Memory Bus Random Access Memory Direct Rambus
  • the processor 1010 may include one or more processing units; optionally, the processor 1010 integrates an application processor and a modem processor, wherein the application processor mainly processes operations related to the operating system, user interface, and application programs, etc., Modem processors mainly process wireless communication signals, such as baseband processors. It can be understood that the foregoing modem processor may not be integrated into the processor 1010 .
  • the embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored.
  • a program or instruction is stored.
  • the processor is the processor in the electronic device described in the above embodiments.
  • the readable storage medium includes a computer-readable storage medium, such as a computer read-only memory ROM, a random access memory RAM, a magnetic disk or an optical disk, and the like.
  • the embodiment of the present application further provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run programs or instructions to realize the above-mentioned input method embodiments. process, and can achieve the same technical effect, in order to avoid repetition, it will not be repeated here.
  • chips mentioned in the embodiments of the present application may also be called system-on-chip, system-on-chip, system-on-a-chip, or system-on-a-chip.
  • the embodiment of the present application provides a computer program product, the program product is stored in a storage medium, and the program product is executed by at least one processor to implement the various processes in the above input method embodiment, and can achieve the same technical effect, To avoid repetition, details are not repeated here.

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)
  • Input From Keyboards Or The Like (AREA)

Abstract

本申请公开了一种输入方法、装置、电子设备及可读存储介质,属于通信技术领域。该方法包括:接收用户在输入法的内容输入区域的第一输入,第一输入为在内容输入区域瞄定M个按键位置的输入,每个按键位置对应虚拟键盘中的一个预设瞄定按键,M为大于1的整数;响应于第一输入,基于M个按键位置,在内容输入区域中显示虚拟键盘;接收用户对虚拟键盘中的目标虚拟按键的第二输入;响应于第二输入,显示与目标虚拟按键对应的内容。

Description

输入方法、装置、电子设备及可读存储介质
相关申请的交叉引用
本申请主张在2022年01月30日在中国提交的中国专利申请号202210114329.5的优先权,其全部内容通过引用包含于此。
技术领域
本申请属于通信技术领域,具体涉及一种输入方法、装置、电子设备及可读存储介质。
背景技术
目前,虚拟键盘输入是电子设备较为通用的输入方式。
具体的,当用户需求输入内容时,可以触发电子设备显示虚拟键盘,然后用户可以通过虚拟键盘中的虚拟按键输入内容。然而,由于电子设备的屏幕尺寸有限,因此使得不同虚拟按键之间的间距可能较小,从而导致输入误操作的机率较大。
发明内容
本申请实施例的目的是提供一种输入方法、装置、电子设备及可读存储介质,能够解决通过虚拟键盘输入内容时,输入误操作的机率较大的问题。
第一方面,本申请实施例提供了一种输入方法,该方法包括:接收用户在输入法的内容输入区域的第一输入,第一输入为在内容输入区域瞄定M个按键位置的输入,每个按键位置对应虚拟键盘中的一个预设瞄定按键,M为大于1的整数;响应于第一输入,基于M个按键位置,在内容输入区域中显示虚拟键盘;接收用户对虚拟键盘中的目标虚拟按键的第二输入;响应于第二输入,显示与目标虚拟按键对应的内容。
第二方面,本申请实施例提供了一种输入方法,该方法包括:显示内容输入区域;接收用户在内容输入区域的目标输入;响应于目标输入,获取目标输入对应的输入信息,输入信息包括目标输入在内容输入区域中的目标位置信息和目标输入对应的指纹信息;在指纹信息符合目标预设指纹信息的情况下,显示与内容输入区域中的目标区域对应的第一内容,目标区域为目标位置信息指示的位置所在的区域,第一内容为目标预设指纹信息对应的至少一个内容中的内容。
第三方面,本申请实施例提供了一种输入的装置,该装置包括接收模块和显示模块;接收模块,用于接收用户在输入法的内容输入区域的第一输入,第一输入为在内容输入区域瞄定M个按键位置的输入,每个按键位置对应虚拟键盘中的一个预设瞄定按键,M为大于1的整数;显示模块,用于响应于接收模块接收的第一输入,基于M个按键位置,在内容输入区域中显示虚拟键盘;接收模块,还用于接收用户对虚拟键盘中的目标虚拟按键的第二输入;显示模块,还用于响应于接收模块接收的第二输入, 显示与目标虚拟按键对应的内容。
第四方面,本申请实施例提供了一种输入的装置,该装置包括显示模块、接收模块和获取模块;显示模块,用于显示内容输入区域;接收模块,用于接收用户在内容输入区域的目标输入;获取模块,用于响应于接收模块接收的目标输入,获取目标输入对应的输入信息,输入信息包括目标输入在内容输入区域中的目标位置信息和目标输入对应的指纹信息;显示模块,还用于在指纹信息符合目标预设指纹信息的情况下,显示与内容输入区域中的目标区域对应的第一内容,目标区域为目标位置信息指示的位置所在的区域,第一内容为目标预设指纹信息对应的至少一个内容中的内容。
第五方面,本申请实施例提供了一种电子设备,该电子设备包括处理器和存储器,所述存储器存储可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如第一方面或第二方面所述的方法的步骤。
第六方面,本申请实施例提供了一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如第一方面或第二方面所述的方法的步骤。
第七方面,本申请实施例提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如第一方面或第二方面所述的方法。
第八方面,本申请实施例提供一种计算机程序产品,该程序产品被存储在存储介质中,该程序产品被至少一个处理器执行以实现如第一方面或第二方面所述的方法。
在本申请实施例中,可以接收用户在输入法的内容输入区域的第一输入,第一输入为在内容输入区域瞄定M个按键位置的输入,每个按键位置对应虚拟键盘中的一个预设瞄定按键,M为大于1的整数;且响应于第一输入,基于M个按键位置,在内容输入区域中显示虚拟键盘;可以接收用户对虚拟键盘中的目标虚拟按键的第二输入;且响应于第二输入,并显示与目标虚拟按键对应的内容。通过该方案,由于电子设备可以基于用户在输入法界面的一个区域的输入瞄定的,且与虚拟键盘中的M个预设瞄定按键一一对应的M个按键位置,在该区域中显示该虚拟键盘,并通过用户对该虚拟键盘中的一个虚拟按键的输入,显示与该虚拟按键对应的内容,即电子设备显示的虚拟键盘是基于用户的输入瞄定的按键位置确定的,而并非像传统技术中的虚拟键盘是固定的且不同虚拟按键之间的间距可能较小,因此在用户通过该虚拟键盘输入内容时,可以降低误操作的机率。
附图说明
图1是本申请实施例提供的输入方法的流程示意图之一;
图2是本申请实施例提供的输入方法应用的界面示意图之一;
图3是本申请实施例提供的输入方法应用的界面示意图之二;
图4是本申请实施例提供的输入方法应用的界面示意图之三;
图5是本申请实施例提供的输入方法应用的界面示意图之四;
图6是本申请实施例提供的输入方法的流程示意图之二;
图7是本申请实施例提供的输入方法应用的界面示意图之五;
图8是本申请实施例提供的输入装置的示意图之一;
图9是本申请实施例提供的输入装置的示意图之二;
图10是本申请实施例提供的电子设备的示意图;
图11是本申请实施例提供的电子设备的硬件示意图。
具体实施方式
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员获得的所有其他实施例,都属于本申请保护的范围。
本申请的说明书和权利要求书中的术语“第一”、“第二”等是用于区别类似的对象,而不用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施,且“第一”、“第二”等所区分的对象通常为一类,并不限定对象的个数,例如第一对象可以是一个,也可以是多个。此外,说明书以及权利要求中“和/或”表示所连接对象的至少其中之一,字符“/”,一般表示前后关联对象是一种“或”的关系。
下面结合附图,通过具体的实施例及其应用场景对本申请实施例提供的输入方法、装置、电子设备及可读存储介质进行详细地说明。
本申请实施例提供的输入方法可以应用于用户通过电子设备中的输入法进行输入的场景中。
示例性地,当用户需求通过电子设备中的输入法A进行输入时,电子设备可以在接收到用户在该输入法A的一个输入区域(以下称为输入区域a,例如本申请实施例中的内容输入区域)瞄定M个按键位置的输入(例如本申请实施例中的第一输入)之后,电子设备可以基于与该输入法A的虚拟键盘中的M个预设按键(例如本申请实施例中的预设瞄定按键)一一对应的该M个按键位置,在输入区域a中显示该虚拟键盘,并在接收到用户对该虚拟键盘中的虚拟按键1(例如本申请实施例中的目标虚拟按键)的输入之后,显示与该虚拟按键1对应的内容。由于该虚拟键盘是基于用户的输入瞄定的按键位置确定的,而无需像传统技术一样,虚拟键盘是固定的且不同虚拟按键之间的间距可能较小,因此在用户通过该虚拟键盘输入内容时,可以降低误操作的机率。
实施例一
结合图1,本申请实施例提供一种输入方法,该方法可以包括下述的步骤101至步骤104。
步骤101、电子设备接收用户在输入法的内容输入区域的第一输入。
可选地,本申请实施例中,上述内容输入区域可以为上述输入法的界面中的任意可能的区域。
可选地,本申请实施例中,上述内容输入区域在上述输入法的界面中的显示位置和显示尺寸可以为用户根据实际使用需求设置的,或者可以为电子设备根据电子设备的屏幕的尺寸确定的。
本申请实施例中,第一输入可以为用户在内容输入区域瞄定M个按键位置的输入,每个按键位置可以对应虚拟键盘中的一个预设瞄定按键,M为大于1的整数。
可选地,本申请实施例中,第一输入可以为悬浮输入或触控输入等任意可能的输入。
可选地,本申请实施例中,虚拟键盘可以为全键盘或9键键盘等任意形式的键盘。
可选地,本申请实施例中,虚拟键盘可以为字母键盘、数字键盘或字母数字组合键盘等任意可能的键盘。
可选地,本申请实施例中,上述一个预设瞄定按键可以为虚拟键盘中的任意一个虚拟按键。
可选地,本申请实施例中,上述每个按键位置与一个预设瞄定按键的对应关系可以为系统默认的,也可以为用户根据实际使用需求设置的。
例如,用户可以根据实际使用需求,触发电子设备设置内容输入区域中的按键位置1对应虚拟键盘中的预设瞄定按键“A”、按键位置2对应虚拟键盘中的预设瞄定按键“S”等。
对于电子设备确定M个按键位置的具体方法将在下述的实施例中进行详细说明,为了避免重复,此处不予赘述。
可选地,本申请实施例中,在上述步骤101之前,上述内容输入区域中可以包括至少一个固定按键,该至少一个固定按键可以为以下任一项:用户预先设置的虚拟按键(1)、历史使用频率大于或等于预设频率的虚拟按键(2)。
可选地,本申请实施例中,上述至少一个固定按键可以为虚拟键盘中任意的虚拟按键。
可选地,本申请实施例中,固定按键可以为在上述内容输入区域始终显示的按键。
可选地,本申请实施例中,在上述至少一个固定按键为(1)时,用户可以根据实际使用需求设置该至少一个固定按键的数量和显示位置。
可选地,本申请实施例中,在上述至少一个固定按键为(2)时,预设频率可以为系统默认的或用户根据实际使用需求设置的,该至少一个固定按键的数量及该至少一个固定按键在上述内容输入区域中的显示位置和显示尺寸可以为电子设备根据电子设备的屏幕的尺寸确定的。
例如,如图2所示,输入法的界面20中包括内容输入区域21,电子设备可以根据屏幕的尺寸,在内容输入区域21中的区域22中显示历史使用频率大于或等于预设 频率的至少一个固定按键,以方便用户进行输入。
本申请实施例中,由于在电子设备接收用户的第一输入之前,内容输入区域中可以包括用户预先设置的,或者历史使用频率大于或等于预设频率的至少一个虚拟按键,即电子设备可以显示符合用户使用习惯的内容输入区域,因此可以提高输入的便捷性。
步骤102、电子设备响应于第一输入,基于M个按键位置,在内容输入区域中显示虚拟键盘。
可选地,本申请实施例中,上述步骤102具体可以通过下述的一种可能的实现方式或另一种可能的实现方式实现。
一种可能的实现方式
可选地,本申请实施例中,虚拟键盘中可以包括M个预设瞄定按键和N个非瞄定按键,该M个预设瞄定按键与上述M个按键位置一一对应,N为正整数。
可选地,本申请实施例中,上述N个非瞄定按键可以为虚拟键盘中除上述M个预设瞄定按键之外的至少部分按键。
可选地,本申请实施例中,上述步骤102具体可以通过下述的步骤102a和102b实现。
步骤102a、电子设备在上述M个按键位置显示上述M个预设瞄定按键。
可选地,本申请实施例中,电子设备可以上述M个按键位置中的每个按键位置显示与该按键位置对应的一个预设瞄定按键。
对于按键位置和预设瞄定按键的描述具体可以参照上述实施例中的相关描述,为了避免重复,此处不再赘述。
步骤102b、电子设备基于N个位置偏移量,在上述内容输入区域中显示上述N个非瞄定按键。
可选地,本申请实施例中,上述N个位置偏移量可以与上述N个非瞄定按键一一对应,每个位置偏移量可以包括一个非瞄定按键相对于上述M个预设瞄定按键中的至少一个预设瞄定按键的位置偏移量。
可以理解,本申请实施例中,电子设备可以在显示上述M个预设瞄定按键之后,基于上述N个非瞄定按键中的每个非瞄定按键相对于该M个预设瞄定按键中的至少一个预设瞄定按键的位置偏移量,在上述内容输入区域中显示上述N个非瞄定按键,从而可以确保电子设备显示的虚拟键盘中每个虚拟按键的位置的准确性。
可选地,本申请实施例中,每个位置偏移量可以为系统默认的,或可以为根据用户历史习惯数据确定的。
可选地,本申请实施例中,当每个位置偏移量为系统默认的时,每个位置偏移量可以为任意可能的位置偏移量。
可选地,本申请实施例中,当每个位置偏移量为根据用户历史习惯数据确定的时,电子设备可以在显示上述N个非瞄定按键之前,获取用户的历史输入中每个虚拟按键 相对于上述至少一个预设瞄定按键的相对位置数据,从而电子设备可以根据该相对位置数据确定每个位置偏移量。
可选地,本申请实施例中,相对位置数据可以根据每个虚拟按键的中心位置在屏幕中的坐标确定。
例如,假设预设瞄定按键1的中心位置在屏幕中的坐标为(a,b),非瞄点按键2的中心位置在屏幕中的坐标为(a+x,b+y),那么x和y为非瞄点按键2相对于预设瞄定按键1的相对位置数据。
可选地,本申请实施例中,电子设备可以存储每个虚拟按键的相对位置数据,并在用户完成一次输入过程(即从电子设备显示虚拟键盘至用户输入结束)后,对存储的相对位置数据进行校准。
示例性地,如图3所示,假设虚拟按键“G”为预设瞄定按键,虚拟按键“T”为非瞄定按键,且虚拟按键“G”的中心位置在屏幕中的坐标为(100,300),虚拟按键“T”的中心位置在屏幕中的坐标为(100,350);若用户在一次输入过程中共点击了5次虚拟按键“T”,5次点击位置在屏幕中的坐标分别为(95,355)、(97,359)、(102,357)、(99,360)和(94,358),则电子设备可以确定该5次点击位置相对于虚拟按键“T”的中心位置的横坐标和纵坐标的平均变化值分别为:(95+97+102+99+94)/5-100≈-2和(355+359+357+360+358)/5-350≈8,进一步地,电子设备可以确定校准后的虚拟按键“T”的中心位置在屏幕中的坐标为(100-2,350+8),从而可以确保虚拟键盘始终符合用户的使用习惯。
可以理解,本申请实施例中,电子设备在用户完成一次输入过程后,可以对用户在该次输入过程中点击的每个虚拟按键的相对位置数据进行校准,并在用户下次输入时显示校准后的虚拟键盘。
可选地,本申请实施例中,电子设备在校准每个虚拟按键的相对位置数据时,可以设置一个预设阈值,即只有坐标的平均变化值大于或等于该预设阈值时,电子设备才会进行校准。
可选地,本申请实施例中,上述预设阈值可以为系统默认的,或为用户根据实际使用需求设置的。
本申请实施例中,由于每个位置偏移量可以为系统默认的,或者每个位置偏移量可以为电子设备根据用户的历史习惯数据确定的,因此可以提高电子设备确定每个位置偏移量的灵活性。
下面结合附图,对本申请实施例提供的输入方法进行示例性地说明。
示例性地,如图3所示,区域30为内容输入区域,按键位置31和按键位置32为用户通过输入在区域30瞄定的按键位置(即M个按键位置),虚拟按键“Space”为固定按键;若虚拟按键“S”和虚拟按键“D”为虚拟键盘中的预设瞄定按键(即M个预设瞄定按键),且按键位置31对应虚拟按键“S”,按键位置32对应虚拟按键 “D”,则电子设备可以在按键位置31显示虚拟按键“S”,在按键位置32显示虚拟按键“D”,并可以基于系统默认的每个位置偏移量,在区域30中显示虚拟键盘中的非瞄定按键(即区域30中除虚拟按键“S”、虚拟按键“D”和虚拟按键“Space”之外的虚拟按键),从而电子设备可以准确地显示虚拟键盘中的每个虚拟按键。
本申请实施例中,由于电子设备可以在用户的输入瞄定的M个按键位置,显示与该M个按键位置一一对应的M个预设瞄定按键,并基于N个非瞄定按键中的每个非瞄定按键相对于至少一个预设瞄定按键的位置偏移量,在内容输入区域显示该N个非瞄定按键,因此可以提高电子设备显示虚拟键盘的准确性。
另一种可能的实现方式
可选地,本申请实施例中,上述步骤102具体可以通过下述的步骤102c实现。
步骤102c、电子设备基于M个按键位置,按照目标排列方式,在内容输入区域中显示虚拟键盘。
可选地,本申请实施例中,目标排列方式可以包括以下任一项:错位排列方式、对齐排列方式。
可选地,本申请实施例中,电子设备可以在接收到用户瞄定M个按键位置的输入后,显示排列方式选项,并在接收到用户的选择输入后按照用户选择的排列方式,在内容输入区域中显示虚拟键盘。
可选地,本申请实施例中,上述选择输入可以为滑动输入、点击输入或取消按压的输入等任意可能的输入。
可选地,本申请实施例中,当电子设备显示的排列方式选项为多个时,电子设备可以提示用户抬起一个手指,并点击该手指上方的一个按键,从而电子设备可以通过该手指的初始位置和点击位置的相对距离,从该多个排列方式选项中自动确定符合用户使用习惯的目标排列方式。
下面结合附图,对本申请实施例提供的输入方法进行示例性地说明。
示例性地,如图4所示,区域40为内容输入区域,电子设备在接收到用户在区域40瞄定按键位置41、按键位置42、按键位置43和按键位置44(即M个按键位置)的输入后,显示排列方式选项45和排列方式选项46,可以看出,排列方式选项45为对齐排列方式,排列方式选项46为错位排列方式。此时,若用户点击排列方式选项45(即上述选择输入),则电子设备可以按照排列方式选项45对应的排列方式,在区域40中显示虚拟键盘,从而可以按照用户需求的排列方式显示虚拟键盘,以方便用户进行输入。
本申请实施例中,由于电子设备可以基于M个按键位置,按照错位排列方式或对齐排列方式,在内容输入区域中显示虚拟键盘,因此可以提高电子设备显示虚拟键盘的灵活性。
可选地,本申请实施例中,在上述步骤102c之前,本申请实施例提供的输入方法 还可以包括下述的步骤A。
步骤A、电子设备获取用户的生物特征信息。
其中,上述目标排列方式为与上述生物特征信息对应的排列方式。
可选地,本申请实施例中,生物特征信息可以为手形、指纹、面部特征、虹膜、视网膜、耳廓等任意可能的特征信息。
可选地,本申请实施例中,电子设备可以通过任意可能的方式获取用户的生物特征信息。
例如,以生物特征信息为指纹为例,电子设备可以基于上述第一输入,获取用户的指纹信息。
又例如,以生物特征信息为面部特征为例,电子设备可以通过摄像头采集用户的面部特征信息(即人脸图像)。
可选地,本申请实施例中,当用户首次使用电子设备进行输入时,电子设备可以获取该用户的生物特征信息,并将该用户输入时使用的虚拟键盘的目标排列方式与该生物特征信息进行关联保存。从而当电子设备再次获取到该生物特征信息时,可以同时获取与该生物特征信息关联的目标排列方式,并按照该目标排列方式显示虚拟键盘,如此可以提升用户输入的便捷性。
本申请实施例中,由于电子设备可以按照与获取的用户的生物特征信息对应的目标排列方式,在内容输入区域中显示虚拟键盘,因此可以确保显示的虚拟键盘符合用户的使用习惯,以方便用户进行输入操作。
步骤103、电子设备接收用户对虚拟键盘中的目标虚拟按键的第二输入。
可选地,本申请实施例中,目标虚拟按键可以为上述虚拟键盘中显示的虚拟按键中的至少一个虚拟按键。
可选地,本申请实施例中,第二输入可以为悬浮输入或触控输入等任意可能的输入。
例如,以第二输入为触控输入为例,若用户点击虚拟按键“S”,则电子设备可以显示与虚拟按键“S”对应的内容“S”。
步骤104、电子设备响应于第二输入,显示与目标虚拟按键对应的内容。
可选地,本申请实施例种,电子设备可以在用户使用电子设备时任意选择的键入位置,显示目标虚拟按键对应的内容。
例如,电子设备可以在显示的一个文档中的一个键入位置或一个输入框中的一个键入位置等,显示目标虚拟按键对应的内容。
在本申请实施例提供的输入方法中,由于电子设备可以基于用户在输入法界面的一个区域的输入瞄定的,且与虚拟键盘中的M个预设瞄定按键一一对应的M个按键位置,在该区域中显示该虚拟键盘,并通过用户对该虚拟键盘中的一个虚拟按键的输入,显示与该虚拟按键对应的内容,即电子设备显示的虚拟键盘是基于用户的输入瞄 定的按键位置确定的,而并非像传统技术中的虚拟键盘是固定的且不同虚拟按键之间的间距可能较小,因此在用户通过该虚拟键盘输入内容时,可以降低误操作的机率。
下面对电子设备确定M个按键位置的具体方法进行详细说明。
可选地,本申请实施例中,在上述步骤102之前,本申请实施例提供的输入方法还可以包括下述的步骤105和步骤106。
步骤105、电子设备获取与上述第一输入对应的M个位置信息。
可选地,本申请实施例中,上述第一输入可以包括M个子输入,每个子输入用于确定一个位置信息。
可选地,本申请实施例中,上述M个子输入的输入时刻可以相同也可以不同。
可选地,本申请实施例中,当上述M个子输入的输入时刻不同时,该M个子输入中的每个子输入的输入时刻可以不同,或者,该M个子输入中的部分子输入的输入时刻可以不同。
步骤106、电子设备将上述M个位置信息指示的M个位置,确定为上述M个按键位置(方式一);或者,电子设备将目标方向上等间距的M个位置,确定为上述M个按键位置(方式二)。
可选地,本申请实施例中,上述目标方向可以根据上述M个位置信息确定。
可选地,本申请实施例中,电子设备可以根据上述M个位置信息拟合第一直线,并通过该第一直线指示上述目标方向。
可选地,本申请实施例中,在上述方式一中,电子设备可以根据M个位置信息,为每个子输入对应的输入区域绘制一个方框,并将每个方框包括的区域确定为一个按键位置,从而可以确定上述M个按键位置,进而电子设备可以基于该M个按键位置,在内容输入区域中显示虚拟键盘。例如,如图5中的(a)所示,电子设备可以根据M个位置信息,确定离散的M个按键位置(即非规则排列的M个按键位置),并在内容输入区域中显示对应的虚拟键盘。
可选地,本申请实施例中,在上述方式二中,电子设备可以根据M个位置信息,为每个子输入对应的输入区域绘制一个方框,并将绘制的M个方框在拟合的第一直线指示的目标方向上等间距排列,从而可以确定排列后的M个方框包括的区域为上述M个按键位置,进而电子设备可以基于该M个按键位置,在内容输入区域中显示虚拟键盘。例如,如图5中的(b)所示,电子设备可以根据M个位置信息,在拟合的第一直线指示的方向(即目标方向)上确定等间距的M个按键位置(即规则排列的M个按键位置),并在内容输入区域中显示对应的虚拟键盘。
本申请实施例中,由于电子设备可以将获取的M个位置信息指示的M个位置,或根据该M个位置信息确定的目标方向上等间距的M个位置,确定为M个按键位置,因此可以提高电子设备确定M个按键位置的灵活性。
实施例二
结合图6,本申请实施例提供一种输入方法,该方法可以包括下述的步骤601至步骤604。
步骤601、电子设备显示内容输入区域。
步骤602、电子设备接收用户在内容输入区域的目标输入。
可选地,本申请实施例中,目标输入可以为用户在内容输入区域的触控输入。具体地,目标输入可以为用户在内容输入区域的点击输入、长按输入或重按输入等任意可能的输入。
对于内容输入区域的描述,具体可以参照上述实施例一中的相关描述,为了避免重复,此处不再赘述。
步骤603、电子设备响应于目标输入,获取目标输入对应的输入信息。
可选地,本申请实施例中,输入信息可以包括目标输入在内容输入区域中的目标位置信息和目标输入对应的指纹信息。
可选地,本申请实施例中,目标位置信息可以指示目标输入的位置。
可选地,本申请实施例中,目标输入对应的指纹信息可以为用户的目标手指的指纹信息,目标手指为用户进行目标输入所用的手指。
步骤604、电子设备在指纹信息符合目标预设指纹信息的情况下,显示与内容输入区域中的目标区域对应的第一内容。
可选地,本申请实施例中,目标区域可以为目标位置信息指示的位置所在的区域,第一内容可以为目标预设指纹信息对应的至少一个内容中的内容。
可选地,本申请实施例中,目标预设指纹信息可以为电子设备预先录入的指纹信息。
可选地,本申请实施例中,电子设备中的目标预设指纹信息可以为一个也可以为多个。
可选地,本申请实施例中,当上述至少一个内容为多个时,电子设备可以设置与每个内容一一对应的一个区域。
下面结合附图,对本申请实施例提供的输入方法进行示例性地说明。
示例性地,假设用户的右手食指的指纹信息为电子设备预先录入的一个指纹信息(即目标预设指纹信息),且该指纹信息对应内容“Q”、内容“Z”和内容“Cap”,并如图7所示,内容“Q”对应区域72,若电子设备接收到用户的右手食指在区域72的输入(即目标输入),则电子设备可以获取该输入的位置信息和用户的右手食指的指纹信息,并显示与区域72对应的内容“Q”(即第一内容),从而可以只基于输入的位置信息和输入手指的指纹信息,便能够准确地显示用户所需的输入内容,如此可以进一步提升用户输入的便捷性。
在本申请实施例提供的输入方法中,由于电子设备可以通过用户在内容输入区域的输入,获取该输入在该内容输入区域中的位置信息和该输入对应的用户的指纹信息, 并在该指纹信息符合预设指纹信息的情况下,显示与该位置信息指示的位置所在的区域对应的,该预设指纹信息对应的内容,因此可以使用户无需通过虚拟键盘中的虚拟按键,便可准确地输入内容,从而可以降低输入误操作的机率。
本申请实施例提供的输入方法,执行主体可以为输入装置。本申请实施例中以输入装置执行输入的方法为例,说明本申请实施例提供的输入的装置。
结合图8,本申请实施例提供一种输入装置80,该输入装置80可以包括接收模块81和显示模块82。接收模块81,可以用于接收用户在输入法的内容输入区域的第一输入,第一输入为在内容输入区域瞄定M个按键位置的输入,每个按键位置对应虚拟键盘中的一个预设瞄定按键,M为大于1的整数。显示模块82,可以用于响应于接收模块81接收的第一输入,基于M个按键位置,在内容输入区域中显示虚拟键盘。接收模块81,还可以用于接收用户对虚拟键盘中的目标虚拟按键的第二输入。显示模块82,还可以用于响应于接收模块81接收的第二输入,显示与目标虚拟按键对应的内容。
一种可能的实现方式中,上述输入装置80还可以包括获取模块和确定模块。获取模块,可以用于在显示模块82基于M个按键位置,在内容输入区域中显示虚拟键盘之前,获取与第一输入对应的M个位置信息。确定模块,可以用于将M个位置信息指示的M个位置,确定为M个按键位置;或者,将目标方向上等间距的M个位置,确定为M个按键位置,目标方向根据M个位置信息确定。
一种可能的实现方式中,上述虚拟键盘中可以包括M个预设瞄定按键和N个非瞄定按键,M个预设瞄定按键与M个按键位置一一对应,N为正整数。显示模块82,具体可以用于在M个按键位置显示M个预设瞄定按键。显示模块82,具体可以用于基于N个位置偏移量,在内容输入区域中显示N个非瞄定按键,N个位置偏移量与N个非瞄定按键一一对应,每个位置偏移量包括一个非瞄定按键相对于M个预设瞄定按键中的至少一个预设瞄定按键的位置偏移量。
一种可能的实现方式中,显示模块82,具体可以用于基于M个按键位置,按照目标排列方式,在内容输入区域中显示虚拟键盘;其中,目标排列方式包括以下任一项:错位排列方式、对齐排列方式。
一种可能的实现方式中,获取模块,还可以用于在显示模块82基于M个按键位置,按照目标排列方式,在内容输入区域中显示虚拟键盘之前,获取用户的生物特征信息;其中,目标排列方式为与生物特征信息对应的排列方式。
在本申请实施例提供的输入装置中,由于该输入装置可以基于用户在输入法界面的一个区域的输入瞄定的,且与虚拟键盘中的M个预设瞄定按键一一对应的M个按键位置,在该区域中显示该虚拟键盘,并通过用户对该虚拟键盘中的一个虚拟按键的输入,显示与该虚拟按键对应的内容,即该输入装置显示的虚拟键盘是基于用户的输入瞄定的按键位置确定的,而并非像传统技术中的虚拟键盘是固定的且不同虚拟按键之间的间距可能较小,因此在用户通过该虚拟键盘输入内容时,可以降低误操作的机 率。
本实施例中各种实现方式具有的有益效果具体可以参见上述方法实施例中相应实现方式所具有的有益效果,为避免重复,此处不再赘述。
结合图9,本申请实施例提供一种输入装置90,该输入装置90可以包括显示模块91、接收模块92和获取模块93。显示模块91,可以用于显示内容输入区域。接收模块92,可以用于接收用户在内容输入区域的目标输入。获取模块93,可以用于响应于接收模块92接收的目标输入,获取目标输入对应的输入信息,输入信息包括目标输入在内容输入区域中的目标位置信息和目标输入对应的指纹信息。显示模块91,还可以用于在指纹信息符合目标预设指纹信息的情况下,显示与内容输入区域中的目标区域对应的第一内容,目标区域为目标位置信息指示的位置所在的区域,第一内容为目标预设指纹信息对应的至少一个内容中的内容。
在本申请实施例提供的输入装置中,由于该输入装置可以通过用户在内容输入区域的输入,获取该输入在该内容输入区域中的位置信息和该输入对应的用户的指纹信息,并在该指纹信息符合预设指纹信息的情况下,显示与该位置信息指示的位置所在的区域对应的,该预设指纹信息对应的内容,因此可以使用户无需通过虚拟键盘中的虚拟按键,便可准确地输入内容,从而可以降低输入误操作的机率。
本申请实施例中的输入装置可以是电子设备,也可以是电子设备中的部件,例如集成电路或芯片。该电子设备可以是终端,也可以为除终端之外的其他设备。示例性的,电子设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载电子设备、移动上网装置(Mobile Internet Device,MID)、增强现实(augmented reality,AR)/虚拟现实(virtual reality,VR)设备、机器人、可穿戴设备、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本或者个人数字助理(personal digital assistant,PDA)等,还可以为服务器、网络附属存储器(Network Attached Storage,NAS)、个人计算机(personal computer,PC)、电视机(television,TV)、柜员机或者自助机等,本申请实施例不作具体限定。
本申请实施例中的输入装置可以为具有操作系统的装置。该操作系统可以为安卓(Android)操作系统,可以为ios操作系统,还可以为其他可能的操作系统,本申请实施例不作具体限定。
本申请实施例提供的输入装置能够实现图1至图5,或图6至图7的方法实施例实现的各个过程,为避免重复,这里不再赘述。
可选地,如图10所示,本申请实施例还提供一种电子设备100,包括处理器101和存储器102,存储器102上存储有可在所述处理器101上运行的程序或指令,该程序或指令被处理器101执行时实现上述输入方法实施例的各个步骤,且能达到相同的技术效果,为避免重复,这里不再赘述。
需要说明的是,本申请实施例中的电子设备包括上述所述的移动电子设备和非移 动电子设备。
图11为实现本申请实施例的一种电子设备的硬件结构示意图。
该电子设备1000包括但不限于:射频单元1001、网络模块1002、音频输出单元1003、输入单元1004、传感器1005、显示单元1006、用户输入单元1007、接口单元1008、存储器1009、以及处理器1010等部件。
本领域技术人员可以理解,电子设备1000还可以包括给各个部件供电的电源(比如电池),电源可以通过电源管理系统与处理器1010逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。图11中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置,在此不再赘述。
其中,在图11所示的电子设备实现图1至图5的方法实施例实现的各个过程时,用户输入单元1007,可以用于接收用户在输入法的内容输入区域的第一输入,第一输入为在内容输入区域瞄定M个按键位置的输入,每个按键位置对应虚拟键盘中的一个预设瞄定按键,M为大于1的整数。显示单元1006,可以用于响应于用户输入单元1007接收的第一输入,基于M个按键位置,在内容输入区域中显示虚拟键盘。用户输入单元1007,还可以用于接收用户对虚拟键盘中的目标虚拟按键的第二输入。显示单元1006,还可以用于响应于用户输入单元1007接收的第二输入,显示与目标虚拟按键对应的内容。
一种可能的实现方式中,传感器1005,可以用于在显示单元1006基于M个按键位置,在内容输入区域中显示虚拟键盘之前,获取与第一输入对应的M个位置信息。处理器1010,可以用于将M个位置信息指示的M个位置,确定为M个按键位置;或者,将目标方向上等间距的M个位置,确定为M个按键位置,目标方向根据M个位置信息确定。
一种可能的实现方式中,上述虚拟键盘中可以包括M个预设瞄定按键和N个非瞄定按键,M个预设瞄定按键与M个按键位置一一对应,N为正整数。显示单元1006,具体可以用于在M个按键位置显示M个预设瞄定按键。显示单元1006,具体可以用于基于N个位置偏移量,在内容输入区域中显示N个非瞄定按键,N个位置偏移量与N个非瞄定按键一一对应,每个位置偏移量包括一个非瞄定按键相对于M个预设瞄定按键中的至少一个预设瞄定按键的位置偏移量。
一种可能的实现方式中,显示单元1006,具体可以用于基于M个按键位置,按照目标排列方式,在内容输入区域中显示虚拟键盘;其中,目标排列方式包括以下任一项:错位排列方式、对齐排列方式。
一种可能的实现方式中,传感器1005,还可以用于在显示单元1006基于M个按键位置,按照目标排列方式,在内容输入区域中显示虚拟键盘之前,获取用户的生物特征信息;其中,目标排列方式为与生物特征信息对应的排列方式。
在本申请实施例提供的电子设备中,由于该电子设备可以基于用户在输入法界面的一个区域的输入瞄定的,且与虚拟键盘中的M个预设瞄定按键一一对应的M个按键位置,在该区域中显示该虚拟键盘,并通过用户对该虚拟键盘中的一个虚拟按键的输入,显示与该虚拟按键对应的内容,即该电子设备显示的虚拟键盘是基于用户的输入瞄定的按键位置确定的,而并非像传统技术中的虚拟键盘是固定的且不同虚拟按键之间的间距可能较小,因此在用户通过该虚拟键盘输入内容时,可以降低误操作的机率。
本实施例中各种实现方式具有的有益效果具体可以参见上述方法实施例中相应实现方式所具有的有益效果,为避免重复,此处不再赘述。
其中,在图11所示的电子设备实现图6至图7的方法实施例实现的各个过程时,显示单元1006,可以用于显示内容输入区域。用户输入单元1007,可以用于接收用户在内容输入区域的目标输入。传感器1005,可以用于响应于用户输入单元1007接收的目标输入,获取目标输入对应的输入信息,输入信息包括目标输入在内容输入区域中的目标位置信息和目标输入对应的指纹信息。显示单元1006,还可以用于在指纹信息符合目标预设指纹信息的情况下,显示与内容输入区域中的目标区域对应的第一内容,目标区域为目标位置信息指示的位置所在的区域,第一内容为目标预设指纹信息对应的至少一个内容中的内容。
在本申请实施例提供的电子设备中,由于该电子设备可以通过用户在内容输入区域的输入,获取该输入在该内容输入区域中的位置信息和该输入对应的用户的指纹信息,并在该指纹信息符合预设指纹信息的情况下,显示与该位置信息指示的位置所在的区域对应的,该预设指纹信息对应的内容,因此可以使用户无需通过虚拟键盘中的虚拟按键,便可准确地输入内容,从而可以降低输入误操作的机率。
应理解的是,本申请实施例中,输入单元1004可以包括图形处理器(Graphics Processing Unit,GPU)10041和麦克风10042,图形处理器10041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。显示单元1006可包括显示面板10061,可以采用液晶显示器、有机发光二极管等形式来配置显示面板10061。用户输入单元1007包括触控面板10071以及其他输入设备10072中的至少一种。触控面板10071,也称为触摸屏。触控面板10071可包括触摸检测装置和触摸控制器两个部分。其他输入设备10072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。
存储器1009可用于存储软件程序以及各种数据。存储器1009可主要包括存储程序或指令的第一存储区和存储数据的第二存储区,其中,第一存储区可存储操作系统、至少一个功能所需的应用程序或指令(比如声音播放功能、图像播放功能等)等。此外,存储器1009可以包括易失性存储器或非易失性存储器,或者,存储器1009可以 包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(Read-Only Memory,ROM)、可编程只读存储器(Programmable ROM,PROM)、可擦除可编程只读存储器(Erasable PROM,EPROM)、电可擦除可编程只读存储器(Electrically EPROM,EEPROM)或闪存。易失性存储器可以是随机存取存储器(Random Access Memory,RAM),静态随机存取存储器(Static RAM,SRAM)、动态随机存取存储器(Dynamic RAM,DRAM)、同步动态随机存取存储器(Synchronous DRAM,SDRAM)、双倍数据速率同步动态随机存取存储器(Double Data Rate SDRAM,DDRSDRAM)、增强型同步动态随机存取存储器(Enhanced SDRAM,ESDRAM)、同步连接动态随机存取存储器(Synch link DRAM,SLDRAM)和直接内存总线随机存取存储器(Direct Rambus RAM,DRRAM)。本申请实施例中的存储器1009包括但不限于这些和任意其它适合类型的存储器。
处理器1010可包括一个或多个处理单元;可选的,处理器1010集成应用处理器和调制解调处理器,其中,应用处理器主要处理涉及操作系统、用户界面和应用程序等的操作,调制解调处理器主要处理无线通信信号,如基带处理器。可以理解的是,上述调制解调处理器也可以不集成到处理器1010中。
本申请实施例还提供一种可读存储介质,所述可读存储介质上存储有程序或指令,该程序或指令被处理器执行时实现上述输入方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
其中,所述处理器为上述实施例中所述的电子设备中的处理器。所述可读存储介质,包括计算机可读存储介质,如计算机只读存储器ROM、随机存取存储器RAM、磁碟或者光盘等。
本申请实施例另提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现上述输入方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
应理解,本申请实施例提到的芯片还可以称为系统级芯片、系统芯片、芯片系统或片上系统芯片等。
本申请实施例提供一种计算机程序产品,该程序产品被存储在存储介质中,该程序产品被至少一个处理器执行以实现如上述输入方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。此外,需要指出的是,本申请实施方式中的方法和装置的范围不限按示出或讨 论的顺序来执行功能,还可包括根据所涉及的功能按基本同时的方式或按相反的顺序来执行功能,例如,可以按不同于所描述的次序来执行所描述的方法,并且还可以添加、省去、或组合各种步骤。另外,参照某些示例所描述的特征可在其他示例中被组合。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以计算机软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,或者网络设备等)执行本申请各个实施例所述的方法。
上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。

Claims (17)

  1. 一种输入方法,所述方法包括:
    接收用户在输入法的内容输入区域的第一输入,所述第一输入为在所述内容输入区域瞄定M个按键位置的输入,每个按键位置对应虚拟键盘中的一个预设瞄定按键,M为大于1的整数;
    响应于所述第一输入,基于所述M个按键位置,在所述内容输入区域中显示所述虚拟键盘;
    接收用户对所述虚拟键盘中的目标虚拟按键的第二输入;
    响应于所述第二输入,显示与所述目标虚拟按键对应的内容。
  2. 根据权利要求1所述的方法,其中,所述基于所述M个按键位置,在所述内容输入区域中显示所述虚拟键盘之前,所述方法还包括:
    获取与所述第一输入对应的M个位置信息;
    将所述M个位置信息指示的M个位置,确定为所述M个按键位置;或者,
    将目标方向上等间距的M个位置,确定为所述M个按键位置,所述目标方向根据所述M个位置信息确定。
  3. 根据权利要求1或2所述的方法,其中,所述虚拟键盘中包括M个预设瞄定按键和N个非瞄定按键,所述M个预设瞄定按键与所述M个按键位置一一对应,N为正整数;
    所述基于所述M个按键位置,在所述内容输入区域中显示所述虚拟键盘,包括:
    在所述M个按键位置显示所述M个预设瞄定按键;
    基于N个位置偏移量,在所述内容输入区域中显示所述N个非瞄定按键,所述N个位置偏移量与所述N个非瞄定按键一一对应,每个位置偏移量包括一个非瞄定按键相对于所述M个预设瞄定按键中的至少一个预设瞄定按键的位置偏移量。
  4. 根据权利要求1所述的方法,其中,所述基于所述M个按键位置,在所述内容输入区域中显示所述虚拟键盘,包括:
    基于所述M个按键位置,按照目标排列方式,在所述内容输入区域中显示所述虚拟键盘;
    其中,所述目标排列方式包括以下任一项:错位排列方式、对齐排列方式。
  5. 根据权利要求4所述的方法,其中,所述基于所述M个按键位置,按照目标排列方式,在所述内容输入区域中显示所述虚拟键盘之前,所述方法还包括:
    获取用户的生物特征信息;
    其中,所述目标排列方式为与所述生物特征信息对应的排列方式。
  6. 一种输入方法,所述方法包括:
    显示内容输入区域;
    接收用户在所述内容输入区域的目标输入;
    响应于所述目标输入,获取所述目标输入对应的输入信息,所述输入信息包括所述目标输入在所述内容输入区域中的目标位置信息和所述目标输入对应的指纹信息;
    在所述指纹信息符合目标预设指纹信息的情况下,显示与所述内容输入区域中的目标区域对应的第一内容,所述目标区域为所述目标位置信息指示的位置所在的区域,所述第一内容为所述目标预设指纹信息对应的至少一个内容中的内容。
  7. 一种输入装置,所述装置包括接收模块和显示模块;
    所述接收模块,用于接收用户在输入法的内容输入区域的第一输入,所述第一输入为在所述内容输入区域瞄定M个按键位置的输入,每个按键位置对应虚拟键盘中的一个预设瞄定按键,M为大于1的整数;
    所述显示模块,用于响应于所述接收模块接收的所述第一输入,基于所述M个按键位置,在所述内容输入区域中显示所述虚拟键盘;
    所述接收模块,还用于接收用户对所述虚拟键盘中的目标虚拟按键的第二输入;
    所述显示模块,还用于响应于所述接收模块接收的所述第二输入,显示与所述目标虚拟按键对应的内容。
  8. 根据权利要求7所述的装置,其中,所述装置还包括获取模块和确定模块;
    所述获取模块,用于在所述显示模块基于所述M个按键位置,在所述内容输入区域中显示所述虚拟键盘之前,获取与所述第一输入对应的M个位置信息;
    所述确定模块,用于将所述M个位置信息指示的M个位置,确定为所述M个按键位置;或者,将目标方向上等间距的M个位置,确定为所述M个按键位置,所述目标方向根据所述M个位置信息确定。
  9. 根据权利要求7或8所述的装置,其中,所述虚拟键盘中包括M个预设瞄定按键和N个非瞄定按键,所述M个预设瞄定按键与所述M个按键位置一一对应,N为正整数;
    所述显示模块,具体用于在所述M个按键位置显示所述M个预设瞄定按键;
    所述显示模块,具体用于基于N个位置偏移量,在所述内容输入区域中显示所述N个非瞄定按键,所述N个位置偏移量与所述N个非瞄定按键一一对应,每个位置偏移量包括一个非瞄定按键相对于所述M个预设瞄定按键中的至少一个预设瞄定按键的位置偏移量。
  10. 根据权利要求7所述的装置,其中,
    所述显示模块,具体用于基于所述M个按键位置,按照目标排列方式,在所述内容输入区域中显示所述虚拟键盘;
    其中,所述目标排列方式包括以下任一项:错位排列方式、对齐排列方式。
  11. 根据权利要求10所述的装置,其中,
    所述获取模块,还用于在所述显示模块基于所述M个按键位置,按照所述目标排列方式,在所述内容输入区域中显示所述虚拟键盘之前,获取用户的生物特征信息;
    其中,所述目标排列方式为与所述生物特征信息对应的排列方式。
  12. 一种输入装置,所述装置包括显示模块、接收模块和获取模块;
    所述显示模块,用于显示内容输入区域;
    所述接收模块,用于接收用户在所述内容输入区域的目标输入;
    所述获取模块,用于响应于所述接收模块接收的所述目标输入,获取所述目标输入对应的输入信息,所述输入信息包括所述目标输入在所述内容输入区域中的目标位置信息和所述目标输入对应的指纹信息;
    所述显示模块,还用于在所述指纹信息符合目标预设指纹信息的情况下,显示与所述内容输入区域中的目标区域对应的第一内容,所述目标区域为所述目标位置信息指示的位置所在的区域,所述第一内容为所述目标预设指纹信息对应的至少一个内容中的内容。
  13. 一种电子设备,包括处理器和存储器,所述存储器存储可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如权利要求1-5中任一项所述的输入方法,或者实现如权利要求6所述的输入方法的步骤。
  14. 一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如权利要求1-5中任一项所述的输入方法,或者实现如权利要求6所述的输入方法的步骤。
  15. 一种计算机软件产品,所述计算机软件产品被至少一个处理器执行以实现如权利要求1-5中任一项所述的输入方法,或者实现如权利要求6所述的输入方法。
  16. 一种电子设备,包括所述电子设备被配置成用于执行如权利要求1-5中任一项所述的输入方法,或者实现如权利要求6所述的输入方法。
  17. 一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如权利要求1-5中任一项所述的输入方法,或者实现如权利要求6所述的输入方法。
PCT/CN2023/073171 2022-01-30 2023-01-19 输入方法、装置、电子设备及可读存储介质 WO2023143380A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210114329.5A CN114510194A (zh) 2022-01-30 2022-01-30 输入方法、装置、电子设备及可读存储介质
CN202210114329.5 2022-01-30

Publications (1)

Publication Number Publication Date
WO2023143380A1 true WO2023143380A1 (zh) 2023-08-03

Family

ID=81552310

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/073171 WO2023143380A1 (zh) 2022-01-30 2023-01-19 输入方法、装置、电子设备及可读存储介质

Country Status (2)

Country Link
CN (1) CN114510194A (zh)
WO (1) WO2023143380A1 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114510194A (zh) * 2022-01-30 2022-05-17 维沃移动通信有限公司 输入方法、装置、电子设备及可读存储介质

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105302329A (zh) * 2014-05-27 2016-02-03 姚文杰 指纹编码输入方法和装置
US20170060413A1 (en) * 2014-02-21 2017-03-02 Drnc Holdings, Inc. Methods, apparatus, systems, devices and computer program products for facilitating entry of user input into computing devices
US20210065455A1 (en) * 2019-09-04 2021-03-04 Qualcomm Incorporated Virtual keyboard
CN114510194A (zh) * 2022-01-30 2022-05-17 维沃移动通信有限公司 输入方法、装置、电子设备及可读存储介质

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102339196A (zh) * 2010-07-22 2012-02-01 中国移动通信集团公司 触摸屏输入装置和方法
US20130222247A1 (en) * 2012-02-29 2013-08-29 Eric Liu Virtual keyboard adjustment based on user input offset
US20190227707A1 (en) * 2016-11-30 2019-07-25 Shenzhen Royole Technologies Co. Ltd. Electronic device and soft keyboard display method thereof
CN106951174B (zh) * 2017-03-22 2019-01-22 维沃移动通信有限公司 一种虚拟键盘的调整方法及移动终端
CN110531919A (zh) * 2019-07-31 2019-12-03 努比亚技术有限公司 一种指纹触控映射控制方法、终端及计算机可读存储介质
CN111562876A (zh) * 2020-04-17 2020-08-21 深圳传音控股股份有限公司 虚拟键盘的设置方法、设备以及存储介质
CN113655929A (zh) * 2021-08-26 2021-11-16 维沃移动通信有限公司 界面显示的适配处理方法、装置和电子设备

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170060413A1 (en) * 2014-02-21 2017-03-02 Drnc Holdings, Inc. Methods, apparatus, systems, devices and computer program products for facilitating entry of user input into computing devices
CN105302329A (zh) * 2014-05-27 2016-02-03 姚文杰 指纹编码输入方法和装置
US20210065455A1 (en) * 2019-09-04 2021-03-04 Qualcomm Incorporated Virtual keyboard
CN114510194A (zh) * 2022-01-30 2022-05-17 维沃移动通信有限公司 输入方法、装置、电子设备及可读存储介质

Also Published As

Publication number Publication date
CN114510194A (zh) 2022-05-17

Similar Documents

Publication Publication Date Title
CN110737374B (zh) 操作方法及电子设备
CN108415641B (zh) 一种图标的处理方法及移动终端
US9329661B2 (en) Information processing method and electronic device
CN110531915B (zh) 屏幕操作方法及终端设备
CN110007822B (zh) 一种界面显示方法及终端设备
CN112486346B (zh) 按键模式设置方法、装置及存储介质
CN111610904B (zh) 图标整理方法、电子设备及存储介质
WO2023143380A1 (zh) 输入方法、装置、电子设备及可读存储介质
WO2023025060A1 (zh) 界面显示的适配处理方法、装置和电子设备
CN108509108B (zh) 一种应用程序图标排列方法及移动终端
CN107832067B (zh) 一种应用更新方法、移动终端和计算机可读存储介质
CN111158478B (zh) 响应方法及电子设备
CN110221741B (zh) 图标管理方法及终端设备
CN108762641B (zh) 一种文本编辑方法及终端设备
CN107967086B (zh) 一种移动终端的图标排列方法及装置、移动终端
WO2023030304A1 (zh) 提示信息显示方法、装置及电子设备
WO2018039914A1 (zh) 一种数据复制方法及用户终端
WO2023051508A1 (zh) 图形码的显示方法及装置
WO2023131092A1 (zh) 信息显示方法及其装置
WO2022247745A1 (zh) 触控方法、触控装置和电子设备
CN108614725B (zh) 一种界面显示方法及终端
CN109445656B (zh) 一种屏幕操控方法和终端设备
CN111273831A (zh) 控制电子设备的方法及电子设备
WO2022247814A1 (zh) 目标字符的选择方法、装置、电子设备及存储介质
CN111443802B (zh) 测量方法及电子设备

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 23746259

Country of ref document: EP

Kind code of ref document: A1