CN105786207A - Information input method and device - Google Patents

Information input method and device Download PDF

Info

Publication number
CN105786207A
CN105786207A CN201610105783.9A CN201610105783A CN105786207A CN 105786207 A CN105786207 A CN 105786207A CN 201610105783 A CN201610105783 A CN 201610105783A CN 105786207 A CN105786207 A CN 105786207A
Authority
CN
China
Prior art keywords
information
word
input
application
rule
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
CN201610105783.9A
Other languages
Chinese (zh)
Other versions
CN105786207B (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 Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology 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 Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201610105783.9A priority Critical patent/CN105786207B/en
Publication of CN105786207A publication Critical patent/CN105786207A/en
Application granted granted Critical
Publication of CN105786207B publication Critical patent/CN105786207B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/02Input arrangements using manually operated switches, e.g. using keyboards or dials
    • G06F3/023Arrangements for converting discrete items of information into a coded form, e.g. arrangements for interpreting keyboard generated codes as alphanumeric codes, operand codes or instruction codes
    • G06F3/0233Character input methods
    • G06F3/0237Character input methods using prediction or retrieval techniques
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/955Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]
    • 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

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)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses an information input method and device.According to one specific embodiment, the method comprises the steps of receiving characters input by a user, and determining words or terms corresponding to the characters; sending an information acquiring request containing the words or terms to a server, and receiving rule information fed back by the server, wherein the rule information comprises objects for combination related to the words or terms and display mode information, the objects for combination include one or more of preset word information, picture information, two-dimensional codes and URL, and the display mode information is used for indicating the mode of combination of the words or terms with the objects for combination so as to generate a candidate result; generating the candidate result based on the rule information to be selected and input by the user into an information input area.Objects related to the words or terms are found out and combined based on the words or terms corresponding to the input characters, so that the candidate result is generated, and input content when an input method is adopted for information input is enriched.

Description

