CN105786207B - Data inputting method and device - Google Patents
Data inputting method and device Download PDFInfo
- Publication number
- CN105786207B CN105786207B CN201610105783.9A CN201610105783A CN105786207B CN 105786207 B CN105786207 B CN 105786207B CN 201610105783 A CN201610105783 A CN 201610105783A CN 105786207 B CN105786207 B CN 105786207B
- Authority
- CN
- China
- Prior art keywords
- information
- word
- input
- rule
- application
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/02—Input arrangements using manually operated switches, e.g. using keyboards or dials
- G06F3/023—Arrangements 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/0233—Character input methods
- G06F3/0237—Character input methods using prediction or retrieval techniques
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/955—Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/02—Input arrangements using manually operated switches, e.g. using keyboards or dials
- G06F3/023—Arrangements 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/0233—Character input methods
- G06F3/0236—Character 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)
- Databases & Information Systems (AREA)
- Human Computer Interaction (AREA)
- Data Mining & Analysis (AREA)
- Information Transfer Between Computers (AREA)
Abstract
This application discloses data inputting methods and device.One specific implementation mode of this method includes:Character input by user is received, and determines the corresponding word of character or word;The information acquisition request comprising word or word is sent to server, and receives the Rule Information that server returns, Rule Information includes:Associated with word or word group shares object, exhibition method information, wherein it includes following one or more that group, which shares object,:Default text information, pictorial information, Quick Response Code, URL, exhibition method information be used to indicate by word or word and group share object be combined and the mode that generates candidate result;Rule-based information generates candidate result, is input in information input area so that user chooses.The corresponding word of character or word based on input are realized, object associated with word or word is found out and is combined, candidate result is generated, enriches the input content when carrying out information input using input method.
Description
Technical field
This application involves computer realms, and in particular to input method field more particularly to data inputting method and device.
Background technology
It is usually logical when needing the input information in the information input area of application during user is using application
Cross input method completion.Input method receives phonetic input by user, finds out candidate character corresponding with phonetic or word, is receiving
After candidate character or word that user chooses, candidate character or word are input in information input area.
However, current input method only supports the input to word or word, cause input content more single.
Invention content
This application provides data inputting methods and device, are asked for solving technology existing for above-mentioned background technology part
Topic.
In a first aspect, this application provides data inputting method, this method includes:Character input by user is received, and
Determine that the corresponding word of character or word, word or word are related to the information in the information input area to be input to application
Connection;The information acquisition request comprising word or word is sent to server, and receives the Rule Information that server returns, rule
Information includes:Associated with word or word group shares object, exhibition method information, wherein it includes following that group, which shares object,
It is one or more:Default text information, pictorial information, Quick Response Code, URL, exhibition method information are used to indicate word or word
With group share object be combined and the mode that generates candidate result;Rule-based information generates candidate result, so that user selects
It takes and is input in information input area.
Second aspect, this application provides data inputting method, this method includes:The acquisition of information that terminal is sent is received to ask
It asks, information acquisition request includes:It is corresponding with the character inputted when input information in the information input area of the application in terminal
Word or word;Determine that word or the corresponding Rule Information of word, Rule Information include:Associated with word or word group
Share object, exhibition method information, wherein it includes following one or more that group, which shares object,:Default text information, picture letter
Breath, Quick Response Code, URL, exhibition method information, which is used to indicate, to be shared object with group by word or word and is combined the candidate knot of generation
The mode of fruit;Rule Information is sent to terminal, so that the rule-based information of terminal, generates candidate result, so that user's selection is defeated
Enter into information input area.
The third aspect, this application provides message input device, which includes:Character receiving unit is configured to connect
Character input by user is received, and determines the corresponding word of character or word, word or word and the information to be input to application
Information in input area is associated;Processing unit is configured to send the acquisition of information comprising word or word to server
Request, and the Rule Information that server returns is received, Rule Information includes:Associated with word or word group shares pair
As, exhibition method information, wherein it includes following one or more that group, which shares object,:Default text information, pictorial information, two dimension
Code, URL, exhibition method information be used to indicate by word or word and group share object be combined and the side that generates candidate result
Formula;Generation unit is configured to rule-based information, generates candidate result, and information input area is input to so that user chooses
In.
Fourth aspect, this application provides message input device, which includes:Request reception unit is configured to connect
The information acquisition request that terminal is sent is received, information acquisition request includes:With it is defeated in the information input area of the application in terminal
Enter the corresponding word of the character inputted when information or word;Determination unit is configured to determine word or the corresponding rule of word
Information, Rule Information include:Associated with word or word group shares object, exhibition method information, wherein group shares object
Including following one or more:Default text information, pictorial information, Quick Response Code, URL, exhibition method information is used to indicate will be literary
Word or word share the mode that object is combined generation candidate result with group;Transmission unit is configured to send to terminal and advise
Then information is input to so that user chooses in information input area so that the rule-based information of terminal, generates candidate result.
Data inputting method and device provided by the present application, by receiving character input by user, and determining character pair
The word or word answered;The information acquisition request comprising word or word is sent to server, and receives what server returned
Rule Information, Rule Information include:Associated with word or word group shares object, exhibition method information, wherein group shares
Object includes following one or more:Default text information, pictorial information, Quick Response Code, URL, exhibition method information are used to indicate
By word or word and group share object be combined and the mode that generates candidate result;Rule-based information generates candidate knot
Fruit is input to so that user chooses in information input area.The corresponding word of character or word based on input are realized, is searched
Go out object associated with word or word and be combined, generate candidate result, enrich using input method into row information
Input content when input.
Description of the drawings
By reading a detailed description of non-restrictive embodiments in the light of the attached drawings below, the application's is other
Feature, objects and advantages will become more apparent upon:
Fig. 1 is that this application can be applied to exemplary system architecture figures therein;
Fig. 2 shows the flow charts according to one embodiment of the data inputting method of the application;
Fig. 3 A show an effect diagram of the candidate result generated in the application;
Fig. 3 B show another effect diagram of the candidate result generated in the application;
Fig. 3 C show another effect diagram of the candidate result generated in the application;
Fig. 4 shows the flow chart of another embodiment of the data inputting method according to the application;
Fig. 5 shows the structural schematic diagram of one embodiment of the message input device according to the application;
Fig. 6 shows the structural schematic diagram 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 device or server of realizing the embodiment of the present application
Figure.
Specific implementation mode
The application is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched
The specific embodiment stated is used only for explaining related invention, rather than the restriction to the invention.It also should be noted that in order to
Convenient for description, is illustrated only in attached drawing and invent relevant part with related.
It should be noted that in the absence of conflict, the features in the embodiments and the embodiments of the present application can phase
Mutually combination.The application is described in detail below with reference to the accompanying drawings and in conjunction with the embodiments.
Fig. 1 shows the exemplary system of the embodiment of the data inputting method or message input device that can apply the application
System framework 100.
As shown in Figure 1, system architecture 100 may include terminal device 101,102,103, network 104 and server 105.
Network 104 between terminal device 101,102,103 and server 105 provide transmission link medium.Network 104 can be with
Including various connection types, such as wired, wireless transmission link or fiber optic cables etc..
User can be interacted by network 104 with server 105 with using terminal equipment 101,102,103, to receive or send out
Send message etc..Various communication applications, such as the application of input method class, browser can be installed on terminal device 101,102,103
Class application, searching class application, the application of word processing class etc..
Terminal device 101,102,103 can be the various electronic equipments for having display screen and supporting network communication, packet
Include but be not limited to smart mobile phone, tablet computer, E-book reader, MP3 player (Moving Picture Experts
Group Audio Layer III, dynamic image expert's compression standard audio level 3), MP4 (Moving Picture
Experts Group Audio Layer IV, dynamic image expert's compression standard audio level 4) it is player, on knee portable
Computer and desktop computer etc..
Server 105 can be to provide the server of various services, such as to the input on terminal device 101,102,103
The application of method class provides the server of Rule Information.Server can prestore the Rule Information suitable for different scenes, when
When terminal carries out input information using the application of input method class, the Rule Information of current scene can be fed back to terminal device.
It should be understood that the number of the terminal device, network and server in Fig. 1 is only schematical.According to realization need
It wants, can have any number of terminal device, network and server.
Referring to FIG. 2, it illustrates the flows 200 according to one embodiment of the data inputting method of the application.It needs
Illustrate, the data inputting method that the embodiment of the present application is provided generally is held by the terminal device 101,102,103 in Fig. 1
Row, correspondingly, message input device is generally positioned in terminal device 101,102,103.This approach includes the following steps:
Step 201, character input by user is received, and determines the corresponding word of character or word.
In the present embodiment, electronic equipment (such as the terminal device shown in FIG. 1 of data inputting method operation thereon
101,102 the input units such as keyboard, touch screen can, 103) be passed through and receive character input by user.In the present embodiment, user
The character of input is associated with the information of the information input area to be input to application.The information input area of application may include
But it is not limited to:In the editing area of input frame, document in the html page of searching class application, the window of instant messaging application
Input frame.
In the present embodiment, the character of input may be constructed phonetic, may be and the information input to be input to application
The character that the information in region is bound in advance, the present embodiment do not limit this.For example, when needing the information input in application
It when the input information of region, can first position a cursor in the input area of application, when reception waits for that character input by user is
When phonetic, then candidate result corresponding with phonetic can be showed, the information input area of application is input to after being chosen for user
In domain.When it is to bind character with candidate result in advance to receive character input by user, then can show and preset characters
Corresponding candidate result is input to after being chosen for user in the information input area of application.
Step 202, the information acquisition request comprising word or word is sent to server, and receives what server returned
Rule Information.
In the present embodiment, it after determining the corresponding word of character input by user or word, can generate comprising word
The information acquisition request of corresponding word or word is accorded with, then, information acquisition request is sent to server, it is thus possible to receive
The Rule Information returned to server based on the corresponding word of character or word.
In the present embodiment, Rule Information includes:Associated with word or word group shares object, exhibition method letter
Breath, wherein it includes following one that group, which shares object,:Default text information, pictorial information, Quick Response Code, URL, exhibition method information
It is used to indicate and word or word is shared into the mode that object is combined generation candidate result with group.
In some optional realization methods of the present embodiment, further include:The input environment characteristic information of application is obtained, it is defeated
Entering environmental characteristic information includes:Context environmental, application type, wherein context environmental, which is used to indicate, has been enter into information
The incidence relation between word or word word corresponding with character or word in input area.
In the present embodiment, the input environment characteristic information of application can be obtained in advance.It can be in advance by input environment spy
Reference is ceased is bound with the identification information of application.The identification information of application may include:Process name, window ID.For example, writing
Letter stencil application identification information may include:The mark for parsing window of the process name and board of board at runtime.
In the present embodiment, after determining the corresponding word of character or word of input, application can be obtained first
Identification information sent comprising defeated to server then, it is determined that the input environment characteristic information corresponding with the identification information of application
Enter the information acquisition request of environmental characteristic information, to get the corresponding Rule Information of input environment characteristic information.
For example, the corresponding word of character that user inputs in the text processing application of terminal is Business Name, such as " China
For ".Input environment information is then the type of application, and correspondingly, which can correspond to an application identification information.
When user's character that terminal inputs in text processing application is " Huawei " corresponding phonetic, word processing can be obtained first
The identification information of application.It is then possible to determine the type of the corresponding application of the application identification information, i.e. text processing application,
To generate input environment information.At this point it is possible to input environment characteristic information be sent to server, it is then possible to receive clothes
The corresponding Rule Information of input environment information that business device returns, Rule Information can share object comprising group, and group shares object
Including default text information, for example, carrying out the word of brief introduction to " Huawei ".Candidate result can be generated, i.e., according to Rule Information
The candidate result generated by presetting text information, when user chooses the candidate result, you can be input to candidate result immediately
Information input area in, i.e., upper to shield candidate result, the format of candidate result can such as following format:" Huawei is world known
Communication equipment manufacturing manufacturer ".
In another example the character that user inputs in social networking application is Business Name " Huawei ", input environment information is then to answer
Type, i.e. social networking application.Correspondingly, which can correspond to an application identification information.When user answers in social activity
When with the character of input being " Huawei " corresponding phonetic, application identification information can be obtained first.It is then possible to determine this
The type of the corresponding application of application identification information, i.e. social networking application, to generate input environment characteristic information.It can be to server
Input environment characteristic information is sent, it is then possible to the corresponding Rule Information of input environment information of server return is received,
The corresponding Rule Information of input environment information may include that group shares object, and it includes that (unified resource positions URL that group, which shares object,
Symbol, Uniform Resource Locator), which can be the official website of Huawei.It can be generated according to Rule Information
Candidate result is combined the candidate result of generation by presetting text information and URL, when user chooses the candidate result,
Candidate result can be input in instant information input area, i.e., upper to shield candidate result, the format of candidate result can be all
Such as following format:" Huawei URL ".
Step 203, rule-based information generates candidate result, is input in information input area so that user chooses.
In the present embodiment, it after receiving the Rule Information that server returns, can be generated candidate with rule-based information
As a result.For example, when word or word are the title of film, object can be shared comprising group in Rule Information, that is, preset word
Information, for example, the profile information and URL of the film, for example, the URL of the broadcast address of the film, can according to Rule Information,
Generate candidate result.
In the present embodiment, selection operation that can be in response to user to candidate result, operation is copied to by candidate result
In the shear plate of system, then, candidate result is input to the information input of application by the paste operation provided using operating system
In region, it will also referred to as shield in candidate result.For example, when the candidate result that user selects is html format, application
When information input area is the input frame in the html page of searching class application, at this point, the html format that can will then select
Candidate result be input to searching class application html page in input frame in, to complete the upper screen of candidate result.
A is please referred to Fig.3, it illustrates an effect diagrams of the candidate result generated in the application.
In figure 3 a, the character and multiple candidate results that user inputs in information input interface are shown.Character is one
The corresponding phonetic " houhuiwuqi " of title " after can perpetual " of portion's film, wherein candidate result 301 is default text information
The combination of 3011 and URL3012.Default text information 3011 is " after can perpetual the whole network first broadcast ", and URL3012 can be the electricity
The broadcast address of shadow.
B is please referred to Fig.3, it illustrates another effect diagrams of the candidate result generated in the application.
In figure 3b, the character and multiple candidate results that user inputs in information input interface are shown.Character is one
The corresponding phonetic " haidilao " of title " seabed fishing " in family dining room, wherein candidate result 302 be default text information 3021 and
The combination of Quick Response Code 3022.Default text information 3021 is " seabed fishing ", and Quick Response Code then 3022 can be in group buying websites this
The corresponding Quick Response Codes of URL of the group buying voucher in dining room.To which when selecting to shield in candidate result 302, Quick Response Code can be clicked, jumped
Group buying websites are gone to, purchase by group the dining room purchases by group volume.
C is please referred to Fig.3, it illustrates another effect diagrams of the candidate result generated in the application.
In fig. 3 c, the character and multiple candidate results that user inputs in information input interface are shown.Character and one
The corresponding phonetic " dashengguilai " of title " mahatma comes back " of portion's film, wherein candidate result 303 is that default word is believed
The combination of breath 3031, default pictorial information 3032, URL3033.Default text information can be " mahatma comes back " this film
Brief introduction word, picture can be the picture of " mahatma comes back " this film, and URL can be the broadcasting of " mahatma comes back " this film
Address.
It should be understood that the format of the above-mentioned exemplary only candidate results for illustrating to generate in the application of Fig. 3 A- Fig. 3 C, at this
In application, for different word or word, various differences associated with word or word defined in Rule Information in advance
Group share object, i.e., default text information, pictorial information, URL and exhibition method information, it is thus possible to be believed according to rule
Breath, generates different candidate results.
Referring to FIG. 4, it illustrates the flows 400 according to another embodiment of the data inputting method of the application.It needs
It is noted that the data inputting method that the embodiment of the present application is provided generally is executed by server 105, correspondingly, information is defeated
Enter device to be generally positioned in server 105.This approach includes the following steps:
Step 401, the information acquisition request that terminal is sent is received.
In the present embodiment, information acquisition request includes:Input information in the information input area of application in terminal
When the corresponding word of character or word that input.
Step 402, word or the corresponding Rule Information of word are determined.
In the present embodiment, Rule Information includes:Associated with word or word group shares object, exhibition method letter
Breath, wherein it includes following one that group, which shares object,:Default text information, pictorial information, Quick Response Code, URL, exhibition method information
It is used to indicate and word or word is shared into the mode that object is combined generation candidate result with group.
In the present embodiment, word or the corresponding Rule Information of word can be pre-configured with.For example, rule letter can be utilized
Breath defines associated with word or word group and shares object, presets text information, pictorial information, Quick Response Code, URL, then, base
In exhibition method information, object is shared to group and is combined, generates candidate result.
In some optional realization methods of the present embodiment, information acquisition request further includes:The input environment of application is special
Reference ceases, and input environment characteristic information includes:Context environmental, application type, Rule Information be input environment characteristic information
Corresponding Rule Information.
In the present embodiment, the information acquisition request for including input environment characteristic information can also be received, can be searched
Go out Rule Information corresponding with input environment characteristic information.For example, the character that user inputs in text processing application is corresponding
Word Business Name " Huawei ", then input environment characteristic information is the type of application, can be directed to the type of the application, configuration rule
Then information, Rule Information may include that group shares object, and it includes default text information that group, which shares object, for example, to " Huawei " into
The word of row brief introduction, for example, " Huawei, the communication equipment manufacturing manufacturer being world known ".In another example user is defeated in social networking application
The character entered is Business Name " Huawei ", and input environment information is then the type of application, i.e. social networking application.The application can be directed to
Type, configuration rule information, Rule Information may include that group shares object, group share object include default text information and
URL, the URL can be the official website of Huawei.
Step 403, Rule Information is sent to terminal.
In the present embodiment, after determining word or the corresponding Rule Information of word, rule letter can be sent to terminal
Breath is input to so that user chooses in information input area so that the rule-based information of terminal, generates candidate result.
Illustrate the mode of the information input in the application with reference to application scenarios:
Scene one:The corresponding word of character that user inputs in the social networking application of terminal is the title " seabed in dining room
Fishing ", input environment information are then the type of application.Correspondingly, which can correspond to an application identification information.
When the character that user inputs in the social networking application of terminal is " seabed fishing " corresponding phonetic, social networking application can be obtained first
Application identification information.It is then possible to the type of the corresponding application of the application identification information, i.e. social networking application be determined, to raw
At input environment information.At this point, server can receive the input environment information of terminal transmission, the input environment information pair
The Rule Information answered may include that group shares object, and it includes default text information, such as " seabed fishing " and two dimension that group, which shares object,
Code, Quick Response Code can be the corresponding Quick Response Codes of URL of the group buying voucher in the dining room in group buying websites.In addition, may be used also in Rule Information
To include being used to indicate group to be shared the i.e. default word " seabed fishing " of object and Quick Response Code is combined and generates candidate result
Mode.
The Rule Information can be sent to terminal by server, and terminal can generate candidate after receiving Rule Information
As a result, being combined by default text information " seabed fishing " Quick Response Code corresponding with the URL of the group buying voucher in the dining room in group buying websites
And the candidate result generated, when user chooses the candidate result, you can the information that candidate result is input to social networking application is defeated
Enter in region, i.e., upper to shield candidate result, user can be identified in terminal by long-press Quick Response Code, and group buying websites are jumped to
The page or open group buying websites application corresponding page.
Scene two:User is posted by or replys model in mhkc, and the corresponding word of character of input is just in hot showing
In film title, such as " after can perpetual ".Terminal can determine that user visits according to the network address of the webpage of user's current accessed
What is asked is the websites such as mhkc, forum, at this point, input environment characteristic information is context environmental, which can be used for
It indicates when user is in the model or the response period of the day from 11 p.m. to 1 a.m that access mhkc, forum's publication and film " after can life imprisonment ", to input
Including this scene of the broadcast address of the film.The input environment information comprising context environmental can further be generated.At this point,
Server can receive the input environment information of terminal transmission, which may include
Group shares object, and it includes default text information that group, which shares object, such as " after can perpetual the whole network first broadcast, from the point of view of losing no time " and URL,
URL can be the corresponding broadcast address of the film.In addition, can also include being used to indicate group sharing object i.e. in Rule Information
Default text information, such as " after can perpetual the whole network first broadcast, from the point of view of losing no time " be combined and generate the displaying of candidate result with URL
Mode information.
The Rule Information can be sent to terminal by server, and terminal can generate candidate after receiving Rule Information
As a result, the candidate result generated by presetting text information broadcast address corresponding with the film, when user chooses the candidate
When as a result, you can be input to candidate result in the information input area for the page for being posted by or replying model, i.e., upper screen
The format of candidate result, candidate result can be:" after can life imprisonment URL the whole networks show for the first time, from the point of view of losing no time ", user can be in terminal
Click the broadcast address that URL jumps to film.
Scene three:The corresponding word of character that user inputs in the instant messaging application of terminal is the electricity just in hot showing
The title of shadow, such as " Star Wars ".Input environment information can be type, that is, instant messaging application of application.Correspondingly, this is instant
Communication applications can correspond to an application identification information.
When user's character that terminal inputs in instant communication applications is " Star Wars " corresponding phonetic, this can be obtained first
The application identification information of instant messaging application.It is then possible to determine the type of the corresponding application of the application identification information i.e.
When communication applications, to generate input environment information.At this point, server can receive the input environment letter of terminal transmission
Breath, the corresponding Rule Information of input environment information may include that group shares object, and it includes default text information that group, which shares object,
Such as " we will go to see Star Wars tomorrow " and URL, the URL can be the URL of the group buying voucher of the film in group buying websites.In addition,
Can also include being used to indicate group to be shared the i.e. default text information of object and URL is combined and generates candidate in Rule Information
As a result mode.
The Rule Information can be sent to terminal by server, and terminal can generate candidate after receiving Rule Information
As a result, the candidate result generated by presetting the URL of the group buying voucher of the film in text information and group buying websites, when user selects
When taking the candidate result, you can be input to candidate result in the information input area of instant messaging application, i.e., the upper candidate knot of screen
The format of fruit, candidate result can be:" we will go to see Star Wars (URL) tomorrow ", user can click URL in terminal and redirect
The page of the group buying voucher of the film on to group buying websites.
Scene four:The corresponding word of character that user inputs in the text processing application of terminal is Business Name, such as
" Huawei ".Input environment information is then the type of application.Correspondingly, which can correspond to an application identities letter
Breath, for example, winword.exe, powe rpoint.exe.
When user's character that terminal inputs in text processing application is " Huawei " corresponding phonetic, text can be obtained first
Word processing application identification information.It is then possible to determine the type of the corresponding application of the application identification information, i.e. word processing is answered
With to generate input environment information.At this point, server can receive the input environment information of terminal transmission, the input
The corresponding Rule Information of environmental information may include that group shares object, and it includes default text information that group, which shares object, for example, right
" Huawei " carries out the word of brief introduction.
The Rule Information can be sent to terminal by server, and terminal can generate candidate after receiving Rule Information
As a result, the candidate result generated by presetting text information, when user chooses the candidate result, you can input candidate result
Into instant information input area, i.e., upper to shield candidate result, the format of candidate result can such as following format:" Huawei enjoys
Praise the communication equipment manufacturing manufacturer in the whole world ".
It should be understood that above application scene be only exemplary illustrate input environment characteristic information it is corresponding with candidate result close
System.In the present embodiment, input environment characteristic information can be the combination of the type and context environmental of application, can be directed to not
The type of same application, context environmental, configure different Rule Informations, can also be directed to different in same type of application
Context environmental configures different Rule Informations.To when carrying out information input in the application in terminal, 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 information input dresses
The one embodiment set, the device embodiment is corresponding with embodiment of the method shown in Fig. 2, which specifically can be applied to respectively
In kind electronic equipment.
As shown in figure 5, the message input device 500 of the present embodiment includes:Character receiving unit 501, processing unit 502,
Generation unit 503.Character receiving unit 501 is configured to receive character input by user, and determines the corresponding word of character
Or word, word or word are associated with the information in the information input area to be input to application;The configuration of processing unit 502 is used
In the information acquisition request for server transmission including word or word, and the Rule Information of reception server return, rule
Information includes:Associated with word or word group shares object, exhibition method information, wherein it includes following that group, which shares object,
It is one or more:Default text information, pictorial information, Quick Response Code, URL, exhibition method information are used to indicate word or word
With group share object be combined and the mode that generates candidate result;Generation unit 503 is configured to rule-based information, generates
Candidate result is input to so that user chooses in information input area.
In the present embodiment, character receiving unit 501 can receive character input by user, and determine that character is corresponding
Word or word.In the present embodiment, the character of input may be constructed phonetic, or with it is defeated to be input to the information of application
Enter the character that the information in region is bound in advance, the present embodiment does not limit this.For example, when needing the information in application defeated
It when entering region input information, can first position a cursor in the input area of application, when reception waits for character input by user
For phonetic when, then can show candidate result corresponding with phonetic, the information input of application is input to after being chosen for user
In region.When it is to bind character with candidate result in advance to receive character input by user, then can show and predetermined word
Corresponding candidate result is accorded with, is input in the information input area of application after being chosen for user.
In the present embodiment, processing unit 502 can send the information acquisition request comprising word or word to server,
And receive the Rule Information that server returns.
In the present embodiment, generation unit 503 can generate candidate result with rule-based information.For example, working as word or word
When language is the title of film, object can be shared comprising group in Rule Information, that is, preset text information, such as the brief introduction of the film
Information and URL, for example, the URL of the broadcast address of the film, can generate candidate result according to Rule Information.
In some optional realization methods of the present embodiment, device 500 further includes:Information acquisition unit (not shown),
It is configured to obtain the input environment characteristic information of application, input environment characteristic information includes:Context environmental, application class
Type, wherein context environmental is used to indicate the word or word word corresponding with character having been enter into information input area
Or the incidence relation between word.
In some optional realization methods of the present embodiment, information acquisition request further includes:Input environment characteristic information,
Rule Information is the corresponding Rule Information of input environment characteristic information.
It will be understood by those skilled in the art that above- mentioned information input unit 500 further includes some other known features, such as
Processor, memory etc., in order to unnecessarily obscure embodiment of the disclosure, these well 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 information input dresses
The one embodiment set, device embodiment embodiment of the method as shown in fig. 4 is corresponding, which specifically can be applied to respectively
In kind electronic equipment.
As shown in fig. 6, the message input device 600 of the present embodiment includes:Request reception unit 601, determination unit 602,
Transmission unit 603.Request reception unit 601 is configured to receive the information acquisition request that terminal is sent, information acquisition request packet
It includes:Word corresponding with the character inputted when input information in the information input area of the application in terminal or word;It determines
Unit 602 is configured to determine that word or the corresponding Rule Information of word, Rule Information include:It is associated with word or word
Group shares object, exhibition method information, wherein it includes following one or more that group, which shares object,:Default text information, picture letter
Breath, Quick Response Code, URL, exhibition method information, which is used to indicate, to be shared object with group by word or word and is combined the candidate knot of generation
The mode of fruit;Transmission unit 603 is configured to send Rule Information to terminal, so that the rule-based information of terminal, generates candidate
As a result, being input in information input area so that user chooses.
In the present embodiment, request reception unit 601 can receive the information acquisition request of terminal transmission, and acquisition of information is asked
Ask including:Word corresponding with the character inputted when input information in the information input area of the application in terminal or word.
For example, when inputting dining room " seabed fishing " corresponding character in social networking application of the user in terminal, then in information acquisition request
Including word " seabed fishing ".
In the present embodiment, determination unit 602 can determine word or the corresponding Rule Information of word.In the present embodiment
In, word or the corresponding Rule Information of word can be pre-configured with.For example, Rule Information definition and word or word can be utilized
Associated group shares object, presets text information, pictorial information, Quick Response Code, URL, then, is based on exhibition method information, right
Group shares object and is combined, and generates candidate result.
In the present embodiment, transmission unit 603 can be after determining word or the corresponding Rule Information of word, to terminal
Rule Information is sent, so that the rule-based information of terminal, generates candidate result, information input area is input to so that user chooses
In.
In some optional realization methods of the present embodiment, information acquisition request further includes:The input environment of application is special
Reference ceases, and input environment characteristic information includes:Context environmental, application type, Rule Information be input environment characteristic information
Corresponding Rule Information.
It will be understood by those skilled in the art that above- mentioned information input unit 600 further includes some other known features, such as
Processor, memory etc., in order to unnecessarily obscure embodiment of the disclosure, these well known structures are not shown in figure 6.
Fig. 7 shows the structure of the computer system suitable for the terminal device or server that are used for realizing the embodiment of the present application
Schematic diagram.
As shown in fig. 7, computer system 700 includes central processing unit (CPU) 701, it can be read-only according to being stored in
Program in memory (ROM) 702 or be loaded into the program in random access storage device (RAM) 703 from storage section 708 and
Execute various actions appropriate and processing.In RAM703, also it is stored with system 700 and operates required various programs and data.
CPU701, ROM 702 and RAM 703 are connected with each other by bus 704.Input/output (I/O) interface 705 is also connected to always
Line 704.
It is connected to I/O interfaces 705 with lower component:Importation 706 including keyboard, mouse etc.;It is penetrated including such as cathode
The output par, c 707 of spool (CRT), liquid crystal display (LCD) etc. and loud speaker etc.;Storage section 708 including hard disk etc.;
And the communications portion 709 of the network interface card including LAN card, modem etc..Communications portion 709 via such as because
The network of spy's net executes communication process.Driver 710 is also according to needing to be connected to I/O interfaces 705.Detachable media 711, such as
Disk, CD, magneto-optic disk, semiconductor memory etc. are mounted on driver 710, as needed in order to be read from thereon
Computer program be mounted into storage section 708 as needed.
Particularly, in accordance with an embodiment of the present disclosure, it may be implemented as computer above with reference to the process of flow chart description
Software program.For example, embodiment of the disclosure includes a kind of computer program product comprising be tangibly embodied in machine readable
Computer program on medium, the computer program include the program code for method shown in execution flow chart.At this
In the embodiment of sample, which can be downloaded and installed by communications portion 709 from network, and/or from removable
Medium 711 is unloaded to be mounted.
Flow chart in attached drawing and block diagram, it is illustrated that according to the system of the various embodiments of the application, method and computer journey
The architecture, function and operation in the cards of sequence product.In this regard, each box in flowchart or block diagram can generation
A part for a part for one module, program segment, or code of table, the module, program segment, or code includes one or more
Executable instruction for implementing the specified logical function.It should also be noted that in some implementations as replacements, institute in box
The function of mark can also occur in a different order than that indicated in the drawings.For example, two boxes succeedingly indicated are practical
On can be basically executed in parallel, they can also be executed in the opposite order sometimes, this is depended on the functions involved.Also it wants
It is noted that the combination of each box in block diagram and or flow chart and the box in block diagram and or flow chart, Ke Yiyong
The dedicated hardware based system of defined functions or operations is executed to realize, or can be referred to specialized hardware and computer
The combination of order is realized.
As on the other hand, present invention also provides a kind of nonvolatile computer storage media, the non-volatile calculating
Machine storage medium can be nonvolatile computer storage media included in device described in above-described embodiment;Can also be
Individualism, without the nonvolatile computer storage media in supplying terminal.Above-mentioned nonvolatile computer storage media is deposited
One or more program is contained, when one or more of programs are executed by an equipment so that the equipment:It receives
Character input by user, and determine the corresponding word of the character or word, the word or word with to be input to application
Information input area in information it is associated;The information acquisition request comprising the word or word is sent to server, with
And the Rule Information that server returns is received, Rule Information includes:Associated with the word or word group shares object, exhibition
Show mode information, wherein it includes following one or more that group, which shares object,:Default text information, pictorial information, Quick Response Code,
URL, exhibition method information be used to indicate by word or word and group share object be combined and the mode that generates candidate result;
Based on the Rule Information, candidate result is generated, is input in information input area so that user chooses.
Above description is only the preferred embodiment of the application and the explanation to institute's application technology principle.People in the art
Member should be appreciated that invention scope involved in the application, however it is not limited to technology made of the specific combination of above-mentioned technical characteristic
Scheme, while should also cover in the case where not departing from the inventive concept, it is carried out by above-mentioned technical characteristic or its equivalent feature
Other technical solutions of arbitrary combination and formation.Such as features described above has similar work(with (but not limited to) disclosed herein
Can technical characteristic replaced mutually and the technical solution that is formed.
Claims (4)
1. a kind of data inputting method, which is characterized in that the method includes:
Receive character input by user, and determine the corresponding word of the character or word, the word or word with wait for it is defeated
Enter associated to the information in the information input area of application;
The information acquisition request comprising the word or word is sent to server, and receives the rule letter that server returns
Breath, Rule Information include:Associated with the word or word group shares object, exhibition method information, wherein group shares pair
As including following one or more:Default text information, pictorial information, Quick Response Code, URL, exhibition method information be used to indicate by
Word or word and group share object be combined and the mode that generates candidate result;
Based on the Rule Information, candidate result is generated, is input in information input area so that user chooses, the method is also
Including:The input environment characteristic information of the application is obtained, input environment characteristic information includes:Context environmental, application class
Type, wherein the context environmental, which is used to indicate, has been enter into word in information input area or word and the character pair
Incidence relation between the word or word answered, described information obtain request and further include:The input environment characteristic information, it is described
Rule Information is the corresponding Rule Information of the input environment characteristic information.
2. a kind of data inputting method, which is characterized in that the method includes:
The information acquisition request that terminal is sent is received, described information obtains request and includes:It is defeated with the information of the application in terminal
Enter the corresponding word of the character inputted when input information in region or word;
Determine that the word or the corresponding Rule Information of word, Rule Information include:Associated with the word or word group
Share object, exhibition method information, wherein it includes following one or more that group, which shares object,:Default text information, picture letter
Breath, Quick Response Code, URL, exhibition method information, which is used to indicate, to be shared object with group by word or word and is combined the candidate knot of generation
The mode of fruit, described information obtain request and further include:The input environment characteristic information of application, input environment characteristic information include:
Context environmental, application type, the Rule Information be the corresponding Rule Information of the input environment characteristic information;
The Rule Information is sent to terminal, so that the rule-based information of terminal, generates candidate result, is inputted so that user chooses
Into information input area.
3. a kind of message input device, which is characterized in that described device includes:
Character receiving unit is configured to receive character input by user, and determines the corresponding word of the character or word,
The word or word are associated with the information in the information input area to be input to application;
Information acquisition unit is configured to obtain the input environment characteristic information of the application, and input environment characteristic information includes:
Context environmental, application type, wherein the context environmental is used to indicate the word having been enter into information input area
Or the incidence relation between word word corresponding with the character or word;
Processing unit is configured to send the information acquisition request comprising the word or word to server, and receives clothes
The Rule Information that business device returns, Rule Information include:Associated with the word or word group shares object, exhibition method letter
Breath, wherein it includes following one or more that group, which shares object,:Default text information, pictorial information, Quick Response Code, URL, displaying side
Formula information, which is used to indicate, to be shared object by word or word and group and is combined and the mode that generates candidate result, described information obtain
The request is taken to further include:The input environment characteristic information, the Rule Information are the corresponding rule of the input environment characteristic information
Then information;
Generation unit is configured to be based on the Rule Information, generates candidate result, and information input is input to so that user chooses
In region.
4. a kind of message input device, which is characterized in that described device includes:
Request reception unit is configured to receive the information acquisition request that terminal is sent, and described information obtains request and includes:With
The corresponding word of character or word inputted when input information in the information input area of application in terminal;
Determination unit is configured to determine that the word or the corresponding Rule Information of word, Rule Information include:With the word
Or associated group of word shares object, exhibition method information, wherein it includes following one or more that group, which shares object,:It is default
Text information, pictorial information, Quick Response Code, URL, exhibition method information is used to indicate shares object progress by word or word with group
The mode of combination producing candidate result, described information obtain request and further include:The input environment characteristic information of application, input environment
Characteristic information includes:Context environmental, application type, the Rule Information be the corresponding rule of the input environment characteristic information
Then information;
Transmission unit is configured to send the Rule Information to terminal, so that the rule-based information of terminal, generates candidate knot
Fruit is input to so that user chooses in information input area.
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 CN105786207A (en) | 2016-07-20 |
CN105786207B true 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) |
Families Citing this family (8)
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 |
CN109426357B (en) * | 2017-09-01 | 2023-05-12 | 百度在线网络技术(北京)有限公司 | Information input method and device |
CN107943317B (en) * | 2017-11-01 | 2021-08-06 | 北京小米移动软件有限公司 | Input method and 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 |
CN110851628A (en) * | 2019-09-29 | 2020-02-28 | 上海萌家网络科技有限公司 | Input method, client side thereof and method for providing candidate pictures/videos |
CN110837307A (en) * | 2019-09-29 | 2020-02-25 | 上海萌家网络科技有限公司 | Input method and system thereof |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
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 |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5918013A (en) * | 1996-06-03 | 1999-06-29 | Webtv Networks, Inc. | Method of transcoding documents in a network environment using a proxy server |
-
2016
- 2016-02-25 CN CN201610105783.9A patent/CN105786207B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
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 |
Also Published As
Publication number | Publication date |
---|---|
CN105786207A (en) | 2016-07-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105786207B (en) | Data inputting method and device | |
CN107809492B (en) | Method and system for generating shared information | |
CN107979632B (en) | Processing method, device and system for push information | |
CN109542427B (en) | System customization method and device, electronic equipment and storage medium | |
US20120005187A1 (en) | Web Site Content Management Techniques | |
US20140344707A1 (en) | Information Distribution Method and Device | |
CN107390994B (en) | Interface presentation method and device | |
CN109190101B (en) | Reading note generation method and device and electronic equipment | |
CN106339414A (en) | Webpage rendering method and device | |
KR20140072877A (en) | Techniques for managing and viewing followed content | |
CN109446442B (en) | Method and apparatus for processing information | |
US20140337711A1 (en) | Automatic Website Generation | |
US20140173031A1 (en) | Information providing apparatus, information providing method, and network system | |
US20170169474A1 (en) | Internet-based display material system and internet-based display material producing method | |
US20140033018A1 (en) | Method and system for automatically generating social network site page based on electronic document content | |
CN110968314B (en) | Page generation method and device | |
CN104144198A (en) | Multimedia information sharing method, system and device | |
CN110020329A (en) | For generating the methods, devices and systems of webpage | |
CN111368180A (en) | Page display method and device and electronic equipment | |
CN109829123A (en) | A kind of method for sending information and device | |
US20100318596A1 (en) | Systems and methods for providing readily updatable media content | |
CN105589631B (en) | Information displaying method and device | |
CN106973081A (en) | A kind of method and apparatus for issuing cloud resource | |
CN106547769A (en) | A kind of DOI display packings and device | |
CN108351889A (en) | The group of enhancing finds |
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 |