CN107844203B - Input method candidate word recommendation method and mobile terminal - Google Patents

Input method candidate word recommendation method and mobile terminal Download PDF

Info

Publication number
CN107844203B
CN107844203B CN201711225158.9A CN201711225158A CN107844203B CN 107844203 B CN107844203 B CN 107844203B CN 201711225158 A CN201711225158 A CN 201711225158A CN 107844203 B CN107844203 B CN 107844203B
Authority
CN
China
Prior art keywords
input method
mobile terminal
candidate words
image
input
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201711225158.9A
Other languages
Chinese (zh)
Other versions
CN107844203A (en
Inventor
郑传亮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201711225158.9A priority Critical patent/CN107844203B/en
Publication of CN107844203A publication Critical patent/CN107844203A/en
Application granted granted Critical
Publication of CN107844203B publication Critical patent/CN107844203B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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/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
    • 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

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)

Abstract

The invention provides an input method candidate word recommendation method and a mobile terminal, wherein the method comprises the following steps: acquiring an image in the mobile terminal; determining candidate words of an input method according to the image; and if the touch operation of the user in the information input area is detected, displaying the input method candidate words on an input method interface. Therefore, the mobile terminal can determine the input method candidate words according to the images and recommend the corresponding input method candidate words, and the flexibility of recommending the input method candidate words is improved.

Description