Data inputting method and device
Technical field
The application relates to computer realm, is specifically related to input method field, particularly relates to data inputting method and device.
Background technology
Use in the process of application user, when needing input information in the information input area of application, complete usually by input method.Input method receives the phonetic of user's input, finds out the candidate character corresponding with phonetic or word, after receiving the candidate character chosen of user or word, candidate character or word is input in information input area.
But, current input method only supports the input to word or word, causes that input content is comparatively single.
Summary of the invention
This application provides data inputting method and device, for solving the technical problem that above-mentioned background section exists.
First aspect, this application provides data inputting method, and the method includes: receives the character of user's input, and determines that the word or word that character is corresponding, word or word are associated with the information in the information input area to be input to application;The information acquisition request comprising word or word is sent to server, and receive the Rule Information that server returns, Rule Information includes: the combination object that is associated with word or word, exhibition method information, wherein, combination object includes following one or more: preset Word message, pictorial information, Quick Response Code, URL, and word or word and combination object are combined for indicating and generate the mode of candidate result by exhibition method information;Rule-based information, generates candidate result, chooses for user and be input in information input area.
Second aspect, this application provides data inputting method, and the method includes: receiving the information acquisition request that terminal sends, information acquisition request includes: the word corresponding with the character inputted when inputting information in the information input area of the application in terminal or word;Determine word or Rule Information corresponding to word, Rule Information includes: the combination object that is associated with word or word, exhibition method information, wherein, combination object includes following one or more: preset Word message, pictorial information, Quick Response Code, URL, and word or word and combination object are combined the mode of generation candidate result by exhibition method information for indicating;Send Rule Information to terminal, so that the rule-based information of terminal, generate candidate result, choose for user and be input in information input area.
The third aspect, this application provides message input device, this device includes: character receives unit, and configuration is for receiving the character of user's input, and determine that the word or word that character is corresponding, word or word are associated with the information in the information input area to be input to application;Processing unit, configuration for sending the information acquisition request comprising word or word to server, and receive the Rule Information that server returns, Rule Information includes: the combination object that is associated with word or word, exhibition method information, wherein, combination object includes following one or more: preset Word message, pictorial information, Quick Response Code, URL, and word or word and combination object are combined for indicating and generate the mode of candidate result by exhibition method information;Generating unit, configuration, for rule-based information, generates candidate result, chooses for user and be input in information input area.
Fourth aspect, this application provides message input device, this device includes: request reception unit, configuration is for receiving the information acquisition request that terminal sends, and information acquisition request includes: the word corresponding with the character inputted when inputting information in the information input area of the application in terminal or word;Determine unit, configuration is for determining word or Rule Information corresponding to word, Rule Information includes: the combination object that is associated with word or word, exhibition method information, wherein, combination object includes following one or more: preset Word message, pictorial information, Quick Response Code, URL, and word or word and combination object are combined the mode of generation candidate result by exhibition method information for indicating;Transmitting element, configuration is for sending Rule Information to terminal, so that the rule-based information of terminal, generates candidate result, chooses for user and be input in information input area.
The data inputting method of the application offer and device, by receiving the character of user's input, and determine the word or word that character is corresponding;The information acquisition request comprising word or word is sent to server, and receive the Rule Information that server returns, Rule Information includes: the combination object that is associated with word or word, exhibition method information, wherein, combination object includes following one or more: preset Word message, pictorial information, Quick Response Code, URL, and word or word and combination object are combined for indicating and generate the mode of candidate result by exhibition method information;Rule-based information, generates candidate result, chooses for user and be input in information input area.Achieve word corresponding to the character based on input or word, find out the object being associated with word or word and be combined, generating candidate result, enrich the input content when utilizing input method to carry out information input.
Accompanying drawing explanation
By reading the detailed description that non-limiting example is made made with reference to the following drawings, other features, purpose and advantage will become more apparent upon:
Fig. 1 is that the application can apply to exemplary system architecture figure therein;
Fig. 2 illustrates the flow chart of an embodiment of the data inputting method according to the application;
Fig. 3 A illustrates an effect schematic diagram of the candidate result generated in the application;
Fig. 3 B illustrates another effect schematic diagram of the candidate result generated in the application;
Fig. 3 C illustrates another the effect schematic diagram of the candidate result generated in the application;
Fig. 4 illustrates the flow chart of another embodiment of the data inputting method according to the application;
Fig. 5 illustrates the structural representation of an embodiment of the message input device according to the application;
Fig. 6 illustrates the structural representation of another embodiment of the message input device according to the application;
Fig. 7 is adapted for the structural representation of the computer system for the terminal unit or server realizing the embodiment of the present application.
Detailed description of the invention
Below in conjunction with drawings and Examples, the application is described in further detail.It is understood that specific embodiment described herein is used only for explaining related invention, but not the restriction to this invention.It also should be noted that, for the ease of describing, accompanying drawing illustrate only the part relevant to about invention.
It should be noted that when not conflicting, the embodiment in the application and the feature in embodiment can be mutually combined.Describe the application below with reference to the accompanying drawings and in conjunction with the embodiments in detail.
Fig. 1 illustrates the exemplary system architecture 100 of the embodiment of data inputting method or the message input device that can apply the application.
As it is shown in figure 1, system architecture 100 can include terminal unit 101,102,103, network 104 and server 105.Network 104 in order to provide the medium of transmission link between terminal unit 101,102,103 and server 105.Network 104 can include various connection type, for instance wired, wireless transmission link or fiber optic cables etc..
User can use terminal unit 101,102,103 mutual with server 105 by network 104, to receive or to send message etc..Terminal unit 101,102,103 can be provided with various communication applications, for instance, the application of input method class, the application of browser class, searching class application, word processing class application etc..
Terminal unit 101,102,103 can be have display screen and support the various electronic equipments of network service, include but not limited to smart mobile phone, panel computer, E-book reader, MP3 player (MovingPictureExpertsGroupAudioLayerIII, dynamic image expert's compression standard audio frequency aspect 3), MP4 (MovingPictureExpertsGroupAudioLayerIV, dynamic image expert's compression standard audio frequency aspect 4) player, pocket computer on knee and desk computer etc..
Server 105 can be to provide the server of various service, for instance the input method class on terminal unit 101,102,103 is applied the server providing Rule Information.Server can prestore the Rule Information suitable in different scenes, when terminal utilizes the application of input method class to carry out input information, it is possible to the Rule Information of current scene is fed back to terminal unit.
It should be understood that the number of terminal unit in Fig. 1, network and server is merely schematic.According to realizing needs, it is possible to have any number of terminal unit, network and server.
Refer to Fig. 2, it illustrates the flow process 200 of the data inputting method according to the application a embodiment.It should be noted that the data inputting method that the embodiment of the present application provides generally is performed by the terminal unit 101,102,103 in Fig. 1, correspondingly, message input device is generally positioned in terminal unit 101,102,103.The method comprises the following steps:
Step 201, receives the character of user's input, and determines the word or word that character is corresponding.
In the present embodiment, data inputting method is run on electronic equipment thereon (such as the terminal unit 101,102,103 shown in Fig. 1) and can be received the character of user's input by the input equipment such as keyboard, touch screen.In the present embodiment, the character of user's input is associated with the information of the information input area to be input to application.The information input area of application can include but not limited to: the input frame in the window that the input frame in the html page of searching class application, the editing area of document, instant messaging are applied.
In the present embodiment, the character of input may be constructed phonetic, can also be carry out, with the information of information input area to be input to application, the character bound in advance, and this is not limited by the present embodiment.Such as, when needing the information input area input information in application, can first position a cursor in the input area of application, when receiving when the character that user inputs is phonetic, then can present the candidate result corresponding with phonetic, be input in the information input area of application after choosing for user.When the character receiving user's input is bind character with candidate result in advance, then can present the candidate result corresponding with preset characters, be input in the information input area of application after choosing for user.
Step 202, sends the information acquisition request comprising word or word, and receives the Rule Information that server returns to server.
In the present embodiment, after determining the word or word that character that user inputs is corresponding, the information acquisition request comprising word corresponding to character or word can be generated, then, information acquisition request is sent to server, it is thus possible to receive the Rule Information that server returns based on word corresponding to character or word.
In the present embodiment, Rule Information includes: the combination object that is associated with word or word, exhibition method information, wherein, combination object includes one below: preset Word message, pictorial information, Quick Response Code, URL, and word or word and combination object are combined the mode of generation candidate result by exhibition method information for indicating.
In some optional implementations of the present embodiment, also include: obtain the input environment characteristic information of application, input environment characteristic information includes: context environmental, application type, wherein, context environmental is for indicating the incidence relation between the word having been enter in information input area or word word or the word corresponding with character.
In the present embodiment, it is possible to obtain the input environment characteristic information of application in advance.In advance the identification information of input environment characteristic information Yu application can be bound.The identification information of application may include that process name, window ID.Such as, the identification information of board application may include that the mark resolving window of board process name operationally and board.
In the present embodiment, after word corresponding to the character determining input or word, can first obtain the identification information of application, then, determine the input environment characteristic information corresponding with the identification information of application, the information acquisition request comprising input environment characteristic information is sent to server, thus, get the Rule Information that input environment characteristic information is corresponding.
Such as, the word that user inputs in the text processing application of terminal character is corresponding is Business Name, for instance " Huawei ".Input environment information is then the type of application, and correspondingly, this text processing application can a corresponding application identification information.When in text processing application, the character of terminal input is the phonetic of " Huawei " correspondence to user, it is possible to first obtain the identification information of text processing application.It is then possible to determine the type of application corresponding to this application identification information, i.e. text processing application, thus generating input environment information.At this point it is possible to send input environment characteristic information to server, then, can receiving the Rule Information that this input environment information of server return is corresponding, Rule Information can comprise combination object, and combination object comprises default Word message, such as, " Huawei " is carried out the word of brief introduction.Can according to Rule Information, generate candidate result, namely the candidate result generated by default Word message, when user chooses this candidate result, candidate result can be input in instant information input area, namely shielding candidate result on, the form of candidate result can such as following form: " Huawei, the communication equipment manufacturing manufacturer being world known ".
Again such as, the character that user inputs in social networking application is Business Name " Huawei ", and input environment information is then for the type of application, i.e. social networking application.Correspondingly, this social networking application can a corresponding application identification information.When the phonetic that the character that user inputs in social networking application is " Huawei " correspondence, it is possible to first obtain application identification information.It is then possible to determine the type of application corresponding to this application identification information, i.e. social networking application, thus generating input environment characteristic information.Input environment characteristic information can be sent to server, then, the Rule Information that this input environment information of server return is corresponding can be received, Rule Information corresponding to this input environment information can include combination object, combination object comprises URL (URL, UniformResourceLocator), this URL can be the official website of Huawei.Can according to Rule Information, generate candidate result, namely the candidate result generated it is combined by default Word message and URL, when user chooses this candidate result, candidate result can be input in instant information input area, namely shielding candidate result on, the form of candidate result can such as following form: " Huawei URL ".
Step 203, rule-based information, generate candidate result, choose for user and be input in information input area.
In the present embodiment, after receiving the Rule Information that server returns, it is possible to rule-based information, candidate result is generated.Such as, when word or title that word is film, Rule Information can comprise combination object, namely preset Word message, for instance, the profile information of this film and URL, for instance, the URL of the broadcast address of this film, it is possible to according to Rule Information, generate candidate result.
In the present embodiment, can, in response to user's selection operation to candidate result, candidate result be copied in the shear plate of operating system, then, the paste operation that operating system provides is utilized to be input in the information input area of application by candidate result, it is possible to be referred to as to candidate result to be shielded.Such as, when the candidate result that user selects is html format, when the information input area of application is the input frame in the html page of searching class application, now, then the candidate result of the html format selected can be input in the input frame in the html page of searching class application, thus completing the upper screen of candidate result.
Refer to Fig. 3 A, it illustrates an effect schematic diagram of the candidate result generated in the application.
In figure 3 a, it is shown that character that user inputs at information input interface and multiple candidate result.Character is the phonetic " houhuiwuqi " that the title " after can life imprisonment " of a film is corresponding, and wherein, candidate result 301 be preset the combination of Word message 3011 and URL3012.Presetting Word message 3011 be " after can perpetual the whole network show for the first time ", and URL3012 can be the broadcast address of this film.
Refer to Fig. 3 B, it illustrates another effect schematic diagram of the candidate result generated in the application.
In figure 3b, it is shown that character that user inputs at information input interface and multiple candidate result.Character is the phonetic " haidilao " of title " seabed is dragged for " correspondence in a dining room, and wherein, candidate result 302 is the combination presetting Word message 3021 with Quick Response Code 3022.Presetting Word message 3021 for " seabed is dragged for ", Quick Response Code 3022 can be then Quick Response Code corresponding for the URL of the group buying voucher in this dining room in group buying websites.Thus, when selecting screen in candidate result 302, it is possible to clicking Quick Response Code, jump to group buying websites, what purchase by group this dining room purchases by group volume.
Refer to Fig. 3 C, it illustrates another the effect schematic diagram of the candidate result generated in the application.
In fig. 3 c, it is shown that character that user inputs at information input interface and multiple candidate result.The phonetic " dashengguilai " that character is corresponding with the title of a film " mahatma comes back ", wherein, candidate result 303 is preset the combination of Word message 3031, default pictorial information 3032, URL3033.Default Word message can be the brief introduction word of " mahatma comes back " this film, and picture can be the picture of " mahatma comes back " this film, and URL can be the broadcast address of " mahatma comes back " this film.
It should be understood that, the form of the candidate result generated in above-mentioned Fig. 3 exemplary only explanation the application of A-Fig. 3 C, in this application, for different words or word, in Rule Information, define the various different combination object being associated from word or word in advance, namely preset Word message, pictorial information, URL and exhibition method information, thus, according to Rule Information, different candidate result can be generated.
Refer to Fig. 4, it illustrates the flow process 400 of another embodiment of the data inputting method according to the application.It should be noted that the data inputting method that the embodiment of the present application provides generally is performed by server 105, correspondingly, message input device is generally positioned in server 105.The method comprises the following steps:
Step 401, receives the information acquisition request that terminal sends.
In the present embodiment, information acquisition request includes: input word or word that during information, the character of input is corresponding in the information input area of the application in terminal.
Step 402, it is determined that word or Rule Information corresponding to word.
In the present embodiment, Rule Information includes: the combination object that is associated with word or word, exhibition method information, wherein, combination object includes one below: preset Word message, pictorial information, Quick Response Code, URL, and word or word and combination object are combined the mode of generation candidate result by exhibition method information for indicating.
In the present embodiment, it is possible to be pre-configured with word or Rule Information corresponding to word.For example, it is possible to utilize Rule Information to define the combination object being associated with word or word, preset Word message, pictorial information, Quick Response Code, URL, then, based on exhibition method information, combination object is combined, generate candidate result.
In some optional implementations of the present embodiment, information acquisition request also includes: the input environment characteristic information of application, input environment characteristic information includes: context environmental, application type, Rule Information is the Rule Information that input environment characteristic information is corresponding.
In the present embodiment, it is also possible to receive the information acquisition request comprising input environment characteristic information, it is possible to find out the Rule Information corresponding with input environment characteristic information.Such as, the word Business Name " Huawei " that character that user inputs in text processing application is corresponding, then input environment characteristic information is the type of application, it is possible to for the type of this application, configuration rule information, Rule Information can include combination object, and combination object comprises default Word message, for instance, " Huawei " is carried out the word of brief introduction, such as, " Huawei, the communication equipment manufacturing manufacturer being world known ".Again such as, the character that user inputs in social networking application is Business Name " Huawei ", and input environment information is then for the type of application, i.e. social networking application.Can for the type of this application, configuration rule information, Rule Information can include combination object, and combination object comprises default Word message and URL, and this URL can be the official website of Huawei.
Step 403, sends Rule Information to terminal.
In the present embodiment, after determining word or Rule Information corresponding to word, it is possible to send Rule Information to terminal, so that the rule-based information of terminal, generate candidate result, choose for user and be input in information input area.
Below in conjunction with application scenarios, the mode that the information in the application inputs is described:
Scene one: the title that word is dining room " seabed is dragged for " that character that user inputs in the social networking application of terminal is corresponding, input environment information is then for the type of application.Correspondingly, this instant messaging application can a corresponding application identification information.When the character that user inputs in the social networking application of terminal is the phonetic of " seabed is dragged for " correspondence, it is possible to first obtain the application identification information of social networking application.It is then possible to determine the type of application corresponding to this application identification information, i.e. social networking application, thus generating input environment information.Now, server can receive this input environment information that terminal sends, Rule Information corresponding to this input environment information can include combination object, combination object comprises default Word message, such as " seabed is dragged for " and Quick Response Code, Quick Response Code can be Quick Response Code corresponding for the URL of the group buying voucher in this dining room in group buying websites.Namely combination object is preset word " seabed is dragged for " and Quick Response Code it is combined and the mode that generates candidate result additionally, Rule Information could be included for indicate.
This Rule Information can be sent to terminal by server, terminal is after receiving Rule Information, candidate result can be generated, namely the candidate result combined by the Quick Response Code that default Word message " seabed is dragged for " is corresponding with the URL of the group buying voucher in this dining room in group buying websites and generate, when user chooses this candidate result, can candidate result be input in the information input area of social networking application, namely candidate result is shielded on, user can be identified by Quick Response Code by long in terminal, the corresponding page of the page jumping to group buying websites or the application opening group buying websites.
Scene two: user is posted by or replys model at mhkc, the title that word is the just film in hot showing that the character of input is corresponding, for instance " after can life imprisonment ".Terminal can according to the network address of the webpage of user's current accessed, what determine that user accesses is the website such as mhkc, forum, now, input environment characteristic information is context environmental, this context environmental can be used to indicate that when user accessing mhkc, forum issues the model with film " after can life imprisonment " or the response period of the day from 11 p.m. to 1 a.m, it is possible to this scene of broadcast address comprising this film can be inputted.The input environment information comprising context environmental can be generated further.Now, server can receive this input environment information that terminal sends, Rule Information corresponding to this input environment information can include combination object, combination object comprises default Word message, such as " after can perpetual the whole network first broadcast; lose no time " and URL, URL can be the broadcast address that this film is corresponding.Additionally, Rule Information could be included for indicate, namely combination object is preset Word message, for instance " after can perpetual the whole network first broadcast, lose no time " be combined with URL and generates the exhibition method information of candidate result.
This Rule Information can be sent to terminal by server, terminal is after receiving Rule Information, candidate result can be generated, namely the candidate result generated by the default Word message broadcast address corresponding with this film, when user chooses this candidate result, candidate result can be input in the information input area of the page being posted by or replying model, namely candidate result is shielded on, the form of candidate result can be: " after can perpetual URL the whole network first broadcast; lose no time ", user can click URL in terminal and jump to the broadcast address of film.
Scene three: user's title that word is the just film in hot showing that the character of input is corresponding in the instant messaging of terminal is applied, for instance " Star Wars ".Input environment information can be type and the instant messaging application of application.Correspondingly, this instant messaging application can a corresponding application identification information.
When user's character that terminal inputs in instant communication applications is the phonetic of " Star Wars " correspondence, it is possible to first obtain the application identification information of this instant messaging application.It is then possible to determine type and the instant messaging application of application corresponding to this application identification information, thus generating input environment information.Now, server can receive this input environment information that terminal sends, Rule Information corresponding to this input environment information can include combination object, combination object comprises default Word message, such as " we will go to see Star Wars tomorrow " and URL, this URL can be the URL of the group buying voucher of this film in group buying websites.Namely combination object is preset Word message and URL it is combined and the mode that generates candidate result additionally, Rule Information could be included for indicate.
This Rule Information can be sent to terminal by server, terminal is after receiving Rule Information, candidate result can be generated, namely the candidate result generated by the URL of the group buying voucher of this film in default Word message and group buying websites, when user chooses this candidate result, candidate result can be input in the information input area of instant messaging application, namely candidate result is shielded on, the form of candidate result can be: " we will go to see Star Wars (URL) tomorrow ", and user can click the URL page jumping to the group buying voucher of this film in group buying websites in terminal.
Scene four: the word that character that user inputs in the text processing application of terminal is corresponding is Business Name, for instance " Huawei ".Input environment information is then for the type of application.Correspondingly, this instant messaging application can a corresponding application identification information, for instance, winword.exe, powerpoint.exe.
When user's character that terminal inputs in text processing application is the phonetic of " Huawei " correspondence, it is possible to first obtain text processing application identification information.It is then possible to determine the type of application corresponding to this application identification information, i.e. text processing application, thus generating input environment information.Now, server can receive this input environment information that terminal sends, and Rule Information corresponding to this input environment information can include combination object, and combination object comprises default Word message, for instance, " Huawei " is carried out the word of brief introduction.
This Rule Information can be sent to terminal by server, terminal is after receiving Rule Information, candidate result can be generated, namely the candidate result generated by default Word message, when user chooses this candidate result, candidate result can be input in instant information input area, on namely, shield candidate result, the form of candidate result can such as following form: " Huawei, the communication equipment manufacturing manufacturer being world known ".
Should be understood that above-mentioned application scenarios is only the corresponding relation that input environment characteristic information and candidate result are described of exemplary.In the present embodiment, input environment characteristic information can be the type combination with context environmental of application, can for the type of different application, context environmental, differently configured Rule Information, can also be for context environmentals different in same type of application, differently configured Rule Information.Thus, when the application in terminal carries out information input, generate different candidate result.
With further reference to Fig. 5, as the realization to method shown in above-mentioned each figure, this application provides a kind of message input device a embodiment, this device embodiment is corresponding with the embodiment of the method shown in Fig. 2, and this device specifically can apply in various electronic equipment.
As it is shown in figure 5, the message input device 500 of the present embodiment includes: character receives unit 501, processing unit 502, generates unit 503.Character receives unit 501 configuration for receiving the character of user's input, and determines that the word or word that character is corresponding, word or word are associated with the information in the information input area to be input to application;Processing unit 502 configuration for sending the information acquisition request comprising word or word to server, and receive the Rule Information that server returns, Rule Information includes: the combination object that is associated with word or word, exhibition method information, wherein, combination object includes following one or more: preset Word message, pictorial information, Quick Response Code, URL, and word or word and combination object are combined for indicating and generate the mode of candidate result by exhibition method information;Generate unit 503 configuration for rule-based information, generate candidate result, choose for user and be input in information input area.
In the present embodiment, character receives unit 501 can receive the character of user's input, and determines the word or word that character is corresponding.In the present embodiment, the character of input may be constructed phonetic, can also be carry out, with the information of information input area to be input to application, the character bound in advance, and this is not limited by the present embodiment.Such as, when needing the information input area input information in application, can first position a cursor in the input area of application, when receiving when the character that user inputs is phonetic, then can present the candidate result corresponding with phonetic, be input in the information input area of application after choosing for user.When the character receiving user's input is bind character with candidate result in advance, then can present the candidate result corresponding with preset characters, be input in the information input area of application after choosing for user.
In the present embodiment, processing unit 502 can send, to server, the information acquisition request comprising word or word, and receives the Rule Information that server returns.
In the present embodiment, generate unit 503 can rule-based information, generate candidate result.Such as, when word or title that word is film, Rule Information can comprise combination object, namely preset Word message, for instance the profile information of this film and URL, for instance, the URL of the broadcast address of this film, it is possible to according to Rule Information, generate candidate result.
In some optional implementations of the present embodiment, device 500 also includes: information acquisition unit (not shown), configuration is for obtaining the input environment characteristic information of application, input environment characteristic information includes: context environmental, application type, wherein, context environmental is for indicating the incidence relation between the word having been enter in information input area or word word or the word corresponding with character.
In some optional implementations of the present embodiment, information acquisition request also includes: input environment characteristic information, and Rule Information is the Rule Information that input environment characteristic information is corresponding.
It will be understood by those skilled in the art that above-mentioned message input device 500 also includes some other known features, for instance processor, memorizer etc., embodiment of the disclosure in order to unnecessarily fuzzy, these known structures are not shown in Figure 5.
With further reference to Fig. 6, as the realization to method shown in above-mentioned each figure, this application provides a kind of message input device a embodiment, this device embodiment is corresponding with the embodiment of the method shown in Fig. 4, and this device specifically can apply in various electronic equipment.
As shown in Figure 6, the message input device 600 of the present embodiment includes: request reception unit 601, it is determined that unit 602, transmitting element 603.Request reception unit 601 configuration is for receiving the information acquisition request that terminal sends, and information acquisition request includes: the word corresponding with the character inputted when inputting information in the information input area of the application in terminal or word;Determine that unit 602 configures for determining word or Rule Information corresponding to word, Rule Information includes: the combination object that is associated with word or word, exhibition method information, wherein, combination object includes following one or more: preset Word message, pictorial information, Quick Response Code, URL, and word or word and combination object are combined the mode of generation candidate result by exhibition method information for indicating;Transmitting element 603 configuration is for sending Rule Information to terminal, so that the rule-based information of terminal, generates candidate result, chooses for user and be input in information input area.
In the present embodiment, request reception unit 601 can receive the information acquisition request that terminal sends, and information acquisition request includes: the word corresponding with the character inputted when inputting information in the information input area of the application in terminal or word.Such as, when the character that input dining room " seabed is dragged for " in user's social networking application in terminal is corresponding, then information acquisition request comprises word " seabed is dragged for ".
In the present embodiment, it is determined that unit 602 may determine that word or Rule Information corresponding to word.In the present embodiment, it is possible to be pre-configured with word or Rule Information corresponding to word.For example, it is possible to utilize Rule Information to define the combination object being associated with word or word, preset Word message, pictorial information, Quick Response Code, URL, then, based on exhibition method information, combination object is combined, generate candidate result.
In the present embodiment, transmitting element 603 after determining word or Rule Information corresponding to word, can send Rule Information to terminal, so that the rule-based information of terminal, generates candidate result, chooses for user and be input in information input area.
In some optional implementations of the present embodiment, information acquisition request also includes: the input environment characteristic information of application, input environment characteristic information includes: context environmental, application type, Rule Information is the Rule Information that input environment characteristic information is corresponding.
It will be understood by those skilled in the art that above-mentioned message input device 600 also includes some other known features, for instance processor, memorizer etc., embodiment of the disclosure in order to unnecessarily fuzzy, these known structures are not shown in figure 6.
Fig. 7 illustrates the structural representation being suitable to the computer system for the terminal unit or server realizing the embodiment of the present application.
As shown in Figure 7, computer system 700 includes CPU (CPU) 701, its can according to the program being stored in read only memory (ROM) 702 or from storage part 708 be loaded into the program random access storage device (RAM) 703 and perform various suitable action and process.In RAM703, also storage has system 700 to operate required various programs and data.CPU701, ROM702 and RAM703 are connected with each other by bus 704.Input/output (I/O) interface 705 is also connected to bus 704.
It is connected to I/O interface 705: include the importation 706 of keyboard, mouse etc. with lower component;Output part 707 including such as cathode ray tube (CRT), liquid crystal display (LCD) etc. and speaker etc.;Storage part 708 including hard disk etc.;And include the communications portion 709 of the NIC of such as LAN card, modem etc..Communications portion 709 performs communication process via the network of such as the Internet.Driver 710 is connected to I/O interface 705 also according to needs.Detachable media 711, such as disk, CD, magneto-optic disk, semiconductor memory etc., be arranged in driver 710 as required, in order to the computer program read from it is mounted into storage part 708 as required.
Especially, according to embodiment of the disclosure, the process described above with reference to flow chart may be implemented as computer software programs.Such as, embodiment of the disclosure and include a kind of computer program, it includes the computer program being tangibly embodied on machine readable media, and described computer program comprises the program code for performing the method shown in flow chart.In such embodiments, this computer program can pass through communications portion 709 and be downloaded and installed from network, and/or is mounted from detachable media 711.
Flow chart in accompanying drawing and block diagram, it is illustrated that according to the system of the various embodiment of the application, the architectural framework in the cards of method and computer program product, function and operation.In this, flow chart or each square frame in block diagram can represent a part for a module, program segment or code, and a part for described module, program segment or code comprises the executable instruction of one or more logic function for realizing regulation.It should also be noted that at some as in the realization replaced, the function marked in square frame can also to be different from the order generation marked in accompanying drawing.Such as, two square frames succeedingly represented can essentially perform substantially in parallel, and they can also perform sometimes in the opposite order, and this determines according to involved function.It will also be noted that, the combination of the square frame in each square frame in block diagram and/or flow chart and block diagram and/or flow chart, can realize by the special hardware based system of the function or operation that perform regulation, or can realize with the combination of specialized hardware Yu computer instruction.
As on the other hand, present invention also provides a kind of nonvolatile computer storage media, this nonvolatile computer storage media can be the nonvolatile computer storage media comprised in device described in above-described embodiment;Can also be individualism, be unkitted the nonvolatile computer storage media allocating in terminal.Above-mentioned nonvolatile computer storage media storage has one or more program, when one or multiple program are performed by an equipment, make described equipment: receive the character of user's input, and determine that the word or word that described character is corresponding, described word or word are associated with the information in the information input area to be input to application;The information acquisition request comprising described word or word is sent to server, and receive the Rule Information that server returns, Rule Information includes: the combination object that is associated with described word or word, exhibition method information, wherein, combination object includes following one or more: preset Word message, pictorial information, Quick Response Code, URL, and word or word and combination object are combined for indicating and generate the mode of candidate result by exhibition method information;Based on described Rule Information, generate candidate result, choose for user and be input in information input area.
Above description is only the preferred embodiment of the application and the explanation to institute's application technology principle.Skilled artisan would appreciate that, invention scope involved in the application, it is not limited to the technical scheme of the particular combination of above-mentioned technical characteristic, when also should be encompassed in without departing from described inventive concept simultaneously, other technical scheme being carried out combination in any by above-mentioned technical characteristic or its equivalent feature and being formed.Such as features described above and (but not limited to) disclosed herein have the technical characteristic of similar functions and replace mutually and the technical scheme that formed.

