CN107179837A - Input method and device - Google Patents

Input method and device Download PDF

Info

Publication number
CN107179837A
CN107179837A CN201710329382.6A CN201710329382A CN107179837A CN 107179837 A CN107179837 A CN 107179837A CN 201710329382 A CN201710329382 A CN 201710329382A CN 107179837 A CN107179837 A CN 107179837A
Authority
CN
China
Prior art keywords
content
language
input
translation
case
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
CN201710329382.6A
Other languages
Chinese (zh)
Other versions
CN107179837B (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 CN201710329382.6A priority Critical patent/CN107179837B/en
Publication of CN107179837A publication Critical patent/CN107179837A/en
Application granted granted Critical
Publication of CN107179837B publication Critical patent/CN107179837B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING; 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/40Processing or translation of natural language
    • G06F40/58Use of machine translation, e.g. for multi-lingual retrieval, for server-side translation for client devices or for real-time translation

Abstract

The disclosure is directed to a kind of input method and device.This method includes:In the case where terminal device is in interpretive scheme, if detect user inputs first content using first language, it is determined that the translation content of the corresponding second language of the first content, the second content is obtained;Second content is shown in input options column;In the case where detecting user's selection second content, second content is inputted.The input method and device of the disclosure, contribute to user to obtain and input the translation content of the corresponding second language of first content, and software translation or translation on line, simple and convenient and saving time, it is possible to increase the usage experience of user are used without user.

Description

Input method and device
Technical field
This disclosure relates to input technology field, more particularly to a kind of input method and device.
Background technology
In correlation technique, user can input the content of various language in the electronic device, for example Chinese, English or Japanese Deng., it is necessary to be translated using translation software in the case of user is unfamiliar to a certain language.For example, wanting in user defeated Enter English and to English it is unfamiliar in the case of, it is necessary to first use translation software by the content translation of desired input to be English, so Pasted after inputting the English content that translation is obtained, or the English content duplication that translation is obtained again afterwards.Using above-mentioned defeated Enter method, process is cumbersome and time-consuming longer, and the usage experience of user is poor.
The content of the invention
To overcome problem present in correlation technique, the disclosure provides a kind of input method and device.
According to the first aspect of the embodiment of the present disclosure there is provided a kind of input method, including:
In the case where terminal device is in interpretive scheme, if detect user inputs first content using first language, The translation content of the corresponding second language of the first content is then determined, the second content is obtained;
Second content is shown in input options column;
In the case where detecting user's selection second content, second content is inputted.
In a kind of possible implementation, the translation content of the corresponding second language of the first content is determined, is obtained Second content, including:
The first content is locally translated as the second language in the terminal device, second content is obtained.
In a kind of possible implementation, the translation content of the corresponding second language of the first content is determined, is obtained Second content, including:
Solicited message is sent to server, wherein, the solicited message is used to ask the server by described first Appearance is translated as the second language;
Receive second content that the server is returned according to the solicited message.
In a kind of possible implementation, it is determined that the corresponding second language of the first content translation content it Before, methods described also includes:
The corresponding second language of interpretive scheme is set.
According to the second aspect of the embodiment of the present disclosure there is provided a kind of input unit, including:
Acquisition module, in the case of being in interpretive scheme in terminal device, if detecting user uses first language Input first content, it is determined that the translation content of the corresponding second language of the first content, obtain the second content;
Display module, for showing second content in input options column;
Input module, in the case where detecting user's selection second content, inputting second content.
In a kind of possible implementation, the acquisition module includes:
Submodule is translated, for the first content locally to be translated as into the second language in the terminal device, is obtained To second content.
In a kind of possible implementation, the acquisition module includes:
Sending submodule, for sending solicited message to server, wherein, the solicited message is used to ask the service The first content is translated as the second language by device;
Receiving submodule, for receiving second content that the server is returned according to the solicited message.
In a kind of possible implementation, described device also includes:
Setup module, for it is determined that before the translation content of the corresponding second language of the first content, setting translation The corresponding second language of pattern.
According to the third aspect of the embodiment of the present disclosure there is provided a kind of input unit, including:
Processor;
Memory for storing processor-executable instruction;
Wherein, the processor is configured as:
In the case where terminal device is in interpretive scheme, if detect user inputs first content using first language, The translation content of the corresponding second language of the first content is then determined, the second content is obtained;
Second content is shown in input options column;
In the case where detecting user's selection second content, second content is inputted.
According to the fourth aspect of the embodiment of the present disclosure there is provided a kind of non-volatile computer readable storage medium storing program for executing, deposit thereon Computer program instructions are contained, the computer program instructions realize the above method when being executed by processor.
The technical scheme provided by this disclosed embodiment can include the following benefits:The input method and dress of the disclosure Put, in the case where terminal device is in interpretive scheme, by determining the first content correspondence that user is inputted using first language Second language translation content, obtain the second content, show the second content in input options column, and detecting user's choosing In the case of selecting the second content, the second content is inputted, user is thereby assisted in and obtains and input corresponding second language of first content The translation content of speech, software translation or translation on line, simple and convenient and saving time are used without user, it is possible to increase The usage experience of user.
It should be appreciated that the general description of the above and detailed description hereinafter are only exemplary and explanatory, not The disclosure can be limited.
Brief description of the drawings
Accompanying drawing herein is merged in specification and constitutes 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 a kind of flow chart of input method according to an exemplary embodiment.
Fig. 2 is the schematic diagram that interface is set in a kind of input method according to an exemplary embodiment.
Fig. 3 is the schematic diagram of inputting interface in a kind of input method according to an exemplary embodiment.
Fig. 4 is another schematic diagram of inputting interface in a kind of input method according to an exemplary embodiment.
Fig. 5 is an a kind of exemplary flow chart of input method according to an exemplary embodiment.
Fig. 6 is a kind of flow chart of the another exemplary of input method according to an exemplary embodiment.
Fig. 7 is a kind of flow chart of the another exemplary of input method according to an exemplary embodiment.
Fig. 8 is a kind of block diagram of input unit according to an exemplary embodiment.
Fig. 9 is an a kind of exemplary block diagram of input unit according to an exemplary embodiment.
Figure 10 is a kind of block diagram of input unit 800 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 accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represent same or analogous 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.
Fig. 1 is a kind of flow chart of input method according to an exemplary embodiment.This method can apply to intelligence Energy mobile phone, tablet personal computer or computer etc. have the terminal device of input function, are not limited thereto.As shown in figure 1, the input Method, comprises the following steps.
In step S101, in the case where terminal device is in interpretive scheme, if detecting user uses first language Input first content, it is determined that the translation content of the corresponding second language of first content, obtain the second content.
Terminal device can refer in interpretive scheme is set to interpretive scheme by terminal device, can also refer to terminal device The application program of installation is set to interpretive scheme, does not limit herein.For example, by the input method application program of installing terminal equipment It is set to interpretive scheme.
It should be noted that those skilled in the art are it should be understood that there is various ways in which in correlation technique to realize Terminal device is set to interpretive scheme.Fig. 2 is to set interface in a kind of input method according to an exemplary embodiment Schematic diagram.For example, as shown in Fig. 2 the first interpretive scheme control can be added in terminal device, and in the first interpretive scheme In the case that control is opened, terminal device is set to interpretive scheme.For another example shortcut can be set in terminal device, from And allow users to that terminal device quickly is set into interpretive scheme according to input demand.
It should be noted that those skilled in the art are it should be understood that there is various ways in which in correlation technique to realize The application program of installing terminal equipment is set to interpretive scheme.For example, input method application journey can be started detecting user In the case of sequence, the second interpretive scheme control is shown, and in the case where the second interpretive scheme control is opened, by input method application Program is set to interpretive scheme.For another example can be inputted detecting user by input method application program using first language In the case of first content, the 3rd interpretive scheme control is shown, and in the case where the 3rd interpretive scheme control is opened, will input Method application program is set to interpretive scheme.
Wherein, first language can be any two kinds of different language with second language.For example, first language and the second language Speech can be respectively Chinese and English, or first language and second language can be respectively English and Japanese, not limit herein.
As an example of the present embodiment, in the case where terminal device is in interpretive scheme, adopted if detecting user First content is inputted with first language, it is determined that the translation content of the corresponding second language of first content, obtain in one second Hold.For example, the second content can be regard the translation content of the semantic matching degree highest second language with first content as.
As another example of the present embodiment, in the case where terminal device is in interpretive scheme, if detecting user First content is inputted using first language, it is determined that the translation content of the corresponding second language of first content, obtained in N number of second Hold, N is the integer more than 1.For example, can be by the translation with the second language of the semantic matching degree ranking top N of first content Content is used as the second content.Wherein, N can be the numerical value pre-set.
For example, first language is Chinese, second language is English, the corresponding English translation content of first content " highway " Can be 3 including " highway " " motorway " and " road ", can be by the semantic matching degree ranking with first content " highway " " highway " and " motorway " of first 2 is used as the second content.
In step s 102, the second content is shown in input options column.
Input options column can be the region for enumerating one or more input contents for treating selection.Fig. 3 is according to an example Property implement the schematic diagram of inputting interface in a kind of input method for exemplifying.Fig. 4 is one according to an exemplary embodiment Plant another schematic diagram of inputting interface in input method.As shown in Figure 3 and Figure 4, region 31 can be corresponding for input options column Viewing area, region 32 can be the corresponding input area of input content.User can select in region 31 and click on input Content, selected input content is inputted and is shown in region 32.
In step s 103, in the case where detecting user's the second content of selection, the second content is inputted.
It should be noted that those skilled in the art are it should be understood that there is various ways to realize in correlation technique An input content is selected from multiple input contents for treating selection, is not limited herein.
As an example of the present embodiment, in the case where terminal device is in interpretive scheme, adopted if detecting user First content " hello " is inputted with Chinese (for example with spelling input method), it is determined that first content " hello " is corresponding English Content is translated, the second content " hello " is obtained.As shown in figure 3, first content " hello " and the second content " hello " are shown In input options column.In the case where detecting user using keyboard click 2 or using mouse click " hello ", by second Content " hello " is inputted and is shown in region 32.
As another example of the present embodiment, in the case where terminal device is in interpretive scheme, if detecting user First content " highway " is inputted using Chinese (for example with spelling input method), it is determined that the corresponding English of first content " highway " Translation content, obtain the second content " highway " and " motorway ".As shown in figure 4, by first content " highway " and second Content " highway " and " motorway " are shown in input options column.User is being detected using keyboard click 3 or mouse is used In the case that punctuate hits " motorway ", the second content " motorway " is inputted and is shown in region 32.
It should be noted that the present embodiment does not limit the display mode of first content and the second content, for example can be simultaneously First content and the second content are shown, first content can not also be shown and the second content is only shown.The present embodiment is not also limited The display order of first content and the second content, for example, can show according to the order of first content, the second content, can also be by Shown according to the second content, the order of first content.
The input method of the present embodiment, contributes to user to obtain and input in the translation of the corresponding second language of first content Hold, software translation or translation on line, simple and convenient and saving time, it is possible to increase the use of user are used without user Experience.
Fig. 5 is an a kind of exemplary flow chart of input method according to an exemplary embodiment.Such as Fig. 5 institutes Show that the input method comprises the following steps.
In step S500, the corresponding second language of interpretive scheme is set.
Wherein, second language can be the language pre-set, can also be determined according to the input demand of user, herein not Limit.
For example, terminal device can be prompted the user whether in the case where detecting user using input method application program Terminal device is set to interpretive scheme, and shows multiple selectable second languages.When user determines to set on terminal device For interpretive scheme and in the case of have selected second language, user is translated as the second language using first language input first content Speech, obtains the second content.
For another example terminal device can be pointed out in the case where detecting user using first language input first content Whether user translates to first content, and shows multiple selectable second languages.When user determines to enter first content Row translation, and when selecting a certain second language, the first content that user inputs is translated as second language, obtained in second Hold.
For another example determining second language according to the input demand of user, it can include:Obtain the document that user currently inputs Content, in the case where including the 3rd content using the 3rd language in-put in detecting the document content, the 3rd language is set It is set to the corresponding second language of interpretive scheme.For example, obtaining the document content that user currently inputs, the document content is being detected In include using English input the 3rd content " English " in the case of, the corresponding second language of interpretive scheme is set to English.
It should be noted that the present embodiment does not limit the corresponding second language of setting interpretive scheme with terminal device is set For the order between interpretive scheme.For example, the corresponding second language of interpretive scheme can first be set, then terminal device is set to Interpretive scheme.Terminal device first can also be set to interpretive scheme, then the corresponding second language of interpretive scheme is set.
In step S501, in the case where terminal device is in interpretive scheme, if detecting user uses first language Input first content, it is determined that the translation content of the corresponding second language of first content, obtain the second content.
Description to the step may refer to step S101.
In step S502, the second content is shown in input options column.
Description to the step may refer to step S102.
In step S503, in the case where detecting user's the second content of selection, the second content is inputted.
Description to the step may refer to step S103.
Fig. 6 is a kind of flow chart of the another exemplary of input method according to an exemplary embodiment.Such as Fig. 6 institutes Show that the input method comprises the following steps.
In step s 601, in the case where terminal device is in interpretive scheme, if detecting user uses first language First content is inputted, then first content is locally translated as second language in the terminal device, obtains the second content.
As an example of the present embodiment, the function of language translation can be added in the operating system of terminal device. For example, interpretive program can be installed in terminal device.
For example, in the case where terminal device is in interpretive scheme, can detect whether user uses first language in real time First content is inputted, if detecting user using input in Chinese first content " hello ", terminal device calls local translation journey First content " hello " is translated as English by sequence, obtains the second content " hello ".
In step S602, the second content is shown in input options column.
Description to the step may refer to step S102.
In step S603, in the case where detecting user's the second content of selection, the second content is inputted.
Description to the step may refer to step S103.
In this example, being applicable for input method will not be influenceed by terminal device network state, simple and convenient And the time is saved, improve the usage experience of user.
Fig. 7 is a kind of flow chart of the another exemplary of input method according to an exemplary embodiment.Such as Fig. 7 institutes Show that the input method comprises the following steps.
In step S700, in the case where terminal device is in interpretive scheme, if detecting user uses first language First content is inputted, then sends solicited message to server, wherein, the solicited message is used to ask the server by first content It is translated as second language.
In step s 701, the second content that the server is returned according to the solicited message is received.
For example, in the case where terminal device is in interpretive scheme, can detect whether user uses first language in real time First content is inputted, if detecting user using input in Chinese first content " this road is very wide ", terminal device is sent out to server Send the solicited message that first content " this road is very wide " is translated as to English.Server, will after the solicited message is received First content " this road is very wide " is translated as English, obtains and " the road is wide " return to terminal and set by the second content It is standby.
In step S702, the second content is shown in input options column.
Description to the step may refer to step S102.
In step S703, in the case where detecting user's the second content of selection, the second content is inputted.
Description to the step may refer to step S103.
In this example, being applicable for input method can make full use of Internet resources to determine corresponding second language of first content The translation content of speech, when first content is sentence or paragraph, can have preferably translation effect, expand the scope of application, behaviour Make the simple and convenient and saving time, improve the usage experience of user.
Fig. 8 is a kind of block diagram of input unit according to an exemplary embodiment.Reference picture 8, the device includes obtaining Modulus block 11, display module 13 and input module 15.
The acquisition module 11 is configured as in the case where terminal device is in interpretive scheme, if detecting user uses the One language in-put first content, it is determined that the translation content of the corresponding second language of the first content, obtains the second content;Should Display module 13 is configured as showing second content in input options column;The input module 15 is configured as detecting In the case that user selects second content, second content is inputted.
Fig. 9 is an a kind of exemplary block diagram of input unit according to an exemplary embodiment.Reference picture 9:
In a kind of possible implementation, the acquisition module 11 includes translation submodule 111.The translation submodule 111 are configured as that the first content locally is translated as into the second language in the terminal device, obtain in described second Hold.
In a kind of possible implementation, the acquisition module 11 includes sending submodule 113 and receiving submodule 115。
The sending submodule 113 is configured as sending solicited message to server, wherein, the solicited message is used to ask The first content is translated as the second language by the server;The receiving submodule 115 is configured as receiving the clothes Second content that business device is returned according to the solicited message.
In a kind of possible implementation, described device also includes setup module 10.The setup module is configured as Before the translation content for determining the corresponding second language of the first content, the corresponding second language of interpretive scheme is set.
On the device in above-described embodiment, wherein modules perform the concrete mode of operation in relevant this method Embodiment in be described in detail, explanation will be not set forth in detail herein.
The input unit of the present embodiment, contributes to user to obtain and input in the translation of the corresponding second language of first content Hold, software translation or translation on line, simple and convenient and saving time, it is possible to increase the use of user are used without user Experience.
Figure 10 is a kind of block diagram of input unit 800 according to an exemplary embodiment.For example, device 800 can be with It is mobile phone, computer, digital broadcast terminal, messaging devices, game console, tablet device, Medical Devices, body-building Equipment, personal digital assistant etc..
Reference picture 10, device 800 can include following one or more assemblies:Processing assembly 802, memory 804, power supply Component 806, multimedia groupware 808, audio-frequency assembly 810, the interface 812 of input/output (I/O), sensor cluster 814, and Communication component 816.
The integrated operation of the usual control device 800 of processing assembly 802, such as with display, call, data communication, phase Machine operates the operation associated with record operation.Processing assembly 802 can refer to including one or more processors 820 to perform Order, to complete all or part of step of above-mentioned method.In addition, processing assembly 802 can include one or more modules, just Interaction between processing assembly 802 and other assemblies.For example, processing assembly 802 can include multi-media module, it is many to facilitate Interaction between media component 808 and processing assembly 802.
Memory 804 is configured as storing various types of data supporting the operation in device 800.These data are shown Example includes the instruction of any application program or method for being operated on device 800, 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, such as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM) is 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 800.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 800.
Multimedia groupware 808 is included in the screen of one output interface of offer between described device 800 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 the input signal from user.Touch panel includes one or more touch sensings Device is with the gesture on sensing touch, slip and touch panel.The touch sensor can not only sensing touch or sliding action Border, but also detection touches or slide related duration and pressure with described.In certain embodiments, many matchmakers Body component 808 includes a front camera and/or rear camera.When device 800 be in operator scheme, such as screening-mode or During video mode, front camera and/or rear camera can receive the multi-medium data of outside.Each front camera and Rear camera can be a fixed optical lens system or with focusing and optical zoom capabilities.
Audio-frequency assembly 810 is configured as output and/or input audio signal.For example, audio-frequency assembly 810 includes a Mike Wind (MIC), when device 800 be in operator scheme, when such as call model, logging mode and speech recognition mode, microphone by with It is set to reception external audio signal.The audio signal received can be further stored in memory 804 or via communication set Part 816 is sent.In certain embodiments, audio-frequency assembly 810 also includes a loudspeaker, for exports audio signal.
I/O interfaces 812 is provide interface between processing assembly 802 and peripheral interface module, 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 cluster 814 includes one or more sensors, and the state for providing various aspects for device 800 is commented Estimate.For example, sensor cluster 814 can detect opening/closed mode of device 800, the relative positioning of component is for example described Component is the display and keypad of device 800, and sensor cluster 814 can be with 800 1 components of detection means 800 or device Position change, the existence or non-existence that user contacts with device 800, the orientation of device 800 or acceleration/deceleration and device 800 Temperature change.Sensor cluster 814 can include proximity transducer, be configured to detect in not any physical contact The presence of neighbouring object.Sensor cluster 814 can also include optical sensor, such as CMOS or ccd image sensor, for into As being used in application.In certain embodiments, the sensor cluster 814 can also include acceleration transducer, gyro sensors Device, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 816 is configured to facilitate the communication of wired or wireless way between device 800 and other equipment.Device 800 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 also includes near-field communication (NFC) module, to promote junction service.Example Such as, NFC module can be based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band (UWB) technology, Bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, device 800 can be believed by one or more application specific integrated circuits (ASIC), numeral Number processor (DSP), digital signal processing appts (DSPD), PLD (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components 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-mentioned instruction can be performed to complete the above method by the processor 820 of device 800.For example, The non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk With optical data storage devices etc..
Those skilled in the art will readily occur to its of the disclosure after considering specification and putting into practice invention disclosed herein Its embodiment.The application is intended to any modification, purposes or the adaptations of the disclosure, these modifications, purposes or Person's adaptations follow 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 of the disclosure and spirit are by following Claim is pointed out.
It should be appreciated that the precision architecture that the disclosure is not limited to be described above and is shown in the drawings, and And various modifications and changes can be being carried out without departing from the scope.The scope of the present disclosure is only limited by appended claim.

Claims (10)

1. a kind of input method, it is characterised in that including:
In the case where terminal device is in interpretive scheme, if detect user inputs first content using first language, really Determine the translation content of the corresponding second language of the first content, obtain the second content;
Second content is shown in input options column;
In the case where detecting user's selection second content, second content is inputted.
2. input method according to claim 1, it is characterised in that determine the corresponding second language of the first content Content is translated, the second content is obtained, including:
The first content is locally translated as the second language in the terminal device, second content is obtained.
3. input method according to claim 1, it is characterised in that determine the corresponding second language of the first content Content is translated, the second content is obtained, including:
Solicited message is sent to server, wherein, the solicited message is used to ask the server to turn over the first content It is translated into the second language;
Receive second content that the server is returned according to the solicited message.
4. input method according to any one of claim 1 to 3, it is characterised in that it is determined that the first content pair Before the translation content for the second language answered, methods described also includes:
The corresponding second language of interpretive scheme is set.
5. a kind of input unit, it is characterised in that including:
Acquisition module, in the case of being in interpretive scheme in terminal device, is inputted if detecting user using first language First content, it is determined that the translation content of the corresponding second language of the first content, obtains the second content;
Display module, for showing second content in input options column;
Input module, in the case where detecting user's selection second content, inputting second content.
6. input unit according to claim 5, it is characterised in that the acquisition module includes:
Submodule is translated, for the first content locally to be translated as into the second language in the terminal device, institute is obtained State the second content.
7. input unit according to claim 5, it is characterised in that the acquisition module includes:
Sending submodule, for sending solicited message to server, wherein, the solicited message is used to ask the server will The first content is translated as the second language;
Receiving submodule, for receiving second content that the server is returned according to the solicited message.
8. the input unit according to any one of claim 5 to 7, it is characterised in that described device also includes:
Setup module, for it is determined that before the translation content of the corresponding second language of the first content, setting interpretive scheme The corresponding second language.
9. a kind of input unit, it is characterised in that including:
Processor;
Memory for storing processor-executable instruction;
Wherein, the processor is configured as:
In the case where terminal device is in interpretive scheme, if detect user inputs first content using first language, really Determine the translation content of the corresponding second language of the first content, obtain the second content;
Second content is shown in input options column;
In the case where detecting user's selection second content, second content is inputted.
10. a kind of non-volatile computer readable storage medium storing program for executing, is stored thereon with computer program instructions, it is characterised in that institute State and method in Claims 1-4 described in any one is realized when computer program instructions are executed by processor.
CN201710329382.6A 2017-05-11 2017-05-11 Input method and device Active CN107179837B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710329382.6A CN107179837B (en) 2017-05-11 2017-05-11 Input method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710329382.6A CN107179837B (en) 2017-05-11 2017-05-11 Input method and device

Publications (2)

Publication Number Publication Date
CN107179837A true CN107179837A (en) 2017-09-19
CN107179837B CN107179837B (en) 2020-11-06

Family

ID=59832554

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710329382.6A Active CN107179837B (en) 2017-05-11 2017-05-11 Input method and device

Country Status (1)

Country Link
CN (1) CN107179837B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107861637A (en) * 2017-10-31 2018-03-30 北京小米移动软件有限公司 Character input method, device and computer-readable recording medium
CN109032377A (en) * 2018-07-12 2018-12-18 广州三星通信技术研究有限公司 The method and apparatus of output input method candidate word for electric terminal
CN109360549A (en) * 2018-11-12 2019-02-19 北京搜狗科技发展有限公司 A kind of data processing method, device and the device for data processing

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101299210A (en) * 2008-06-30 2008-11-05 宇龙计算机通信科技(深圳)有限公司 Input method system and terminal equipment using the same
CN101430681A (en) * 2008-12-12 2009-05-13 刘一博 Input method embedded with translation function
CN102007493A (en) * 2008-02-19 2011-04-06 谷歌公司 Universal language input
US20130124498A1 (en) * 2008-05-16 2013-05-16 Enpulz, L.L.C. Browser based language recognition supporting central web search translation
US20130262077A1 (en) * 2012-03-29 2013-10-03 Fujitsu Limited Machine translation device, machine translation method, and recording medium storing machine translation program
CN104424180A (en) * 2013-09-09 2015-03-18 佳能株式会社 Text input method and equipment
CN105512112A (en) * 2015-12-01 2016-04-20 百度在线网络技术(北京)有限公司 Translation providing method and device
CN105718448A (en) * 2016-01-13 2016-06-29 北京新美互通科技有限公司 Method and apparatus for automatically translating input character

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102007493A (en) * 2008-02-19 2011-04-06 谷歌公司 Universal language input
US20130124498A1 (en) * 2008-05-16 2013-05-16 Enpulz, L.L.C. Browser based language recognition supporting central web search translation
CN101299210A (en) * 2008-06-30 2008-11-05 宇龙计算机通信科技(深圳)有限公司 Input method system and terminal equipment using the same
CN101430681A (en) * 2008-12-12 2009-05-13 刘一博 Input method embedded with translation function
US20130262077A1 (en) * 2012-03-29 2013-10-03 Fujitsu Limited Machine translation device, machine translation method, and recording medium storing machine translation program
CN104424180A (en) * 2013-09-09 2015-03-18 佳能株式会社 Text input method and equipment
CN105512112A (en) * 2015-12-01 2016-04-20 百度在线网络技术(北京)有限公司 Translation providing method and device
CN105718448A (en) * 2016-01-13 2016-06-29 北京新美互通科技有限公司 Method and apparatus for automatically translating input character

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107861637A (en) * 2017-10-31 2018-03-30 北京小米移动软件有限公司 Character input method, device and computer-readable recording medium
CN109032377A (en) * 2018-07-12 2018-12-18 广州三星通信技术研究有限公司 The method and apparatus of output input method candidate word for electric terminal
CN109360549A (en) * 2018-11-12 2019-02-19 北京搜狗科技发展有限公司 A kind of data processing method, device and the device for data processing

Also Published As

Publication number Publication date
CN107179837B (en) 2020-11-06

Similar Documents

Publication Publication Date Title
CN104780155B (en) Apparatus bound method and device
CN106489129A (en) The method and device that a kind of content is shared
CN104731688B (en) Point out the method and device of reading progress
CN104679599A (en) Application program duplicating method and device
CN107102772A (en) Touch control method and device
CN106569800A (en) Front end interface generation method and apparatus
CN106791092A (en) The searching method and device of contact person
CN107241495A (en) The split screen treating method and apparatus of terminal device
CN107066172A (en) The document transmission method and device of mobile terminal
CN105487805A (en) Object operating method and device
CN106503131A (en) Obtain the method and device of interest information
CN107179837A (en) Input method and device
CN106775202A (en) A kind of method and device of information transfer
CN107102746A (en) Candidate word generation method, device and the device generated for candidate word
CN107229411A (en) Control the method and device of split screen state
CN107885418A (en) Terminal, multi-screen display method and device
CN104461348A (en) Method and device for selecting information
CN107219992A (en) Open the method and device of split screen function
CN104267881A (en) Toolbar operating method and device
CN107730847A (en) Sharing articles finding method and device
CN106951299A (en) The operating method and device of application program
CN107729530A (en) Map Switch method and device
CN106888309A (en) The fingerprint recognition reminding method and device of video terminal
CN104317851A (en) Word prompt method and device
CN106774977A (en) Punctuation mark automatic matching method, device and terminal device

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