Input method candidate word recommendation method and mobile terminal
Technical Field
The invention relates to the technical field of communication, in particular to a candidate word recommendation method for an input method and a mobile terminal.
Background
With the rapid development of mobile terminals, mobile terminals have become an essential tool in people's life, and bring great convenience to various aspects of users' life. Mobile terminals have become an essential tool for communication between different users, for example, users can make calls for communication or send messages for communication.
In the existing mobile terminal, an input method interface can provide some candidate words for a user to select, so that the user can select a certain candidate word for inputting. However, a user may use the mobile terminal in different scenes, and the candidate words displayed on the input method interface are basically fixed, which results in a single candidate word recommended by the mobile terminal.
Disclosure of Invention
The embodiment of the invention provides an input method candidate word recommendation method and a mobile terminal, and aims to solve the problem that a candidate word recommended by the mobile terminal is single.
In order to solve the technical problem, the invention is realized as follows: a method for recommending candidate words of an input method comprises the following steps:
acquiring an image in the mobile terminal;
determining candidate words of an input method according to the image;
and if the touch operation of the user in the information input area is detected, displaying the input method candidate words on an input method interface.
In a first aspect, an embodiment of the present invention provides a method for recommending an input method candidate word, including:
acquiring an image in the mobile terminal;
determining candidate words of an input method according to the image;
and if the touch operation of the user in the information input area is detected, displaying the input method candidate words on an input method interface.
In a second aspect, an embodiment of the present invention further provides a mobile terminal, including:
the acquisition module is used for acquiring the image in the mobile terminal;
the determining module is used for determining candidate words of the input method according to the image;
and the display module is used for displaying the input method candidate words on the input method interface if the touch operation of the user in the information input area is detected.
In a third aspect, an embodiment of the present invention further provides a mobile terminal, including a processor, a memory, and a computer program stored on the memory and capable of running on the processor, where the computer program, when executed by the processor, implements the steps of the method for recommending candidate words for an input method.
In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the method for recommending candidate words by using an input method are implemented.
In the embodiment of the invention, an image in the mobile terminal is obtained; determining candidate words of an input method according to the image; and if the touch operation of the user in the information input area is detected, displaying the input method candidate words on an input method interface. Therefore, the mobile terminal can determine the input method candidate words according to the images and recommend the corresponding input method candidate words, and the flexibility of recommending the input method candidate words is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments of the present invention will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without inventive exercise.
Fig. 1 is a flowchart of a method for recommending candidate words in an input method according to an embodiment of the present invention;
fig. 2 is a flowchart of a method for recommending candidate words in an input method according to another embodiment of the present invention;
fig. 3 is a block diagram of a mobile terminal according to an embodiment of the present invention;
fig. 4 is a block diagram of a determination module of a mobile terminal according to an embodiment of the present invention;
fig. 5 is a structural diagram of a display module of a mobile terminal according to an embodiment of the present invention;
fig. 6 is a block diagram of a mobile terminal according to still another embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, fig. 1 is a flowchart of a method for recommending candidate words in an input method according to an embodiment of the present invention, and as shown in fig. 1, the method includes the following steps:
step 101, obtaining an image in the mobile terminal.
In the embodiment of the present invention, the image may be a photo taken by the mobile terminal, or may also be an image downloaded by the mobile terminal, or may also be some screenshots performed by the mobile terminal, and the like.
And step 102, determining candidate words of the input method according to the photos.
In the embodiment of the invention, the determination of the candidate words of the input method according to the images can be realized in various ways. For example, identification may be performed according to the content of the image, such as identifying some animal or some plant, so as to use the name of the animal or the plant as a candidate word for the input method; or, the recognition may be performed according to characters in the image, for example, when there are four characters "east pearl" in the image, then "east pearl" is used as the candidate word for the input method. In addition, there may be some other ways to determine the candidate word of the input method, and the embodiment of the present invention is not limited thereto.
And 103, if the touch operation of the user in the information input area is detected, displaying the input method candidate words on an input method interface.
In the embodiment of the present invention, the information input area may be an information input field of a certain social software, may be an information input field on a web page, or may also be an information input page in a notebook carried by the mobile terminal. Of course, other information input areas may be used, and the embodiment of the present invention is not limited thereto.
In the embodiment of the present invention, the touch operation may be a one-click operation, a one-double-click operation, or a one-touch operation. Of course, other touch operations may be performed, and the embodiment of the present invention is not limited thereto. Therefore, when the touch operation of the user in the information input area is detected, the fact that the user has the requirement for inputting information is indicated, and the candidate words of the input method are displayed on the input method interface, so that the mobile terminal is more intelligent, and the user can have better experience.
In the embodiment of the invention, for example, when a user takes a picture of a car and wants to know the relevant parameters and specific performances of the car in detail, the user can directly click on the information input field of the online search interface, so that the candidate word of the input method of the car can be displayed on the input method interface. The user may then select "car" for lookup, thereby obtaining information about "car". The corresponding candidate words of the input method can be quickly acquired by shooting the picture, so that the mobile terminal is more intelligent, and the user does not need to input four characters of 'automobile' by one character, so that the operation of the user is more convenient and faster, and better experience is achieved.
In an embodiment of the present invention, the Mobile terminal may be a Mobile phone, a Tablet Personal Computer (Tablet Personal Computer), a Laptop Computer (Laptop Computer), a Personal Digital Assistant (PDA), a Mobile Internet Device (MID), a Wearable Device (Wearable Device), or the like.
The input method candidate word recommendation method of the embodiment of the invention obtains an image in the mobile terminal; determining candidate words of an input method according to the image; and if the touch operation of the user in the information input area is detected, displaying the input method candidate words on an input method interface. Therefore, the mobile terminal can determine the input method candidate words according to the images and recommend the corresponding input method candidate words, and the flexibility of recommending the input method candidate words is improved.
Referring to fig. 2, fig. 2 is a flowchart of a method for recommending candidate words in an input method according to an embodiment of the present invention. The main difference between this embodiment and the previous embodiment is that the method may further store the input method candidate words after the step of determining the input method candidate words from the image. As shown in fig. 2, the method comprises the following steps:
step 201, acquiring an image in the mobile terminal.
In the embodiment of the present invention, the image may be a photo taken by the mobile terminal, or may also be an image downloaded by the mobile terminal, or may also be some screenshots performed by the mobile terminal, and the like.
Step 202, determining candidate words of the input method according to the image.
In the embodiment of the invention, the determination of the candidate words of the input method according to the images can be realized in various ways. For example, identification may be performed according to the content of the image, such as identifying some animal or some plant, so as to use the name of the animal or the plant as a candidate word for the input method; or, the recognition may be performed according to characters in the image, for example, when there are four characters "east pearl" in the image, then "east pearl" is used as the candidate word for the input method. In addition, there may be some other ways to determine the candidate word of the input method, and the embodiment of the present invention is not limited thereto.
Of course, besides, images of pictures sent in the chat process of the user can be identified, so that candidate words of the input method and the like can be determined. Or, the method and the device may also be used for some files downloaded by the user, and directly use the file name or the file content as a candidate word, and the like, which is not limited in the embodiment of the present invention.
And step 203, if the touch operation of the user in the information input area is detected, displaying the input method candidate words on an input method interface.
In the embodiment of the present invention, the information input area may be an information input field of a certain social software, may be an information input field on a web page, or may also be an information input page in a notebook carried by the mobile terminal. Of course, other information input areas may be used, and the embodiment of the present invention is not limited thereto.
In the embodiment of the present invention, the touch operation may be a one-click operation, a one-double-click operation, or a one-touch operation. Of course, other touch operations may be performed, and the embodiment of the present invention is not limited thereto. Therefore, when the touch operation of the user in the information input area is detected, the fact that the user has the requirement for inputting information is indicated, and the candidate words of the input method are displayed on the input method interface, so that the mobile terminal is more intelligent, and the user can have better experience.
In the embodiment of the invention, for example, when a user takes a picture of a car and wants to know the relevant parameters and specific performances of the car in detail, the user can directly click on the information input field of the online search interface, so that the candidate word of the input method of the car can be displayed on the input method interface. The user may then select "car" for lookup, thereby obtaining information about "car". The corresponding candidate words of the input method can be quickly acquired by shooting the picture, so that the mobile terminal is more intelligent, and the user does not need to input four characters of 'automobile' by one character, so that the operation of the user is more convenient and faster, and better experience is achieved.
And step 204, storing the input method candidate words.
In the embodiment of the invention, the input method candidate words can be stored, so that the stored input method candidate words can be displayed when the subsequent input method candidate words are displayed. Because the user may need to use the input method candidate words for multiple times in a short time, the input method candidate words are stored for subsequent continuous use.
In the embodiment of the present invention, a storage time may also be set for the stored input method candidate word. For example, the storage time may be set to 5 days, and after 5 days, the stored input method candidate words may be deleted. Therefore, repeated use of the input method candidate words in a short time is guaranteed, and the mobile terminal does not occupy storage space after deletion, so that the mobile terminal is more intelligent.
Optionally, the step of determining candidate words of an input method according to the image includes:
identifying feature information in the image;
and determining the candidate words of the input method according to the characteristic information.
In this embodiment, the characteristic information may be characters, plants, animals, signs, or the like. The characteristic information can be identified by means of image identification.
In this embodiment, the determination of the input method candidate word based on the feature information may be understood as described above. For example, if there is a cat in the photos taken by the user, the cat is the feature information, and thus "cat" can be used as the candidate word of the input method; or one sunflower is in the picture taken by the user, so that the sunflower is the characteristic information, and the sunflower can be used as a candidate word of the input method; or three stars exist in the picture taken by the user, so that three stars are characteristic information, and the three stars can be used as candidate words of the input method; or the picture taken by the user has the sign of Adida, and the sign of Adida is the characteristic information, so that the 'Adida' can be used as the candidate word of the input method; or the user takes a picture with a car, the car of the car is the characteristic information, so that the car can be used as an input method candidate word, and the like.
In this embodiment, by identifying the feature information in the image and determining the candidate words of the input method according to the feature information, the determination of the candidate words of the input method may be in accordance with the current use situation of the user, and the user does not need to manually input the candidate words of the income method. Therefore, the intelligent degree of the mobile terminal is improved, and the user has better experience.
Optionally, the step of displaying the input method candidate word on the input method interface if the touch operation of the user in the information input area is detected includes:
if the touch operation of a user in an information input area is detected, acquiring information input in the information input area according to the touch operation;
judging whether a target input method candidate word containing the information exists in the input method candidate words or not;
and if the target input method candidate words containing the information exist in the input method candidate words, displaying the target input method candidate words at a first preset position of an input method interface.
In the present embodiment, for example, the user inputs a "north" word in the information input area through touch operation, the user also takes a picture with "beijing" words, and the candidate word of the input method determined by the image recognition technology is "beijing". Then "beijing" includes "beijing", then "beijing" is the target input method candidate word, and then the target input method candidate word "beijing" is displayed at the first preset position of the input method interface.
In this embodiment, the first preset position of the input method interface may be a position where the first input method candidate word is displayed, so that the user can select the first input method candidate word conveniently. And displaying the target input method candidate word at a first preset position of an input method interface when the target input method candidate word containing the information exists in the input method candidate words by judging whether the target input method candidate word containing the information exists in the input method candidate words or not. Therefore, the matching degree between the input information and the target input method candidate words is improved, the input information and the target input method candidate words are displayed at the first preset position, a user can conveniently select the input information and the target input method candidate words, and the user operation is more convenient.
Optionally, the step of acquiring the image in the mobile terminal includes:
acquiring at least two pictures shot by the mobile terminal within a preset time period;
the step of determining input method candidate words from the image includes:
determining candidate words of the input method according to the sequence of the shooting time of the at least two pictures and each picture in sequence;
the step of displaying the input method candidate words on the input method interface comprises the following steps:
and sequentially displaying the input method candidate words determined according to each photo on the input method interface according to the sequence of the shooting time of the at least two photos.
In this embodiment, determining candidate words for an input method according to a photo has been explained in detail in the foregoing embodiment, and is not described herein again. The input method candidate words determined according to each photo are sequentially displayed on the input method interface according to the sequence of the shooting time of at least two photos, so that the input method candidate words determined by a plurality of photos can be displayed for the user to select, and the user has more selectivity. Moreover, through the display sequence of the candidate words of the input method, the user can know the sequence of the shooting time of the corresponding photos, so that the user can more clearly know the shooting sequence of the user.
Optionally, the step of acquiring the image in the mobile terminal includes at least one of the following:
acquiring a picture shot by the mobile terminal within a preset time period;
or acquiring a screenshot of the mobile terminal in a preset time period;
or acquiring an image sent by the mobile terminal within a preset time period;
or acquiring an image received by the mobile terminal within a preset time period.
In this embodiment, the preset time period may be a reasonable time period set arbitrarily, and the length of the preset time period is not limited in this embodiment. The mobile terminal can obtain the image in various ways, so as to determine the corresponding input method candidate words.
The input method candidate word recommendation method of the embodiment of the invention obtains an image in the mobile terminal; determining candidate words of an input method according to the image; if the touch operation of the user in the information input area is detected, displaying the input method candidate words on an input method interface; and storing the input method candidate words. Therefore, the mobile terminal can determine the input method candidate words according to the images and recommend the corresponding input method candidate words, and the flexibility of recommending the input method candidate words is improved. And the candidate words of the input method can be stored, so that the subsequent continuous use is facilitated.
Referring to fig. 3, fig. 3 is a structural diagram of a mobile terminal according to an embodiment of the present invention, which can implement details of a method for recommending candidate words of an input method in the foregoing embodiment and achieve the same effect. As shown in fig. 3, the mobile terminal 300 includes an obtaining module 301, a determining module 302, and a displaying module 303, where the obtaining module 301 is connected to the determining module 302, and the determining module 302 is connected to the displaying module 303, where:
an obtaining module 301, configured to obtain an image in the mobile terminal;
a determining module 302, configured to determine an input method candidate word according to the image;
the display module 303 is configured to display the input method candidate word on an input method interface if a touch operation of the user in the information input area is detected.
Optionally, as shown in fig. 4, the determining module 302 includes:
an identification submodule 3021 configured to identify feature information in the image;
a determining submodule 3022, configured to determine the input method candidate word according to the feature information.
Optionally, as shown in fig. 5, the display module 303 includes:
an obtaining submodule 3031, configured to, if a touch operation of a user in an information input area is detected, obtain information input in the information input area according to the touch operation;
the judgment submodule 3032 is configured to judge whether a target input method candidate word including the information exists in the input method candidate words;
the display sub-module 3033 is configured to display the target input method candidate word at a first preset position of an input method interface if the judgment sub-module 3032 judges that the target input method candidate word containing the information exists in the input method candidate words.
Optionally, the obtaining module 301 is configured to: acquiring at least two pictures shot by the mobile terminal within a preset time period;
the determining module 302 is configured to: determining candidate words of the input method according to the sequence of the shooting time of the at least two pictures and each picture in sequence;
the display module 303 is configured to: and sequentially displaying the input method candidate words determined according to each photo on the input method interface according to the sequence of the shooting time of the at least two photos.
Optionally, the obtaining module 301 is configured to obtain a picture taken by the mobile terminal within a preset time period; or acquiring a screenshot of the mobile terminal in a preset time period; or acquiring an image sent by the mobile terminal within a preset time period; or acquiring at least one item of images received by the mobile terminal within a preset time period.
The mobile terminal 300 can implement each process implemented by the mobile terminal in the method embodiments of fig. 1 to fig. 2, and is not described herein again to avoid repetition.
The mobile terminal 300 of the embodiment of the invention acquires the image in the mobile terminal; determining candidate words of an input method according to the image; and if the touch operation of the user in the information input area is detected, displaying the input method candidate words on an input method interface. Therefore, the mobile terminal can determine the input method candidate words according to the images and recommend the corresponding input method candidate words, and the flexibility of recommending the input method candidate words is improved.
Referring to fig. 6, fig. 6 is a schematic diagram of a hardware structure of a mobile terminal for implementing various embodiments of the present invention, where the mobile terminal 600 includes, but is not limited to: a radio frequency unit 601, a network module 602, an audio output unit 603, an input unit 604, a sensor 605, a display unit 606, a user input unit 607, an interface unit 608, a memory 609, a processor 610, and a power supply 611. Those skilled in the art will appreciate that the mobile terminal architecture shown in fig. 6 is not intended to be limiting of mobile terminals, and that a mobile terminal may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the mobile terminal includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
The processor 610 is configured to obtain a photo taken by the mobile terminal; acquiring an image in the mobile terminal; determining candidate words of an input method according to the image; and if the touch operation of the user in the information input area is detected, displaying the input method candidate words on an input method interface. Therefore, the mobile terminal can determine the input method candidate words according to the images and recommend the corresponding input method candidate words, and the flexibility of recommending the input method candidate words is improved.
Optionally, the processor 610 is further configured to identify feature information in the image; and determining the candidate words of the input method according to the characteristic information.
Optionally, the processor 610 is further configured to, if a touch operation of a user in an information input area is detected, obtain information input in the information input area according to the touch operation; judging whether a target input method candidate word containing the information exists in the input method candidate words or not; and if the target input method candidate words containing the information exist in the input method candidate words, displaying the target input method candidate words at a first preset position of an input method interface.
Optionally, the processor 610 is further configured to obtain at least two photos taken by the mobile terminal within a preset time period; determining candidate words of the input method according to the sequence of the shooting time of the at least two pictures and each picture in sequence; and sequentially displaying the input method candidate words determined according to each photo on the input method interface according to the sequence of the shooting time of the at least two photos.
Optionally, the processor 610 is further configured to obtain a picture taken by the mobile terminal within a preset time period; or acquiring a screenshot of the mobile terminal in a preset time period; or acquiring an image sent by the mobile terminal within a preset time period; or acquiring at least one item of images received by the mobile terminal within a preset time period.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 601 may be used for receiving and sending signals during a message sending and receiving process or a call process, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 610; in addition, the uplink data is transmitted to the base station. In general, radio frequency unit 601 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. Further, the radio frequency unit 601 may also communicate with a network and other devices through a wireless communication system.
The mobile terminal provides the user with wireless broadband internet access through the network module 602, such as helping the user send and receive e-mails, browse webpages, access streaming media, and the like.
The audio output unit 603 may convert audio data received by the radio frequency unit 601 or the network module 602 or stored in the memory 609 into an audio signal and output as sound. Also, the audio output unit 603 may also provide audio output related to a specific function performed by the mobile terminal 600 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 603 includes a speaker, a buzzer, a receiver, and the like.
The input unit 604 is used to receive audio or video signals. The input Unit 604 may include a Graphics Processing Unit (GPU) 6041 and a microphone 6042, and the Graphics processor 6041 processes image data of a still picture or video obtained by an image capturing apparatus (such as a camera) in a video capture mode or an image capture mode. The processed image frames may be displayed on the display unit 606. The image frames processed by the graphic processor 6041 may be stored in the memory 609 (or other storage medium) or transmitted via the radio frequency unit 601 or the network module 602. The microphone 6042 can receive sound, and can process such sound into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 601 in case of the phone call mode.
The mobile terminal 600 also includes at least one sensor 605, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 6061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 6061 and/or the backlight when the mobile terminal 600 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), 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 posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 605 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
The display unit 606 is used to display information input by the user or information provided to the user. The Display unit 606 may include a Display panel 6061, and the Display panel 6061 may be configured by a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 607 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the mobile terminal. Specifically, the user input unit 607 includes a touch panel 6071 and other input devices 6072. Touch panel 6071, also referred to as a touch screen, may collect touch operations by a user on or near it (e.g., operations by a user on or near touch panel 6071 using a finger, stylus, or any suitable object or accessory). The touch panel 6071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 610, receives a command from the processor 610, and executes the command. In addition, the touch panel 6071 can be implemented by various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. The user input unit 607 may include other input devices 6072 in addition to the touch panel 6071. Specifically, the other input devices 6072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a track ball, a mouse, and a joystick, which are not described herein again.
Further, the touch panel 6071 can be overlaid on the display panel 6061, and when the touch panel 6071 detects a touch operation on or near the touch panel 6071, the touch operation is transmitted to the processor 610 to determine the type of the touch event, and then the processor 610 provides a corresponding visual output on the display panel 6061 according to the type of the touch event. Although the touch panel 6071 and the display panel 6061 are shown in fig. 6 as two separate components to implement the input and output functions of the mobile terminal, in some embodiments, the touch panel 6071 and the display panel 6061 may be integrated to implement the input and output functions of the mobile terminal, and is not limited herein.
The interface unit 608 is an interface through which an external device is connected to the mobile terminal 600. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 608 may be used to receive input (e.g., data information, power, etc.) from external devices and transmit the received input to one or more elements within the mobile terminal 600 or may be used to transmit data between the mobile terminal 600 and external devices.
The memory 609 may be used to store software programs as well as various data. The memory 609 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 609 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 610 is a control center of the mobile terminal, connects various parts of the entire mobile terminal using various interfaces and lines, and performs various functions of the mobile terminal and processes data by operating or executing software programs and/or modules stored in the memory 609 and calling data stored in the memory 609, thereby integrally monitoring the mobile terminal. Processor 610 may include one or more processing units; preferably, the processor 610 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 610.
The mobile terminal 600 may further include a power supply 611 (e.g., a battery) for supplying power to the various components, and preferably, the power supply 611 is logically connected to the processor 610 via a power management system, so that functions of managing charging, discharging, and power consumption are performed via the power management system.
In addition, the mobile terminal 600 includes some functional modules that are not shown, and are not described in detail herein.
Preferably, an embodiment of the present invention further provides a mobile terminal, which includes a processor 610, a memory 609, and a computer program stored in the memory 609 and capable of running on the processor 610, where the computer program, when executed by the processor 610, implements each process of the foregoing input method candidate word recommendation method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the above-mentioned input method candidate word recommendation method embodiment, and can achieve the same technical effect, and in order to avoid repetition, the detailed description is omitted here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (9)

