WO2019062175A1 - 信息输入方法及装置 - Google Patents

信息输入方法及装置 Download PDF

Info

Publication number
WO2019062175A1
WO2019062175A1 PCT/CN2018/088752 CN2018088752W WO2019062175A1 WO 2019062175 A1 WO2019062175 A1 WO 2019062175A1 CN 2018088752 W CN2018088752 W CN 2018088752W WO 2019062175 A1 WO2019062175 A1 WO 2019062175A1
Authority
WO
WIPO (PCT)
Prior art keywords
text information
user
target language
input box
translation
Prior art date
Application number
PCT/CN2018/088752
Other languages
English (en)
French (fr)
Inventor
王培娜
Original Assignee
北京金山安全软件有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 北京金山安全软件有限公司 filed Critical 北京金山安全软件有限公司
Publication of WO2019062175A1 publication Critical patent/WO2019062175A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/02Input arrangements using manually operated switches, e.g. using keyboards or dials
    • G06F3/023Arrangements for converting discrete items of information into a coded form, e.g. arrangements for interpreting keyboard generated codes as alphanumeric codes, operand codes or instruction codes
    • G06F3/0233Character input methods
    • G06F3/0236Character input methods using selection techniques to select from displayed items
    • 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04886Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures by partitioning the display area of the touch-screen or the surface of the digitising tablet into independently controllable areas, e.g. virtual keyboards or menus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/40Processing or translation of natural language
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR 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

