CN107943317A - Input method and device - Google Patents

Input method and device Download PDF

Info

Publication number
CN107943317A
CN107943317A CN201711060047.7A CN201711060047A CN107943317A CN 107943317 A CN107943317 A CN 107943317A CN 201711060047 A CN201711060047 A CN 201711060047A CN 107943317 A CN107943317 A CN 107943317A
Authority
CN
China
Prior art keywords
candidate word
character
candidate
word
corresponding image
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.)
Granted
Application number
CN201711060047.7A
Other languages
Chinese (zh)
Other versions
CN107943317B (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.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software 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 Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201711060047.7A priority Critical patent/CN107943317B/en
Publication of CN107943317A publication Critical patent/CN107943317A/en
Application granted granted Critical
Publication of CN107943317B publication Critical patent/CN107943317B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/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

Abstract

The disclosure is directed to input method and device.This method includes:Receive the character of input;Obtain the corresponding multiple candidate words of character and the corresponding image of each candidate word;Multiple candidate words are exported, the corresponding image of candidate word is shown in the predeterminable area near each candidate word, alternatively, showing the corresponding image of candidate word in the corresponding background area of each candidate word.Since the corresponding image of candidate word can be shown in the predeterminable area near each candidate word while candidate word is exported, or, the corresponding image of candidate word is shown in the corresponding background area of each candidate word, so that user selection target word when, it is also based on the dimension of image, the correct probability of user's selection target word is improved, so as to improve user experience.

Description

Input method and device
Technical field
This disclosure relates to technical field of data processing, more particularly to input method and device.
Background technology
User is when carrying out word input in terminal device, it will usually using spelling input method or five-stroke input method.
At present, when user carries out word input using input method, user can pass through the corresponding input of terminal device first Equipment inputs character, after terminal device receives character input by user, can be searched in default dictionary related to the character The candidate word of connection, then shows those candidate words on the screen of terminal device, so user selected in candidate word it is defeated The target word entered.
The content of the invention
To overcome problem present in correlation technique, the embodiment of the present disclosure provides input method and device.The technical side Case is as follows:
According to the first aspect of the embodiment of the present disclosure, there is provided a kind of input method, including:
Receive the character of input;
Obtain the corresponding multiple candidate words of the character and the corresponding image of each candidate word;
Export the candidate word;
The corresponding image of the candidate word is shown in the predeterminable area near each candidate word, alternatively, each The corresponding background area of the candidate word shows the corresponding image of the candidate word.
The technical scheme provided by this disclosed embodiment can include the following benefits:Receive the character of input;Obtain The corresponding multiple candidate words of character and the corresponding image of each candidate word;The candidate word is exported, near each candidate word The corresponding image of display candidate word in predeterminable area, alternatively, showing that candidate word corresponds in the corresponding background area of each candidate word Image.Since the corresponding figure of candidate word can be shown in the predeterminable area near each candidate word while candidate word is exported Picture, alternatively, the corresponding image of candidate word is shown in the corresponding background area of each candidate word, so that user is in selection target Word when, be also based on the dimension of image, the correct probability of user's selection target word improved, so as to improve user's body Test.
In one embodiment, it is described to obtain the corresponding multiple candidate words of character and the corresponding figure of each candidate word Picture, including:
Search for multiple candidate targets corresponding with the character from the first preset table according to the character, described One preset table includes the mapping relations of the character and the candidate target, and each candidate target includes:Candidate word and The corresponding image of the candidate word;
Alternatively,
The corresponding multiple candidate words of the character are obtained from default dictionary, the default dictionary includes the character and institute State the correspondence of candidate word;The corresponding image of each candidate word is obtained from network side.
In one embodiment, it is described to obtain the corresponding multiple candidate words of character and the corresponding figure of each candidate word Picture, including:
Obtain the corresponding multiple candidate words of the character;
Determine the part of speech of each candidate word;
The corresponding image of each candidate word is obtained from the second default mapping table according to the part of speech of each candidate word;Institute Stating the second default mapping table includes the correspondence of various parts of speech and image.
In one embodiment, described image includes but not limited to:Dynamic picture or static images.
According to the second aspect of the embodiment of the present disclosure, there is provided a kind of input unit, including:
Receiving module, for receiving the character of input;
Acquisition module, for obtaining the corresponding multiple candidate words of the character and each candidate that the receiving module receives The corresponding image of word;
First output module, the candidate word obtained for exporting the acquisition module;
Second output module, for the predeterminable area near each candidate word that first output module exports It is interior to show the corresponding image of the candidate word, alternatively, each candidate word in first output module output is corresponding Background area shows the corresponding image of the candidate word.
In one embodiment, the acquisition module includes:Search for submodule;
Described search submodule, the character for being received according to the receiving module searched for from the first preset table with The corresponding multiple candidate targets of the character, first preset table include reflecting for the character and the candidate target Relation is penetrated, each candidate target includes:Candidate word and the corresponding image of the candidate word.
In one embodiment, the acquisition module includes:First acquisition submodule and the second acquisition submodule;
First acquisition submodule, corresponds to for obtaining the character that the receiving module receives from default dictionary Multiple candidate words, the default dictionary includes the correspondence of the character and the candidate word;
Second acquisition submodule, for obtaining each time of the first acquisition submodule acquisition from network side Select the corresponding image of word.
In one embodiment, the acquisition module includes:3rd acquisition submodule, determination sub-module and the 4th obtain son Module;
3rd acquisition submodule, the corresponding multiple candidates of the character received for obtaining the receiving module Word;
The determination sub-module, the part of speech of each candidate word obtained for determining the 3rd acquisition submodule;
4th acquisition submodule, for the part of speech of each candidate word that is determined according to the determination sub-module from The corresponding image of each candidate word is obtained in second default mapping table;Described second default mapping table includes various parts of speech and figure The correspondence of picture.
In one embodiment, described image includes but not limited to:Dynamic picture or static images.
According to the third aspect of the embodiment of the present disclosure, there is provided a kind of input unit, including:
Processor;
For storing the memory of processor-executable instruction;
Wherein, the processor is configured as:
Receive the character of input;
Obtain the corresponding multiple candidate words of the character and the corresponding image of each candidate word;
Export the candidate word;
The corresponding image of the candidate word is shown in the predeterminable area near each candidate word, alternatively, each The corresponding background area of the candidate word shows the corresponding image of the candidate word.
According to the fourth aspect of the embodiment of the present disclosure, there is provided a kind of computer-readable recording medium, is stored thereon with calculating Machine instructs, which realizes following steps when being executed by processor:
Receive the character of input;
Obtain the corresponding multiple candidate words of the character and the corresponding image of each candidate word;
Export the candidate word;
The corresponding image of the candidate word is shown in the predeterminable area near each candidate word, alternatively, each The corresponding background area of the candidate word shows the corresponding image of the candidate word.
It should be appreciated that the general description and following detailed description of the above are only exemplary and explanatory, not The disclosure can be limited.
Brief description of the drawings
Attached drawing herein is merged in specification and forms the part of this specification, shows the implementation for meeting the disclosure Example, and be used to together with specification to explain the principle of the disclosure.
Fig. 1 is the flow chart of the input method according to an exemplary embodiment one.
Fig. 2 is the schematic diagram of the display interface according to an exemplary embodiment one.
Fig. 3 is the schematic diagram of the display interface according to an exemplary embodiment two.
Fig. 4 is the schematic diagram of the display interface according to an exemplary embodiment three.
Fig. 5 is the schematic diagram of the display interface according to an exemplary embodiment four.
Fig. 6 is the flow chart of step S102 in input method according to an exemplary embodiment one.
Fig. 7 is the flow chart of step S102 in input method according to an exemplary embodiment two.
Fig. 8 is the flow chart of the input method according to an exemplary embodiment two.
Fig. 9 is the schematic diagram of the display interface according to an exemplary embodiment five.
Figure 10 is a kind of block diagram of input unit according to an exemplary embodiment one.
Figure 11 is the block diagram of acquisition module 12 in a kind of input unit according to an exemplary embodiment one.
Figure 12 is the block diagram of acquisition module 12 in a kind of input unit according to an exemplary embodiment two.
Figure 13 is the block diagram of acquisition module 12 in a kind of input unit according to an exemplary embodiment three.
Figure 14 is a kind of block diagram for input unit 80 according to an exemplary embodiment.
Embodiment
Here exemplary embodiment will be illustrated in detail, its example is illustrated in the accompanying drawings.Following description is related to During attached drawing, unless otherwise indicated, the same numbers in different attached drawings represent the same or similar key element.Following exemplary embodiment Described in embodiment do not represent all embodiments consistent with the disclosure.On the contrary, they be only with it is such as appended The example of the consistent apparatus and method of some aspects be described in detail in claims, the disclosure.
When user selects the target word to be inputted in candidate word, since the vocabulary of candidate word is larger, Yong Hurong Easily there is the situation that mistake selects target word, such as:For example when inputting " jqh " in five-stroke input method, select word to have " evening ", " evening Point " and " dinner " etc., user can be due to hastily falsely dropping the target word to be selected originally " dinner " for meeting " late ".
In the disclosure, the character of input is received;Obtain the corresponding multiple candidate words of character and the corresponding figure of each candidate word Picture;The candidate word is exported, the corresponding image of candidate word is shown in the predeterminable area near each candidate word, alternatively, every The corresponding background area of a candidate word shows the corresponding image of candidate word.Due to can be in each candidate while candidate word is exported The corresponding image of display candidate word in predeterminable area near word, alternatively, being waited in the corresponding background area display of each candidate word Select the corresponding image of word so that user selection target word when, be also based on the dimension of image, improve user's choosing The correct probability of target word is selected, so as to improve user experience.
Fig. 1 is the flow chart of the input method according to an exemplary embodiment one, as shown in Figure 1, this method includes Following steps S101-S104:
In step S101, the character of input is received.
In step s 102, the corresponding multiple candidate words of character and the corresponding image of each candidate word are obtained.
In step s 103, candidate word is exported.
In step S104, the corresponding image of candidate word is shown in the predeterminable area near each candidate word, alternatively, Each the corresponding background area of candidate word shows the corresponding image of candidate word.
Exemplary, when user wants to input word in terminal device, the input method that can be carried by terminal device is defeated Enter character, terminal device just have received the character of input at this time.
It is worth noting that, above-mentioned character can be letter, can also be the handwritten word that user is inputted by handwriting pad The track of mark.
After the character of input is received, in order to lift the accuracy rate that user selects target word, the word can be not only obtained Accord with corresponding multiple candidate words, can also obtain the corresponding image of each candidate word, so can by the screen of terminal device to User shows multiple candidate words, and the corresponding image of candidate word is shown in the predeterminable area near each candidate word, alternatively, The corresponding image of candidate word is shown in the corresponding background area of each candidate word.At this time, what is shown on the screen is no longer wizened Bar text, but the image of image, so that user is when selection target word, it is difficult to mistake be selected, so as to effectively be lifted User experience.
Wherein, when showing the corresponding image of candidate word in the predeterminable area near each candidate word, predeterminable area can To be the region before candidate word or the region behind candidate word or be located above candidate word Region, or be the region below the candidate word, the disclosure is not any limitation as the specific location of predeterminable area.
Such as:Input method display interface as shown in Figure 2, further, it is possible to show candidate word behind each candidate word Corresponding image, the square frame behind each candidate word as shown in Figure 3 are the display area of the corresponding image of the candidate word;Can The corresponding image of candidate word is illustrated below in each candidate word, the square frame below each candidate word as shown in Figure 4 is should The display area of the corresponding image of candidate word.
And the corresponding image of candidate word is shown in the above-mentioned predeterminable area near each candidate word to be needed to occupy input method Relatively multizone in display interface, can be in the corresponding back of the body of each candidate word in order to save the region in input method display interface Scene area shows the corresponding image of candidate word.
And when in the corresponding background area display candidate word of each candidate word corresponding image, candidate word can be corresponded to Image as background image, be shown in the corresponding background area of candidate word, square frame as shown in Figure 5.
In the disclosure, the character of input is received;Obtain the corresponding multiple candidate words of character and the corresponding figure of each candidate word Picture;Multiple candidate words are exported, and the corresponding image of candidate word is shown in the predeterminable area near each candidate word, alternatively, The corresponding image of candidate word is shown in the corresponding background area of each candidate word.Due to can be each while candidate word is exported The corresponding image of display candidate word in predeterminable area near candidate word, alternatively, being shown in the corresponding background area of each candidate word Show the corresponding image of candidate word so that user selection target word when, be also based on the dimension of image, improve use The correct probability of family selection target word, so as to improve user experience.
In a kind of achievable mode, above-mentioned steps S102 may be embodied as:According to character from the mapping of the first preset table Search multiple candidate targets corresponding with character, the first default mapping table include the mapping relations of character and candidate target, often A candidate target includes:Candidate word and the corresponding image of candidate word.
One first default mapping table can be first preset in terminal device, after the character of input is received, just from first Multiple candidate targets corresponding with character are determined in default mapping table.
Exemplary, the first above-mentioned default mapping table is as shown in table 1, and the corresponding image of candidate word " late " is clock, is waited It is meal figure to select the corresponding image of word " dinner ", and the corresponding image of candidate word " evening " is the moon;
Table 1
When character input by user is " jph ", the corresponding candidate target of character " jph " is determined from above-mentioned table 1.
The technical scheme provided by this disclosed embodiment can include the following benefits:By pre- from first according to character If searching for multiple candidate targets corresponding with character in mapping table, corresponded to so as to effectively reduce definite candidate word and candidate word Image time delay.
Above-mentioned first is stored in terminal device and presets mapping table, due to having image in the first default mapping table, from And the memory compared with multi-terminal equipment can be occupied, in order to save the memory of terminal device, in the achievable mode of another kind, such as Fig. 6 Shown, above-mentioned steps S102 may be embodied as following steps S1021-S1022:
In step S1021, the corresponding multiple candidate words of character are obtained from default dictionary, preset dictionary include character with The correspondence of candidate word.
In step S1022, the corresponding image of each candidate word is obtained from network side.
In order to save the memory of terminal device, can prestore a default dictionary as shown in Table 2 in terminal device, when connecing After the character for receiving input, preset from this candidate word corresponding with the character is found in dictionary first, and then obtained from network side Take the corresponding image of each candidate word.
Table 2
Terminal device can obtain the corresponding image of each candidate word by wired or wireless mode from network side.
Since the corresponding image of each candidate word can be obtained from network side, so that the image got is more various Change, effectively improve the interest of display.
The technical scheme provided by this disclosed embodiment can include the following benefits:By being obtained from default dictionary The corresponding multiple candidate words of character, and then the corresponding image of each candidate word is obtained from network side, effectively save terminal device Memory.
In one embodiment, as shown in fig. 7, above-mentioned steps S102 may be embodied as following steps S1023-S1025:
In step S1023, the corresponding multiple candidate words of character are obtained.
The corresponding multiple candidate words of character are obtained, can be similar with above-mentioned steps S1021, details are not described herein again.
In step S1024, the part of speech of each candidate word is determined.
It is exemplary, the part of speech of each candidate word can be obtained by network side, can also be obtained by default part of speech table every The part of speech of a candidate word, includes the correspondence of each candidate word and part of speech, naturally it is also possible to pass through it in default part of speech table His mode determines the part of speech of each candidate word, and the disclosure is not any limitation as it.
In step S1025, each candidate word pair is obtained from the second default mapping table according to the part of speech of each candidate word The image answered;Second default mapping table includes the correspondence of various parts of speech and image.
Can the part of speech based on candidate word, preset different images for candidate side, exemplary, image can be different colours Pure color picture (such as:Noun is using red picture, verb using green picture etc.);Image can also be default inhomogeneity Type picture (such as:Noun use has the picture of smiling face, verb use to have picture of sobbing expression etc.), naturally it is also possible to set For other images, the disclosure is not any limitation as it.
The technical scheme provided by this disclosed embodiment can include the following benefits:It is time according to the part of speech of candidate word Select word to determine image, can effectively lift user experience.
It is worth noting that, above-mentioned image includes but not limited to:Dynamic picture or static images.
Fig. 8 is the flow chart of the input method according to an exemplary embodiment two, as shown in figure 8, this method includes Following steps S201-S204:
In step s 201, the character of input is received.
In step S202, multiple candidate targets corresponding with character are searched for from the first preset table according to character, wherein, First preset table includes the mapping relations of character and candidate target, and each candidate target includes:Candidate word and candidate word correspond to Image.
In step S203, candidate word is exported.
In step S204, the corresponding image of candidate word is shown in the predeterminable area near each candidate word, alternatively, Each the corresponding background area of candidate word shows the corresponding image of candidate word.
By taking table 1 as an example, when character input by user is " jph ", the corresponding time of character " jph " is determined from above-mentioned table 1 Object is selected, and then interface as shown in Figure 9 is shown on the screen of terminal device.
Following is embodiment of the present disclosure, can be used for performing embodiments of the present disclosure.
Figure 10 is a kind of block diagram of input unit according to an exemplary embodiment one, which can be by soft Part, hardware or both are implemented in combination with as some or all of of electronic equipment.As shown in Figure 10, the input unit bag Include:
Receiving module 11, for receiving the character of input;
Acquisition module 12, for obtaining corresponding multiple candidate words of the character that the receiving module 11 receives and each The corresponding image of candidate word;
First output module 13, the candidate word obtained for exporting the acquisition module 12;
Second output module 14, for default near each candidate word that first output module 13 exports The corresponding image of the candidate word is shown in region, alternatively, for each time exported in first output module 13 The corresponding background area of word is selected to show the corresponding image of the candidate word.
In one embodiment, as shown in figure 11, the acquisition module 12 includes:Search for submodule 121;
Described search submodule 121, for the character that is received according to the receiving module 11 from the first preset table Search multiple candidate targets corresponding with the character, first preset table include the character and the candidate couple The mapping relations of elephant, each candidate target include:Candidate word and the corresponding image of the candidate word;
In one embodiment, as shown in figure 12, the acquisition module 12 includes:First acquisition submodule 122 and second Acquisition submodule 123;
First acquisition submodule 122, the word received for obtaining the receiving module 11 from default dictionary Corresponding multiple candidate words are accorded with, the default dictionary includes the character and the correspondence of the candidate word;
Second acquisition submodule 123, for obtaining each of the acquisition of the first acquisition submodule 122 from network side The corresponding image of the candidate word.
In one embodiment, as shown in figure 13, the acquisition module 12 includes:3rd acquisition submodule 124, determine son 125 and the 4th acquisition submodule 126 of module;
3rd acquisition submodule 124, the character for obtaining the reception of receiving module 11 are corresponding multiple Candidate word;
The determination sub-module 125, each candidate word obtained for determining the 3rd acquisition submodule 124 Part of speech;
4th acquisition submodule 126, for according to the definite each candidate word of the determination sub-module 125 Part of speech obtains the corresponding image of each candidate word from the second default mapping table;Described second default mapping table includes various words The correspondence of property and image.
According to the third aspect of the embodiment of the present disclosure, there is provided a kind of input unit, including:
Processor;
For storing the memory of processor-executable instruction;
Wherein, processor is configured as:
Receive the character of input;
Obtain the corresponding multiple candidate words of the character and the corresponding image of each candidate word;
Export the candidate word;
The corresponding image of the candidate word is shown in the predeterminable area near each candidate word, alternatively, each The corresponding background area of the candidate word shows the corresponding image of the candidate word.
Above-mentioned processor is also configured to:
In one embodiment, it is described to obtain the corresponding multiple candidate words of character and the corresponding figure of each candidate word Picture, including:
Search for multiple candidate targets corresponding with the character from the first preset table according to the character, described One preset table includes the mapping relations of the character and the candidate target, and each candidate target includes:Candidate word and The corresponding image of the candidate word;
Alternatively,
The corresponding multiple candidate words of the character are obtained from default dictionary, the default dictionary includes the character and institute State the correspondence of candidate word;The corresponding image of each candidate word is obtained from network side.
In one embodiment, it is described to obtain the corresponding multiple candidate words of character and the corresponding figure of each candidate word Picture, including:
Obtain the corresponding multiple candidate words of the character;
Determine the part of speech of each candidate word;
The corresponding image of each candidate word is obtained from the second default mapping table according to the part of speech of each candidate word;Institute Stating the second default mapping table includes the correspondence of various parts of speech and image.
In one embodiment, described image includes but not limited to:Dynamic picture or static images.
On the device in above-described embodiment, wherein modules perform the concrete mode of operation in related this method Embodiment in be described in detail, explanation will be not set forth in detail herein.
Figure 14 is a kind of block diagram for input unit 80 according to an exemplary embodiment, which is suitable for eventually End equipment.For example, device 80 can be mobile phone, and computer, digital broadcast terminal, messaging devices, game console, Tablet device, Medical Devices, body-building equipment, personal digital assistant etc..
Device 80 can include following one or more assemblies:Processing component 802, memory 804, power supply module 806 are more Media component 808, audio component 810, the interface 812 of input/output (I/O), sensor component 814, and communication component 816。
The integrated operation of the usual control device 80 of processing component 802, such as with display, call, data communication, camera The operation that operation and record operation are associated.Processing component 802 can carry out execute instruction including one or more processors 820, To complete all or part of step of above-mentioned method.In addition, processing component 802 can include one or more modules, it is easy to Interaction between processing component 802 and other assemblies.For example, processing component 802 can include multi-media module, to facilitate more matchmakers Interaction between body component 808 and processing component 802.
Memory 804 is configured as storing various types of data to support the operation in device 80.These data are shown Example includes the instruction of any application program or method for being operated on device 80, and contact data, telephone book data, disappears Breath, picture, video etc..Memory 804 can be by any kind of volatibility or non-volatile memory device or their group Close and realize, as static RAM (SRAM), electrically erasable programmable read-only memory (EEPROM) are erasable to compile Journey read-only storage (EPROM), programmable read only memory (PROM), read-only storage (ROM), magnetic memory, flash Device, disk or CD.
Power supply module 806 provides electric power for the various assemblies of device 80.Power supply module 806 can include power management system System, one or more power supplys, and other components associated with generating, managing and distributing electric power for device 80.
Multimedia component 808 is included in the screen of one output interface of offer between described device 80 and user.One In a little embodiments, screen can include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, screen Curtain may be implemented as touch-screen, to receive input signal from the user.Touch panel includes one or more touch sensings Device is to sense the gesture on touch, slip and touch panel.The touch sensor can not only sense touch or sliding action Border, but also detect and the duration and pressure associated with the touch or slide operation.In certain embodiments, more matchmakers Body component 808 includes a front camera and/or rear camera.When device 80 is in operator scheme, such as screening-mode or During video mode, front camera and/or rear camera can receive exterior multi-medium data.Each front camera and Rear camera can be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio component 810 is configured as output and/or input audio signal.For example, audio component 810 includes a Mike Wind (MIC), when device 80 is in operator scheme, during such as call model, logging mode and speech recognition mode, microphone is configured To receive external audio signal.The received audio signal can be further stored in memory 804 or via communication component 816 send.In certain embodiments, audio component 810 further includes a loudspeaker, for exports audio signal.
I/O interfaces 812 provide interface between processing component 802 and peripheral interface module, and above-mentioned peripheral interface module can To be keyboard, click wheel, button etc..These buttons may include but be not limited to:Home button, volume button, start button and lock Determine button.
Sensor component 814 includes one or more sensors, for providing the status assessment of various aspects for device 80. For example, sensor component 814 can detect opening/closed mode of device 80, the relative positioning of component, such as the component For the display and keypad of device 80, sensor component 814 can be with the position of 80 1 components of detection device 80 or device Change, the existence or non-existence that user contacts with device 80,80 orientation of device or acceleration/deceleration and the temperature change of device 80. Sensor component 814 can include proximity sensor, be configured to detect object nearby without any physical contact Presence.Sensor component 814 can also include optical sensor, such as CMOS or ccd image sensor, in imaging applications Use.In certain embodiments, which can also include acceleration transducer, gyro sensor, magnetic sensing Device, pressure sensor or temperature sensor.
Communication component 816 is configured to facilitate the communication of wired or wireless way between device 80 and other equipment.Device 80 can access the wireless network based on communication standard, such as WiFi, 2G or 3G, or combinations thereof.In an exemplary implementation In example, communication component 816 receives broadcast singal or broadcast related information from external broadcasting management system via broadcast channel. In one exemplary embodiment, the communication component 816 further includes near-field communication (NFC) module, to promote junction service.Example Such as, in NFC module radio frequency identification (RFID) technology can be based on, Infrared Data Association (IrDA) technology, ultra wide band (UWB) technology, Bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, device 80 can be believed by one or more application application-specific integrated circuit (ASIC), numeral Number processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic building bricks are realized, for performing the above method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instructing, example are additionally provided Such as include the memory 804 of instruction, above-metioned instruction can be performed to complete the above method by the processor 820 of device 80.For example, institute State non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk and Optical data storage devices etc..
A kind of non-transitorycomputer readable storage medium, when the instruction in the storage medium is by the processor of device 80 During execution so that device 80 is able to carry out above-mentioned input method, the described method includes:
Receive the character of input;
Obtain the corresponding multiple candidate words of the character and the corresponding image of each candidate word;
Export the candidate word;
The corresponding image of the candidate word is shown in the predeterminable area near each candidate word, alternatively, each The corresponding background area of the candidate word shows the corresponding image of the candidate word.
In one embodiment, it is described to obtain the corresponding multiple candidate words of character and the corresponding figure of each candidate word Picture, including:
Search for multiple candidate targets corresponding with the character from the first preset table according to the character, described One preset table includes the mapping relations of the character and the candidate target, and each candidate target includes:Candidate word and The corresponding image of the candidate word;
Alternatively,
The corresponding multiple candidate words of the character are obtained from default dictionary, the default dictionary includes the character and institute State the correspondence of candidate word;The corresponding image of each candidate word is obtained from network side.
In one embodiment, it is described to obtain the corresponding multiple candidate words of character and the corresponding figure of each candidate word Picture, including:
Obtain the corresponding multiple candidate words of the character;
Determine the part of speech of each candidate word;
The corresponding image of each candidate word is obtained from the second default mapping table according to the part of speech of each candidate word;Institute Stating the second default mapping table includes the correspondence of various parts of speech and image.
In one embodiment, described image includes but not limited to:Dynamic picture or static images.
Those skilled in the art will readily occur to the disclosure its after considering specification and putting into practice disclosure disclosed herein Its embodiment.This application is intended to cover any variations, uses, or adaptations of the disclosure, these modifications, purposes or Person's adaptive change follows the general principle of the disclosure and including the undocumented common knowledge in the art of the disclosure Or conventional techniques.Description and embodiments are considered only as exemplary, and the true scope and spirit of the disclosure are by following Claim is pointed out.
It should be appreciated that the present disclosure is not limited to the precise structures that have been described above and shown in the drawings, and And various modifications and changes may be made without departing from the scope thereof.The scope of the present disclosure is only limited by appended claim.

Claims (11)

  1. A kind of 1. input method, it is characterised in that including:
    Receive the character of input;
    Obtain the corresponding multiple candidate words of the character and the corresponding image of each candidate word;
    Export the candidate word;
    The corresponding image of the candidate word is shown in the predeterminable area near each candidate word, alternatively, each described The corresponding background area of candidate word shows the corresponding image of the candidate word.
  2. 2. the according to the method described in claim 1, it is characterized in that, corresponding multiple candidate words of the character and every of obtaining The corresponding image of a candidate word, including:
    Multiple candidate targets corresponding with the character are searched for from the first preset table according to the character, described first is pre- If table includes the mapping relations of the character and the candidate target, each candidate target includes:Candidate word and described The corresponding image of candidate word;
    Alternatively,
    The corresponding multiple candidate words of the character are obtained from default dictionary, the default dictionary includes the character and the time Select the correspondence of word;The corresponding image of each candidate word is obtained from network side.
  3. 3. the according to the method described in claim 1, it is characterized in that, corresponding multiple candidate words of the character and every of obtaining The corresponding image of a candidate word, including:
    Obtain the corresponding multiple candidate words of the character;
    Determine the part of speech of each candidate word;
    The corresponding image of each candidate word is obtained from the second default mapping table according to the part of speech of each candidate word;Described Two default mapping tables include the correspondence of various parts of speech and image.
  4. 4. according to the method described in claim 1, it is characterized in that, described image includes but not limited to:Dynamic picture or static state Picture.
  5. A kind of 5. input unit, it is characterised in that including:
    Receiving module, for receiving the character of input;
    Acquisition module, for obtaining the corresponding multiple candidate words of the character and each candidate word pair that the receiving module receives The image answered;
    First output module, the candidate word obtained for exporting the acquisition module;
    Second output module, for being shown in the predeterminable area near each candidate word that first output module exports Show the corresponding image of the candidate word, alternatively, in the corresponding background of each candidate word of first output module output Region shows the corresponding image of the candidate word.
  6. 6. device according to claim 5, it is characterised in that the acquisition module includes:Search for submodule;
    Described search submodule, the character for being received according to the receiving module searched for from the first preset table with it is described The corresponding multiple candidate targets of character, the mapping that first preset table includes the character and the candidate target are closed System, each candidate target include:Candidate word and the corresponding image of the candidate word.
  7. 7. device according to claim 5, it is characterised in that the acquisition module includes:First acquisition submodule and Two acquisition submodules;
    First acquisition submodule, the character for obtaining the receiving module reception from default dictionary are corresponding more A candidate word, the default dictionary include the character and the correspondence of the candidate word;
    Second acquisition submodule, for obtaining each candidate word of the first acquisition submodule acquisition from network side Corresponding image.
  8. 8. device according to claim 5, it is characterised in that the acquisition module includes:3rd acquisition submodule, determine Submodule and the 4th acquisition submodule;
    3rd acquisition submodule, the corresponding multiple candidate words of the character received for obtaining the receiving module;
    The determination sub-module, the part of speech of each candidate word obtained for determining the 3rd acquisition submodule;
    4th acquisition submodule, for the part of speech of each candidate word that is determined according to the determination sub-module from second The corresponding image of each candidate word is obtained in default mapping table;Described second default mapping table includes various parts of speech and image Correspondence.
  9. 9. device according to claim 5, it is characterised in that described image includes but not limited to:Dynamic picture or static state Picture.
  10. A kind of 10. input unit, it is characterised in that including:
    Processor;
    For storing the memory of processor-executable instruction;
    Wherein, the processor is configured as:
    Receive the character of input;
    Obtain the corresponding multiple candidate words of the character and the corresponding image of each candidate word;
    Export the candidate word;
    The corresponding image of the candidate word is shown in the predeterminable area near each candidate word, alternatively, each described The corresponding background area of candidate word shows the corresponding image of the candidate word.
  11. 11. a kind of computer-readable recording medium, is stored thereon with computer instruction, it is characterised in that the instruction is by processor Following steps are realized during execution:
    Receive the character of input;
    Obtain the corresponding multiple candidate words of the character and the corresponding image of each candidate word;
    Export the candidate word;
    The corresponding image of the candidate word is shown in the predeterminable area near each candidate word, alternatively, each described The corresponding background area of candidate word shows the corresponding image of the candidate word.
CN201711060047.7A 2017-11-01 2017-11-01 Input method and device Active CN107943317B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711060047.7A CN107943317B (en) 2017-11-01 2017-11-01 Input method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711060047.7A CN107943317B (en) 2017-11-01 2017-11-01 Input method and device

Publications (2)

Publication Number Publication Date
CN107943317A true CN107943317A (en) 2018-04-20
CN107943317B CN107943317B (en) 2021-08-06

Family

ID=61934091

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711060047.7A Active CN107943317B (en) 2017-11-01 2017-11-01 Input method and device

Country Status (1)

Country Link
CN (1) CN107943317B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109271038A (en) * 2018-07-17 2019-01-25 努比亚技术有限公司 Candidate words recommending method, terminal and computer readable storage medium
CN110442248A (en) * 2019-06-20 2019-11-12 上海萌家网络科技有限公司 A kind of input method and input system
CN111078022A (en) * 2018-10-18 2020-04-28 北京搜狗科技发展有限公司 Input method and device
CN111078022B (en) * 2018-10-18 2024-04-23 北京搜狗科技发展有限公司 Input method and device

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1932730A (en) * 2005-09-14 2007-03-21 黄金富 Candidate words displaying method
CN101739143A (en) * 2009-12-03 2010-06-16 腾讯科技(深圳)有限公司 Character inputting method and character inputting system
CN102314441A (en) * 2010-06-30 2012-01-11 百度在线网络技术(北京)有限公司 Method for user to input individualized primitive data and equipment and system
CN103092969A (en) * 2013-01-22 2013-05-08 上海量明科技发展有限公司 Method, client side and system for conducting streaming media retrieval to input method candidate item
CN103365833A (en) * 2012-03-28 2013-10-23 百度在线网络技术(北京)有限公司 Context scene based candidate word input prompt method and system for implementing same
CN103793434A (en) * 2012-11-02 2014-05-14 北京百度网讯科技有限公司 Content-based image search method and device
US20140164981A1 (en) * 2012-12-11 2014-06-12 Nokia Corporation Text entry
CN105335036A (en) * 2014-06-27 2016-02-17 北京搜狗科技发展有限公司 Input interaction method and input method system
CN105786207A (en) * 2016-02-25 2016-07-20 百度在线网络技术(北京)有限公司 Information input method and device
CN106383595A (en) * 2016-10-28 2017-02-08 维沃移动通信有限公司 Method for adjusting display interface of input method and mobile terminal
CN106855748A (en) * 2015-12-08 2017-06-16 阿里巴巴集团控股有限公司 A kind of data inputting method, device and intelligent terminal
US20170185581A1 (en) * 2015-12-29 2017-06-29 Machine Zone, Inc. Systems and methods for suggesting emoji
CN107247731A (en) * 2017-05-04 2017-10-13 深圳哇哇鱼网络科技有限公司 A kind of semantics recognition recommends graphical method

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1932730A (en) * 2005-09-14 2007-03-21 黄金富 Candidate words displaying method
CN101739143A (en) * 2009-12-03 2010-06-16 腾讯科技(深圳)有限公司 Character inputting method and character inputting system
CN102314441A (en) * 2010-06-30 2012-01-11 百度在线网络技术(北京)有限公司 Method for user to input individualized primitive data and equipment and system
CN103365833A (en) * 2012-03-28 2013-10-23 百度在线网络技术(北京)有限公司 Context scene based candidate word input prompt method and system for implementing same
CN103793434A (en) * 2012-11-02 2014-05-14 北京百度网讯科技有限公司 Content-based image search method and device
US20140164981A1 (en) * 2012-12-11 2014-06-12 Nokia Corporation Text entry
CN103092969A (en) * 2013-01-22 2013-05-08 上海量明科技发展有限公司 Method, client side and system for conducting streaming media retrieval to input method candidate item
CN105335036A (en) * 2014-06-27 2016-02-17 北京搜狗科技发展有限公司 Input interaction method and input method system
CN106855748A (en) * 2015-12-08 2017-06-16 阿里巴巴集团控股有限公司 A kind of data inputting method, device and intelligent terminal
US20170185581A1 (en) * 2015-12-29 2017-06-29 Machine Zone, Inc. Systems and methods for suggesting emoji
CN105786207A (en) * 2016-02-25 2016-07-20 百度在线网络技术(北京)有限公司 Information input method and device
CN106383595A (en) * 2016-10-28 2017-02-08 维沃移动通信有限公司 Method for adjusting display interface of input method and mobile terminal
CN107247731A (en) * 2017-05-04 2017-10-13 深圳哇哇鱼网络科技有限公司 A kind of semantics recognition recommends graphical method

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
XYH666168: "怎么将开始菜单的图标和文字大小改小", 《HTTPS://JINGYAN.BAIDU.COM/ARTICLE/67508EB4E5ABE89CCA1CE4A1.HTML》 *
代贤俊: "面向写作辅助的中文智能输入法系统", 《中国优秀硕士学位论文全文数据库 信息科技辑》 *
桑松玲: "拼音输入法候选词窗口样式对输入绩效的影响", 《中国优秀硕士学位论文全文数据库 信息科技辑》 *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109271038A (en) * 2018-07-17 2019-01-25 努比亚技术有限公司 Candidate words recommending method, terminal and computer readable storage medium
CN109271038B (en) * 2018-07-17 2023-06-27 努比亚技术有限公司 Candidate word recommendation method, terminal and computer readable storage medium
CN111078022A (en) * 2018-10-18 2020-04-28 北京搜狗科技发展有限公司 Input method and device
CN111078022B (en) * 2018-10-18 2024-04-23 北京搜狗科技发展有限公司 Input method and device
CN110442248A (en) * 2019-06-20 2019-11-12 上海萌家网络科技有限公司 A kind of input method and input system

Also Published As

Publication number Publication date
CN107943317B (en) 2021-08-06

Similar Documents

Publication Publication Date Title
US10721196B2 (en) Method and device for message reading
US20160277346A1 (en) Method, apparatus, terminal and storage medium for displaying application messages
US9922227B2 (en) Apparatus and method for implementing touch control and fingerprint identification
EP3046042B1 (en) Apparatus for implementing home button and fingerprint identification on single sensor
EP3171279A1 (en) Method and device for input processing
CN104391711B (en) A kind of method and device that screen protection is set
US10402619B2 (en) Method and apparatus for detecting pressure
US10268371B2 (en) Method, device and storage medium for inputting characters
US20170300190A1 (en) Method and device for processing operation
CN104793843B (en) desktop display method and device
US11335348B2 (en) Input method, device, apparatus, and storage medium
CN107229403B (en) Information content selection method and device
CN104461014A (en) Screen unlocking method and device
CN105447109A (en) Key word searching method and apparatus
CN106648141A (en) Candidate word display method and device
CN104391667A (en) Item content display method and item content display device
WO2019223484A1 (en) Information display method and apparatus, and mobile terminal and storage medium
CN107943317A (en) Input method and device
CN103995844B (en) Information search method and device
CN105487799A (en) Content conversion method and device
US20160349947A1 (en) Method and device for sending message
CN106936986A (en) Application processing method and device
CN104991779A (en) Presentation method and device
CN108062168B (en) Candidate word screen-on method and device and candidate word screen-on device
CN104933107A (en) Searching method of push message and searching device of push message

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