1. A recommendation method for candidate words of an input method is applied to a mobile terminal and is characterized by comprising the following steps:
acquiring an image in the mobile terminal;
determining candidate words of an input method according to the image;
if the touch operation of the user in the information input area is detected, displaying the input method candidate words on an input method interface;
the step of acquiring the image in the mobile terminal comprises:
acquiring at least two pictures shot by the mobile terminal within a preset time period;
the step of determining input method candidate words from the image includes:
determining candidate words of the input method according to the sequence of the shooting time of the at least two pictures and each picture in sequence;
the step of displaying the input method candidate words on the input method interface comprises the following steps:
and sequentially displaying the input method candidate words determined according to each photo on the input method interface according to the sequence of the shooting time of the at least two photos.
2. The method of claim 1, wherein the step of determining input method candidate words from the image comprises:
identifying feature information in the image;
and determining the candidate words of the input method according to the characteristic information.
3. The method according to claim 1, wherein the step of displaying the input method candidate word on an input method interface if the touch operation of the user on the information input area is detected comprises:
if the touch operation of a user in an information input area is detected, acquiring information input in the information input area according to the touch operation;
judging whether a target input method candidate word containing the information exists in the input method candidate words or not;
and if the target input method candidate words containing the information exist in the input method candidate words, displaying the target input method candidate words at a first preset position of an input method interface.
4. The method according to any of claims 1 to 3, wherein the step of acquiring the image in the mobile terminal comprises at least one of:
acquiring a picture shot by the mobile terminal within a preset time period;
or acquiring a screenshot of the mobile terminal in a preset time period;
or acquiring an image sent by the mobile terminal within a preset time period;
or acquiring an image received by the mobile terminal within a preset time period.
5. A mobile terminal, comprising:
the acquisition module is used for acquiring the image in the mobile terminal;
the determining module is used for determining candidate words of the input method according to the image;
the display module is used for displaying the input method candidate words on an input method interface if the touch operation of a user in the information input area is detected;
the obtaining module is configured to: acquiring at least two pictures shot by the mobile terminal within a preset time period;
the determining module is configured to: determining candidate words of the input method according to the sequence of the shooting time of the at least two pictures and each picture in sequence;
the display module is used for: and sequentially displaying the input method candidate words determined according to each photo on the input method interface according to the sequence of the shooting time of the at least two photos.
6. The mobile terminal of claim 5, wherein the determining module comprises:
the identification submodule is used for identifying characteristic information in the image;
and the determining submodule is used for determining the candidate words of the input method according to the characteristic information.
7. The mobile terminal of claim 5, wherein the display module comprises:
the obtaining submodule is used for obtaining information input in an information input area according to touch operation if the touch operation of a user in the information input area is detected;
the judgment sub-module is used for judging whether a target input method candidate word containing the information exists in the input method candidate words or not;
and the display sub-module is used for displaying the target input method candidate word at a first preset position of an input method interface if the judgment sub-module judges that the target input method candidate word containing the information exists in the input method candidate words.
8. The mobile terminal according to any one of claims 5 to 7, wherein the obtaining module is configured to obtain a picture taken by the mobile terminal within a preset time period; or acquiring a screenshot of the mobile terminal in a preset time period; or acquiring an image sent by the mobile terminal within a preset time period; or acquiring at least one item of images received by the mobile terminal within a preset time period.
9. A mobile terminal comprising a processor, a memory and a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps of the input method candidate word recommendation method according to any one of claims 1 to 4.
CN201711225158.9A 2017-11-29 2017-11-29 Input method candidate word recommendation method and mobile terminal Active CN107844203B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711225158.9A CN107844203B (en) 2017-11-29 2017-11-29 Input method candidate word recommendation method and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711225158.9A CN107844203B (en) 2017-11-29 2017-11-29 Input method candidate word recommendation method and mobile terminal