Definitions

  • the present invention relates to the field of input methods, and in particular, to an information input method and apparatus.
  • the Sogou input method, the Baidu input method, and the like can only display text according to the text input by the user. For example, if the user inputs Chinese, the Chinese is displayed; when the user inputs the English, the English is displayed.
  • users need cross-language communication, and the user's English level is not high, it will lead to communication barriers between the user and the other user, reduce the communication efficiency of the user, and affect the user's experience of using input methods or social software.
  • the present invention aims to solve at least one of the technical problems in the related art to some extent.
  • the first object of the present invention is to provide an information input method for solving the problem of poor communication efficiency and poor experience when using social software cross-language communication in the prior art.
  • a second object of the present invention is to provide an information input device.
  • a third object of the present invention is to provide another information input device.
  • a fourth object of the present invention is to provide a non-transitory computer readable storage medium.
  • a fifth object of the present invention is to provide a computer program product.
  • the first aspect of the present invention provides an information input method, including:
  • the content display manner includes: displaying the text information and the target language text information in the input box, in the Displaying the text information in the input box, floatingly displaying the target language text information outside the input box, displaying the target language text information in the input box, and floatingly displaying the text information outside the input box .
  • the method further includes:
  • the text information is translated according to a translation target language preset by the user, and the target language text information is obtained, including:
  • the text information is translated according to a translation target language preset by the user to obtain target language text information.
  • the method further includes:
  • Translating the text information according to a translation target language preset by a user to obtain target language text information including:
  • the text information Upon receiving the translation request of the user, the text information is translated according to a translation target language set by the user in advance to obtain target language text information.
  • the method further includes:
  • the translation language setting request includes: a source language and a translation target language
  • the content display mode setting is performed according to the content display mode setting request.
  • the method further includes:
  • the method further includes:
  • the method before receiving the content sending request of the user, the method further includes:
  • the content display mode is adjusted according to the language used by the other party's user.
  • the adjusting the content display manner according to a language used by the other user includes:
  • the content display manner is adjusted to: display the text information in the input box and float display the target language text information outside the input box;
  • the content display manner is adjusted to: display the text information and the target language text information in the input box; or display in the input box.
  • the target language text information and the text information are suspended and displayed outside the input box.
  • the information input method of the embodiment of the present invention obtains the text information input by the user in the input box of the input method; the text information is translated according to the translation target language set by the user in advance, and the target language text information is obtained;
  • the content display mode displays the text information and the target language text information; the content display manner includes: displaying the text information and the target language text information in the input box, displaying the text information in the input box, and floatingly displaying the target language text information outside the input box,
  • the input box displays the target language text information and displays the text information floating outside the input box, so that when the user needs to communicate cross-language and the user's English level is not high, the user automatically inputs according to the user in the process of cross-language communication.
  • the text provides the corresponding translation and displays the translation, thus solving the communication barrier between the user and the other user, improving the communication efficiency of the user, and improving the user's experience of using input methods or social software.
  • an information input apparatus including:
  • An obtaining module configured to obtain text information input by a user in an input box of the input method
  • a translation module configured to translate the text information according to a translation target language preset by a user, to obtain target language text information
  • a display module configured to display the text information and the target language text information according to a content display manner preset by a user; the content display manner includes: displaying the text information and the target language text in the input box Information, displaying the text information in the input box, and floatingly displaying the target language text information outside the input box, displaying the target language text information in the input box, and floating outside the input box The text information is displayed.
  • the obtaining module is further configured to acquire a type of current software that uses the input method
  • the translation module is specifically configured to: when the type of the current software is social software, translate the text information according to a translation target language preset by a user to obtain target language text information.
  • the device further includes:
  • a determining module configured to determine whether the translation request of the user is received
  • the translation module is specifically configured to: when receiving the translation request of the user, translate the text information according to a translation target language preset by the user to obtain target language text information.
  • the device further includes:
  • a receiving module configured to receive a translation language setting request of the user, where the translation language setting request includes: a source language and a translation target language;
  • a setting module configured to perform a translation language setting according to the translation language setting request
  • the receiving module is further configured to receive a content display mode setting request of the user
  • the setting module is further configured to perform content display mode setting according to the content display mode setting request.
  • the device further includes: a switching module and a saving module;
  • the obtaining module is further configured to acquire a content display mode switching request when the user clicks on the content suspended outside the input box;
  • the switching module is configured to switch, according to the content display mode switching request, content currently suspended outside the input box and content displayed in the input box;
  • the saving module is configured to save the content display mode after the switching.
  • the device further includes: a receiving module and a sending module;
  • the receiving module is configured to receive a content sending request of the user
  • the sending module is configured to send the content in the input box to a counterpart user interacting with the user according to the content sending request, and display the input box in an interaction interface of the social software. content.
  • the device further includes: a determining module and an adjusting module;
  • the obtaining module is further configured to acquire content of a counterpart user on the interaction interface
  • the determining module is configured to determine, according to the content, a language used by the other party user;
  • the adjustment module is configured to adjust the content display manner according to a language used by the other party user.
  • the adjustment module is specifically configured to:
  • the content display manner is adjusted to: display the text information in the input box and float display the target language text information outside the input box;
  • the content display manner is adjusted to: display the text information and the target language text information in the input box; or display in the input box.
  • the target language text information and the text information are suspended and displayed outside the input box.
  • the information input device of the embodiment of the present invention obtains the text information input by the user in the input box of the input method; the text information is translated according to the translation target language set by the user in advance, and the target language text information is obtained;
  • the content display mode displays the text information and the target language text information; the content display manner includes: displaying the text information and the target language text information in the input box, displaying the text information in the input box, and floatingly displaying the target language text information outside the input box,
  • the input box displays the target language text information and displays the text information floating outside the input box, so that when the user needs to communicate cross-language and the user's English level is not high, the user automatically inputs according to the user in the process of cross-language communication.
  • the text provides the corresponding translation and displays the translation, thus solving the communication barrier between the user and the other user, improving the communication efficiency of the user, and improving the user's experience of using input methods or social software.
  • a third aspect of the present invention provides another information input apparatus including a memory, a processor, and a computer program stored on the memory and operable on the processor, the processor executing the program
  • the information input method as described above is realized.
  • a fourth aspect of the present invention provides a non-transitory computer readable storage medium that implements the method as described above when instructions in the storage medium are executed by the processor.
  • a sixth aspect of the present invention provides a computer program product, which, when executed by an instruction processor in the computer program product, performs an information input method, the method comprising:
  • the content display manner includes: displaying the text information and the target language text information in the input box, in the Displaying the text information in the input box, floatingly displaying the target language text information outside the input box, displaying the target language text information in the input box, and floatingly displaying the text information outside the input box .
  • FIG. 1 is a schematic flowchart of an information input method according to an embodiment of the present invention.
  • FIG. 2 is a schematic diagram showing the display of text information and target language text information
  • FIG. 3 is a schematic flowchart of another information input method according to an embodiment of the present invention.
  • FIG. 4 is a schematic flowchart of another information input method according to an embodiment of the present invention.
  • FIG. 5 is a schematic structural diagram of an information input apparatus according to an embodiment of the present invention.
  • FIG. 6 is a schematic structural diagram of another information input apparatus according to an embodiment of the present invention.
  • FIG. 7 is a schematic structural diagram of another information input apparatus according to an embodiment of the present disclosure.
  • FIG. 8 is a schematic structural diagram of another information input apparatus according to an embodiment of the present disclosure.
  • FIG. 9 is a schematic structural diagram of another information input apparatus according to an embodiment of the present invention.
  • FIG. 10 is a schematic structural diagram of another information input apparatus according to an embodiment of the present invention.
  • FIG. 1 is a schematic flowchart diagram of an information input method according to an embodiment of the present invention. As shown in FIG. 1, the information input method includes the following steps:
  • the execution body of the information input method provided by the present invention is an information input device, and the information input device may specifically be an input method software or a terminal device equipped with input method software.
  • the input box of the input method is a text input position of the current software using the input method, for example, an input box in WeChat or QQ.
  • S102 Translate the text information according to the translation target language set by the user in advance, and obtain the target language text information.
  • the method may further include: acquiring a type of current software using the input method.
  • step 102 may specifically be: when the current software type is social software, the text information is translated according to the translation target language preset by the user, and the target language text information is obtained.
  • social software such as QQ, WeChat, Fetion, and the like.
  • the user may manually select whether to translate the text information according to the scenario. Therefore, before the step 102, the method may further include: determining whether the translation request of the user is received. Correspondingly, step 102 may specifically: when receiving the translation request of the user, the text information is translated according to the translation target language set by the user in advance, and the target language text information is obtained. In addition, if the user's translation request is not received, the text information is not translated. In this embodiment, a translation function button or option may be displayed on the interface of the input method for the user to click or select.
  • the information input device can translate the text information in combination with the existing translation technology, such as Baidu translation, Google translation, and the like.
  • the information input device may also be provided with a common language translation library in advance for translating common words and the like.
  • S103 Display text information and target language text information according to a content display manner preset by the user; the content display manner includes: displaying text information and target language text information in the input box, displaying the text information in the input box, and suspending outside the input box. Display target language text information, display target language text information in the input box, and display text information floating outside the input box.
  • FIG. 2 is a schematic diagram showing the display of text information and target language text information.
  • the language of the text information is English
  • the language of the target language text information is Chinese
  • the target language text information "I wish you are here” is displayed.
  • the text message "I wish you were here” is hovering below the input box. If the user inputs “I”, “I” is displayed in the input box, “I” is displayed floating outside the input box; if the user inputs “I wish”, “I want” is displayed in the input box, and “I want” is displayed in the input box. Wish".
  • the text information and the target language text information may be displayed in the input box for one line or one segment.
  • the first line or the first paragraph displays text information
  • the second or second paragraph displays the target language text information.
  • the method may further include: receiving a translation language setting request of the user, the translation language setting request includes: a source language and a translation target language; performing translation language setting according to the translation language setting request; and receiving the user's The content display mode setting request; the content display mode setting is performed according to the content display mode setting request.
  • the information input device may display a translation language setting interface to the user, and the translation language setting interface includes an active language selection area and a translation target language selection area, so that the user selects the source language or the translation target language.
  • the information input device may display a content display mode setting interface to the user, and the display content display mode setting interface includes a selectable content display mode for the user to select.
  • the text information of the translation target language may be translated into the text information of the source language according to the translation request of the user, and displayed to the user.
  • the information input method of the embodiment of the present invention obtains the text information input by the user in the input box of the input method; the text information is translated according to the translation target language set by the user in advance, and the target language text information is obtained;
  • the content display mode displays the text information and the target language text information; the content display manner includes: displaying the text information and the target language text information in the input box, displaying the text information in the input box, and floatingly displaying the target language text information outside the input box,
  • the input box displays the target language text information and displays the text information floating outside the input box, so that when the user needs to communicate cross-language and the user's English level is not high, the user automatically inputs according to the user in the process of cross-language communication.
  • the text provides the corresponding translation and displays the translation, thus solving the communication barrier between the user and the other user, improving the communication efficiency of the user, and improving the user's experience of using input methods or social software.
  • FIG. 3 is a schematic flowchart of another information input method according to an embodiment of the present invention. As shown in FIG. 3, on the basis of the embodiment shown in FIG. 1, after the step 103, the method may further include the following steps:
  • the Chinese language displayed in the input box is switched to English; and the English suspended in the input box is switched to Chinese.
  • the content display mode after the switching is saved, so that when the information input device subsequently uses the input method in the social software, the content input in the input box is displayed according to the content display mode after the switching.
  • the information input method of the embodiment of the present invention obtains the text information input by the user in the input box of the input method; the text information is translated according to the translation target language set by the user in advance, and the target language text information is obtained;
  • the content display mode displays the text information and the target language text information; the content display manner includes: displaying the text information and the target language text information in the input box, displaying the text information in the input box, and floatingly displaying the target language text information outside the input box,
  • the input box displays the target language text information and displays the text information floating outside the input box; when the user content display mode switching request is obtained, the content currently suspended outside the input box is switched with the content displayed in the input box.
  • FIG. 4 is a schematic flowchart of another information input method according to an embodiment of the present invention. As shown in FIG. 4, on the basis of the embodiment shown in FIG. 1, after the step 103, the method may further include:
  • the user can click the send function button on the interaction interface of the social software, so that the information input device recognizes the operation as a content transmission request.
  • the content in the input box may be sent to the other user interacting with the user through the social software, and the input box is displayed on the interactive interface of the social software.
  • content when the content in the input box is successfully transmitted, if the content of the input box is entered, the text information or the target language text information that is suspended outside the input box is also cleared.
  • the method may further include the steps of: acquiring the content of the counterpart user on the interaction interface; determining the language used by the counterpart user according to the content; and adjusting the content display manner according to the language used by the counterpart user.
  • the process of adjusting the content display manner according to the language used by the other user may be: when the language used by the other user is the source language, the content display mode is adjusted to: display the text information in the input box and be outside the input box.
  • the target language text information is displayed in a floating manner; when the language used by the other party is the translation target language, the content display mode is adjusted to: display the text information and the target language text information in the input box; or display the target language text in the input box.
  • Information and floating text information outside the input box may be performed if the content of the counterpart user is not displayed on the interactive interface, when the content of the counterpart user is displayed on the interactive interface, the operation of adjusting the content display mode according to the language used by the counterpart user may be performed.
  • the content display mode in FIG. 2 can be adjusted to display English in the input box, and Chinese is displayed floating outside the input box.
  • the manner of adjusting the content display mode may be set in advance by the user. For example, in the case where the user's English level is high, the user can select the adjustment mode as displaying the target language text information in the input box and floating the text information outside the input box. In the case where the user's English level is low, the user can select the adjustment method to display the text information and the target language text information in the input box.
  • the information input method of the embodiment of the present invention obtains the text information input by the user in the input box of the input method; the text information is translated according to the translation target language set by the user in advance, and the target language text information is obtained;
  • the content display mode displays the text information and the target language text information; the content display manner includes: displaying the text information and the target language text information in the input box, displaying the text information in the input box, and floatingly displaying the target language text information outside the input box,
  • the input box displays the target language text information and displays the text information floating outside the input box; adjusts the content display manner according to the language used by the other user on the interactive interface; receives the user's content sending request; according to the content sending request, the input box is
  • the content is sent to the other party user interacting with the user, and the content in the input box is displayed on the interactive interface of the social software, so that the user can communicate cross-language when the user needs cross-language communication and the level of the user's English is not high.
  • FIG. 5 is a schematic structural diagram of an information input apparatus according to an embodiment of the present invention. As shown in FIG. 5, the method includes: an obtaining module 51, a translation module 52, and a display module 53.
  • the obtaining module 51 is configured to obtain text information input by the user in an input box of the input method
  • the translation module 52 is configured to translate the text information according to a translation target language preset by the user to obtain target language text information;
  • the display module 53 is configured to display the text information and the target language text information according to a content display manner preset by a user; the content display manner includes: displaying the text information and the target language in the input box Text information, displaying the text information in the input box, and floatingly displaying the target language text information outside the input box, displaying the target language text information in the input box, and being outside the input box
  • the text information is displayed in a floating manner.
  • the information input device provided by the present invention may specifically be an input method software or a terminal device equipped with input method software.
  • the input box of the input method is a text input position of the current software using the input method, for example, an input box in WeChat or QQ.
  • the translation module 52 is configured to translate the text information according to the translation target language set by the user in advance, and obtain the target language text information
  • the obtaining module 51 is further configured to acquire the current software using the input method. type.
  • the translation module 52 is specifically configured to: when the current software type is social software, translate the text information according to a translation target language preset by the user, to obtain target language text information.
  • the device further includes: a determining module.
  • the translation module 52 translates the text information according to the translation target language set by the user in advance, and obtains the target language text information, and the determining module is configured to determine whether the translation request of the user is received.
  • the translation module 52 is specifically configured to: when receiving the translation request of the user, translate the text information according to a translation target language preset by the user, to obtain target language text information.
  • the information input device can translate the text information in combination with the existing translation technology, such as Baidu translation, Google translation, and the like.
  • the information input device may also be provided with a common language translation library in advance for translating common words and the like.
  • the device further includes:
  • the receiving module 54 is configured to receive a translation language setting request of the user, where the translation language setting request includes: a source language and a translation target language;
  • a setting module 55 configured to perform translation language setting according to the translation language setting request
  • the receiving module is further configured to receive a content display mode setting request of the user
  • the setting module is further configured to perform content display mode setting according to the content display mode setting request.
  • the information input device may display a translation language setting interface to the user, and the translation language setting interface includes an active language selection area and a translation target language selection area, so that the user selects the source language or the translation target language.
  • the information input device may display a content display mode setting interface to the user, and the display content display mode setting interface includes a selectable content display mode for the user to select.
  • the text information of the translation target language may be translated into the text information of the source language according to the translation request of the user, and displayed to the user.
  • the information input device of the embodiment of the present invention obtains the text information input by the user in the input box of the input method; the text information is translated according to the translation target language set by the user in advance, and the target language text information is obtained;
  • the content display mode displays the text information and the target language text information; the content display manner includes: displaying the text information and the target language text information in the input box, displaying the text information in the input box, and floatingly displaying the target language text information outside the input box,
  • the input box displays the target language text information and displays the text information floating outside the input box, so that when the user needs to communicate cross-language and the user's English level is not high, the user automatically inputs according to the user in the process of cross-language communication.
  • the text provides the corresponding translation and displays the translation, thus solving the communication barrier between the user and the other user, improving the communication efficiency of the user, and improving the user's experience of using input methods or social software.
  • the apparatus further includes: a switching module 56 and a saving module 57;
  • the obtaining module 51 is further configured to acquire a content display mode switching request when the user clicks on the content suspended outside the input box;
  • the switching module 56 is configured to switch, according to the content display mode switching request, content currently suspended outside the input box and content displayed in the input box;
  • the saving module 57 is configured to save the content display mode after the switching.
  • the Chinese language displayed in the input box is switched to English; and the English suspended in the input box is switched to Chinese.
  • the content display mode after the switching is saved, so that when the information input device subsequently uses the input method in the social software, the content input in the input box is displayed according to the content display mode after the switching.
  • the information input device of the embodiment of the present invention obtains the text information input by the user in the input box of the input method; the text information is translated according to the translation target language set by the user in advance, and the target language text information is obtained;
  • the content display mode displays the text information and the target language text information; the content display manner includes: displaying the text information and the target language text information in the input box, displaying the text information in the input box, and floatingly displaying the target language text information outside the input box,
  • the input box displays the target language text information and displays the text information floating outside the input box; when the user content display mode switching request is obtained, the content currently suspended outside the input box is switched with the content displayed in the input box.
  • the apparatus further includes: a receiving module 54 and a transmitting module 58;
  • the receiving module 54 is configured to receive a content sending request of the user
  • the sending module 58 is configured to send, according to the content sending request, content in the input box to a counterpart user interacting with the user, and display the input box on an interaction interface of the social software. Content.
  • the content in the input box may be sent to the other user interacting with the user through the social software, and the input box is displayed on the interactive interface of the social software.
  • content when the content in the input box is successfully transmitted, if the content of the input box is entered, the text information or the target language text information that is suspended outside the input box is also cleared.
  • the apparatus further includes: a determining module 59 and an adjusting module 60;
  • the obtaining module 51 is further configured to acquire content of the counterpart user on the interaction interface;
  • the determining module 59 is configured to determine, according to the content, a language used by the other party user;
  • the adjustment module 60 is configured to adjust the content display manner according to a language used by the other party user.
  • the adjustment module 60 is specifically configured to:
  • the content display manner is adjusted to: display the text information in the input box and float display the target language text information outside the input box;
  • the content display manner is adjusted to: display the text information and the target language text information in the input box; or display in the input box.
  • the target language text information and the text information are suspended and displayed outside the input box.
  • the content display mode in FIG. 2 can be adjusted to display English in the input box, and Chinese is displayed floating outside the input box.
  • the manner of adjusting the content display mode may be set in advance by the user. For example, in the case where the user's English level is high, the user can select the adjustment mode as displaying the target language text information in the input box and floating the text information outside the input box. In the case where the user's English level is low, the user can select the adjustment method to display the text information and the target language text information in the input box.
  • the information input device of the embodiment of the present invention obtains the text information input by the user in the input box of the input method; the text information is translated according to the translation target language set by the user in advance, and the target language text information is obtained;
  • the content display mode displays the text information and the target language text information; the content display manner includes: displaying the text information and the target language text information in the input box, displaying the text information in the input box, and floatingly displaying the target language text information outside the input box,
  • the input box displays the target language text information and displays the text information floating outside the input box; adjusts the content display manner according to the language used by the other user on the interactive interface; receives the user's content sending request; according to the content sending request, the input box is
  • the content is sent to the other party user interacting with the user, and the content in the input box is displayed on the interactive interface of the social software, so that the user can communicate cross-language when the user needs cross-language communication and the level of the user's English is not high.
  • FIG. 10 is a schematic structural diagram of another information input apparatus according to an embodiment of the present invention.
  • the information input device includes:
  • the processor 1002 implements the information input method provided in the above embodiment when the program is executed.
  • the information input device further includes:
  • the communication interface 1003 is used for communication between the memory 1001 and the processor 1002.
  • the memory 1001 is configured to store a computer program executable on the processor 1002.
  • the memory 1001 may include a high speed RAM memory and may also include a non-volatile memory such as at least one disk memory.
  • the processor 1002 is configured to implement the information input method described in the foregoing embodiment when the program is executed.
  • the bus may be an Industry Standard Architecture (ISA) bus, a Peripheral Component (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus. Wait.
  • ISA Industry Standard Architecture
  • PCI Peripheral Component
  • EISA Extended Industry Standard Architecture
  • the bus can be divided into an address bus, a data bus, a control bus, and the like. For ease of representation, only one thick line is shown in FIG. 10, but it does not mean that there is only one bus or one type of bus.
  • the memory 1001, the processor 1002, and the communication interface 1003 are integrated and implemented on one chip, the memory 1001, the processor 1002, and the communication interface 1003 can complete communication with each other through an internal interface.
  • the processor 1002 may be a central processing unit (CPU), or an application specific integrated circuit (ASIC), or one or more configured to implement the embodiments of the present invention. integrated circuit.
  • CPU central processing unit
  • ASIC application specific integrated circuit
  • the embodiment further provides a computer readable storage medium having stored thereon a computer program, characterized in that the program is implemented by the processor to implement the information input method as described above.
  • the embodiment further provides a computer program product that, when executed by an instruction processor in the computer program product, performs an information input method, the method comprising:
  • the content display manner includes: displaying the text information and the target language text information in the input box, in the Displaying the text information in the input box, floatingly displaying the target language text information outside the input box, displaying the target language text information in the input box, and floatingly displaying the text information outside the input box .
  • first and second are used for descriptive purposes only and are not to be construed as indicating or implying a relative importance or implicitly indicating the number of technical features indicated.
  • features defining “first” and “second” may include at least one of the features, either explicitly or implicitly.
  • the meaning of "a plurality” is at least two, such as two, three, etc., unless specifically defined otherwise.
  • a "computer-readable medium” can be any apparatus that can contain, store, communicate, propagate, or transport a program for use in an instruction execution system, apparatus, or device, or in conjunction with the instruction execution system, apparatus, or device.
  • computer readable media include the following: electrical connections (electronic devices) having one or more wires, portable computer disk cartridges (magnetic devices), random access memory (RAM), Read only memory (ROM), erasable editable read only memory (EPROM or flash memory), fiber optic devices, and portable compact disk read only memory (CDROM).
  • the computer readable medium may even be a paper or other suitable medium on which the program can be printed, as it may be optically scanned, for example by paper or other medium, followed by editing, interpretation or, if appropriate, other suitable The method is processed to obtain the program electronically and then stored in computer memory.
  • portions of the invention may be implemented in hardware, software, firmware or a combination thereof.
  • multiple steps or methods may be implemented in software or firmware stored in a memory and executed by a suitable instruction execution system.
  • a suitable instruction execution system For example, if implemented in hardware and in another embodiment, it can be implemented by any one or combination of the following techniques well known in the art: discrete with logic gates for implementing logic functions on data signals Logic circuits, application specific integrated circuits with suitable combinational logic gates, programmable gate arrays (PGAs), field programmable gate arrays (FPGAs), and the like.
  • each functional unit in each embodiment of the present invention may be integrated into one processing module, or each unit may exist physically separately, or two or more units may be integrated into one module.
  • the above integrated modules can be implemented in the form of hardware or in the form of software functional modules.
  • the integrated modules, if implemented in the form of software functional modules and sold or used as stand-alone products, may also be stored in a computer readable storage medium.
  • the above mentioned storage medium may be a read only memory, a magnetic disk or an optical disk or the like.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • User Interface Of Digital Computer (AREA)
  • Machine Translation (AREA)

Abstract

本发明提出一种信息输入方法及装置,其中方法包括:获取用户在输入法的输入框中输入的文字信息;根据用户预先设置的翻译目标语言,对文字信息进行翻译,得到目标语言文字信息;根据用户预先设置的内容显示方式显示文字信息和目标语言文字信息;内容显示方式包括:在输入框中显示文字信息和目标语言文字信息、在输入框中显示文字信息以及在输入框外悬浮显示目标语言文字信息、在输入框中显示目标语言文字信息以及在输入框外悬浮显示文字信息,从而能够在用户跨语言沟通的过程中,自动根据用户输入的文字提供相应的译文并显示译文,从而解决用户与对方用户之间的沟通障碍,提高用户的沟通效率,提高用户使用输入法或社交软件的体验。

Description

信息输入方法及装置
相关申请的交叉引用
本申请要求北京金山安全软件有限公司于2017年9月29日提交的、发明名称为“信息输入方法及装置”的、中国专利申请号“201710908664.1”的优先权。
技术领域
本发明涉及输入法技术领域,尤其涉及一种信息输入方法及装置。
背景技术
目前,在社交软件例如QQ、微信等软件上,用户经常使用输入法例如搜狗输入法、百度输入法等输入文字以实现与对方用户之间的交互或沟通。现有技术中,搜狗输入法、百度输入法等只能根据用户输入的文字显示文字,例如用户输入中文,则显示中文;用户输入英文,则显示英文。当用户需要跨语言沟通,且用户的英语等水平不高时,会导致用户与对方用户之间的沟通障碍,降低用户的沟通效率,影响用户使用输入法或社交软件的体验。
发明内容
本发明旨在至少在一定程度上解决相关技术中的技术问题之一。
为此,本发明的第一个目的在于提出一种信息输入方法,用于解决现有技术中使用社交软件跨语言沟通时沟通效率差、体验差的问题。
本发明的第二个目的在于提出一种信息输入装置。
本发明的第三个目的在于提出另一种信息输入装置。
本发明的第四个目的在于提出一种非临时性计算机可读存储介质。
本发明的第五个目的在于提出一种计算机程序产品。
为达上述目的,本发明第一方面实施例提出了一种信息输入方法,包括:
获取用户在输入法的输入框中输入的文字信息;
根据用户预先设置的翻译目标语言,对所述文字信息进行翻译,得到目标语言文字信息;
根据用户预先设置的内容显示方式显示所述文字信息和所述目标语言文字信息;所述内容显示方式包括:在所述输入框中显示所述文字信息和所述目标语言文字信息、在所述输入框中显示所述文字信息以及在所述输入框外悬浮显示所述目标语言文字信息、在所述输入框中显示所述目标语言文字信息以及在所述输入框外悬浮显示所述文字信息。
进一步的,所述根据用户预先设置的翻译目标语言,对所述文字信息进行翻译,得到目 标语言文字信息之前,还包括:
获取使用所述输入法的当前软件的类型;
对应的,所述根据用户预先设置的翻译目标语言,对所述文字信息进行翻译,得到目标语言文字信息,包括:
在所述当前软件的类型为社交软件时,根据用户预先设置的翻译目标语言,对所述文字信息进行翻译,得到目标语言文字信息。
进一步的,所述根据用户预先设置的翻译目标语言,对所述文字信息进行翻译,得到目标语言文字信息之前,还包括:
判断是否接收到所述用户的翻译请求;
所述根据用户预先设置的翻译目标语言,对所述文字信息进行翻译,得到目标语言文字信息,包括:
在接收到所述用户的翻译请求时,根据用户预先设置的翻译目标语言,对所述文字信息进行翻译,得到目标语言文字信息。
进一步的,所述的方法还包括:
接收所述用户的翻译语言设置请求,所述翻译语言设置请求中包括:源语言以及翻译目标语言;
根据所述翻译语言设置请求进行翻译语言设置;
接收所述用户的内容显示方式设置请求;
根据所述内容显示方式设置请求进行内容显示方式设置。
进一步的,所述根据用户预先设置的内容显示方式显示所述文字信息和所述目标语言文字信息之后,还包括:
获取所述用户点击所述输入框外悬浮的内容时的内容显示方式切换请求;
根据所述内容显示方式切换请求,将当前悬浮在所述输入框外的内容与显示在所述输入框中的内容进行切换;
保存切换后的内容显示方式。
进一步的,所述根据用户预先设置的内容显示方式显示所述文字信息和所述目标语言文字信息之后,还包括:
接收所述用户的内容发送请求;
根据所述内容发送请求,将所述输入框中的内容发送至与所述用户交互的对方用户,并在所述社交软件的交互界面上显示所述输入框中的内容。
进一步的,所述接收所述用户的内容发送请求之前,还包括:
获取所述交互界面上对方用户的内容;
根据所述内容确定所述对方用户所使用的语言;
根据对方用户所使用的语言调整所述内容显示方式。
进一步的,所述根据对方用户所使用的语言调整所述内容显示方式,包括:
在对方用户所使用的语言为源语言时,将所述内容显示方式调整为:在所述输入框中显示所述文字信息以及在所述输入框外悬浮显示所述目标语言文字信息;
在对方用户所使用的语言为翻译目标语言时,将所述内容显示方式调整为:在所述输入框中显示所述文字信息和所述目标语言文字信息;或者,在所述输入框中显示所述目标语言文字信息以及在所述输入框外悬浮显示所述文字信息。
本发明实施例的信息输入方法,通过获取用户在输入法的输入框中输入的文字信息;根据用户预先设置的翻译目标语言,对文字信息进行翻译,得到目标语言文字信息;根据用户预先设置的内容显示方式显示文字信息和目标语言文字信息;内容显示方式包括:在输入框中显示文字信息和目标语言文字信息、在输入框中显示文字信息以及在输入框外悬浮显示目标语言文字信息、在输入框中显示目标语言文字信息以及在输入框外悬浮显示文字信息,从而能够在用户需要跨语言沟通,且用户的英语等水平不高时,在用户跨语言沟通的过程中,自动根据用户输入的文字提供相应的译文并显示译文,从而解决用户与对方用户之间的沟通障碍,提高用户的沟通效率,提高用户使用输入法或社交软件的体验。
为达上述目的,本发明第二方面实施例提出了一种信息输入装置,包括:
获取模块,用于获取用户在输入法的输入框中输入的文字信息;
翻译模块,用于根据用户预先设置的翻译目标语言,对所述文字信息进行翻译,得到目标语言文字信息;
显示模块,用于根据用户预先设置的内容显示方式显示所述文字信息和所述目标语言文字信息;所述内容显示方式包括:在所述输入框中显示所述文字信息和所述目标语言文字信息、在所述输入框中显示所述文字信息以及在所述输入框外悬浮显示所述目标语言文字信息、在所述输入框中显示所述目标语言文字信息以及在所述输入框外悬浮显示所述文字信息。
进一步的,所述获取模块还用于,获取使用所述输入法的当前软件的类型;
所述翻译模块具体用于,在所述当前软件的类型为社交软件时,根据用户预先设置的翻译目标语言,对所述文字信息进行翻译,得到目标语言文字信息。
进一步的,所述的装置还包括:
判断模块,用于判断是否接收到所述用户的翻译请求;
所述翻译模块具体用于,在接收到所述用户的翻译请求时,根据用户预先设置的翻译目 标语言,对所述文字信息进行翻译,得到目标语言文字信息。
进一步的,所述的装置还包括:
接收模块,用于接收所述用户的翻译语言设置请求,所述翻译语言设置请求中包括:源语言以及翻译目标语言;
设置模块,用于根据所述翻译语言设置请求进行翻译语言设置;
所述接收模块,还用于接收所述用户的内容显示方式设置请求;
所述设置模块,还用于根据所述内容显示方式设置请求进行内容显示方式设置。
进一步的,所述的装置还包括:切换模块和保存模块;
所述获取模块,还用于获取所述用户点击所述输入框外悬浮的内容时的内容显示方式切换请求;
所述切换模块,用于根据所述内容显示方式切换请求,将当前悬浮在所述输入框外的内容与显示在所述输入框中的内容进行切换;
所述保存模块,用于保存切换后的内容显示方式。
进一步的,所述的装置还包括:接收模块和发送模块;
所述接收模块,用于接收所述用户的内容发送请求;
所述发送模块,用于根据所述内容发送请求,将所述输入框中的内容发送至与所述用户交互的对方用户,并在所述社交软件的交互界面上显示所述输入框中的内容。
进一步的,所述的装置还包括:确定模块和调整模块;
所述获取模块,还用于获取所述交互界面上对方用户的内容;
所述确定模块,用于根据所述内容确定所述对方用户所使用的语言;
所述调整模块,用于根据对方用户所使用的语言调整所述内容显示方式。
进一步的,所述调整模块具体用于,
在对方用户所使用的语言为源语言时,将所述内容显示方式调整为:在所述输入框中显示所述文字信息以及在所述输入框外悬浮显示所述目标语言文字信息;
在对方用户所使用的语言为翻译目标语言时,将所述内容显示方式调整为:在所述输入框中显示所述文字信息和所述目标语言文字信息;或者,在所述输入框中显示所述目标语言文字信息以及在所述输入框外悬浮显示所述文字信息。
本发明实施例的信息输入装置,通过获取用户在输入法的输入框中输入的文字信息;根据用户预先设置的翻译目标语言,对文字信息进行翻译,得到目标语言文字信息;根据用户预先设置的内容显示方式显示文字信息和目标语言文字信息;内容显示方式包括:在输入框中显示文字信息和目标语言文字信息、在输入框中显示文字信息以及在输入框外悬浮显示目标语言文字信息、在输入框中显示目标语言文字信息以及在输入框外悬浮显示文字信息,从 而能够在用户需要跨语言沟通,且用户的英语等水平不高时,在用户跨语言沟通的过程中,自动根据用户输入的文字提供相应的译文并显示译文,从而解决用户与对方用户之间的沟通障碍,提高用户的沟通效率,提高用户使用输入法或社交软件的体验。
为达上述目的,本发明第三方面实施例提出了另一种信息输入装置,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述程序时实现如上所述的信息输入方法。
为了实现上述目的,本发明第四方面实施例提出了一种非临时性计算机可读存储介质,当所述存储介质中的指令被处理器执行时,实现如上所述的方法。
为达上述目的,本发明第六方面实施例提出了一种计算机程序产品,当所述计算机程序产品中的指令处理器执行时,执行一种信息输入方法,所述方法包括:
获取用户在输入法的输入框中输入的文字信息;
根据用户预先设置的翻译目标语言,对所述文字信息进行翻译,得到目标语言文字信息;
根据用户预先设置的内容显示方式显示所述文字信息和所述目标语言文字信息;所述内容显示方式包括:在所述输入框中显示所述文字信息和所述目标语言文字信息、在所述输入框中显示所述文字信息以及在所述输入框外悬浮显示所述目标语言文字信息、在所述输入框中显示所述目标语言文字信息以及在所述输入框外悬浮显示所述文字信息。
本发明附加的方面和优点将在下面的描述中部分给出,部分将从下面的描述中变得明显,或通过本发明的实践了解到。
附图说明
本发明上述的和/或附加的方面和优点从下面结合附图对实施例的描述中将变得明显和容易理解,其中:
图1为本发明实施例提供的一种信息输入方法的流程示意图;
图2为文字信息和目标语言文字信息的显示示意图;
图3为本发明实施例提供的另一种信息输入方法的流程示意图;
图4为本发明实施例提供的另一种信息输入方法的流程示意图;
图5为本发明实施例提供的一种信息输入装置的结构示意图;
图6为本发明实施例提供的另一种信息输入装置的结构示意图;
图7为本发明实施例提供的另一种信息输入装置的结构示意图;
图8为本发明实施例提供的另一种信息输入装置的结构示意图;
图9为本发明实施例提供的另一种信息输入装置的结构示意图;
图10为本发明实施例提供的另一种信息输入装置的结构示意图。
具体实施方式
下面详细描述本发明的实施例,所述实施例的示例在附图中示出,其中自始至终相同或类似的标号表示相同或类似的元件或具有相同或类似功能的元件。下面通过参考附图描述的实施例是示例性的,旨在用于解释本发明,而不能理解为对本发明的限制。
下面参考附图描述本发明实施例的信息输入方法及装置。
图1为本发明实施例提供的一种信息输入方法的流程示意图。如图1所示,该信息输入方法包括以下步骤:
S101、获取用户在输入法的输入框中输入的文字信息。
本发明提供的信息输入方法的执行主体为信息输入装置,信息输入装置具体可以为输入法软件,或者安装有输入法软件的终端设备等。其中,输入法的输入框为,使用输入法的当前软件的文字输入位置,例如,微信或者QQ中的输入框。
S102、根据用户预先设置的翻译目标语言,对文字信息进行翻译,得到目标语言文字信息。
步骤102之前,所述的方法还可以包括:获取使用输入法的当前软件的类型。对应的,步骤102具体可以为,在当前软件的类型为社交软件时,根据用户预先设置的翻译目标语言,对文字信息进行翻译,得到目标语言文字信息。其中,社交软件例如QQ、微信、飞信等。
本实施例中,也可以由用户根据场景手动选择是否需要对文字信息进行翻译,因此,步骤102之前,所述的方法还可以包括:判断是否接收到用户的翻译请求。对应的,步骤102具体可以为,在接收到用户的翻译请求时,根据用户预先设置的翻译目标语言,对文字信息进行翻译,得到目标语言文字信息。另外,若未接收到用户的翻译请求,则不对文字信息进行翻译。本实施例中,输入法的界面上可以显示有翻译功能按钮或选项,以便用户点击或选择。
本实施例中,信息输入装置可以结合现有的翻译技术对文字信息进行翻译,例如百度翻译、谷歌翻译等。信息输入装置也可以提前设置有常用语翻译库,用于对常用语等进行翻译。
S103、根据用户预先设置的内容显示方式显示文字信息和目标语言文字信息;内容显示方式包括:在输入框中显示文字信息和目标语言文字信息、在输入框中显示文字信息以及在输入框外悬浮显示目标语言文字信息、在输入框中显示目标语言文字信息以及在输入框外悬浮显示文字信息。
其中,图2为文字信息和目标语言文字信息的显示示意图,在图2中,文字信息的语言为英文,目标语言文字信息的语言为中文,目标语言文字信息“我多希望你在这儿”显示在 输入框中,文字信息“I wish you were here”悬浮在输入框的下方。若用户输入“I”,则输入框中显示“我”,输入框外悬浮显示“I”;若用户输入“I wish”,则输入框中显示“我希望”,输入框外悬浮显示“I wish”。
本实施例中,在输入框中显示文字信息和目标语言文字信息的情况下,文字信息和目标语言文字信息可以各占一行或一段显示在输入框中。例如,第一行或第一段显示文字信息;第二行或第二段显示目标语言文字信息。
进一步的,步骤101之前,所述的方法还可以包括:接收用户的翻译语言设置请求,翻译语言设置请求中包括:源语言以及翻译目标语言;根据翻译语言设置请求进行翻译语言设置;接收用户的内容显示方式设置请求;根据内容显示方式设置请求进行内容显示方式设置。
本实施例中,信息输入装置可以向用户显示翻译语言设置界面,翻译语言设置界面中包括有源语言选择区域以及翻译目标语言选择区域,以便用户选择源语言或者翻译目标语言。信息输入装置可以向用户显示内容显示方式设置界面,显示内容显示方式设置界面中包括有可选择的内容显示方式,以便用户选择。
另外,需要说明的是,在用户的输入语言为翻译目标语言的情况下,也可以根据用户的翻译请求,将翻译目标语言的文本信息翻译为源语言的文本信息,并显示给用户。
本发明实施例的信息输入方法,通过获取用户在输入法的输入框中输入的文字信息;根据用户预先设置的翻译目标语言,对文字信息进行翻译,得到目标语言文字信息;根据用户预先设置的内容显示方式显示文字信息和目标语言文字信息;内容显示方式包括:在输入框中显示文字信息和目标语言文字信息、在输入框中显示文字信息以及在输入框外悬浮显示目标语言文字信息、在输入框中显示目标语言文字信息以及在输入框外悬浮显示文字信息,从而能够在用户需要跨语言沟通,且用户的英语等水平不高时,在用户跨语言沟通的过程中,自动根据用户输入的文字提供相应的译文并显示译文,从而解决用户与对方用户之间的沟通障碍,提高用户的沟通效率,提高用户使用输入法或社交软件的体验。
图3为本发明实施例提供的另一种信息输入方法的流程示意图,如图3所示,在图1所示实施例的基础上,步骤103之后,所述的方法还可以包括以下步骤:
S104、获取用户点击输入框外悬浮的内容时的内容显示方式切换请求。
本实施例中,如图2所示,在输入框中显示中文,在输入框外悬浮显示英文的情况下,用户可以点击输入框外悬浮的英文,使得信息输入装置将用户的该操作识别为内容显示方式切换请求。
S105、根据内容显示方式切换请求,将当前悬浮在输入框外的内容与显示在输入框中的内容进行切换。
本实施例中,如图2所示,信息输入装置获取到用户的内容显示方式切换请求后,将输入框中显示的中文切换为英文;将输入框外悬浮的英文切换为中文。
S106、保存切换后的内容显示方式。
本实施例中,保存切换后的内容显示方式,使得信息输入装置后续在社交软件中使用输入法时,根据切换后的内容显示方式显示输入框中输入的内容。
本发明实施例的信息输入方法,通过获取用户在输入法的输入框中输入的文字信息;根据用户预先设置的翻译目标语言,对文字信息进行翻译,得到目标语言文字信息;根据用户预先设置的内容显示方式显示文字信息和目标语言文字信息;内容显示方式包括:在输入框中显示文字信息和目标语言文字信息、在输入框中显示文字信息以及在输入框外悬浮显示目标语言文字信息、在输入框中显示目标语言文字信息以及在输入框外悬浮显示文字信息;在获取到用户的内容显示方式切换请求时,将当前悬浮在输入框外的内容与显示在输入框中的内容进行切换,并保存切换后的内容显示方式,从而能够在用户需要跨语言沟通,且用户的英语等水平不高时,在用户跨语言沟通的过程中,自动根据用户输入的文字提供相应的译文并显示译文,从而解决用户与对方用户之间的沟通障碍,提高用户的沟通效率,提高用户使用输入法或社交软件的体验。
图4为本发明实施例提供的另一种信息输入方法的流程示意图,如图4所示,在图1所示实施例的基础上,步骤103之后,所述的方法还可以包括:
S107、接收用户的内容发送请求。
本实施例中,在输入框中的内容输入完成后,用户可以点击社交软件的交互界面上的发送功能按钮,使得信息输入装置将该操作识别为内容发送请求。
S108、根据内容发送请求,将输入框中的内容发送至与用户交互的对方用户,并在社交软件的交互界面上显示输入框中的内容。
本实施例中,在信息输入装置接收到用户的内容发送请求时,可以通过社交软件将输入框中的内容发送至与用户交互的对方用户,并在社交软件的交互界面上显示输入框中的内容。需要说明的是,本实施例中,在输入框中的内容发送成功的情况下,输入框中的内容情况,则输入框外悬浮的文字信息或目标语言文字信息也对应清空。
进一步的,步骤107之前,所述的方法还可以包括以下步骤:获取交互界面上对方用户的内容;根据内容确定对方用户所使用的语言;根据对方用户所使用的语言调整内容显示方式。
其中,根据对方用户所使用的语言调整内容显示方式的过程具体可以为,在对方用户所使用的语言为源语言时,将内容显示方式调整为:在输入框中显示文字信息以及在输入框外 悬浮显示目标语言文字信息;在对方用户所使用的语言为翻译目标语言时,将内容显示方式调整为:在输入框中显示文字信息和目标语言文字信息;或者,在输入框中显示目标语言文字信息以及在输入框外悬浮显示文字信息。另外,若交互界面上还未显示对方用户的内容,则可以在交互界面上显示有对方用户的内容时,执行根据对方用户所使用的语言调整内容显示方式的操作。
例如,图2中,交互界面上对方用户所使用的语言为英文的情况下,可以将图2中的内容显示方式调整为在输入框中显示英文,在输入框外悬浮显示中文。
需要说明的是,本实施例中,在对方用户所使用的语言为翻译目标语言的情况下,内容显示方式的调整方式也可以由用户预先进行设置。例如,在用户的英语等水平较高的情况下,用户可以选择调整方式为,在输入框中显示目标语言文字信息以及在输入框外悬浮显示文字信息。在用户的英语等水平较低的情况下,用户可以选择调整方式为,在输入框中显示文字信息和目标语言文字信息。
本发明实施例的信息输入方法,通过获取用户在输入法的输入框中输入的文字信息;根据用户预先设置的翻译目标语言,对文字信息进行翻译,得到目标语言文字信息;根据用户预先设置的内容显示方式显示文字信息和目标语言文字信息;内容显示方式包括:在输入框中显示文字信息和目标语言文字信息、在输入框中显示文字信息以及在输入框外悬浮显示目标语言文字信息、在输入框中显示目标语言文字信息以及在输入框外悬浮显示文字信息;根据交互界面上对方用户所使用的语言调整内容显示方式;接收用户的内容发送请求;根据内容发送请求,将输入框中的内容发送至与用户交互的对方用户,并在社交软件的交互界面上显示输入框中的内容,从而能够在用户需要跨语言沟通,且用户的英语等水平不高时,在用户跨语言沟通的过程中,自动根据用户输入的文字提供相应的译文并显示译文,从而解决用户与对方用户之间的沟通障碍,提高用户的沟通效率,提高用户使用输入法或社交软件的体验。
图5为本发明实施例提供的一种信息输入装置的结构示意图。如图5所示,包括:获取模块51、翻译模块52和显示模块53。
其中,获取模块51,用于获取用户在输入法的输入框中输入的文字信息;
翻译模块52,用于根据用户预先设置的翻译目标语言,对所述文字信息进行翻译,得到目标语言文字信息;
显示模块53,用于根据用户预先设置的内容显示方式显示所述文字信息和所述目标语言文字信息;所述内容显示方式包括:在所述输入框中显示所述文字信息和所述目标语言文字信息、在所述输入框中显示所述文字信息以及在所述输入框外悬浮显示所述目标语言文字 信息、在所述输入框中显示所述目标语言文字信息以及在所述输入框外悬浮显示所述文字信息。
本发明提供的信息输入装置具体可以为输入法软件,或者安装有输入法软件的终端设备等。其中,输入法的输入框为,使用输入法的当前软件的文字输入位置,例如,微信或者QQ中的输入框。
本实施例中,翻译模块52根据用户预先设置的翻译目标语言,对所述文字信息进行翻译,得到目标语言文字信息之前,所述获取模块51还用于,获取使用所述输入法的当前软件的类型。对应的,所述翻译模块52具体用于,在所述当前软件的类型为社交软件时,根据用户预先设置的翻译目标语言,对所述文字信息进行翻译,得到目标语言文字信息。
本实施例中,也可以由用户根据场景手动选择是否需要对文字信息进行翻译,因此,所述的装置还包括:判断模块。翻译模块52根据用户预先设置的翻译目标语言,对所述文字信息进行翻译,得到目标语言文字信息之前,判断模块,用于判断是否接收到所述用户的翻译请求。对应的,所述翻译模块52具体用于,在接收到所述用户的翻译请求时,根据用户预先设置的翻译目标语言,对所述文字信息进行翻译,得到目标语言文字信息。
本实施例中,信息输入装置可以结合现有的翻译技术对文字信息进行翻译,例如百度翻译、谷歌翻译等。信息输入装置也可以提前设置有常用语翻译库,用于对常用语等进行翻译。
进一步的,结合参考图6,在图5所示实施例的基础上,所述的装置还包括:
接收模块54,用于接收所述用户的翻译语言设置请求,所述翻译语言设置请求中包括:源语言以及翻译目标语言;
设置模块55,用于根据所述翻译语言设置请求进行翻译语言设置;
所述接收模块,还用于接收所述用户的内容显示方式设置请求;
所述设置模块,还用于根据所述内容显示方式设置请求进行内容显示方式设置。
本实施例中,信息输入装置可以向用户显示翻译语言设置界面,翻译语言设置界面中包括有源语言选择区域以及翻译目标语言选择区域,以便用户选择源语言或者翻译目标语言。信息输入装置可以向用户显示内容显示方式设置界面,显示内容显示方式设置界面中包括有可选择的内容显示方式,以便用户选择。
另外,需要说明的是,在用户的输入语言为翻译目标语言的情况下,也可以根据用户的翻译请求,将翻译目标语言的文本信息翻译为源语言的文本信息,并显示给用户。
本发明实施例的信息输入装置,通过获取用户在输入法的输入框中输入的文字信息;根据用户预先设置的翻译目标语言,对文字信息进行翻译,得到目标语言文字信息;根据用户预先设置的内容显示方式显示文字信息和目标语言文字信息;内容显示方式包括:在输入框中显示文字信息和目标语言文字信息、在输入框中显示文字信息以及在输入框外悬浮显示目 标语言文字信息、在输入框中显示目标语言文字信息以及在输入框外悬浮显示文字信息,从而能够在用户需要跨语言沟通,且用户的英语等水平不高时,在用户跨语言沟通的过程中,自动根据用户输入的文字提供相应的译文并显示译文,从而解决用户与对方用户之间的沟通障碍,提高用户的沟通效率,提高用户使用输入法或社交软件的体验。
进一步的,结合参考图7,在图5所示实施例的基础上,所述的装置还包括:切换模块56和保存模块57;
所述获取模块51,还用于获取所述用户点击所述输入框外悬浮的内容时的内容显示方式切换请求;
所述切换模块56,用于根据所述内容显示方式切换请求,将当前悬浮在所述输入框外的内容与显示在所述输入框中的内容进行切换;
所述保存模块57,用于保存切换后的内容显示方式。
本实施例中,如图2所示,在输入框中显示中文,在输入框外悬浮显示英文的情况下,用户可以点击输入框外悬浮的英文,使得信息输入装置将用户的该操作识别为内容显示方式切换请求。
本实施例中,如图2所示,信息输入装置获取到用户的内容显示方式切换请求后,将输入框中显示的中文切换为英文;将输入框外悬浮的英文切换为中文。另外,保存切换后的内容显示方式,使得信息输入装置后续在社交软件中使用输入法时,根据切换后的内容显示方式显示输入框中输入的内容。
本发明实施例的信息输入装置,通过获取用户在输入法的输入框中输入的文字信息;根据用户预先设置的翻译目标语言,对文字信息进行翻译,得到目标语言文字信息;根据用户预先设置的内容显示方式显示文字信息和目标语言文字信息;内容显示方式包括:在输入框中显示文字信息和目标语言文字信息、在输入框中显示文字信息以及在输入框外悬浮显示目标语言文字信息、在输入框中显示目标语言文字信息以及在输入框外悬浮显示文字信息;在获取到用户的内容显示方式切换请求时,将当前悬浮在输入框外的内容与显示在输入框中的内容进行切换,并保存切换后的内容显示方式,从而能够在用户需要跨语言沟通,且用户的英语等水平不高时,在用户跨语言沟通的过程中,自动根据用户输入的文字提供相应的译文并显示译文,从而解决用户与对方用户之间的沟通障碍,提高用户的沟通效率,提高用户使用输入法或社交软件的体验。
进一步的,结合参考图8,在5所示实施例的基础上,所述的装置还包括:接收模块54和发送模块58;
所述接收模块54,用于接收所述用户的内容发送请求;
所述发送模块58,用于根据所述内容发送请求,将所述输入框中的内容发送至与所述用户交互的对方用户,并在所述社交软件的交互界面上显示所述输入框中的内容。
本实施例中,在信息输入装置接收到用户的内容发送请求时,可以通过社交软件将输入框中的内容发送至与用户交互的对方用户,并在社交软件的交互界面上显示输入框中的内容。需要说明的是,本实施例中,在输入框中的内容发送成功的情况下,输入框中的内容情况,则输入框外悬浮的文字信息或目标语言文字信息也对应清空。
进一步的,结合参考图9,在图8所示实施例的基础上,所述的装置还包括:确定模块59和调整模块60;
所述获取模块51,还用于获取所述交互界面上对方用户的内容;
所述确定模块59,用于根据所述内容确定所述对方用户所使用的语言;
所述调整模块60,用于根据对方用户所使用的语言调整所述内容显示方式。
其中,所述调整模块60具体用于,
在对方用户所使用的语言为源语言时,将所述内容显示方式调整为:在所述输入框中显示所述文字信息以及在所述输入框外悬浮显示所述目标语言文字信息;
在对方用户所使用的语言为翻译目标语言时,将所述内容显示方式调整为:在所述输入框中显示所述文字信息和所述目标语言文字信息;或者,在所述输入框中显示所述目标语言文字信息以及在所述输入框外悬浮显示所述文字信息。
例如,图2中,交互界面上对方用户所使用的语言为英文的情况下,可以将图2中的内容显示方式调整为在输入框中显示英文,在输入框外悬浮显示中文。
需要说明的是,本实施例中,在对方用户所使用的语言为翻译目标语言的情况下,内容显示方式的调整方式也可以由用户预先进行设置。例如,在用户的英语等水平较高的情况下,用户可以选择调整方式为,在输入框中显示目标语言文字信息以及在输入框外悬浮显示文字信息。在用户的英语等水平较低的情况下,用户可以选择调整方式为,在输入框中显示文字信息和目标语言文字信息。
本发明实施例的信息输入装置,通过获取用户在输入法的输入框中输入的文字信息;根据用户预先设置的翻译目标语言,对文字信息进行翻译,得到目标语言文字信息;根据用户预先设置的内容显示方式显示文字信息和目标语言文字信息;内容显示方式包括:在输入框中显示文字信息和目标语言文字信息、在输入框中显示文字信息以及在输入框外悬浮显示目标语言文字信息、在输入框中显示目标语言文字信息以及在输入框外悬浮显示文字信息;根据交互界面上对方用户所使用的语言调整内容显示方式;接收用户的内容发送请求;根据内容发送请求,将输入框中的内容发送至与用户交互的对方用户,并在社交软件的交互界面上 显示输入框中的内容,从而能够在用户需要跨语言沟通,且用户的英语等水平不高时,在用户跨语言沟通的过程中,自动根据用户输入的文字提供相应的译文并显示译文,从而解决用户与对方用户之间的沟通障碍,提高用户的沟通效率,提高用户使用输入法或社交软件的体验。
图10为本发明实施例提供的另一种信息输入装置的结构示意图。该信息输入装置包括:
存储器1001、处理器1002及存储在存储器1001上并可在处理器1002上运行的计算机程序。
处理器1002执行所述程序时实现上述实施例中提供的信息输入方法。
进一步地,信息输入装置还包括:
通信接口1003,用于存储器1001和处理器1002之间的通信。
存储器1001,用于存放可在处理器1002上运行的计算机程序。
存储器1001可能包含高速RAM存储器,也可能还包括非易失性存储器(non-volatile memory),例如至少一个磁盘存储器。
处理器1002,用于执行所述程序时实现上述实施例所述的信息输入方法。
如果存储器1001、处理器1002和通信接口1003独立实现,则通信接口1003、存储器1001和处理器1002可以通过总线相互连接并完成相互间的通信。所述总线可以是工业标准体系结构(Industry Standard Architecture,简称为ISA)总线、外部设备互连(Peripheral Component,简称为PCI)总线或扩展工业标准体系结构(Extended Industry Standard Architecture,简称为EISA)总线等。所述总线可以分为地址总线、数据总线、控制总线等。为便于表示,图10中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。
可选的,在具体实现上,如果存储器1001、处理器1002及通信接口1003,集成在一块芯片上实现,则存储器1001、处理器1002及通信接口1003可以通过内部接口完成相互间的通信。
处理器1002可能是一个中央处理器(Central Processing Unit,简称为CPU),或者是特定集成电路(Application Specific Integrated Circuit,简称为ASIC),或者是被配置成实施本发明实施例的一个或多个集成电路。
本实施例还提供一种计算机可读存储介质,其上存储有计算机程序,其特征在于,该程序被处理器执行时实现如上所述的信息输入方法。
本实施例还提供一种计算机程序产品,当所述计算机程序产品中的指令处理器执行时,执行一种信息输入方法,所述方法包括:
获取用户在输入法的输入框中输入的文字信息;
根据用户预先设置的翻译目标语言,对所述文字信息进行翻译,得到目标语言文字信息;
根据用户预先设置的内容显示方式显示所述文字信息和所述目标语言文字信息;所述内容显示方式包括:在所述输入框中显示所述文字信息和所述目标语言文字信息、在所述输入框中显示所述文字信息以及在所述输入框外悬浮显示所述目标语言文字信息、在所述输入框中显示所述目标语言文字信息以及在所述输入框外悬浮显示所述文字信息。
在本说明书的描述中,参考术语“一个实施例”、“一些实施例”、“示例”、“具体示例”、或“一些示例”等的描述意指结合该实施例或示例描述的具体特征、结构、材料或者特点包含于本发明的至少一个实施例或示例中。在本说明书中,对上述术语的示意性表述不必须针对的是相同的实施例或示例。而且,描述的具体特征、结构、材料或者特点可以在任一个或多个实施例或示例中以合适的方式结合。此外,在不相互矛盾的情况下,本领域的技术人员可以将本说明书中描述的不同实施例或示例以及不同实施例或示例的特征进行结合和组合。
此外,术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括至少一个该特征。在本发明的描述中,“多个”的含义是至少两个,例如两个,三个等,除非另有明确具体的限定。
流程图中或在此以其他方式描述的任何过程或方法描述可以被理解为,表示包括一个或更多个用于实现定制逻辑功能或过程的步骤的可执行指令的代码的模块、片段或部分,并且本发明的优选实施方式的范围包括另外的实现,其中可以不按所示出或讨论的顺序,包括根据所涉及的功能按基本同时的方式或按相反的顺序,来执行功能,这应被本发明的实施例所属技术领域的技术人员所理解。
在流程图中表示或在此以其他方式描述的逻辑和/或步骤,例如,可以被认为是用于实现逻辑功能的可执行指令的定序列表,可以具体实现在任何计算机可读介质中,以供指令执行系统、装置或设备(如基于计算机的系统、包括处理器的系统或其他可以从指令执行系统、装置或设备取指令并执行指令的系统)使用,或结合这些指令执行系统、装置或设备而使用。就本说明书而言,"计算机可读介质"可以是任何可以包含、存储、通信、传播或传输程序以供指令执行系统、装置或设备或结合这些指令执行系统、装置或设备而使用的装置。计算机可读介质的更具体的示例(非穷尽性列表)包括以下:具有一个或多个布线的电连接部(电子装置),便携式计算机盘盒(磁装置),随机存取存储器(RAM),只读存储器(ROM),可擦除可编辑只读存储器(EPROM或闪速存储器),光纤装置,以及便携式光盘只读存储器(CDROM)。另外,计算机可读介质甚至可以是可在其上打印所述程序的纸或其他合适的介质,因为可以例如通过对纸或其他介质进行光学扫描,接着进行编辑、解译或必要时以其他 合适方式进行处理来以电子方式获得所述程序,然后将其存储在计算机存储器中。
应当理解,本发明的各部分可以用硬件、软件、固件或它们的组合来实现。在上述实施方式中,多个步骤或方法可以用存储在存储器中且由合适的指令执行系统执行的软件或固件来实现。如,如果用硬件来实现和在另一实施方式中一样,可用本领域公知的下列技术中的任一项或他们的组合来实现:具有用于对数据信号实现逻辑功能的逻辑门电路的离散逻辑电路,具有合适的组合逻辑门电路的专用集成电路,可编程门阵列(PGA),现场可编程门阵列(FPGA)等。
本技术领域的普通技术人员可以理解实现上述实施例方法携带的全部或部分步骤是可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可读存储介质中,该程序在执行时,包括方法实施例的步骤之一或其组合。
此外,在本发明各个实施例中的各功能单元可以集成在一个处理模块中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。所述集成的模块如果以软件功能模块的形式实现并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中。
上述提到的存储介质可以是只读存储器,磁盘或光盘等。尽管上面已经示出和描述了本发明的实施例,可以理解的是,上述实施例是示例性的,不能理解为对本发明的限制,本领域的普通技术人员在本发明的范围内可以对上述实施例进行变化、修改、替换和变型。

Claims (19)

  1. 一种信息输入方法,其特征在于,包括:
    获取用户在输入法的输入框中输入的文字信息;
    根据用户预先设置的翻译目标语言,对所述文字信息进行翻译,得到目标语言文字信息;
    根据用户预先设置的内容显示方式显示所述文字信息和所述目标语言文字信息;所述内容显示方式包括:在所述输入框中显示所述文字信息和所述目标语言文字信息、在所述输入框中显示所述文字信息以及在所述输入框外悬浮显示所述目标语言文字信息、在所述输入框中显示所述目标语言文字信息以及在所述输入框外悬浮显示所述文字信息。
  2. 根据权利要求1所述的方法,其特征在于,所述根据用户预先设置的翻译目标语言,对所述文字信息进行翻译,得到目标语言文字信息之前,还包括:
    获取使用所述输入法的当前软件的类型;
    对应的,所述根据用户预先设置的翻译目标语言,对所述文字信息进行翻译,得到目标语言文字信息,包括:
    在所述当前软件的类型为社交软件时,根据用户预先设置的翻译目标语言,对所述文字信息进行翻译,得到目标语言文字信息。
  3. 根据权利要求1所述的方法,其特征在于,所述根据用户预先设置的翻译目标语言,对所述文字信息进行翻译,得到目标语言文字信息之前,还包括:
    判断是否接收到所述用户的翻译请求;
    所述根据用户预先设置的翻译目标语言,对所述文字信息进行翻译,得到目标语言文字信息,包括:
    在接收到所述用户的翻译请求时,根据用户预先设置的翻译目标语言,对所述文字信息进行翻译,得到目标语言文字信息。
  4. 根据权利要求1所述的方法,其特征在于,还包括:
    接收所述用户的翻译语言设置请求,所述翻译语言设置请求中包括:源语言以及翻译目标语言;
    根据所述翻译语言设置请求进行翻译语言设置;
    接收所述用户的内容显示方式设置请求;
    根据所述内容显示方式设置请求进行内容显示方式设置。
  5. 根据权利要求1所述的方法,其特征在于,所述根据用户预先设置的内容显示方式显示所述文字信息和所述目标语言文字信息之后,还包括:
    获取所述用户点击所述输入框外悬浮的内容时的内容显示方式切换请求;
    根据所述内容显示方式切换请求,将当前悬浮在所述输入框外的内容与显示在所述输入 框中的内容进行切换;
    保存切换后的内容显示方式。
  6. 根据权利要求2所述的方法,其特征在于,所述根据用户预先设置的内容显示方式显示所述文字信息和所述目标语言文字信息之后,还包括:
    接收所述用户的内容发送请求;
    根据所述内容发送请求,将所述输入框中的内容发送至与所述用户交互的对方用户,并在所述社交软件的交互界面上显示所述输入框中的内容。
  7. 根据权利要求6所述的方法,其特征在于,所述接收所述用户的内容发送请求之前,还包括:
    获取所述交互界面上对方用户的内容;
    根据所述内容确定所述对方用户所使用的语言;
    根据对方用户所使用的语言调整所述内容显示方式。
  8. 根据权利要求7所述的方法,其特征在于,所述根据对方用户所使用的语言调整所述内容显示方式,包括:
    在对方用户所使用的语言为源语言时,将所述内容显示方式调整为:在所述输入框中显示所述文字信息以及在所述输入框外悬浮显示所述目标语言文字信息;
    在对方用户所使用的语言为翻译目标语言时,将所述内容显示方式调整为:在所述输入框中显示所述文字信息和所述目标语言文字信息;或者,在所述输入框中显示所述目标语言文字信息以及在所述输入框外悬浮显示所述文字信息。
  9. 一种信息输入装置,其特征在于,包括:
    获取模块,用于获取用户在输入法的输入框中输入的文字信息;
    翻译模块,用于根据用户预先设置的翻译目标语言,对所述文字信息进行翻译,得到目标语言文字信息;
    显示模块,用于根据用户预先设置的内容显示方式显示所述文字信息和所述目标语言文字信息;所述内容显示方式包括:在所述输入框中显示所述文字信息和所述目标语言文字信息、在所述输入框中显示所述文字信息以及在所述输入框外悬浮显示所述目标语言文字信息、在所述输入框中显示所述目标语言文字信息以及在所述输入框外悬浮显示所述文字信息。
  10. 根据权利要求9所述的装置,其特征在于,所述获取模块还用于,获取使用所述输入法的当前软件的类型;
    所述翻译模块具体用于,在所述当前软件的类型为社交软件时,根据用户预先设置的翻译目标语言,对所述文字信息进行翻译,得到目标语言文字信息。
  11. 根据权利要求9所述的装置,其特征在于,还包括:
    判断模块,用于判断是否接收到所述用户的翻译请求;
    所述翻译模块具体用于,在接收到所述用户的翻译请求时,根据用户预先设置的翻译目标语言,对所述文字信息进行翻译,得到目标语言文字信息。
  12. 根据权利要求9所述的装置,其特征在于,还包括:
    接收模块,用于接收所述用户的翻译语言设置请求,所述翻译语言设置请求中包括:源语言以及翻译目标语言;
    设置模块,用于根据所述翻译语言设置请求进行翻译语言设置;
    所述接收模块,还用于接收所述用户的内容显示方式设置请求;
    所述设置模块,还用于根据所述内容显示方式设置请求进行内容显示方式设置。
  13. 根据权利要求9所述的装置,其特征在于,还包括:切换模块和保存模块;
    所述获取模块,还用于获取所述用户点击所述输入框外悬浮的内容时的内容显示方式切换请求;
    所述切换模块,用于根据所述内容显示方式切换请求,将当前悬浮在所述输入框外的内容与显示在所述输入框中的内容进行切换;
    所述保存模块,用于保存切换后的内容显示方式。
  14. 根据权利要求10所述的装置,其特征在于,还包括:接收模块和发送模块;
    所述接收模块,用于接收所述用户的内容发送请求;
    所述发送模块,用于根据所述内容发送请求,将所述输入框中的内容发送至与所述用户交互的对方用户,并在所述社交软件的交互界面上显示所述输入框中的内容。
  15. 根据权利要求14所述的装置,其特征在于,还包括:确定模块和调整模块;
    所述获取模块,还用于获取所述交互界面上对方用户的内容;
    所述确定模块,用于根据所述内容确定所述对方用户所使用的语言;
    所述调整模块,用于根据对方用户所使用的语言调整所述内容显示方式。
  16. 根据权利要求15所述的装置,其特征在于,所述调整模块具体用于,
    在对方用户所使用的语言为源语言时,将所述内容显示方式调整为:在所述输入框中显示所述文字信息以及在所述输入框外悬浮显示所述目标语言文字信息;
    在对方用户所使用的语言为翻译目标语言时,将所述内容显示方式调整为:在所述输入框中显示所述文字信息和所述目标语言文字信息;或者,在所述输入框中显示所述目标语言文字信息以及在所述输入框外悬浮显示所述文字信息。
  17. 一种信息输入装置,其特征在于,包括:
    存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,其特征在于,所 述处理器执行所述程序时实现如权利要求1-8中任一所述的信息输入方法。
  18. 一种计算机可读存储介质,其上存储有计算机程序,其特征在于,该程序被处理器执行时实现如权利要求1-8中任一所述的信息输入方法。
  19. 一种计算机程序产品,当所述计算机程序产品中的指令处理器执行时,执行一种信息输入方法,所述方法包括:
    获取用户在输入法的输入框中输入的文字信息;
    根据用户预先设置的翻译目标语言,对所述文字信息进行翻译,得到目标语言文字信息;
    根据用户预先设置的内容显示方式显示所述文字信息和所述目标语言文字信息;所述内容显示方式包括:在所述输入框中显示所述文字信息和所述目标语言文字信息、在所述输入框中显示所述文字信息以及在所述输入框外悬浮显示所述目标语言文字信息、在所述输入框中显示所述目标语言文字信息以及在所述输入框外悬浮显示所述文字信息。
PCT/CN2018/088752 2017-09-29 2018-05-28 信息输入方法及装置 WO2019062175A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710908664.1A CN109582153A (zh) 2017-09-29 2017-09-29 信息输入方法及装置
CN201710908664.1 2017-09-29

Publications (1)

Publication Number Publication Date
WO2019062175A1 true WO2019062175A1 (zh) 2019-04-04

Family

ID=65900503

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/088752 WO2019062175A1 (zh) 2017-09-29 2018-05-28 信息输入方法及装置

Country Status (2)

Country Link
CN (1) CN109582153A (zh)
WO (1) WO2019062175A1 (zh)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111158499A (zh) * 2019-12-04 2020-05-15 海信视像科技股份有限公司 一种显示设备
CN112540682A (zh) * 2020-11-30 2021-03-23 山东智慧译百信息技术有限公司 一基于机器翻译结果的智能翻译输入法
CN115480653A (zh) * 2021-05-26 2022-12-16 北京搜狗科技发展有限公司 一种输入方法、装置和用于输入的装置
WO2023226848A1 (zh) * 2022-05-24 2023-11-30 北京字跳网络技术有限公司 视频数据生成方法、装置、电子设备及存储介质
CN115113787B (zh) * 2022-07-05 2024-04-19 北京字跳网络技术有限公司 一种消息处理方法、装置、设备及介质

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100004918A1 (en) * 2008-07-04 2010-01-07 Yahoo! Inc. Language translator having an automatic input/output interface and method of using same
CN102193643A (zh) * 2010-03-15 2011-09-21 北京搜狗科技发展有限公司 一种文字输入方法和具有翻译功能的输入法系统
CN105718448A (zh) * 2016-01-13 2016-06-29 北京新美互通科技有限公司 一种对输入字符进行自动翻译的方法和装置
CN106156014A (zh) * 2016-07-29 2016-11-23 宇龙计算机通信科技(深圳)有限公司 一种信息处理方法及装置

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8838459B2 (en) * 2012-02-29 2014-09-16 Google Inc. Virtual participant-based real-time translation and transcription system for audio and video teleconferences
CN104636326A (zh) * 2014-12-30 2015-05-20 小米科技有限责任公司 一种文字信息的翻译方法及装置

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100004918A1 (en) * 2008-07-04 2010-01-07 Yahoo! Inc. Language translator having an automatic input/output interface and method of using same
CN102193643A (zh) * 2010-03-15 2011-09-21 北京搜狗科技发展有限公司 一种文字输入方法和具有翻译功能的输入法系统
CN105718448A (zh) * 2016-01-13 2016-06-29 北京新美互通科技有限公司 一种对输入字符进行自动翻译的方法和装置
CN106156014A (zh) * 2016-07-29 2016-11-23 宇龙计算机通信科技(深圳)有限公司 一种信息处理方法及装置

Also Published As

Publication number Publication date
CN109582153A (zh) 2019-04-05

Similar Documents

Publication Publication Date Title
WO2019062175A1 (zh) 信息输入方法及装置
US20220326825A1 (en) File processing method, electronic device, system, and storage medium
US11321271B2 (en) Host based non-volatile memory clustering mechanism using network mapped storage
WO2021036594A1 (zh) 一种应用于投屏场景的控制方法以及相关设备
US10783364B2 (en) Method, apparatus and device for waking up voice interaction function based on gesture, and computer readable medium
US10261683B2 (en) Electronic apparatus and screen display method thereof
US10963322B2 (en) Data sharing method and apparatus, and electronic device
US20160004425A1 (en) Method of displaying graphic user interface and electronic device implementing same
US11582321B2 (en) Service request processing method and related apparatus
WO2017063533A1 (zh) 服务账号关联方法、装置、系统及终端设备
EP3073368B1 (en) Human interface device input fusion
WO2019233318A1 (zh) 内容识别方法、装置及移动终端
US20180267727A1 (en) Access method and device for random access memories, control chip and storage medium
US20170031897A1 (en) Modification of input based on language content background
US20160191575A1 (en) Bridge Device for Large Meetings
US20170300225A1 (en) Displaying application page of mobile terminal
WO2019061916A1 (zh) 页面浏览方法、装置及电子设备
WO2022262721A1 (zh) 信息交互方法、装置和电子设备
US20190325871A1 (en) In-cloud wake-up method and system, terminal and computer-readable storage medium
US20240069706A1 (en) Method and apparatus for displaying co-hosting, electronic device and computer readable medium
WO2019056901A1 (zh) 即时通讯过程中的语音信息转发方法、设备及存储介质
US20160140699A1 (en) Automatically identifying and healing spots in images
WO2022135259A1 (zh) 语音输入方法、装置及电子设备
CN114666363B (zh) 信息传输方法、装置、电子设备、存储介质及产品
WO2022001423A1 (zh) 交互控制方法、装置、终端和存储介质

Legal Events

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

Ref document number: 18862599

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18862599

Country of ref document: EP

Kind code of ref document: A1