[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

WO2020238938A1 - 信息输入方法及移动终端 - Google Patents

信息输入方法及移动终端 Download PDF

Info

Publication number
WO2020238938A1
WO2020238938A1 PCT/CN2020/092525 CN2020092525W WO2020238938A1 WO 2020238938 A1 WO2020238938 A1 WO 2020238938A1 CN 2020092525 W CN2020092525 W CN 2020092525W WO 2020238938 A1 WO2020238938 A1 WO 2020238938A1
Authority
WO
WIPO (PCT)
Prior art keywords
information
input
field
target
extracted
Prior art date
Application number
PCT/CN2020/092525
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 WO2020238938A1 publication Critical patent/WO2020238938A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/31Indexing; Data structures therefor; Storage structures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/33Querying
    • G06F16/3331Query processing
    • G06F16/334Query execution
    • 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/02Input arrangements using manually operated switches, e.g. using keyboards or dials
    • G06F3/023Arrangements for converting discrete items of information into a coded form, e.g. arrangements for interpreting keyboard generated codes as alphanumeric codes, operand codes or instruction codes
    • G06F3/0233Character input methods
    • G06F3/0237Character input methods using prediction or retrieval techniques
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V20/00Scenes; Scene-specific elements
    • G06V20/60Type of objects
    • G06V20/62Text, e.g. of license plates, overlay texts or captions on TV images
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V30/00Character recognition; Recognising digital ink; Document-oriented image-based pattern recognition
    • G06V30/10Character recognition

Definitions

  • the embodiments of the present disclosure relate to the field of communication technology, and in particular, to an information input method and a mobile terminal.
  • the more commonly used information input method is for the user to manually enter the required text or character through the soft keyboard, or to use the copy and paste method to achieve rapid input.
  • the mobile terminal can support the user to manually shoot or scan the text information in the picture to extract the text information in the picture for further processing by the user.
  • the embodiments of the present disclosure provide an information input method and a mobile terminal to solve the problem that related information input methods are not convenient enough to cause low information input efficiency.
  • the embodiments of the present disclosure provide an information input method applied to a mobile terminal, and the method includes:
  • a mobile terminal including:
  • a receiving module configured to receive index information input by a user in the first information input interface, where the index information includes characters;
  • An extraction module for extracting field information matching the index information from the text information of the target image
  • the input module is used to input the field information to the target location.
  • embodiments of the present disclosure provide a mobile terminal including a processor, a memory, and a computer program stored on the memory and capable of running on the processor.
  • the computer program When the computer program is executed by the processor, Implement the steps in the above information input method.
  • an embodiment of the present disclosure provides a computer-readable storage medium with a computer program stored on the computer-readable storage medium, and when the computer program is executed by a processor, the steps in the above-mentioned information input method are implemented.
  • the mobile terminal can extract the field information matching the index information from the text information of the target image based on the index information input by the user, and can input the extracted field information to the target location, so that it can be guaranteed According to the index information, the field information that meets the user's expectations is accurately extracted from the target graph, without the user needing to further process the extracted field information, so that information input can be completed quickly, and the convenience and information of user operations are improved Input efficiency.
  • Fig. 1 is a flowchart of an information input method provided by an embodiment of the present disclosure
  • FIG. 2 is a schematic diagram of an interface for quickly entering a WiFi password provided by an embodiment of the present disclosure
  • FIG. 3 is a flowchart of another information input method provided by an embodiment of the present disclosure.
  • FIG. 4a is a schematic diagram of an interface for generating a floating ball based on index characters input by a user according to an embodiment of the present disclosure
  • 4b is a schematic diagram of an interface for quickly inputting contact information with the help of a floating ball according to an embodiment of the present disclosure
  • FIG. 5 is a schematic structural diagram of a mobile terminal provided by an embodiment of the present disclosure.
  • FIG. 6 is a schematic structural diagram of another mobile terminal provided by an embodiment of the present disclosure.
  • FIG. 7 is a schematic structural diagram of an extraction module of a mobile terminal provided by an embodiment of the present disclosure.
  • FIG. 8 is a schematic structural diagram of another mobile terminal provided by an embodiment of the present disclosure.
  • FIG. 9 is a schematic structural diagram of another mobile terminal provided by an embodiment of the present disclosure.
  • FIG. 10 is a schematic diagram of the hardware structure of a mobile terminal provided by an embodiment of the present disclosure.
  • FIG. 1 is a flowchart of an information input method provided by an embodiment of the present disclosure, which is applied to a mobile terminal. As shown in FIG. 1, the method includes the following steps:
  • Step 101 Receive index information input by a user in a first information input interface, where the index information includes characters.
  • the above-mentioned first information input interface may be any information input interface displayed by the mobile terminal, that is, the user can input or edit related information on this interface, such as a wireless-fidelity (WiFi) password input interface, personal information editing Interface, contact information editing interface, etc.
  • WiFi wireless-fidelity
  • the above-mentioned index information may be character information used to index matching fields, such as letters, numbers, words, or symbols.
  • the user may input index information in the first information input interface so that the mobile terminal can read from the target image Extract the field information that matches the index information from the text information.
  • Step 102 Extract field information matching the index information from the text information of the target image.
  • the above-mentioned target image may be an image collected in real time by the mobile terminal through a camera, or an image in the mobile terminal's gallery (such as the latest screenshot), and the target image may display the text to be input that the user desires to extract Information, that is, this embodiment is suitable for a scene in which a user quickly extracts desired text content from an image and inputs it to a corresponding position.
  • the mobile terminal activates the camera to collect the target image, or selects the target image from a gallery, or after the user inputs the index information Only when the mobile terminal enables the camera to collect the target image, or selects the target image from a gallery.
  • the above extraction of field information matching the index information from the text information of the target image may include two implementation schemes, one of which is: pre-adopting image text recognition methods (such as binary clustering extraction method, optical character recognition OCR Method, etc.) Extract all text information from the target image and store it, and then receive the index information input by the user, and extract the field information matching the index information from the stored text information of the target image; the second is : First receive the index information input by the user, and then use the image text recognition method to recognize the text information in the target image, and extract the field information matching the index information from the text information of the target image.
  • pre-adopting image text recognition methods such as binary clustering extraction method, optical character recognition OCR Method, etc.
  • the corresponding prompt information can be output to remind the user that the matching field information is not detected, and can be re-entered Index information.
  • multiple field information matching the index information is retrieved from the text information of the target image, then multiple field information can be extracted, and multiple field information options can be generated , For the user to select the desired input field information.
  • the step 102 includes:
  • the information in the field to be extracted is extracted.
  • the position information of the field to be extracted that matches the index information in the text information of the target image may be determined according to the index information. Specifically, it may be determined according to the index information.
  • the starting position of the field in the text information of the target image, wherein the first character of the field to be extracted matches the index information, such as determining the character in the text information of the target image and the index information.
  • the same target character is used as the first character of the field to be extracted, that is, the position of the target character is the starting position of the field to be extracted.
  • the end position of the field to be extracted can be further determined, specifically, it can be determined by detecting spaces, punctuation marks, or segmentation characters, etc., for example, the end position of the field to be extracted can be derived from the field to be extracted
  • the starting position begins, the position of the character before the first space, punctuation mark, or paragraph break.
  • the position information of the field to be extracted in the text information of the target image can be determined, so that the position information can be quickly and accurately
  • the information in the field to be extracted is extracted from the text information of the target image, and the information is the field information that matches the index information.
  • the determining the starting position of the field to be extracted in the text information of the target image according to the index information includes:
  • the target symbol includes a space character, a punctuation character or a paragraph character.
  • the start position of the field to be extracted when determining the start position of the field to be extracted, it may be to search for a character matching the index information from the text information of the target image, and the position of the character is the start of the field to be extracted.
  • the starting position specifically, matching with the index information may be the same as at least one character in the index information.
  • the index information includes multiple characters, it may be from the text information of the target image. Search for characters that are the same as one or more characters in the index information, and use the position of the character with the largest number of identical characters as the starting position of the field to be extracted. It should be noted that, in order to ensure index accuracy, a character position in the text information of the target image that is exactly the same as the character in the index information can be set as the starting position of the field to be extracted.
  • the target symbol When determining the end position of the field to be extracted, the target symbol may be searched backwards from the starting position of the field to be extracted, such as a space character, a punctuation character, or a paragraph character. If the target symbol is found, then The position of the previous character of the target symbol may be the end position of the field to be extracted. For example, after determining the starting position of the field to be extracted, you can continuously detect whether the following characters are words, letters, numbers, or symbols. If a space character is detected in a certain position, the character position before the space character can be determined That is, the end position of the field to be extracted.
  • the method further includes:
  • the camera of the mobile terminal is activated to collect the target image, where the preset event includes popping up a soft keyboard or displaying an information input interface.
  • some specific events can be preset to trigger the camera activation of the mobile terminal through the preset event, so that the mobile terminal is more intelligent and user-friendly.
  • the preset events may include but are not limited to events such as popping up a soft keyboard or displaying an information input interface.
  • the camera of the mobile terminal can be activated to collect the target image.
  • the soft keyboard pops up or enters the information input interface
  • it can display the switch control for turning on or off the smart input function, or the pop-up window prompts the user whether to turn on the smart input function.
  • the camera of the mobile terminal is automatically activated to collect the target image.
  • Step 103 Input the field information to the target location.
  • the field information can be automatically input to the target location, or the field information can be input to the target location based on a trigger operation of the user.
  • the target position may be the input position of the index information in the first information input interface, or the target position may be the target input position in the second information input interface.
  • the above-mentioned target position may be the input position of the index information in the first information input interface, that is, when the user inputs index information in an information input field in the first information input interface, the mobile terminal may The information input column intelligently inputs field information in the target image that matches the index information, and improves the user's information input efficiency.
  • the above-mentioned target position may also be a target input position in the second information input interface, the second information input interface and the first information input interface are different interfaces, and the target input position may be a user in the second information input interface.
  • the input position selected in the information input interface may also be a default input position preset by the mobile terminal in the second information input interface.
  • the field information extracted from the target image that matches the index information is displayed on the top of the interface by floating, so that the user can switch to the second information input interface , And select to input the field information into the target input position in the second information input interface, thereby making the information input method more flexible.
  • the above-mentioned mobile terminal may be any device with a storage medium, such as: a computer (Computer), a mobile phone, a tablet (Personal Computer), a laptop (Laptop Computer), a personal digital assistant (Personal Digital Assistant) Assistant, PDA for short), Mobile Internet Device (MID for short), or Wearable Device (Wearable Device) and other terminal devices.
  • a computer Computer
  • a mobile phone a tablet (Personal Computer), a laptop (Laptop Computer), a personal digital assistant (Personal Digital Assistant) Assistant, PDA for short), Mobile Internet Device (MID for short), or Wearable Device (Wearable Device) and other terminal devices.
  • PDA Personal Digital Assistant
  • MID Mobile Internet Device
  • Wearable Device Wearable Device
  • the mobile terminal can extract the field information matching the index information from the text information of the target image based on the index information input by the user, and can input the extracted field information to the target location. It can ensure that the field information that meets the user's expectations is accurately extracted from the target graph through the index information, without the user needing to further process the extracted field information, so that the information input can be completed quickly, which improves the convenience of the user operation Sex and information input efficiency.
  • the camera of the mobile terminal when it is detected that the soft keyboard 21 pops up, the camera of the mobile terminal can be started to collect a target image including WiFi password information, and the text information in the target image can be recognized;
  • the mobile terminal can retrieve the relevant field matching the character "5" from the text information in the target image;
  • the mobile terminal can input the remaining password characters "q3n53bs" into the password input field 22 to complete the quick input of the WiFi password.
  • the user does not need to enter the numbers and letters on the soft keyboard 21 Switch the input back and forth.
  • FIG. 3 is a flowchart of another information input method provided by an embodiment of the present disclosure, which is applied to a mobile terminal.
  • an additional display includes matching field information
  • the steps of floating controls are refined, and the steps of how to input the field information into the target position are refined, so that the information input method is more flexible and interesting.
  • the method includes the following steps:
  • Step 301 Receive index information input by a user in a first information input interface, where the index information includes characters.
  • step 101 For a specific implementation manner of this step, reference may be made to the implementation manner of step 101 in the method embodiment shown in FIG. 1. To avoid repetition, details are not described herein again.
  • Step 302 Extract field information matching the index information from the text information of the target image.
  • step 102 For a specific implementation manner of this step, reference may be made to the implementation manner of step 102 in the method embodiment shown in FIG. 1. To avoid repetition, details are not described herein again.
  • Step 303 Display a floating control, wherein the floating control includes the field information.
  • a floating control can be generated, and the floating control can be displayed on the current display interface.
  • the floating control can be in the form of a semi-transparent floating ball or floating window, and can be displayed on the top layer of the interface, that is, when the mobile terminal displays different interfaces, the floating control can always Keep displayed at the top of the interface.
  • the camera can be started to collect a target image including contact information, and the text information in the target image can be recognized.
  • the mobile terminal can retrieve from the text information in the target image the characters “surname” and “electricity” respectively. "", " ⁇ " and “ ⁇ ” matching related fields;
  • a floating ball 42 When the relevant name field, phone field, company field, and address field are retrieved, a floating ball 42 can be generated, and the floating ball 42 can be displayed on the information input interface 40.
  • the floating ball 42 can include the retrieved name field and phone number. Fields, company fields and address fields, and the floating ball 42 can be displayed on the top of the information input interface 40 in a semi-transparent state, and the floating ball 42 can be dragged to any position.
  • the method further includes:
  • the field information in the floating control is edited.
  • the user can also edit the field information in the floating control.
  • the mobile terminal extracts the field information from the target image
  • the user can edit the floating control.
  • the field information in the control is added, deleted or revised to meet the diverse needs of users.
  • the method further includes:
  • the floating control In response to the movement operation, the floating control is moved according to the movement track of the movement operation.
  • the method further includes:
  • the target location is located on the second information input interface.
  • the user can drag the floating ball 42 to the contact icon.
  • the mobile terminal can start the contacts application and jump to the contact information editor shown in Figure 4b under the user's operation. Interface 43.
  • the user can store the field information extracted from the target image in the floating control, and can switch to any desired information input interface, and realize rapid information input with the help of the floating control.
  • Step 304 In the case of receiving the user's first input to the floating control, in response to the first input, input the target field information in the floating control that matches the target position to the target position; wherein , The target position is the information input position indicated by the input end position of the first input.
  • the user can input the target field information in the floating control to the target position by performing corresponding input to the floating control.
  • the user may perform a first input on the floating control, where the first input may be a drag input (such as dragging the floating control to a desired information input position), or a double click input ( For example, click the floating control first, and then click the desired information input position), etc.
  • the mobile terminal may respond to the first input by inputting the field information in the floating control to the end of the first input.
  • the information input location indicated by the location More specifically, when the floating control includes multiple field information, the target field information in the floating control that matches the information input position can be input to the position, for example, according to the input of the information input position Instruction information, input a field of information in the floating control that matches the input instruction information to the information input position.
  • the user can drag the floating control to the contact name input position, where the name input indication information is displayed, and the mobile terminal can correspondingly change the contact information in the floating control Enter the person’s name field into that location.
  • the step 304 can be replaced.
  • the step 304 can be replaced with any one of the following:
  • the user can also input the target field information in the floating control to the target location by performing corresponding input on a certain field information in the floating control.
  • the user can perform a second input on the target field information in the floating control, where the second input can be a drag input (such as dragging the target field information in the floating control to a desired value).
  • Information input position such as dragging the target field information in the floating control to a desired value.
  • copy and paste input such as copying the target field information in the floating control, and then pasting it to the desired information input position, etc.
  • the mobile terminal can respond to the second input and transfer the The target field information is input to the information input position indicated by the input end position of the second input, where the target field information may be any field information in the floating control.
  • the user can drag the name field in the floating ball 42 to the name input position, drag the phone field in the floating ball 42 to the phone input position, and so on. Complete the input of the contact information.
  • the user can perform editing input on the target field information in the floating control to edit the target field information, wherein the editing input can be adding or deleting the target field information Or modify, etc.
  • the mobile terminal can edit the target field information in response to the edit input, and can input the edited target field information into the target location, and the target location can be the current information input interface
  • the information input location associated with the target field information may also be a preset default input location or an input location specified by the user.
  • the user can flexibly use a variety of different input methods to input a certain field of information in the floating control to a desired information input position, which improves information input. Efficiency can increase the fun of inputting information.
  • the method further includes:
  • the user can instruct the mobile terminal to destroy the floating control through a preset operation, even if the mobile terminal cancels the display of the floating control ,
  • the preset operation may be a long-press operation, or an operation of dragging to a specific position. In this way, through this embodiment, the user can cancel the display state of the floating control at any time.
  • the user can press and hold the floating ball 42 to exit the display of the floating ball 42.
  • the mobile terminal may also actively cancel the display of the floating control when the display duration of the floating control exceeds the preset duration, or when no operation on the floating control is detected beyond the preset duration. Control, eliminating the need for the user to manually cancel.
  • the user can flexibly select the desired input field information and input location according to his own needs, and can increase the interest of the information input .
  • this embodiment adds a variety of optional implementation manners to the embodiment shown in FIG. 1. These optional implementation manners can be implemented in combination with each other, or can be implemented separately, and can improve user operations. The technical effect of the convenience and efficiency of information input.
  • FIG. 5 is a schematic structural diagram of a mobile terminal provided by an embodiment of the present disclosure. As shown in FIG. 5, the mobile terminal 500 includes:
  • the receiving module 501 is configured to receive index information input by a user in the first information input interface, where the index information includes characters;
  • the extraction module 502 is configured to extract field information matching the index information from the text information of the target image
  • the input module 503 is used to input the field information to the target location.
  • the target position is an input position of the index information in the first information input interface, or the target position is a target input position in a second information input interface.
  • the mobile terminal 500 further includes:
  • the collection module 504 is configured to activate the camera of the mobile terminal 500 to collect the target image when a preset event is detected;
  • the preset event includes popping up a soft keyboard or displaying an information input interface.
  • the extraction module 502 includes:
  • the first determining unit 5021 is configured to determine the starting position of the field to be extracted in the text information of the target image according to the index information, wherein the first character of the field to be extracted matches the index information;
  • the second determining unit 5022 is configured to determine the end position of the field to be extracted
  • the extraction unit 5023 is configured to extract information in the field to be extracted based on the start position and the end position of the field to be extracted.
  • the first determining unit 5021 is configured to search for a character that is the same as at least one character in the index information from the text information of the target image, and determine the position of the character as the starting position of the field to be extracted ;
  • the second determining unit 5022 is configured to search backward for the target symbol from the start position of the field to be extracted, and determine the position of the previous character of the target symbol as the end position of the field to be extracted;
  • the target symbol includes a space character, a punctuation character or a paragraph character.
  • the mobile terminal 500 further includes:
  • the display module 505 is configured to display the floating control, wherein the floating control includes the field information;
  • the input module 503 is configured to input target field information matching the target position in the floating control to the target position in response to the first input in the case of receiving the user's first input to the floating control ;
  • the target position is the information input position indicated by the input end position of the first input;
  • the input module 503 is configured to input the target field information to the target location in response to the second input in the case of receiving the user's second input of the target field information in the floating control; wherein, The target position is the information input position indicated by the input end position of the second input;
  • the input module 503 is configured to edit the target field information in response to the edit input in the case of receiving the user's edit input of the target field information in the floating control, and then edit all the edited target field information.
  • the target field information is input to the target location.
  • the mobile terminal 500 further includes:
  • the jump module 506 is configured to jump from the first information input interface to the second information input interface
  • the target location is located on the second information input interface.
  • the mobile terminal 500 can implement various processes implemented by the mobile terminal in the method embodiments of FIG. 1 and FIG. 3, and to avoid repetition, details are not described herein again.
  • the mobile terminal 500 of the embodiment of the present disclosure can extract field information matching the index information from the text information of the target image based on the index information input by the user, and can input the extracted field information to the target location, so that it can be guaranteed According to the index information, the field information that meets the user's expectations is accurately extracted from the target graph, without the user needing to further process the extracted field information, so that information input can be completed quickly, and the convenience and information of user operations are improved Input efficiency.
  • FIG. 10 is a schematic diagram of the hardware structure of a mobile terminal implementing various embodiments of the present disclosure.
  • the mobile terminal 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, and a display unit 1006, a user input unit 1007, an interface unit 1008, a memory 1009, a processor 1010, a power supply 1011 and other components.
  • Those skilled in the art can understand that the structure of the mobile terminal shown in FIG. 10 does not constitute a limitation on the mobile terminal.
  • the mobile terminal may include more or fewer components than those shown in the figure, or a combination of certain components, or different components. Layout.
  • mobile terminals include, but are not limited to, mobile phones, tablet computers, notebook computers, palmtop computers, vehicle-mounted terminals, wearable devices, and pedometers.
  • the processor 1010 is configured to control the user input unit 1007 to receive the index information input by the user in the first information input interface, where the index information includes characters;
  • the target position is an input position of the index information in the first information input interface, or the target position is a target input position in a second information input interface.
  • processor 1010 is also used to:
  • the camera of the mobile terminal 1000 is activated to collect the target image, where the preset event includes popping up a soft keyboard or displaying an information input interface.
  • processor 1010 is also used to:
  • the information in the field to be extracted is extracted.
  • processor 1010 is also used to:
  • the target symbol includes a space character, a punctuation character or a paragraph character.
  • processor 1010 is also used to:
  • the target field information in the floating control in response to the first input, input the target field information in the floating control that matches the target position to the target position; wherein, the The target position is the information input position indicated by the input end position of the first input;
  • processor 1010 is also used to:
  • the target location is located on the second information input interface.
  • the mobile terminal 1000 can implement various processes implemented by the mobile terminal in the foregoing embodiments, and to avoid repetition, details are not described herein again.
  • the mobile terminal 1000 of the embodiment of the present disclosure can extract field information matching the index information from the text information of the target image based on the index information input by the user, and can input the extracted field information to the target location, so that it can be guaranteed According to the index information, the field information that meets the user's expectations is accurately extracted from the target graph, without the user needing to further process the extracted field information, so that information input can be completed quickly, and the convenience and information of user operations are improved Input efficiency.
  • the radio frequency unit 1001 can be used for receiving and sending signals in the process of sending and receiving information or talking. Specifically, after receiving downlink data from the base station, it is processed by the processor 1010; Uplink data is sent to the base station.
  • the radio frequency unit 1001 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like.
  • the radio frequency unit 1001 can also communicate with the network and other devices through a wireless communication system.
  • the mobile terminal provides users with wireless broadband Internet access through the network module 1002, such as helping users to send and receive emails, browse web pages, and access streaming media.
  • the audio output unit 1003 can convert the audio data received by the radio frequency unit 1001 or the network module 1002 or stored in the memory 1009 into audio signals and output them as sounds. Moreover, the audio output unit 1003 may also provide audio output related to a specific function performed by the mobile terminal 1000 (for example, call signal reception sound, message reception sound, etc.).
  • the audio output unit 1003 includes a speaker, a buzzer, and a receiver.
  • the input unit 1004 is used to receive audio or video signals.
  • the input unit 1004 may include a graphics processing unit (GPU for short) 10041 and a microphone 10042.
  • the graphics processor 10041 is configured to capture still pictures or videos obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. Image data is processed.
  • the processed image frame can be displayed on the display unit 1006.
  • the image frame processed by the graphics processor 10041 may be stored in the memory 1009 (or other storage medium) or sent via the radio frequency unit 1001 or the network module 1002.
  • the microphone 10042 can receive sound, and can process such sound into audio data.
  • the processed audio data can be converted into a format that can be sent to a mobile communication base station via the radio frequency unit 1001 in the case of a telephone call mode for output.
  • the mobile terminal 1000 also includes at least one sensor 1005, such as a light sensor, a motion sensor, and other sensors.
  • the light sensor includes an ambient light sensor and a proximity sensor.
  • the ambient light sensor can adjust the brightness of the display panel 10061 according to the brightness of the ambient light.
  • the proximity sensor can close the display panel 10061 and the display panel 10061 when the mobile terminal 1000 is moved to the ear. / Or backlight.
  • the accelerometer sensor can detect the magnitude of acceleration in various directions (usually three-axis), and can detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of the mobile terminal (such as horizontal and vertical screen switching, related games , Magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tap), etc.; sensor 1005 can also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, Infrared sensors, etc., will not be repeated here.
  • the display unit 1006 is used to display information input by the user or information provided to the user.
  • 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 (Liquid Crystal Display, LCD for short), Organic Light-Emitting Diode (OLED for short), etc.
  • LCD Liquid Crystal Display
  • OLED Organic Light-Emitting Diode
  • the user input unit 1007 can be used to receive inputted numeric or character information and generate key signal input related to user settings and function control of the mobile terminal.
  • the user input unit 1007 includes a touch panel 10071 and other input devices 10072.
  • the touch panel 10071 also called a touch screen, can collect user touch operations on or near it (for example, the user uses any suitable objects or accessories such as fingers, stylus, etc.) on the touch panel 10071 or near the touch panel 10071. operating).
  • the touch panel 10071 may include two parts: a touch detection device and a touch controller.
  • the touch detection device detects the user's touch position, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and then sends it
  • the processor 1010 receives and executes the command sent by the processor 1010.
  • the touch panel 10071 can be realized by various types such as resistive, capacitive, infrared, and surface acoustic wave.
  • the user input unit 1007 may also include other input devices 10072.
  • other input devices 10072 may include, but are not limited to, a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackball, mouse, and joystick, which will not be repeated here.
  • the touch panel 10071 can be overlaid on the display panel 10061.
  • the touch panel 10071 detects a touch operation on or near it, it transmits it to the processor 1010 to determine the type of the touch event, and then the processor 1010 determines the type of touch event according to the touch.
  • the type of event provides corresponding visual output on the display panel 10061.
  • the touch panel 10071 and the display panel 10061 are used as two independent components to implement the input and output functions of the mobile terminal, in some embodiments, the touch panel 10071 and the display panel 10061 may be integrated
  • the implementation of the input and output functions of the mobile terminal is not specifically limited here.
  • the interface unit 1008 is an interface for connecting an external device with the mobile terminal 1000.
  • the external device may include a wired or wireless headset port, an external power source (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, audio input/output (I/O) port, video I/O port, headphone port, etc.
  • the interface unit 1008 can be used to receive input (for example, data information, power, etc.) from an external device and transmit the received input to one or more elements in the mobile terminal 1000 or can be used to connect to the mobile terminal 1000 and external Transfer data between devices.
  • the memory 1009 can be used to store software programs and various data.
  • the memory 1009 may mainly include a program storage area and a data storage area.
  • the program storage area may store an operating system, an application program required by at least one function (such as a sound playback function, an image playback function, etc.), etc.; Data (such as audio data, phone book, etc.) created by the use of mobile phones.
  • the memory 1009 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state storage devices.
  • the processor 1010 is the control center of the mobile terminal. It uses various interfaces and lines to connect the various parts of the entire mobile terminal, runs or executes software programs and/or modules stored in the memory 1009, and calls data stored in the memory 1009 , Perform various functions of the mobile terminal and process data, so as to monitor the mobile terminal as a whole.
  • the processor 1010 may include one or more processing units; optionally, the processor 1010 may integrate an application processor and a modem processor, where the application processor mainly processes the operating system, user interface and application programs, etc.
  • the adjustment processor mainly deals with wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 1010.
  • the mobile terminal 1000 may also include a power supply 1011 (such as a battery) for supplying power to various components.
  • a power supply 1011 (such as a battery) for supplying power to various components.
  • the power supply 1011 may be logically connected to the processor 1010 through a power management system, so as to manage charging, discharging, and power consumption through the power management system. Management and other functions.
  • the mobile terminal 1000 includes some functional modules not shown, which will not be repeated here.
  • an embodiment of the present disclosure further provides a mobile terminal, including a processor 1010, a memory 1009, a computer program stored in the memory 1009 and capable of running on the processor 1010, and the computer program is executed by the processor 1010
  • a mobile terminal including a processor 1010, a memory 1009, a computer program stored in the memory 1009 and capable of running on the processor 1010, and the computer program is executed by the processor 1010
  • the embodiments of the present disclosure also provide a computer-readable storage medium on which a computer program is stored.
  • a computer program is stored.
  • the computer program is executed by a processor, each process of the above-mentioned information input method embodiment is realized, and the same technology can be achieved The effect, in order to avoid repetition, will not be repeated here.
  • the computer-readable storage medium such as read-only memory (Read-Only Memory, ROM for short), random access memory (Random Access Memory, RAM for short), magnetic disk or optical disk, etc.
  • the technical solution of the present disclosure essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, The optical disc) includes several instructions to make a terminal (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods described in the various embodiments of the present disclosure.
  • a terminal which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.
  • each step of the above method or each of the above modules can be completed by an integrated logic circuit of hardware in the processor element or instructions in the form of software.
  • each module, unit, sub-unit or sub-module may be one or more integrated circuits configured to implement the above method, for example: one or more application specific integrated circuits (ASIC), or one or Multiple microprocessors (digital signal processors, DSP), or one or more field programmable gate arrays (Field Programmable Gate Array, FPGA), etc.
  • ASIC application specific integrated circuits
  • DSP digital signal processors
  • FPGA Field Programmable Gate Array
  • the processing element may be a general-purpose processor, such as a central processing unit (CPU) or other processors that can call program codes.
  • these modules can be integrated together and implemented in the form of a system-on-a-chip (SOC).
  • SOC system-on-a-chip

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Multimedia (AREA)
  • Software Systems (AREA)
  • Human Computer Interaction (AREA)
  • Computational Linguistics (AREA)
  • User Interface Of Digital Computer (AREA)
  • Telephone Function (AREA)

Abstract

本公开提供一种信息输入方法及移动终端,该方法包括:接收用户在第一信息输入界面中输入的索引信息,其中,所述索引信息包括字符;从目标图像的文本信息中提取与所述索引信息匹配的字段信息;将所述字段信息输入至目标位置,其中,所述目标位置为所述第一信息输入界面中所述索引信息的输入位置,或者为在第二信息输入界面中的目标输入位置。

Description

信息输入方法及移动终端
相关申请的交叉引用
本申请主张在2019年5月29日在中国提交的中国专利申请号No.201910456074.9的优先权,其全部内容通过引用包含于此。
技术领域
本公开实施例涉及通信技术领域,尤其涉及一种信息输入方法及移动终端。
背景技术
随着移动终端技术的不断进步,移动终端所具备的功能越来越齐全,其中,信息输入功能作为移动终端必不可少的功能之一,在被频繁使用的同时,也被用户寄予了更高的期望,如输入便捷性、准确率、效率等等。
较为常用的信息输入方式为用户通过软键盘手动输入所需的文字或字符,或采用复制粘贴的方式实现快速输入,且相关技术中,为了便于用户从图片中快速提取所需的字段信息,而无需用户手动一一输入,移动终端可以支持用户手动拍摄或扫描图片中的文本信息,以将图片中的文本信息提取出,以供用户作进一步处理。
然而,这种通过拍摄提取文本来实现快捷输入的方式中,往往会将图片中的所有文本信息全部提取出来,从而用户需要再次对提取出来的文本信息作进一步处理,如删除其中不需要的字段,或从中选择期望的字段后复制,并粘贴到目标输入位置处,导致信息输入效率较低。
可见,相关信息输入方式存在不够便捷以致信息输入效率较低的问题。
发明内容
本公开实施例提供一种信息输入方法及移动终端,以解决相关信息输入方式存在不够便捷以致信息输入效率较低的问题。
为解决上述技术问题,本公开是这样实现的:
第一方面,本公开实施例提供了一种信息输入方法,应用于移动终端,所述方法包括:
接收用户在第一信息输入界面中输入的索引信息,其中,所述索引信息包括字符;
从目标图像的文本信息中提取与所述索引信息匹配的字段信息;
将所述字段信息输入至目标位置。
第二方面,本公开实施例提供一种移动终端,包括:
接收模块,用于接收用户在第一信息输入界面中输入的索引信息,其中,所述索引信息包括字符;
提取模块,用于从目标图像的文本信息中提取与所述索引信息匹配的字段信息;
输入模块,用于将所述字段信息输入至目标位置。
第三方面,本公开实施例提供一种移动终端,包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现上述信息输入方法中的步骤。
第四方面,本公开实施例提供一种计算机可读存储介质,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现上述信息输入方法中的步骤。
本公开实施例中,移动终端可以基于用户输入的索引信息,从目标图像的文本信息中提取与该索引信息匹配的字段信息,且可将所提取的字段信息输入至目标位置,这样,可保证通过所述索引信息准确地从目标图形中提取出符合用户的期望的字段信息,而无需用户对所提取的字段信息作进一步处理,从而可快速完成信息输入,提升了用户操作的便捷性和信息输入效率。
附图说明
图1是本公开实施例提供的一种信息输入方法的流程图;
图2是本公开实施例提供的一种快速输入WiFi密码的界面示意图;
图3是本公开实施例提供的另一种信息输入方法的流程图;
图4a是本公开实施例提供的一种基于用户输入的索引字符生成悬浮球的界面示意图;
图4b是本公开实施例提供的一种借助悬浮球快速输入联系人信息的界面示意图;
图5是本公开实施例提供的一种移动终端的结构示意图;
图6是本公开实施例提供的另一种移动终端的结构示意图;
图7是本公开实施例提供的一种移动终端的提取模块的结构示意图;
图8是本公开实施例提供的另一种移动终端的结构示意图;
图9是本公开实施例提供的另一种移动终端的结构示意图;
图10是本公开实施例提供的一种移动终端的硬件结构示意图。
具体实施方式
下面将结合本公开实施例中的附图,对本公开实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本公开一部分实施例,而不是全部的实施例。基于本公开中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本公开保护的范围。
参见图1,图1是本公开实施例提供的一种信息输入方法的流程图,应用于移动终端,如图1所示,所述方法包括以下步骤:
步骤101、接收用户在第一信息输入界面中输入的索引信息,其中,所述索引信息包括字符。
上述第一信息输入界面可以是所述移动终端显示的任意信息输入界面,即用户可在该界面输入或编辑相关信息,如无线保真(Wireless-Fidelity(WiFi))密码输入界面、个人信息编辑界面、联系人信息编辑界面等等。
上述索引信息可以是字母、数字、字或符号等用于索引匹配字段的字符信息,本实施例中,用户可以在所述第一信息输入界面中输入索引信息,以便所述移动终端从目标图像的文本信息中提取与该索引信息匹配的字段信息。
步骤102、从目标图像的文本信息中提取与所述索引信息匹配的字段信息。
上述目标图像可以是所述移动终端通过摄像头实时采集到的图像,或者 是所述移动终端图库中的图像(如最新截图),且所述目标图像中可以显示有用户期望从中提取的待输入文本信息,即本实施例适用于用户从图像中快速提取期望的文本内容并输入至相应位置的场景。
具体地,可以是在用户输入所述索引信息之前,所述移动终端便启用摄像头采集了所述目标图像,或从图库中选取了所述目标图像,也可以是在用户输入所述索引信息之后,所述移动终端才启用摄像头采集所述目标图像,或从图库中选取所述目标图像。
上述从目标图像的文本信息中提取与所述索引信息匹配的字段信息,可以包括两种执行方案,其一为:预先采用图像文本识别方法(如二值化聚类提取方法、光学字符识别OCR方法等)从所述目标图像中提取所有文本信息并存储,再接收用户输入的索引信息,从已存储的所述目标图像的文本信息中提取与所述索引信息匹配的字段信息;其二为:先接收用户输入的索引信息,再采用所述图像文本识别方法,识别所述目标图像中的文本信息,并从所述目标图像的文本信息中提取与所述索引信息匹配的字段信息。
需说明的是,若从所述目标图像的文本信息中未检索到与所述索引信息匹配的字段信息,则可以输出相应的提示信息,以提示用户未检测到匹配的字段信息,可以重新输入索引信息。
还需说明的是,若从所述目标图像的文本信息中检索到多个与所述索引信息匹配的字段信息,则可以将这出多个字段信息均提取出来,并生成多个字段信息选项,以供用户从中选择期望输入的字段信息。
可选的,所述步骤102包括:
根据所述索引信息,确定所述目标图像的文本信息中待提取字段的起始位置,其中,所述待提取字段的首字符与所述索引信息匹配;
确定所述待提取字段的末端位置;
基于所述待提取字段的起始位置和末端位置,提取所述待提取字段中的信息。
该实施方式中,可以先根据所述索引信息,确定所述目标图像的文本信息中与所述索引信息匹配的待提取字段的位置信息,具体地,可以是根据所述索引信息,确定待提取字段在所述目标图像的文本信息中的起始位置,其 中,所述待提取字段的首字符与所述索引信息匹配,如确定所述目标图像的文本信息中与所述索引信息中的字符相同的目标字符,并以该目标字符作为待提取字段的首字符,即该目标字符的位置即为所述待提取字段的起始位置。
然后可以进一步确定所述待提取字段的末端位置,具体地,可以是通过检测空格、标点符号或分段符等来确定,如所述待提取字段的末端位置可以是自所述待提取字段的起始位置开始,出现的第一个空格、标点符号或分段符的前一个字符所在位置。
这样,基于所确定的所述待提取字段的起始位置和末端位置,便可确定所述待提取字段在所述目标图像的文本信息中的位置信息,从而可按所述位置信息,快速准确地从所述目标图像的文本信息中提取所述待提取字段中的信息,该信息即为与所述索引信息匹配的字段信息。
可选的,所述根据所述索引信息,确定所述目标图像的文本信息中待提取字段的起始位置,包括:
从所述目标图像的文本信息中查找与所述索引信息中的至少一个字符相同的字符,并将该字符的位置确定为待提取字段的起始位置;
所述确定所述待提取字段的末端位置,包括:
从所述待提取字段的起始位置处向后查找目标符号,并将所述目标符号的前一个字符的位置确定为所述待提取字段的末端位置;
其中,所述目标符号包括空格符、标点符或分段符。
该实施方式中,在确定所述待提取字段的起始位置时,可以是从所述目标图像的文本信息中查找与所述索引信息匹配的字符,该字符的位置即为待提取字段的起始位置,具体地,与所述索引信息匹配可以是与所述索引信息中的至少一个字符相同,例如,当所述索引信息包括多个字符时,可以是从所述目标图像的文本信息中查找与所述索引信息中的一个或多个字符相同的字符,并可以字符相同数最多的字符所在位置作为所述待提取字段的起始位置。需说明的是,为保证索引精度,可以设定所述目标图像的文本信息中与所述索引信息中的字符完全相同的字符位置为所述待提取字段的起始位置。
在确定所述待提取字段的末端位置时,可以是从所述待提取字段的起始位置处向后查找目标符号,如空格符、标点符或分段符等,若查找到目标符 号,则可以该目标符号的前一个字符的位置为所述待提取字段的末端位置。例如,在确定待提取字段的起始位置后,可以连续检测其后的字符是为字、字母、数字还是符号,若在某位置检测到空格符,则可确定该空格符的前一个字符位置即为所述待提取字段的结束位置。
这样,通过该实施方式中所介绍的确定待提取字段的起始位置和末端位置的方式,可以快速准确地确定从所述目标图像的文本信息中提取出与所述索引信息较为匹配的字段信息。
可选的,所述步骤102之前,所述方法还包括:
在检测到预设事件的情况下,启动所述移动终端的摄像头采集所述目标图像,其中,所述预设事件包括弹出软键盘或显示信息输入界面。
该实施方式中,为了节省用户手动启动摄像头的操作,可以预设一些特定事件,以通过预设事件来触发所述移动终端的摄像头启动,使所述移动终端更加智能和人性化,其中,所述预设事件可以包括但不限于弹出软键盘或显示信息输入界面等事件。
这样,在检测到弹出软键盘或显示信息输入界面时,可以启动所述移动终端的摄像头,采集得到所述目标图像。在实际应用中,可在软键盘弹出或进入信息输入界面时,显示用于开启或关闭智能输入功能的开关控件,或弹窗提示用户是否开启智能输入功能,在用户选择开启智能输入功能的情况下,自动启动所述移动终端的摄像头以采集所述目标图像。
步骤103、将所述字段信息输入至目标位置。
在提取出于所述索引信息匹配的字段信息后,便可自动将所述字段信息输入至目标位置,或基于用户的触发操作将所述字段信息输入至目标位置。
其中,所述目标位置可以为所述第一信息输入界面中所述索引信息的输入位置,或者所述目标位置可以为在第二信息输入界面中的目标输入位置。
上述目标位置可以是所述第一信息输入界面中所述索引信息的输入位置,即当用户在所述第一信息输入界面中的某信息输入栏输入索引信息时,所述移动终端可以在该信息输入栏智能输入所述目标图像中与所述索引信息匹配的字段信息,提高用户的信息输入效率。
上述目标位置也可以是第二信息输入界面中的目标输入位置,所述第二 信息输入界面与所述第一信息输入界面为不同的界面,所述目标输入位置可以是用户在所述第二信息输入界面中选择的输入位置,也可以是所述第二信息输入界面中由所述移动终端预设的默认输入位置。
具体地,可以是用户在第一信息输入界面输入索引信息后,将从目标图像中提取的与所述索引信息匹配的字段信息悬浮显示在界面顶层,这样,用户可以切换至第二信息输入界面,并选择将所述字段信息输入至所述第二信息输入界面中的目标输入位置,从而使得所述信息输入方法更为灵活。
本公开实施例中,上述移动终端可以是任何具有存储媒介的设备,例如:计算机(Computer)、手机、平板电脑(Tablet Personal Computer)、膝上型电脑(Laptop Computer)、个人数字助理(Personal Digital Assistant,简称PDA)、移动上网装置(Mobile Internet Device,简称MID)或可穿戴式设备(Wearable Device)等终端设备。
本实施例中的信息输入方法,移动终端可以基于用户输入的索引信息,从目标图像的文本信息中提取与该索引信息匹配的字段信息,且可将所提取的字段信息输入至目标位置,这样,可保证通过所述索引信息准确地从目标图形中提取出符合用户的期望的字段信息,而无需用户对所提取的字段信息作进一步处理,从而可快速完成信息输入,提升了用户操作的便捷性和信息输入效率。
下面结合图2,以快速输入WiFi密码的应用场景对本实施例的具体实施方式进行举例说明:
在WiFi密码输入界面20中,当检测到软键盘21弹出时,可以启动移动终端的摄像头采集包括WiFi密码信息的目标图像,并识别所述目标图像中的文本信息;
当用户在密码输入栏22中输入首字符“5”时,移动终端可以从所述目标图像中的文本信息中检索与字符“5”匹配的相关字段;
当检索到相关字段“5q3n53bs”时,移动终端可以将剩余的密码字符“q3n53bs”输入至密码输入栏22中,从而完成WiFi密码的快速输入,用户无需在软键盘21的数字、字母等输入界面中来回切换输入。
参见图3,图3是本公开实施例提供的另一种信息输入方法的流程图, 应用于移动终端,本实施例在图1所示的实施例的基础上,追加了显示包括匹配字段信息的悬浮控件的步骤,并对如何将所述字段信息输入目标位置的步骤进行了细化,从而使得所述信息输入方法更具灵活性和趣味性。如图3所示,所述方法包括以下步骤:
步骤301、接收用户在第一信息输入界面中输入的索引信息,其中,所述索引信息包括字符。
该步骤的具体实施方式可以参见图1所示的方法实施例中步骤101的实施方式,为避免重复,这里不再赘述。
步骤302、从目标图像的文本信息中提取与所述索引信息匹配的字段信息。
该步骤的具体实施方式可以参见图1所示的方法实施例中步骤102的实施方式,为避免重复,这里不再赘述。
步骤303、显示悬浮控件,其中,所述悬浮控件中包括所述字段信息。
本实施例中,在从所述目标图像的文本信息中提取出与所述索引信息匹配的字段信息之后,可以生成一悬浮控件,并在当前显示界面上显示该悬浮控件,所述悬浮控件中包括所提取的字段信息,所述悬浮控件可以是半透明的悬浮球或悬浮窗形态,且可以显示在界面的顶层图层,即当所述移动终端显示不同界面时,所述悬浮控件可以一直保持显示在界面顶层。
例如,如图4a所示,在移动终端显示信息输入界面40时,可以启动摄像头采集包括联系人信息的目标图像,并识别所述目标图像中的文本信息。
当用户在输入区域41中输入索引字符“姓”、“电”、“公”和“地”时,移动终端可以从所述目标图像中的文本信息中检索分别与字符“姓”、“电”、“公”和“地”匹配的相关字段;
当检索到相关的姓名字段、电话字段、公司字段和地址字段时,可以生成一悬浮球42,并在信息输入界面40显示该悬浮球42,悬浮球42中可包括检索到的姓名字段、电话字段、公司字段和地址字段,且悬浮球42可以以半透明状态显示在信息输入界面40顶层,且悬浮球42可以被拖动至任意位置。
可选的,所述步骤303之后,所述方法还包括:
接收针对所述悬浮控件中的字段信息的编辑操作;
响应于所述编辑操作,对所述悬浮控件中的字段信息进行编辑。
该实施方式中,用户还可以对所述悬浮控件中的字段信息进行编辑,这样,当所述移动终端从所述目标图像中提取出所述字段信息后,用户可以通过编辑操作对所述悬浮控件中的字段信息进行添加、删除或修正等,以满足用户的多样化需求。
可选的,所述步骤303之后,所述方法还包括:
接收针对所述悬浮控件中的移动操作;
响应于所述移动操作,按所述移动操作的移动轨迹移动所述悬浮控件。
这样,在显示所述悬浮控件后,用户可以随意移动所述悬浮控件,以方便将其调整至合适的显示位置。
可选的,所述步骤303之后,所述步骤304之前,所述方法还包括:
从所述第一信息输入界面跳转至第二信息输入界面;
其中,所述目标位置位于所述第二信息输入界面。
该实施方式中,在显示所述悬浮控件之后,可以基于用户的操作从所述第一信息输入界面跳转至第二信息输入界面,以将所述悬浮控件中的字段信息输入至所述第二信息输入界面中的某个信息输入位置。
例如,如图4a所示,用户可以拖动悬浮球42至联系人图标,此时移动终端可以启动联系人应用程序,并在用户的操作下跳转至如图4b所示的联系人信息编辑界面43。
这样,用户可将从所述目标图像中提取的字段信息存放于所述悬浮控件中,并可以切换至任意期望的信息输入界面,并借助所述悬浮控件,实现信息的快速输入。
步骤304、在接收到用户对所述悬浮控件的第一输入的情况下,响应于所述第一输入,将所述悬浮控件中与目标位置匹配的目标字段信息输入至所述目标位置;其中,所述目标位置为所述第一输入的输入结束位置所指示的信息输入位置。
本实施例中,在显示所述悬浮控件后,用户可以通过对所述悬浮控件执行相应的输入,来实现将所述悬浮控件中的目标字段信息输入至目标位置。
具体地,用户可以对所述悬浮控件执行第一输入,其中,所述第一输入 可以是拖动输入(如将所述悬浮控件拖动至期望的信息输入位置),或两次点击输入(如先点击所述悬浮控件,再点击期望的信息输入位置)等,所述移动终端则可以响应所述第一输入,将所述悬浮控件中的字段信息输入至所述第一输入的输入结束位置所指示的信息输入位置。更具体地,当所述悬浮控件中包括多个字段信息时,可以将所述悬浮控件中与所述信息输入位置匹配的目标字段信息输入至该位置,如可以根据所述信息输入位置的输入指示信息,将所述悬浮控件中与该输入指示信息匹配的一个字段信息输入至所述信息输入位置。
例如,在联系人信息编辑界面时,用户可以将所述悬浮控件拖动至联系人姓名输入位置,该位置显示有姓名输入指示信息,所述移动终端可相应地将所述悬浮控件中的联系人姓名字段输入至该位置。
需说明的是,本实施例中,所述步骤304是可以替换的,例如,可将所述步骤304替换为以下任一项:
在接收到用户对所述悬浮控件中的目标字段信息的第二输入的情况下,响应于所述第二输入,将所述目标字段信息输入至目标位置;其中,所述目标位置为所述第二输入的输入结束位置所指示的信息输入位置;
在接收到用户对所述悬浮控件中的目标字段信息的编辑输入的情况下,响应于所述编辑输入,对所述目标字段信息进行编辑,并将编辑后的所述目标字段信息输入至目标位置。
即本实施例中,用户也可以通过对所述悬浮控件中的某字段信息执行相应的输入,来实现将所述悬浮控件中的目标字段信息输入至目标位置。
一种方式中,用户可以对所述悬浮控件中的目标字段信息执行第二输入,其中,所述第二输入可以是拖动输入(如将所述悬浮控件中的目标字段信息拖动至期望的信息输入位置),或复制粘贴输入(如复制所述悬浮控件中的目标字段信息,再粘贴至期望的信息输入位置)等,所述移动终端则可以响应所述第二输入,将所述目标字段信息输入至所述第二输入的输入结束位置所指示的信息输入位置,其中,所述目标字段信息可以是所述悬浮控件中的任意字段信息。
例如,如图4b所示,在联系人信息编辑界面43,用户可以拖动悬浮球 42中的姓名字段至姓名输入位置,拖动悬浮球42中的电话字段至电话输入位置,以此类推,完成该联系人的信息输入。
另一种方式中,用户可以对所述悬浮控件中的目标字段信息执行编辑输入,以对所述目标字段信息进行编辑,其中,所述编辑输入可以是对所述目标字段信息进行添加、删除或修正等,所述移动终端则可以响应所述编辑输入,对所述目标字段信息进行编辑,并可以将编辑后的目标字段信息输入至目标位置,所述目标位置可以是当前信息输入界面中与所述目标字段信息关联的信息输入位置,或者也可以是预设的默认输入位置或用户指定的输入位置。
这样,本实施例中,在显示所述悬浮控件后,用户可以灵活地采用多种不同的输入方式来实现将所述悬浮控件中的某字段信息输入至期望的信息输入位置,既提升信息输入效率,又能增加信息输入时的趣味性。
可选的,所述步骤303之后,所述方法还包括:
接收针对所述悬浮控件的预设操作;
响应于所述预设操作,取消显示所述悬浮控件。
该实施方式中,用户在完成相关信息输入后或不期望所述悬浮控件显示时,可以通过预设操作来指示所述移动终端销毁所述悬浮控件,即使所述移动终端取消显示所述悬浮控件,其中,所述预设操作可以是长按操作、或拖动至特定位置的操作等。这样,通过该实施方式,可以由用户随时取消所述悬浮控件的显示状态。
例如,如图4b所示,在联系人信息输入完成后,用户可以长按悬浮球42,以退出悬浮球42显示。
需说明的是,还可以在所述悬浮控件的显示时长超过预设时长,或超过预设时长未检测到针对所述悬浮控件的操作的情况下,由所述移动终端主动取消显示所述悬浮控件,从而无需用户手动取消。
当然,该实施方式同样可以应用到图1所示的实施例中,且能达到相同有益效果。
本实施例中,通过显示悬浮控件,并将所述字段信息显示在所述悬浮控件中,可以便于用户根据自身需求灵活从中选择期望输入的字段信息和输入 位置,并能增加信息输入的趣味性。
另外,本实施例在图1所示的实施例的基础上还增加了多种可选的实施方式,这些可选的实施方式可以相互结合实现,也可以单独实现,且都能达到提升用户操作的便捷性和信息输入效率的技术效果。
参见图5,图5是本公开实施例提供的一种移动终端的结构示意图,如图5所示,移动终端500包括:
接收模块501,用于接收用户在第一信息输入界面中输入的索引信息,其中,所述索引信息包括字符;
提取模块502,用于从目标图像的文本信息中提取与所述索引信息匹配的字段信息;
输入模块503,用于将所述字段信息输入至目标位置。
可选的,所述目标位置为所述第一信息输入界面中所述索引信息的输入位置,或者所述目标位置为在第二信息输入界面中的目标输入位置。
可选的,如图6所示,移动终端500还包括:
采集模块504,用于在检测到预设事件的情况下,启动移动终端500的摄像头采集所述目标图像;
其中,所述预设事件包括弹出软键盘或显示信息输入界面。
可选的,如图7所示,提取模块502包括:
第一确定单元5021,用于根据所述索引信息,确定所述目标图像的文本信息中待提取字段的起始位置,其中,所述待提取字段的首字符与所述索引信息匹配;
第二确定单元5022,用于确定所述待提取字段的末端位置;
提取单元5023,用于基于所述待提取字段的起始位置和末端位置,提取所述待提取字段中的信息。
可选的,第一确定单元5021用于从所述目标图像的文本信息中查找与所述索引信息中的至少一个字符相同的字符,并将该字符的位置确定为待提取字段的起始位置;
第二确定单元5022用于从所述待提取字段的起始位置处向后查找目标符号,并将所述目标符号的前一个字符的位置确定为所述待提取字段的末端 位置;
其中,所述目标符号包括空格符、标点符或分段符。
可选的,如图8所示,移动终端500还包括:
显示模块505,用于显示悬浮控件,其中,所述悬浮控件中包括所述字段信息;
输入模块503用于在接收到用户对所述悬浮控件的第一输入的情况下,响应于所述第一输入,将所述悬浮控件中与目标位置匹配的目标字段信息输入至所述目标位置;其中,所述目标位置为所述第一输入的输入结束位置所指示的信息输入位置;
或者,输入模块503用于在接收到用户对所述悬浮控件中的目标字段信息的第二输入的情况下,响应于所述第二输入,将所述目标字段信息输入至目标位置;其中,所述目标位置为所述第二输入的输入结束位置所指示的信息输入位置;
或者,输入模块503用于在接收到用户对所述悬浮控件中的目标字段信息的编辑输入的情况下,响应于所述编辑输入,对所述目标字段信息进行编辑,并将编辑后的所述目标字段信息输入至目标位置。
可选的,如图9所示,移动终端500还包括:
跳转模块506,用于从所述第一信息输入界面跳转至第二信息输入界面;
其中,所述目标位置位于所述第二信息输入界面。
移动终端500能够实现图1和图3的方法实施例中移动终端实现的各个过程,为避免重复,这里不再赘述。本公开实施例的移动终端500可以基于用户输入的索引信息,从目标图像的文本信息中提取与该索引信息匹配的字段信息,且可将所提取的字段信息输入至目标位置,这样,可保证通过所述索引信息准确地从目标图形中提取出符合用户的期望的字段信息,而无需用户对所提取的字段信息作进一步处理,从而可快速完成信息输入,提升了用户操作的便捷性和信息输入效率。
图10为实现本公开各个实施例的一种移动终端的硬件结构示意图,该移动终端1000包括但不限于:射频单元1001、网络模块1002、音频输出单元1003、输入单元1004、传感器1005、显示单元1006、用户输入单元1007、 接口单元1008、存储器1009、处理器1010、以及电源1011等部件。本领域技术人员可以理解,图10中示出的移动终端结构并不构成对移动终端的限定,移动终端可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。在本公开实施例中,移动终端包括但不限于手机、平板电脑、笔记本电脑、掌上电脑、车载终端、可穿戴设备、以及计步器等。
其中,处理器1010,用于控制用户输入单元1007接收用户在第一信息输入界面中输入的索引信息,其中,所述索引信息包括字符;
从目标图像的文本信息中提取与所述索引信息匹配的字段信息;
将所述字段信息输入至目标位置。
可选的,所述目标位置为所述第一信息输入界面中所述索引信息的输入位置,或者所述目标位置为在第二信息输入界面中的目标输入位置。
可选的,处理器1010还用于:
在检测到预设事件的情况下,启动移动终端1000的摄像头采集所述目标图像,其中,所述预设事件包括弹出软键盘或显示信息输入界面。
可选的,处理器1010还用于:
根据所述索引信息,确定所述目标图像的文本信息中待提取字段的起始位置,其中,所述待提取字段的首字符与所述索引信息匹配;
确定所述待提取字段的末端位置;
基于所述待提取字段的起始位置和末端位置,提取所述待提取字段中的信息。
可选的,处理器1010还用于:
从所述目标图像的文本信息中查找与所述索引信息中的至少一个字符相同的字符,并将该字符的位置确定为待提取字段的起始位置;
从所述待提取字段的起始位置处向后查找目标符号,并将所述目标符号的前一个字符的位置确定为所述待提取字段的末端位置;
其中,所述目标符号包括空格符、标点符或分段符。
可选的,处理器1010还用于:
显示悬浮控件,其中,所述悬浮控件中包括所述字段信息;
在接收到用户对所述悬浮控件的第一输入的情况下,响应于所述第一输 入,将所述悬浮控件中与目标位置匹配的目标字段信息输入至所述目标位置;其中,所述目标位置为所述第一输入的输入结束位置所指示的信息输入位置;
在接收到用户对所述悬浮控件中的目标字段信息的第二输入的情况下,响应于所述第二输入,将所述目标字段信息输入至目标位置;其中,所述目标位置为所述第二输入的输入结束位置所指示的信息输入位置;
在接收到用户对所述悬浮控件中的目标字段信息的编辑输入的情况下,响应于所述编辑输入,对所述目标字段信息进行编辑,并将编辑后的所述目标字段信息输入至目标位置。
可选的,处理器1010还用于:
从所述第一信息输入界面跳转至第二信息输入界面;
其中,所述目标位置位于所述第二信息输入界面。
移动终端1000能够实现前述实施例中移动终端实现的各个过程,为避免重复,这里不再赘述。本公开实施例的移动终端1000可以基于用户输入的索引信息,从目标图像的文本信息中提取与该索引信息匹配的字段信息,且可将所提取的字段信息输入至目标位置,这样,可保证通过所述索引信息准确地从目标图形中提取出符合用户的期望的字段信息,而无需用户对所提取的字段信息作进一步处理,从而可快速完成信息输入,提升了用户操作的便捷性和信息输入效率。
应理解的是,本公开实施例中,射频单元1001可用于收发信息或通话过程中,信号的接收和发送,具体的,将来自基站的下行数据接收后,给处理器1010处理;另外,将上行的数据发送给基站。通常,射频单元1001包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等。此外,射频单元1001还可以通过无线通信系统与网络和其他设备通信。
移动终端通过网络模块1002为用户提供了无线的宽带互联网访问,如帮助用户收发电子邮件、浏览网页和访问流式媒体等。
音频输出单元1003可以将射频单元1001或网络模块1002接收的或者在存储器1009中存储的音频数据转换成音频信号并且输出为声音。而且,音频输出单元1003还可以提供与移动终端1000执行的特定功能相关的音频输出(例如,呼叫信号接收声音、消息接收声音等等)。音频输出单元1003包括扬 声器、蜂鸣器以及受话器等。
输入单元1004用于接收音频或视频信号。输入单元1004可以包括图形处理器(Graphics Processing Unit,简称GPU)10041和麦克风10042,图形处理器10041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。处理后的图像帧可以显示在显示单元1006上。经图形处理器10041处理后的图像帧可以存储在存储器1009(或其它存储介质)中或者经由射频单元1001或网络模块1002进行发送。麦克风10042可以接收声音,并且能够将这样的声音处理为音频数据。处理后的音频数据可以在电话通话模式的情况下转换为可经由射频单元1001发送到移动通信基站的格式输出。
移动终端1000还包括至少一种传感器1005,比如光传感器、运动传感器以及其他传感器。具体地,光传感器包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板10061的亮度,接近传感器可在移动终端1000移动到耳边时,关闭显示面板10061和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别移动终端姿态(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;传感器1005还可以包括指纹传感器、压力传感器、虹膜传感器、分子传感器、陀螺仪、气压计、湿度计、温度计、红外线传感器等,在此不再赘述。
显示单元1006用于显示由用户输入的信息或提供给用户的信息。显示单元1006可包括显示面板10061,可以采用液晶显示器(Liquid Crystal Display,简称LCD)、有机发光二极管(Organic Light-Emitting Diode,简称OLED)等形式来配置显示面板10061。
用户输入单元1007可用于接收输入的数字或字符信息,以及产生与移动终端的用户设置以及功能控制有关的键信号输入。具体地,用户输入单元1007包括触控面板10071以及其他输入设备10072。触控面板10071,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板10071上或在触控面板10071附近的操作)。触 控面板10071可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器1010,接收处理器1010发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板10071。除了触控面板10071,用户输入单元1007还可以包括其他输入设备10072。具体地,其他输入设备10072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。
进一步的,触控面板10071可覆盖在显示面板10061上,当触控面板10071检测到在其上或附近的触摸操作后,传送给处理器1010以确定触摸事件的类型,随后处理器1010根据触摸事件的类型在显示面板10061上提供相应的视觉输出。虽然在图10中,触控面板10071与显示面板10061是作为两个独立的部件来实现移动终端的输入和输出功能,但是在某些实施例中,可以将触控面板10071与显示面板10061集成而实现移动终端的输入和输出功能,具体此处不做限定。
接口单元1008为外部装置与移动终端1000连接的接口。例如,外部装置可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或无线数据端口、存储卡端口、用于连接具有识别模块的装置的端口、音频输入/输出(I/O)端口、视频I/O端口、耳机端口等等。接口单元1008可以用于接收来自外部装置的输入(例如,数据信息、电力等等)并且将接收到的输入传输到移动终端1000内的一个或多个元件或者可以用于在移动终端1000和外部装置之间传输数据。
存储器1009可用于存储软件程序以及各种数据。存储器1009可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器1009可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。
处理器1010是移动终端的控制中心,利用各种接口和线路连接整个移动 终端的各个部分,通过运行或执行存储在存储器1009内的软件程序和/或模块,以及调用存储在存储器1009内的数据,执行移动终端的各种功能和处理数据,从而对移动终端进行整体监控。处理器1010可包括一个或多个处理单元;可选的,处理器1010可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器1010中。
移动终端1000还可以包括给各个部件供电的电源1011(比如电池),可选的,电源1011可以通过电源管理系统与处理器1010逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。
另外,移动终端1000包括一些未示出的功能模块,在此不再赘述。
可选的,本公开实施例还提供一种移动终端,包括处理器1010,存储器1009,存储在存储器1009上并可在所述处理器1010上运行的计算机程序,该计算机程序被处理器1010执行时实现上述信息输入方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
本公开实施例还提供一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现上述信息输入方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。其中,所述的计算机可读存储介质,如只读存储器(Read-Only Memory,简称ROM)、随机存取存储器(Random Access Memory,简称RAM)、磁碟或者光盘等。
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通 过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本公开的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本公开各个实施例所述的方法。
在实现过程中,上述方法的各步骤或以上各个模块可以通过处理器元件中的硬件的集成逻辑电路或者软件形式的指令完成。例如,各个模块、单元、子单元或子模块可以是被配置成实施以上方法的一个或多个集成电路,例如:一个或多个特定集成电路(Application Specific Integrated Circuit,ASIC),或,一个或多个微处理器(digital signal processor,DSP),或,一个或者多个现场可编程门阵列(Field Programmable Gate Array,FPGA)等。再如,当以上某个模块通过处理元件调度程序代码的形式实现时,该处理元件可以是通用处理器,例如中央处理器(Central Processing Unit,CPU)或其它可以调用程序代码的处理器。再如,这些模块可以集成在一起,以片上系统(system-on-a-chip,SOC)的形式实现。
本公开的说明书和权利要求书中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的本公开的实施例,例如除了在这里图示或描述的那些以外的顺序实施。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。此外,说明书以及权利要求中使用“和/或”表示所连接对象的至少其中之一,例如A和/或B和/或C,表示包含单独A,单独B,单独C,以及A和B都存在,B和C都存在,A和C都存在,以及A、B和C都存在的7种情况。类似地,本说明书以及权利要求中使用“A和B中的至少一个”应理解为“单独A,单独B,或A和B都存在”。
上面结合附图对本公开的实施例进行了描述,但是本公开并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的, 本领域的普通技术人员在本公开的启示下,在不脱离本公开宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本公开的保护范围之内。

Claims (10)

  1. 一种信息输入方法,应用于移动终端,所述方法包括:
    接收用户在第一信息输入界面中输入的索引信息,其中,所述索引信息包括字符;
    从目标图像的文本信息中提取与所述索引信息匹配的字段信息;
    将所述字段信息输入至目标位置。
  2. 根据权利要求1所述的方法,其中,所述目标位置为所述第一信息输入界面中所述索引信息的输入位置,或者所述目标位置为在第二信息输入界面中的目标输入位置。
  3. 根据权利要求1所述的方法,其中,所述从目标图像的文本信息中提取与所述索引信息匹配的字段信息之前,所述方法还包括:
    在检测到预设事件的情况下,启动所述移动终端的摄像头采集所述目标图像;
    其中,所述预设事件包括弹出软键盘或显示信息输入界面。
  4. 根据权利要求1所述的方法,其中,所述从目标图像的文本信息中提取与所述索引信息匹配的字段信息,包括:
    根据所述索引信息,确定所述目标图像的文本信息中待提取字段的起始位置,其中,所述待提取字段的首字符与所述索引信息匹配;
    确定所述待提取字段的末端位置;
    基于所述待提取字段的起始位置和末端位置,提取所述待提取字段中的信息。
  5. 根据权利要求4所述的方法,其中,所述根据所述索引信息,确定所述目标图像的文本信息中待提取字段的起始位置,包括:
    从所述目标图像的文本信息中查找与所述索引信息中的至少一个字符相同的字符,并将该字符的位置确定为待提取字段的起始位置;
    所述确定所述待提取字段的末端位置,包括:
    从所述待提取字段的起始位置处向后查找目标符号,并将所述目标符号的前一个字符的位置确定为所述待提取字段的末端位置;
    其中,所述目标符号包括空格符、标点符或分段符。
  6. 根据权利要求1至5中任一项所述的方法,其中,所述从目标图像的文本信息中提取与所述索引信息匹配的字段信息之后,所述将所述字段信息输入至目标位置之前,所述方法还包括:
    显示悬浮控件,其中,所述悬浮控件中包括所述字段信息;
    所述将所述字段信息输入至目标位置,包括以下任一项:
    在接收到用户对所述悬浮控件的第一输入的情况下,响应于所述第一输入,将所述悬浮控件中与目标位置匹配的目标字段信息输入至所述目标位置;其中,所述目标位置为所述第一输入的输入结束位置所指示的信息输入位置;
    在接收到用户对所述悬浮控件中的目标字段信息的第二输入的情况下,响应于所述第二输入,将所述目标字段信息输入至目标位置;其中,所述目标位置为所述第二输入的输入结束位置所指示的信息输入位置;
    在接收到用户对所述悬浮控件中的目标字段信息的编辑输入的情况下,响应于所述编辑输入,对所述目标字段信息进行编辑,并将编辑后的所述目标字段信息输入至目标位置。
  7. 根据权利要求6所述的方法,其中,所述显示悬浮控件之后,所述将所述字段信息输入至目标位置之前,所述方法还包括:
    从所述第一信息输入界面跳转至第二信息输入界面;
    其中,所述目标位置位于所述第二信息输入界面。
  8. 一种移动终端,包括:
    接收模块,用于接收用户在第一信息输入界面中输入的索引信息,其中,所述索引信息包括字符;
    提取模块,用于从目标图像的文本信息中提取与所述索引信息匹配的字段信息;
    输入模块,用于将所述字段信息输入至目标位置。
  9. 一种移动终端,包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现如权利要求1至7中任一项所述的信息输入方法中的步骤。
  10. 一种计算机可读存储介质,其中,所述计算机可读存储介质上存储 有计算机程序,所述计算机程序被处理器执行时实现如权利要求1至7中任一项所述的信息输入方法中的步骤。
PCT/CN2020/092525 2019-05-29 2020-05-27 信息输入方法及移动终端 WO2020238938A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910456074.9A CN110196646A (zh) 2019-05-29 2019-05-29 一种信息输入方法及移动终端
CN201910456074.9 2019-05-29

Publications (1)

Publication Number Publication Date
WO2020238938A1 true WO2020238938A1 (zh) 2020-12-03

Family

ID=67753352

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/092525 WO2020238938A1 (zh) 2019-05-29 2020-05-27 信息输入方法及移动终端

Country Status (2)

Country Link
CN (1) CN110196646A (zh)
WO (1) WO2020238938A1 (zh)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113194024A (zh) * 2021-03-22 2021-07-30 维沃移动通信(杭州)有限公司 信息显示方法、装置和电子设备
WO2022222864A1 (zh) * 2021-04-20 2022-10-27 维沃移动通信(杭州)有限公司 文档处理方法、装置和电子设备

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110196646A (zh) * 2019-05-29 2019-09-03 维沃移动通信有限公司 一种信息输入方法及移动终端
JP2021111157A (ja) * 2020-01-10 2021-08-02 富士フイルムビジネスイノベーション株式会社 情報処理装置、及び情報処理プログラム
CN113791860B (zh) * 2021-09-16 2023-09-22 金蝶软件(中国)有限公司 一种信息转换方法、装置和存储介质
CN114385048A (zh) * 2021-12-06 2022-04-22 深圳市亚略特科技股份有限公司 一种信息的录入方法及装置、存储介质、电子设备
CN114816633A (zh) * 2022-04-22 2022-07-29 维沃移动通信有限公司 信息显示方法、装置及电子设备

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030028522A1 (en) * 2001-07-30 2003-02-06 Microsoft Corporation System and method for improved string matching under noisy channel conditions
CN102169541A (zh) * 2011-04-02 2011-08-31 郝震龙 一种采用光学定位的字符识别输入系统及其方法
CN104933068A (zh) * 2014-03-19 2015-09-23 阿里巴巴集团控股有限公司 一种信息搜索的方法和装置
CN105404401A (zh) * 2015-11-23 2016-03-16 小米科技有限责任公司 输入处理方法、装置及设备
CN105739717A (zh) * 2016-01-27 2016-07-06 百度在线网络技术(北京)有限公司 信息输入方法和装置
CN107180039A (zh) * 2016-03-09 2017-09-19 腾讯科技(深圳)有限公司 一种基于图片的文字信息识别方法及装置
CN110196646A (zh) * 2019-05-29 2019-09-03 维沃移动通信有限公司 一种信息输入方法及移动终端

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101733539B1 (ko) * 2009-11-24 2017-05-10 삼성전자주식회사 문자인식장치 및 그 제어방법
CN106874443A (zh) * 2017-02-09 2017-06-20 北京百家互联科技有限公司 基于视频文本信息提取的信息查询方法以及装置
CN109739416B (zh) * 2018-04-19 2020-07-03 北京字节跳动网络技术有限公司 一种文本提取方法和装置

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030028522A1 (en) * 2001-07-30 2003-02-06 Microsoft Corporation System and method for improved string matching under noisy channel conditions
CN102169541A (zh) * 2011-04-02 2011-08-31 郝震龙 一种采用光学定位的字符识别输入系统及其方法
CN104933068A (zh) * 2014-03-19 2015-09-23 阿里巴巴集团控股有限公司 一种信息搜索的方法和装置
CN105404401A (zh) * 2015-11-23 2016-03-16 小米科技有限责任公司 输入处理方法、装置及设备
CN105739717A (zh) * 2016-01-27 2016-07-06 百度在线网络技术(北京)有限公司 信息输入方法和装置
CN107180039A (zh) * 2016-03-09 2017-09-19 腾讯科技(深圳)有限公司 一种基于图片的文字信息识别方法及装置
CN110196646A (zh) * 2019-05-29 2019-09-03 维沃移动通信有限公司 一种信息输入方法及移动终端

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113194024A (zh) * 2021-03-22 2021-07-30 维沃移动通信(杭州)有限公司 信息显示方法、装置和电子设备
WO2022222864A1 (zh) * 2021-04-20 2022-10-27 维沃移动通信(杭州)有限公司 文档处理方法、装置和电子设备

Also Published As

Publication number Publication date
CN110196646A (zh) 2019-09-03

Similar Documents

Publication Publication Date Title
WO2020238938A1 (zh) 信息输入方法及移动终端
WO2019120191A1 (zh) 多段文本复制方法及移动终端
US12105935B2 (en) Method for displaying background application and mobile terminal
WO2021104365A1 (zh) 对象分享方法及电子设备
WO2021077897A1 (zh) 文件发送方法、装置和电子设备
CN107943390B (zh) 一种文字复制方法及移动终端
WO2021136159A1 (zh) 截屏方法及电子设备
WO2020258929A1 (zh) 文件夹界面切换方法及终端设备
WO2019196929A1 (zh) 一种视频数据处理方法及移动终端
WO2020199934A1 (zh) 信息处理方法及终端设备
WO2021104160A1 (zh) 编辑方法及电子设备
CN111274777B (zh) 思维导图显示方法及电子设备
WO2021169954A1 (zh) 搜索方法及电子设备
WO2020259024A1 (zh) 图标分类方法、移动终端及计算机可读存储介质
US11250046B2 (en) Image viewing method and mobile terminal
WO2021036553A1 (zh) 图标显示方法及电子设备
WO2021004426A1 (zh) 内容选择方法及终端
WO2021109961A1 (zh) 快捷标识生成方法、电子设备及介质
WO2020156118A1 (zh) 管理方法及终端设备
WO2020151525A1 (zh) 消息发送方法及终端设备
WO2020199988A1 (zh) 内容复制方法及终端
WO2021238719A1 (zh) 信息显示方法及电子设备
WO2020181945A1 (zh) 标识显示方法及终端设备
WO2020024788A1 (zh) 文字输入方法和终端
WO2021057301A1 (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: 20815232

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20815232

Country of ref document: EP

Kind code of ref document: A1