Publications (2)

Publication Number Publication Date
CN107844203A CN107844203A (en) 2018-03-27
CN107844203B true CN107844203B (en) 2021-02-19

Family

ID=61680635

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711225158.9A Active CN107844203B (en) 2017-11-29 2017-11-29 Input method candidate word recommendation method and mobile terminal

Country Status (1)

Country Link
CN (1) CN107844203B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111522451B (en) * 2020-04-23 2024-02-13 科大讯飞股份有限公司 Method and related device for recommending key candidate items of vehicle-computer input method
CN112684912A (en) * 2020-12-30 2021-04-20 维沃移动通信有限公司 Candidate information display method and device and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105607756A (en) * 2015-12-24 2016-05-25 百度在线网络技术(北京)有限公司 Information recommendation method and device
CN106896932A (en) * 2016-06-07 2017-06-27 阿里巴巴集团控股有限公司 A kind of candidate word recommends method and device
CN106951484A (en) * 2017-03-10 2017-07-14 百度在线网络技术(北京)有限公司 Picture retrieval method and device, computer equipment and computer-readable medium
CN107203572A (en) * 2016-03-18 2017-09-26 百度在线网络技术(北京)有限公司 A kind of method and device of picture searching

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3400516A4 (en) * 2016-05-02 2019-02-20 Samsung Electronics Co., Ltd. Contextual based application navigation

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105607756A (en) * 2015-12-24 2016-05-25 百度在线网络技术(北京)有限公司 Information recommendation method and device
CN107203572A (en) * 2016-03-18 2017-09-26 百度在线网络技术(北京)有限公司 A kind of method and device of picture searching
CN106896932A (en) * 2016-06-07 2017-06-27 阿里巴巴集团控股有限公司 A kind of candidate word recommends method and device
CN106951484A (en) * 2017-03-10 2017-07-14 百度在线网络技术(北京)有限公司 Picture retrieval method and device, computer equipment and computer-readable medium