Claims (10)

1. a data inputting method, it is characterised in that described method includes:
Receive the character of user's input, and determine that the word or word that described character is corresponding, described word or word are associated with the information in the information input area to be input to application;
The information acquisition request comprising described word or word is sent to server, and receive the Rule Information that server returns, Rule Information includes: the combination object that is associated with described word or word, exhibition method information, wherein, combination object includes following one or more: preset Word message, pictorial information, Quick Response Code, URL, and word or word and combination object are combined for indicating and generate the mode of candidate result by exhibition method information;
Based on described Rule Information, generate candidate result, choose for user and be input in information input area.
2. method according to claim 1, it is characterised in that described method also includes:
Obtain the input environment characteristic information of described application, input environment characteristic information includes: context environmental, application type, wherein, described context environmental is for indicating the incidence relation between the word or word that the word having been enter in information input area or word are corresponding with described character.
3. method according to claim 2, it is characterised in that described information acquisition request also includes: described input environment characteristic information, described Rule Information is the Rule Information that described input environment characteristic information is corresponding.
4. a data inputting method, it is characterised in that described method includes:
Receiving the information acquisition request that terminal sends, described information acquisition request includes: the word corresponding with the character inputted when inputting information in the information input area of the application in terminal or word;
Determine described word or Rule Information corresponding to word, Rule Information includes: the combination object that is associated with described word or word, exhibition method information, wherein, combination object includes following one or more: preset Word message, pictorial information, Quick Response Code, URL, and word or word and combination object are combined the mode of generation candidate result by exhibition method information for indicating;
Send described Rule Information to terminal, so that the rule-based information of terminal, generate candidate result, choose for user and be input in information input area.
5. method according to claim 4, it is characterized in that, described information acquisition request also includes: the input environment characteristic information of application, and input environment characteristic information includes: context environmental, application type, described Rule Information is the Rule Information that described input environment characteristic information is corresponding.
6. a message input device, it is characterised in that described device includes:
Character receives unit, and configuration is for receiving the character of user's input, and determines that the word or word that described character is corresponding, described word or word are associated with the information in the information input area to be input to application;
Processing unit, configuration for sending the information acquisition request comprising described word or word to server, and receive the Rule Information that server returns, Rule Information includes: the combination object that is associated with described word or word, exhibition method information, wherein, combination object includes following one or more: preset Word message, pictorial information, Quick Response Code, URL, and word or word and combination object are combined for indicating and generate the mode of candidate result by exhibition method information;
Generating unit, configuration is for based on described Rule Information, generating candidate result, choose for user and be input in information input area.
7. device according to claim 6, it is characterised in that described device also includes:
Information acquisition unit, configuration is for obtaining the input environment characteristic information of described application, input environment characteristic information includes: context environmental, application type, wherein, described context environmental is for indicating the incidence relation between the word or word that the word having been enter in information input area or word are corresponding with described character.
8. device according to claim 7, it is characterised in that described information acquisition request also includes: described input environment characteristic information, described Rule Information is the Rule Information that described input environment characteristic information is corresponding.
9. a message input device, it is characterised in that described device includes:
Request reception unit, configuration is for receiving the information acquisition request that terminal sends, and described information acquisition request includes: the word corresponding with the character inputted when inputting information in the information input area of the application in terminal or word;
Determine unit, configuration is for determining described word or Rule Information corresponding to word, Rule Information includes: the combination object that is associated with described word or word, exhibition method information, wherein, combination object includes following one or more: preset Word message, pictorial information, Quick Response Code, URL, and word or word and combination object are combined the mode of generation candidate result by exhibition method information for indicating;
Transmitting element, configuration is for sending described Rule Information to terminal, so that the rule-based information of terminal, generates candidate result, chooses for user and be input in information input area.
10. device according to claim 9, it is characterized in that, described information acquisition request also includes: the input environment characteristic information of application, and input environment characteristic information includes: context environmental, application type, described Rule Information is the Rule Information that described input environment characteristic information is corresponding.
CN201610105783.9A 2016-02-25 2016-02-25 Data inputting method and device Active CN105786207B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610105783.9A CN105786207B (en) 2016-02-25 2016-02-25 Data inputting method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610105783.9A CN105786207B (en) 2016-02-25 2016-02-25 Data inputting method and device

Publications (2)

Publication Number Publication Date
CN105786207A true CN105786207A (en) 2016-07-20
CN105786207B CN105786207B (en) 2018-09-11

Family

ID=56402283

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610105783.9A Active CN105786207B (en) 2016-02-25 2016-02-25 Data inputting method and device

Country Status (1)

Country Link
CN (1) CN105786207B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106371625A (en) * 2016-09-29 2017-02-01 北京小米移动软件有限公司 Associated word display method and device
CN106959940A (en) * 2017-03-30 2017-07-18 程梦梦 A kind of document format for being easy to document automation typing and conversion and recognition methods
CN107943317A (en) * 2017-11-01 2018-04-20 北京小米移动软件有限公司 Input method and device
CN109426357A (en) * 2017-09-01 2019-03-05 百度在线网络技术(北京)有限公司 Data inputting method and device
CN110442247A (en) * 2019-06-20 2019-11-12 上海萌家网络科技有限公司 A kind of input method and input system
CN110598489A (en) * 2018-06-13 2019-12-20 北京搜狗科技发展有限公司 Privacy protection method for inputting prompt information and related device
CN110837307A (en) * 2019-09-29 2020-02-25 上海萌家网络科技有限公司 Input method and system thereof
CN110851628A (en) * 2019-09-29 2020-02-28 上海萌家网络科技有限公司 Input method, client side thereof and method for providing candidate pictures/videos

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030014499A1 (en) * 1996-06-03 2003-01-16 Mighdoll Lee S. Method of transcoding documents in a network environment using a proxy server
CN101246410A (en) * 2007-02-12 2008-08-20 谷歌股份有限公司 Contextual input method
CN102207816A (en) * 2010-07-16 2011-10-05 北京搜狗科技发展有限公司 Method for performing adaptive input based on input environment, and input method system
CN102646022A (en) * 2012-04-10 2012-08-22 北京搜狗科技发展有限公司 Method and device for obtaining candidate
CN103914513A (en) * 2014-01-13 2014-07-09 北京搜狗科技发展有限公司 Entity input method and device
CN105335036A (en) * 2014-06-27 2016-02-17 北京搜狗科技发展有限公司 Input interaction method and input method system
CN105700701A (en) * 2012-03-21 2016-06-22 上海触乐信息科技有限公司 System and method for carrying out input information expansion on the basis of input candidate box on electronic equipment

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030014499A1 (en) * 1996-06-03 2003-01-16 Mighdoll Lee S. Method of transcoding documents in a network environment using a proxy server
CN101246410A (en) * 2007-02-12 2008-08-20 谷歌股份有限公司 Contextual input method
CN102207816A (en) * 2010-07-16 2011-10-05 北京搜狗科技发展有限公司 Method for performing adaptive input based on input environment, and input method system
CN105700701A (en) * 2012-03-21 2016-06-22 上海触乐信息科技有限公司 System and method for carrying out input information expansion on the basis of input candidate box on electronic equipment
CN102646022A (en) * 2012-04-10 2012-08-22 北京搜狗科技发展有限公司 Method and device for obtaining candidate
CN103914513A (en) * 2014-01-13 2014-07-09 北京搜狗科技发展有限公司 Entity input method and device
CN105335036A (en) * 2014-06-27 2016-02-17 北京搜狗科技发展有限公司 Input interaction method and input method system

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106371625A (en) * 2016-09-29 2017-02-01 北京小米移动软件有限公司 Associated word display method and device
CN106959940A (en) * 2017-03-30 2017-07-18 程梦梦 A kind of document format for being easy to document automation typing and conversion and recognition methods
CN109426357A (en) * 2017-09-01 2019-03-05 百度在线网络技术(北京)有限公司 Data inputting method and device
CN109426357B (en) * 2017-09-01 2023-05-12 百度在线网络技术(北京)有限公司 Information input method and device
CN107943317A (en) * 2017-11-01 2018-04-20 北京小米移动软件有限公司 Input method and device
CN107943317B (en) * 2017-11-01 2021-08-06 北京小米移动软件有限公司 Input method and device
CN110598489A (en) * 2018-06-13 2019-12-20 北京搜狗科技发展有限公司 Privacy protection method for inputting prompt information and related device
CN110598489B (en) * 2018-06-13 2024-05-28 北京搜狗科技发展有限公司 Privacy protection method and related device for input prompt information
CN110442247A (en) * 2019-06-20 2019-11-12 上海萌家网络科技有限公司 A kind of input method and input system
CN110837307A (en) * 2019-09-29 2020-02-25 上海萌家网络科技有限公司 Input method and system thereof
CN110851628A (en) * 2019-09-29 2020-02-28 上海萌家网络科技有限公司 Input method, client side thereof and method for providing candidate pictures/videos