Also Published As

Publication number Publication date
CN107844203A (en) 2018-03-27

Similar Documents

Publication Publication Date Title
CN111049979B (en) Application sharing method, electronic equipment and computer readable storage medium
CN110109593B (en) Screen capturing method and terminal equipment
CN109525874B (en) Screen capturing method and terminal equipment
CN110933511B (en) Video sharing method, electronic device and medium
CN108279948B (en) Application program starting method and mobile terminal
CN109240577B (en) Screen capturing method and terminal
CN108132752B (en) Text editing method and mobile terminal
CN108616448B (en) Information sharing path recommendation method and mobile terminal
CN109857297B (en) Information processing method and terminal equipment
CN111130989B (en) Information display and sending method and electronic equipment
CN107734170B (en) Notification message processing method, mobile terminal and wearable device
CN107783709B (en) Image viewing method and mobile terminal
CN108460817B (en) Jigsaw puzzle method and mobile terminal
CN109412932B (en) Screen capturing method and terminal
CN109523253B (en) Payment method and device
CN110913067A (en) Information sending method and electronic equipment
CN108920040B (en) Application icon sorting method and mobile terminal
CN108174109B (en) Photographing method and mobile terminal
CN108196781B (en) Interface display method and mobile terminal
CN108093137B (en) Dialing method and mobile terminal
CN110795002A (en) Screenshot method and terminal equipment
CN111163449B (en) Application sharing method, first electronic device and computer-readable storage medium
CN110191426B (en) Information sharing method and terminal
CN110750198A (en) Expression sending method and mobile terminal
CN107844203B (en) Input method candidate word recommendation method and mobile terminal

Legal Events

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