Also Published As

Publication number Publication date
CN105786207B (en) 2018-09-11

Similar Documents

Publication Publication Date Title
CN110795195B (en) Webpage rendering method and device, electronic equipment and storage medium
CN105786207A (en) Information input method and device
US11017052B1 (en) Electronic forms interaction framework for a consistent user experience
CN105528408A (en) Page display method and apparatus
CN105144136A (en) Action broker
KR20140078676A (en) Custom optimization of web pages
CN110020329B (en) Method, device and system for generating webpage
CN105721462A (en) Information pushing method and device
US9621622B2 (en) Information providing apparatus, information providing method, and network system
CN110533464B (en) Advertisement monitoring method, device and system and computing equipment
CN111368180B (en) Page display method and device and electronic equipment
CN104243273A (en) Method and device for displaying information on instant messaging client and information display system
CN106055383A (en) Request processing method and device
CN105488205A (en) Page generation method and page generation apparatus
CN110968314B (en) Page generation method and device
CN104965690A (en) Method and apparatus for processing data
CN105792022A (en) Adaptive video playing method and apparatus, and video playing system
US20100318596A1 (en) Systems and methods for providing readily updatable media content
CN103870254A (en) Dynamic form achieving method, client and server
CN107632971A (en) Method and apparatus for generating multidimensional form
CN105224611A (en) Based on the operation processing method of browser, device and browser
CN105260459A (en) Search method and apparatus
CN113553123B (en) Data processing method, device, electronic equipment and storage medium
CN105139217A (en) Method, apparatus and system used for acquiring user information
CN105739717A (en) Information input method and device

Legal Events

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