CN106372045A - Candidate information output method and apparatus - Google Patents

Candidate information output method and apparatus Download PDF

Info

Publication number
CN106372045A
CN106372045A CN201510437038.XA CN201510437038A CN106372045A CN 106372045 A CN106372045 A CN 106372045A CN 201510437038 A CN201510437038 A CN 201510437038A CN 106372045 A CN106372045 A CN 106372045A
Authority
CN
China
Prior art keywords
content information
information
paste
dictionary
content
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.)
Pending
Application number
CN201510437038.XA
Other languages
Chinese (zh)
Inventor
刘铁俊
张鹏飞
林形省
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Technology Co Ltd
Xiaomi Inc
Original Assignee
Xiaomi Inc
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 Xiaomi Inc filed Critical Xiaomi Inc
Priority to CN201510437038.XA priority Critical patent/CN106372045A/en
Publication of CN106372045A publication Critical patent/CN106372045A/en
Pending legal-status Critical Current

Links

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The invention relates to a candidate information output method and apparatus. The method comprises the steps of obtaining pasted content information; updating a word bank according to the pasted content information; obtaining input content information; obtaining target content information matched with the input content information from the updated word bank, wherein the target content information at least includes the pasted content information; and outputting the target content information. Therefore, the problem that a user can input previously pasted contents only through repeated pasting operations can be solved, the capability of a terminal device in memorizing the contents pasted by the user can be enhanced, the terminal device can automatically prompt the previously pasted contents to the user when the user inputs contents as same as the previously pasted contents, the tedious pasting operation of the user is removed, and the convenience is brought for the user.

Description

The method and device of output candidate information
Technical field
It relates to computer realm, more particularly, to export the method and device of candidate information.
Background technology
When user operates in the enterprising edlin of the terminal unit that it uses, often carry out paste operation, with Realize the quick movement of content (for example, text, picture etc.), thus user friendly editor.However, If user wants to input the content pasted before again, it needs to re-start duplication paste operation, This is inconvenient for a user.
Content of the invention
For overcoming problem present in correlation technique, the disclosure provide a kind of method of output candidate information and Device.
According to the embodiment of the present disclosure in a first aspect, provide a kind of output candidate information method, described side Method includes: obtains paste content information;According to described paste content information updating dictionary;Obtain in input Appearance information;The object content information with described input content information matches is obtained dictionary after updating, Described object content information at least includes described paste content information;And output described object content letter Breath.
In some possible embodiments of first aspect, described according to described paste content information updating Dictionary, comprising: determine whether include described paste content information in described dictionary;Described in response to determining Do not include described paste content information in dictionary, described paste content information is added in described dictionary; Include described paste content information in response to the described dictionary of determination, lift described paste content information in word Output priority in storehouse.
In some possible embodiments of first aspect, described described paste content information is added to In described dictionary, comprising: described paste content information is identified, draw and described paste content letter Manner of breathing corresponding content markup information, wherein, described content markup information is used for describing described paste content The content of information;By described paste content information and the content corresponding with described paste content information mark Information is added in described dictionary.
In some possible embodiments of first aspect, obtain and institute described dictionary after updating State the object content information of input content information matches, comprising: the dictionary after traversal renewal, obtain and institute State the content information set of input content information matches, described content information set includes following at least one : text message, audio-frequency information, video information, image information;According to output priority from high to low Order the content information of predetermined quantity in described content information set is defined as described object content letter Breath.
In some possible embodiments of first aspect, described according to described paste content information updating Dictionary, comprising: the quantity of information in response to determining described paste content information is less than predetermined information amount, according to Described paste content information updating dictionary.
In some possible embodiments of first aspect, described acquisition paste content information, comprising: Obtain described paste content information from the storage location with the operating system agreement for carrying out paste operation; Or described acquisition paste content information, comprising: catch from the operating system for carrying out paste operation Paste event;Described paste content information is obtained from the paste event being caught.
In some possible embodiments of first aspect, described paste content information include following at least One: text message, audio-frequency information, video information, pictorial information.
According to the second aspect of the embodiment of the present disclosure, provide a kind of device of output candidate information, described dress Put including the first acquisition module, for obtaining paste content information;Update module, for according to described Paste content information updating dictionary;Second acquisition module, for obtaining input content information;3rd acquisition Module, for obtaining the object content letter with described input content information matches in the dictionary after updating Breath, described object content information at least includes described paste content information;And output module, for defeated Go out described object content information.
In some possible embodiments of second aspect, described update module includes: paste content letter Breath determination sub-module, for determining whether include described paste content information in described dictionary;Paste content Information adds submodule, for not including described paste content information in response to determining in described dictionary, will Described paste content information is added in described dictionary;Output priority lifted submodule, in response to Determine that described dictionary includes described paste content information, lift described paste content information in dictionary Output priority.
In some possible embodiments of second aspect, described paste content information adds submodule bag Include: content markup information recognition unit, for being identified to described paste content information, draw and institute State the corresponding content markup information of paste content information, wherein, described content markup information is used for describing The content of described paste content information;Adding device, glues for by described paste content information with described The corresponding content markup information of patch content information is added in described dictionary.
In some possible embodiments of second aspect, described 3rd acquisition module includes: first obtains Take submodule, the dictionary after updating for traversal, obtain the content letter with described input content information matches Breath set, described content information set include following at least one: text message, audio-frequency information, video Information, image information;Object content information determination sub-module, for according to output priority from high to low Order the content information of predetermined quantity in described content information set is defined as described object content letter Breath.
In some possible embodiments of second aspect, described update module includes: update submodule, It is less than predetermined information amount for the quantity of information in response to determining described paste content information, according to described stickup Content information updating dictionary.
In some possible embodiments of second aspect, described first acquisition module includes: second obtains Take submodule, described for obtaining from the storage location with the operating system agreement for carrying out paste operation Paste content information;Or described first acquisition module includes: catch submodule, to use by oneself for catching Paste event in the operating system carrying out paste operation;3rd acquisition submodule, for from being caught Described paste content information is obtained in paste event.
In some possible embodiments of second aspect, described paste content information include following at least One: text message, audio-frequency information, video information, pictorial information.
According to the third aspect of the embodiment of the present disclosure, provide a kind of device of output candidate information, described dress Put including processor;For storing the memorizer of processor executable;Wherein, described processor It is configured to: obtain paste content information;According to described paste content information updating dictionary;Obtain input Content information;The object content letter with described input content information matches is obtained dictionary after updating Breath, described object content information at least includes described paste content information;And export described object content Information.
The technical scheme that embodiment of the disclosure provides can include following beneficial effect:
By obtaining paste content information, according to described paste content information updating dictionary, obtain in input Appearance information, obtains the object content information with described input content information matches the dictionary after updating, Described object content information at least includes described paste content information, and output described object content letter Breath, can solve the problems, such as the content that user could can only be pasted before inputting by repetition paste operation, Can strengthen terminal unit to the memory ability of the content that user pastes so that user input with before viscous During the content identical content of patch, the content that terminal unit can be pasted before automatically pointing out to user, save Remove user's frequently paste operation, thus bringing facility to user.
It should be appreciated that above general description and detailed description hereinafter are only exemplary and explanatory , the disclosure can not be limited.
Brief description
Accompanying drawing herein is merged in description and constitutes the part of this specification, shows and meets this public affairs The embodiment opened, and be used for explaining the principle of the disclosure together with description.
Fig. 1 is a kind of structural representation of the implementation environment according to an exemplary embodiment.
Fig. 2 is the flow chart of a kind of method of output candidate information according to an exemplary embodiment.
Fig. 3 is the flow process of the method implementing a kind of output candidate information exemplifying according to another exemplary Figure.
Fig. 4 is the flow process of the method implementing a kind of output candidate information exemplifying according to another exemplary Figure.
Fig. 5 is the flow process of the method implementing a kind of output candidate information exemplifying according to another exemplary Figure.
Fig. 6 is the flow process of the method implementing a kind of output candidate information exemplifying according to another exemplary Figure.
Fig. 7 is the flow process of the method implementing a kind of output candidate information exemplifying according to another exemplary Figure.
Fig. 8 is the flow process of the method implementing a kind of output candidate information exemplifying according to another exemplary Figure.
Fig. 9 is the schematic diagram of a scenario after the method implementing the output candidate information shown in Fig. 2 to Fig. 8.
Figure 10 is that another scene after the method implementing the output candidate information shown in Fig. 2 to Fig. 8 is shown It is intended to.
Figure 11 is a kind of block diagram of the device of output candidate information according to an exemplary embodiment.
Figure 12 is the block diagram of the device implementing a kind of output candidate information exemplifying according to another exemplary.
Figure 13 is the block diagram of the device implementing a kind of output candidate information exemplifying according to another exemplary.
Figure 14 is the block diagram of the device implementing a kind of output candidate information exemplifying according to another exemplary.
Figure 15 is the block diagram of the device implementing a kind of output candidate information exemplifying according to another exemplary.
Figure 16 a to Figure 16 b is a kind of dress of the output candidate information implementing to exemplify according to another exemplary The block diagram put.
Figure 17 is a kind of block diagram of the device of output candidate information according to an exemplary embodiment.
Specific embodiment
Here will in detail exemplary embodiment be illustrated, its example is illustrated in the accompanying drawings.Following When description is related to accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represent same or analogous Key element.Embodiment described in following exemplary embodiment does not represent the institute consistent with the disclosure There is embodiment.On the contrary, they be only with such as appended claims in described in detail, the disclosure one The example of a little consistent apparatus and method of aspect.
Fig. 1 is a kind of structural representation of the implementation environment according to an exemplary embodiment.This enforcement Environment can include terminal unit 110 server 120.Between terminal unit 110 and server 120 Can be communicated by various wired or wireless networks, this network for example can include but is not limited to: no Line fidelity (wireless fidelity, wifi) network, 2g network, 3g network, 4g network etc..
Terminal unit 110 can be with input equipment (for example, keyboard, touch pad, touch screen, Mus Mark, speech input device etc.) electronic equipment.For example, terminal unit 110 can be pc machine, knee joint Laptop computer, smart mobile phone, panel computer etc..Fig. 1 is laptop computer with terminal unit 110 To illustrate.
Terminal unit 110 can be provided with input method application, user can using this input method application, By the input equipment that configures to terminal unit 110 input content.The used dictionary of input method application can To include local dictionary and cloud dictionary.Wherein, when input method application being installed on terminal unit 110, this Ground dictionary is installed on terminal unit 110 as initial dictionary.Cloud dictionary can be carried by server 120 For.In the case of not comprising content needed for user in local dictionary, terminal unit 110 can access cloud Dictionary, and obtain content needed for user from cloud dictionary and provide it to user.Additionally, terminal unit 110 content updates needed for user that can also will get from cloud dictionary in local dictionary, with expand Local dictionary.
The term " dictionary " being used below, can refer to be exclusively used in recording the paste content from user The dictionary of information, this dictionary can be associated with the input method application installed on the terminal device, so that defeated Enter method application and can use this dictionary.Or, term " dictionary " can refer to be arranged in terminal unit The local dictionary of input method application.
Fig. 2 is the flow chart of a kind of method of output candidate information according to an exemplary embodiment. As shown in Fig. 2 the method may include that
In step s201, obtain paste content information.
Wherein, paste content information can include the content information that user passes through duplication paste operation stickup, And user passes through to shear the content information that paste operation is pasted.In one embodiment, paste content Information can include following at least one: text message, audio-frequency information, video information, pictorial information.
In step s202, according to paste content information updating dictionary.
In step s203, obtain input content information.
For example, it is possible to by being arranged on terminal unit (for example, the terminal unit 110 shown in Fig. 1) Input method apply obtaining the input content information of user.
In step s204, obtain the dictionary after updating in the target with input content information matches Appearance information, this object content information at least includes paste content information.
For example, can be stored with dictionary at least one content information.Getting input content information Afterwards, the dictionary after being updated according to this input content information inquiry, with the dictionary after updating The object content information with input content information matches is obtained at least one content information, and wherein, This object content information at least includes the paste content information obtaining before.That is, it is accessed Input content information is the input content information related to the paste content information getting before.
In step s205, export object content information.
In sum, by obtaining paste content information, according to paste content information updating dictionary, obtain Input content information, obtains the object content letter with input content information matches the dictionary after updating Breath, object content information at least includes paste content information, and output object content information, can solve Certainly user can only be strengthened end by repeating the problem of the content that paste operation could be pasted before inputting End equipment to the memory ability of the content that user pastes so that user input with before the content phase pasted With content when, the content that terminal unit can be pasted before automatically pointing out to user, save user frequent Paste operation, thus bringing facility to user.
In the disclosure, paste content information can be obtained in several ways.For example, a kind of real Apply in mode, as shown in figure 3, obtain paste content information (that is, step s201) may include that
In step s301, from for carrying out operating system (for example, the institute in Fig. 1 of paste operation The operating system of the terminal unit 110 showing) storage location arranged obtains paste content information.Wherein, This operating system can be, for example, windows system, mac os x system, Android system or ios System etc..
In this embodiment, terminal unit can arrange a storage location with operating system.For example, may be used To arrange the address of a storage location in advance in terminal unit, and phase is set in advance in an operating system The address of same storage location.So, after operating system completes a paste operation, it can be by Paste content information (for example, the paste content information in shear plate) stores depositing indicated by this address Storage space is put.Afterwards, terminal unit the storage location indicated by from this address can obtain paste content letter Breath.
Or, paste content information Store can be arrived after completing a paste operation by operating system In its storage location specified.Afterwards, this operating system can send a notification message to terminal unit, should Notification message can be used for having completed the storage operation of paste content information to terminal unit notice, and should Notification message can include the address for the storage location specified.Receive notice in terminal unit After message, it can parse this address, afterwards, depositing indicated by from this address from this notification message Storage position acquisition paste content information.
Alternatively, after terminal unit gets paste content information every time from storage location, it is permissible Remove the content being stored in this storage location, thus can save memory space.
Paste content information can also be obtained by another embodiment.For example, as shown in figure 4, obtaining Paste content information (that is, step s201) is taken to may include that
In step s401, catch from operating system (for example, the Fig. 1 for carrying out paste operation Shown in terminal unit 110 operating system) paste event.Wherein, this paste event can wrap Include duplication paste event and shearing paste event.Taking windows operating system as a example, can for example pass through Hook (hook) technology is catching the paste event under windows operating system.Permissible in paste event Including paste content information.
In step s402, obtain paste content information from the paste event being caught.
In this embodiment, by the paste event of real-time capture operating system, can be convenient and fast Get paste content information fastly, and the configuration of operating system need not be changed, operating system is according to used Normal configuration carries out paste operation, and need not take extra memory space.
After getting paste content information, can be according to this paste content information updating dictionary.Fig. 5 is The flow chart implementing a kind of method of the output candidate information exemplifying according to another exemplary.As Fig. 5 institute Show, be may include that according to paste content information updating dictionary (that is, step s202)
In step s501, determine in dictionary, whether to include paste content information.For example, it is possible to according to Paste content information inquiry dictionary, to judge to whether there is in the whole content information of storage in dictionary and to glue The consistent content information of patch content information.If it is present determination dictionary includes paste content information; If it does not exist, then not including paste content information in determination dictionary.
In step s502, do not include paste content information in response to determining in dictionary, by paste content Information is added in dictionary.So, dictionary can record this paste content information, as one in dictionary New content information.
In step s503, include paste content information in response to determination dictionary, lift paste content Output priority in dictionary for the information.
In dictionary, every content information of storage can have the output priority of itself, and exports excellent First level can be stored in dictionary as every content information a attribute.Output priority can be used for Sequence when determining that corresponding content information is output as alternating content information.Output priority is got over Height, sequence when showing that corresponding content information is output is higher.This output priority can according to The related multiple factors of corresponding content information being set, for example, it is possible to be set by below equation Determine output priority:
p = σ i = 1 n ω i × f i
Wherein, p can represent the corresponding output priority of a content information of storage in dictionary, fiCan With represent relevant with this content information i-th factor normalization after numerical information, wherein, I=1,2 ... n, ωiThe weight coefficient of i-th factor can be represented, and, 0 < ωi< 1, n can represent with The relevant factor sum of this content information.In some possible embodiments, this factor can be such as Including the usage frequency of content information, total access times, recent access times, temperature etc..Each because The corresponding weight coefficient of son can rule of thumb data be configured, and can according to practical situation at any time It is updated.
When dictionary includes paste content information, now, for example, the use time of this paste content information Number can be increased, and correspondingly, can lift the output priority of this paste content information.
By this embodiment, dictionary can be updated according to paste content information (or for being added to In dictionary, or for updating the output priority of existing content information in dictionary), such that it is able to strengthen end The memory ability to the content that user pastes for the end equipment.
Fig. 6 is the flow process of the method implementing a kind of output candidate information exemplifying according to another exemplary Figure.As shown in fig. 6, in the case of not including paste content information in dictionary, by paste content information It is added to dictionary (that is, step s502) may include that
In step s601, paste content information is identified, draws relative with paste content information The content markup information answered, wherein, this content markup information can be used for describing the interior of paste content information Hold.
As described above, paste content information can include following at least one: text message, audio-frequency information, Video information, pictorial information.Each type of paste content information can have the content mark letter of itself Breath.For example, for text message, content markup information can be for text message itself (for word For female, numeral, Chinese character), or the description information (for spcial character) for text information.? In the disclosure, spcial character can for example include mathematical symbol (for example, " ∑ ", " ∫ "), digit symbol (for example, " 2. ") etc..
For example, it is assumed that the text message pasted is " happy new year ", then corresponding content mark Information can be text message itself, i.e. " happy new year ".Assume that the text message pasted is " electricity Brain ", then corresponding content markup information is text message itself, i.e. " computer ".Assume the literary composition pasted This information is " 2. ", then corresponding content markup information is the description information of text information, i.e. " circle 2”.Assume that text message is " ∑ ", then content markup information is the description information of text information, " sue for peace ", etc..For example the text message pasted can be parsed, to draw corresponding Content markup information, or can be according to the existing content information and corresponding of storage in dictionary or cloud dictionary Content markup information, to determine for paste text message content markup information.
For audio-frequency information and video information, content markup information can mutually should be the title of this audio frequency and be somebody's turn to do The title of video.Wherein, audio frequency title can be included in the audio-frequency information pasted, and video name Can include in the video information pasted.So, by entering to the audio-frequency information pasted or video information Row parsing is it can be deduced that corresponding audio frequency title and video name.
For pictorial information, content markup information can be picture name, and this picture name can be wrapped Include in the pictorial information pasted.So, by paste pictorial information parsed it can be deduced that Corresponding picture name.Or, content markup information can be picture description information, wherein, this figure The Word message that piece description information can include for picture, for example, park name that picture includes, Building name etc..In such a case, it is possible to by image procossing is carried out to the pictorial information pasted And Text region, identify Word message from this pictorial information, and the Word message being identified is made It is the picture description information of the pictorial information for this stickup.
For different content informations, its corresponding content markup information can be identical.For example, for viscous For the pictorial information of inclusion " botanical garden " this Word message of patch, its corresponding content markup information Can be " botanical garden ", and for stickup is for the text message in " botanical garden ", it is corresponding Content markup information can also be " botanical garden ".
In step s602, by paste content information and the content corresponding with paste content information mark Information is added in dictionary.
Alternatively, except by paste content information together with corresponding content markup information be added to dictionary it Outward, the corresponding output priority of paste content information of interpolation can also be set to an initial output preferential Level.
After Word library updating, input content information can be obtained, and obtain the dictionary after updating with The object content information of input content information matches, this object content information at least includes paste content letter Breath.Fig. 7 is the flow chart of the method implementing a kind of output candidate information exemplifying according to another exemplary. As shown in fig. 7, obtaining the object content information with input content information matches from the dictionary after renewal (that is, step s204) may include that
In step s701, travel through the dictionary after updating, obtain the content with input content information matches Information aggregate, this content information set include following at least one: text message, audio-frequency information, video Information, image information.
Can be by the part or all of content information pair of the input content getting information and storage in dictionary The content markup information answered mated (for example, carry out with content markup information phonetic mate or with interior Hold markup information and carry out text matches etc.), as such, it is possible to obtain input content information and storage in dictionary Part or all of content information corresponding content markup information matching degree.Matching degree can for example be chosen More than or equal to the content information corresponding to the content markup information of a default matching degree threshold value, as with The content information of input content information matches, these content information component content information aggregates.
In step s702, will be pre- in content information set according to output priority order from high to low The content information of fixed number amount is defined as object content information.For example, it is possible to choose defeated in content information set The content information going out priority rank positioned at front 10 is as object content information.As described above, in input Appearance information is related to paste content information, therefore, obtains before at least including in this object content information The paste content information taking.
After determining object content information, object content information can be exported.For example, it is possible to according to This object content information of the output priority of each object content information Sequential output from high to low.By This, can reach user input with before paste content identical content when, terminal unit can be to The effect of the content that user pastes before automatically pointing out, such that it is able to save frequently paste operation, to use Family offers convenience.
Fig. 8 is the flow process of the method implementing a kind of output candidate information exemplifying according to another exemplary Figure.As shown in figure 8, may include that in step s801 according to paste content information updating dictionary, Quantity of information in response to determining paste content information is less than predetermined information amount, according to paste content information updating Dictionary.
In this embodiment, the quantity of information of accessed paste content information can be first determined whether whether Less than predetermined information amount.Wherein, the quantity of information of the text message of stickup can be character quantity, stickup The quantity of information of pictorial information, video information or audio-frequency information can be picture number, number of videos or audio frequency Quantity.In the case that the quantity of information of accessed paste content information is less than predetermined information amount, according to Paste content information updating dictionary.
In another embodiment, the quantity of information in accessed paste content information is more than or equal to In the case of predetermined information amount, dictionary can not be updated.
Or, in another embodiment, quantity of information can be more than or equal to the viscous of predetermined information amount Patch content information is split, and to form multiple paste content message segments, wherein, each paste content is believed The quantity of information of breath section is less than predetermined information amount.Afterwards, can be updated according to each paste content message segment Dictionary.Update method is consistent with the method described by Fig. 2 to Fig. 7.
Fig. 9 is the schematic diagram of a scenario after the method implementing the output candidate information shown in Fig. 2 to Fig. 8. As shown in figure 9, it is assumed that user has pasted content " happy new year happy new year " at operation a. Due to there is not this paste content information in dictionary, therefore, this paste content information is added in dictionary. Afterwards, at operation b, when user wants to input again " happy new year the happy new pasting before During this content information of year ", it does not need to carry out replicating paste operation again, and can be by terminal Input method application input " xinnian " installed on equipment, now, terminal unit can carry from trend user Show its " happy new year happy new year " this content pasted previous.
Figure 10 is that another scene after the method implementing the output candidate information shown in Fig. 2 to Fig. 8 is shown It is intended to.As shown in Figure 10, it is assumed that the content that user pastes is a secondary picture at operation a, and This picture includes " botanical garden " this Word message.Due to there is not this paste content information in dictionary, Therefore, this paste content information is added in dictionary.Afterwards, at operation b, when user wants again During the picture of inclusion " botanical garden " this Word message pasted before secondary input, it does not need to carry out again Replicate paste operation, and the input method application input installed be can be by terminal unit " zhiwuyuan ", now, the inclusion that terminal unit can prompt the user with its stickup previous automatically " is planted The picture of this Word message of thing garden ".
Figure 11 is a kind of block diagram of the device of output candidate information according to an exemplary embodiment. With reference to Figure 11, this device may include that the first acquisition module 1101, for obtaining paste content information; Update module 1102, for according to paste content information updating dictionary;Second acquisition module 1103, uses In acquisition input content information;3rd acquisition module 1104, for from update after dictionary in obtain with defeated Enter the object content information of content information coupling, this object content information at least includes paste content information; And output module 1105, for exporting object content information.
Alternatively, paste content information can include following at least one: text message, audio-frequency information, Video information, pictorial information.
Figure 12 is the block diagram of the device implementing a kind of output candidate information exemplifying according to another exemplary. With reference to Figure 12, update module 1102 may include that paste content information determination sub-module 1201, is used for Determine in dictionary, whether to include paste content information;Paste content information adds submodule 1202, for ringing Paste content information should not included in determining in dictionary, paste content information is added in dictionary;Output Priority lifts submodule 1203, and for including paste content information in response to determination dictionary, lifting should Output priority in dictionary for the paste content information.
Figure 13 is the block diagram of the device implementing a kind of output candidate information exemplifying according to another exemplary. With reference to Figure 13, paste content information is added submodule 1202 and be may include that the identification of content markup information is single Unit 1301, for being identified to paste content information, draws in corresponding with this paste content information Hold markup information, wherein, this content markup information is used for describing the content of paste content information;Add single Unit 1302, for adding paste content information and the content markup information corresponding with this paste content information It is added in dictionary.
Figure 14 is the block diagram of the device implementing a kind of output candidate information exemplifying according to another exemplary. With reference to Figure 14, the 3rd acquisition module 1104 may include that the first acquisition submodule 1401, for traveling through Dictionary after renewal, obtains the content information set with input content information matches, this content information set Including following at least one: text message, audio-frequency information, video information, image information;Object content Information determination sub-module 1402, for according to output priority order from high to low by content information set The content information of middle predetermined quantity is defined as object content information.
Figure 15 is the block diagram of the device implementing a kind of output candidate information exemplifying according to another exemplary. With reference to Figure 15, update module 1102 may include that renewal submodule 1501, for viscous in response to determining The quantity of information of patch content information is less than predetermined information amount, according to paste content information updating dictionary.
Figure 16 a to Figure 16 b is a kind of dress of the output candidate information implementing to exemplify according to another exemplary The block diagram put.Reference picture 16a, the first acquisition module 1101 may include that the second acquisition submodule 1601, For obtaining paste content information from the storage location with the operating system agreement for carrying out paste operation. Or, reference picture 16b, the first acquisition module 1101 may include that seizure submodule 1602, is used for Catch the paste event from the operating system for carrying out paste operation;3rd acquisition submodule 1603, For obtaining paste content information from the paste event being caught.
With regard to the device in above-described embodiment, the concrete mode of wherein modules execution operation is having It has been described in detail in the embodiment closing the method, explanation will be not set forth in detail herein.
Figure 17 is a kind of frame of the device 1700 of output candidate information according to an exemplary embodiment Figure.For example, device 1700 can be mobile phone, computer, digital broadcast terminal, information receiving and transmitting Equipment, game console, tablet device, armarium, body-building equipment, personal digital assistant etc..
With reference to Figure 17, device 1700 can include following one or more assemblies: process assembly 1702, Memorizer 1704, electric power assembly 1706, multimedia groupware 1708, audio-frequency assembly 1710, input/output (i/o) interface 1712, sensor cluster 1714, and communication component 1716.
The integrated operation of the usual control device 1700 of process assembly 1702, such as with display, call, The associated operation of data communication, camera operation and record operation.Process assembly 1702 can include one Individual or multiple processors 1720 carry out execute instruction, with complete above-mentioned output candidate information method whole Or part steps.Additionally, process assembly 1702 can include one or more modules, it is easy to treatment group Interaction between part 1702 and other assemblies.For example, process assembly 1702 can include multi-media module, To facilitate the interaction between multimedia groupware 1708 and process assembly 1702.
Memorizer 1704 is configured to store various types of data to support the operation in device 1700. The example of these data includes the instruction for any application program of operation or method on device 1700, Contact data, telephone book data, message, picture, video etc..Memorizer 1704 can be by any The volatibility of type or non-volatile memory device or combinations thereof are realized, and such as static random-access is deposited Reservoir (sram), Electrically Erasable Read Only Memory (eeprom), erasable programmable is only Reading memorizer (eprom), programmable read only memory (prom), read only memory (rom), Magnetic memory, flash memory, disk or CD.
Electric power assembly 1706 provides electric power for the various assemblies of device 1700.Electric power assembly 1706 is permissible Including power-supply management system, one or more power supplys, and other with generate for device 1700, manage and The assembly that distribution electric power is associated.
Multimedia groupware 1708 includes one output interface of offer between described device 1700 and user Screen.In certain embodiments, screen can include liquid crystal display (lcd) and touch panel (tp). If screen includes touch panel, screen may be implemented as touch screen, to receive the input from user Signal.Touch panel includes one or more touch sensors with sensing touch, slip and touch panel Gesture.Described touch sensor can not only sensing touch or sliding action border, but also detect The persistent period related to described touch or slide and pressure.In certain embodiments, multimedia group Part 1708 includes a front-facing camera and/or post-positioned pick-up head.When device 1700 is in operator scheme, During as screening-mode or video mode, front-facing camera and/or post-positioned pick-up head can receive outside many matchmakers Volume data.Each front-facing camera and post-positioned pick-up head can be optical lens system or the tools of a fixation There is focusing and optical zoom capabilities.
Audio-frequency assembly 1710 is configured to output and/or input audio signal.For example, audio-frequency assembly 1710 Including a mike (mic), when device 1700 is in operator scheme, such as call model, record mould When formula and speech recognition mode, mike is configured to receive external audio signal.The audio frequency letter being received Number can be further stored in memorizer 1704 or send via communication component 1716.In some enforcements In example, audio-frequency assembly 1710 also includes a speaker, for exports audio signal.
I/o interface 1712 is for providing interface between process assembly 1702 and peripheral interface module, above-mentioned outer Enclosing interface module can be keyboard, click wheel, button etc..These buttons may include but be not limited to: homepage Button, volume button, start button and locking press button.
Sensor cluster 1714 includes one or more sensors, for providing each side for device 1700 The state estimation in face.For example, what sensor cluster 1714 can detect device 1700 beats opening/closing shape State, the relative localization of assembly, for example described assembly is display and the keypad of device 1700, sensing Device assembly 1714 can be with the position change of detection means 1700 or 1,700 1 assemblies of device, user Presence or absence of with what device 1700 contacted, device 1700 orientation or acceleration/deceleration and device 1700 Temperature change.Sensor cluster 1714 can include proximity transducer, is configured to do not appointing The presence of object nearby is detected during what physical contact.Sensor cluster 1714 can also include light sensing Device, such as cmos or ccd imageing sensor, for using in imaging applications.In some embodiments In, this sensor cluster 1714 can also include acceleration transducer, gyro sensor, and magnetic senses Device, pressure transducer or temperature sensor.
Communication component 1716 is configured to facilitate wired or wireless way between device 1700 and other equipment Communication.Device 1700 can access the wireless network based on communication standard, such as wifi, 2g or 3g, Or combinations thereof.In one exemplary embodiment, communication component 1716 receives via broadcast channel Broadcast singal or broadcast related information from external broadcasting management system.In an exemplary embodiment In, described communication component 1716 also includes near-field communication (nfc) module, to promote junction service. For example, RF identification (rfid) technology, Infrared Data Association (irda) can be based in nfc module Technology, ultra broadband (uwb) technology, bluetooth (bt) technology and other technologies are realizing.
In the exemplary embodiment, device 1700 can be by one or more application specific integrated circuits (asic), digital signal processor (dsp), digital signal processing appts (dspd), programmable patrol Collect device (pld), field programmable gate array (fpga), controller, microcontroller, microprocessor Device or other electronic components are realized, the method for executing above-mentioned output candidate information.
In the exemplary embodiment, additionally provide a kind of non-transitory computer-readable storage including instruction Medium, for example, include the memorizer 1704 instructing, above-mentioned instruction can be by the processor 1720 of device 1700 The method to complete above-mentioned output candidate information for the execution.For example, described non-transitory computer-readable storage Medium can be rom, random access memory (ram), cd-rom, tape, floppy disk and light Data storage device etc..
Those skilled in the art, after considering description and putting into practice the disclosure, will readily occur to its of the disclosure Its embodiment.The application is intended to any modification, purposes or the adaptations of the disclosure, this A little modifications, purposes or adaptations are followed the general principle of the disclosure and are included the disclosure and be not disclosed Common knowledge in the art or conventional techniques.Description and embodiments are considered only as example Property, the true scope of the disclosure is pointed out by claim below with spirit.
It should be appreciated that the disclosure is not limited to be described above and illustrated in the accompanying drawings accurate Structure, and various modifications and changes can carried out without departing from the scope.The scope of the present disclosure is only by institute Attached claim is limiting.

Claims (15)

1. a kind of method of output candidate information is it is characterised in that methods described includes:
Obtain paste content information;
According to described paste content information updating dictionary;
Obtain input content information;
The object content information with described input content information matches is obtained dictionary after updating, described Object content information at least includes described paste content information;And
Export described object content information.
2. method according to claim 1 it is characterised in that described according to described paste content Information updating dictionary, comprising:
Determine in described dictionary, whether to include described paste content information;
Do not include described paste content information in response to determining in described dictionary, by described paste content information It is added in described dictionary;
Include described paste content information in response to the described dictionary of determination, lift described paste content information Output priority in dictionary.
3. method according to claim 2 is it is characterised in that described believe described paste content Breath is added in described dictionary, comprising:
Described paste content information is identified, draws the content corresponding with described paste content information Markup information, wherein, described content markup information is used for describing the content of described paste content information;
Described paste content information and the content markup information corresponding with described paste content information are added It is added in described dictionary.
4. method according to claim 1 it is characterised in that described from update after dictionary Obtain the object content information with described input content information matches, comprising:
Dictionary after traversal renewal, obtains the content information set with described input content information matches, institute State content information set include following at least one: text message, audio-frequency information, video information, image Information;
According to output priority order from high to low by predetermined quantity in described content information set Appearance information is defined as described object content information.
5. method according to claim 1 it is characterised in that described according to described paste content Information updating dictionary, comprising:
Quantity of information in response to determining described paste content information is less than predetermined information amount, according to described stickup Content information updating dictionary.
6. method according to claim 1 is it is characterised in that described acquisition paste content information, Including:
Obtain described paste content from the storage location with the operating system agreement for carrying out paste operation Information;Or
Described acquisition paste content information, comprising:
Catch the paste event from the operating system for carrying out paste operation;
Described paste content information is obtained from the paste event being caught.
7. method according to any one of claim 1 to 6 is it is characterised in that described stickup Content information include following at least one: text message, audio-frequency information, video information, pictorial information.
8. a kind of device of output candidate information is it is characterised in that described device includes:
First acquisition module, for obtaining paste content information;
Update module, for according to described paste content information updating dictionary;
Second acquisition module, for obtaining input content information;
3rd acquisition module, for obtaining in the dictionary after updating and described input content information matches Object content information, described object content information at least includes described paste content information;And
Output module, for exporting described object content information.
9. device according to claim 8 is it is characterised in that described update module includes:
Paste content information determination sub-module, for determining whether include described paste content in described dictionary Information;
Paste content information adds submodule, for not including described stickup in response to determining in described dictionary Content information, described paste content information is added in described dictionary;
Output priority lifts submodule, for including described paste content in response to the described dictionary of determination Information, lifts output priority in dictionary for the described paste content information.
10. device according to claim 9 is it is characterised in that described paste content information is added Submodule includes:
Content markup information recognition unit, for being identified to described paste content information, draws and institute State the corresponding content markup information of paste content information, wherein, described content markup information is used for describing The content of described paste content information;
Adding device, for by described paste content information and corresponding with described paste content information in Hold markup information to be added in described dictionary.
11. devices according to claim 8 are it is characterised in that described 3rd acquisition module includes:
First acquisition submodule, the dictionary after updating for traversal, obtain and described input content information The content information set joined, described content information set include following at least one: text message, audio frequency Information, video information, image information;
Object content information determination sub-module, will be described for the order from high to low according to output priority In content information set, the content information of predetermined quantity is defined as described object content information.
12. devices according to claim 8 are it is characterised in that described update module includes:
Update submodule, be less than predetermined information for the quantity of information in response to determining described paste content information Amount, according to described paste content information updating dictionary.
13. devices according to claim 8 are it is characterised in that described first acquisition module includes:
Second acquisition submodule, for from the storage position with the operating system agreement for carrying out paste operation Put the described paste content information of acquisition;Or
Described first acquisition module includes:
Catch submodule, for catching the paste event from the operating system for carrying out paste operation;
3rd acquisition submodule, for obtaining described paste content information from the paste event being caught.
14. devices any one of according to Claim 8 to 13 are it is characterised in that described glue Patch content information include following at least one: text message, audio-frequency information, video information, pictorial information.
A kind of 15. devices of output candidate information are it is characterised in that described device includes:
Processor;
For storing the memorizer of processor executable;
Wherein, described processor is configured to:
Obtain paste content information;
According to described paste content information updating dictionary;
Obtain input content information;
The object content information with described input content information matches is obtained dictionary after updating, described Object content information at least includes described paste content information;And
Export described object content information.
CN201510437038.XA 2015-07-23 2015-07-23 Candidate information output method and apparatus Pending CN106372045A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510437038.XA CN106372045A (en) 2015-07-23 2015-07-23 Candidate information output method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510437038.XA CN106372045A (en) 2015-07-23 2015-07-23 Candidate information output method and apparatus

Publications (1)

Publication Number Publication Date
CN106372045A true CN106372045A (en) 2017-02-01

Family

ID=57880700

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510437038.XA Pending CN106372045A (en) 2015-07-23 2015-07-23 Candidate information output method and apparatus

Country Status (1)

Country Link
CN (1) CN106372045A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109240511A (en) * 2017-07-04 2019-01-18 北京搜狗科技发展有限公司 It is a kind of to update the method for dictionary, system and a kind of for updating the device of dictionary
CN109799915A (en) * 2017-11-16 2019-05-24 北京金山安全软件有限公司 Word prediction method and device and electronic equipment

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109240511A (en) * 2017-07-04 2019-01-18 北京搜狗科技发展有限公司 It is a kind of to update the method for dictionary, system and a kind of for updating the device of dictionary
CN109799915A (en) * 2017-11-16 2019-05-24 北京金山安全软件有限公司 Word prediction method and device and electronic equipment

Similar Documents

Publication Publication Date Title
CN103944963B (en) Method of data synchronization, device, equipment and system
CN104156245B (en) list updating method and device
CN106528709A (en) Social information recommendation method and apparatus
CN103927081A (en) Method and device for processing notification events
CN105094814A (en) Method and device for notification information display
CN104536935B (en) Calculate display methods, calculate edit methods and device
CN106569800A (en) Front end interface generation method and apparatus
CN104020924B (en) Label creation method, device and terminal
CN107025419A (en) Fingerprint template input method and device
CN104036037A (en) Method and device for processing junk user
CN104035995A (en) Method and device for generating group tags
CN103944804A (en) Contact recommending method and device
CN107944447A (en) Image classification method and device
CN104636164B (en) Start page generation method and device
CN106157602A (en) The method and apparatus of calling vehicle
CN106126632A (en) Recommend method and device
CN105488348A (en) Method, device and system for providing health data
CN106126685A (en) Page loading method and device
CN105068976A (en) Ticket information exhibition method and device
CN105930536A (en) Method and device for creating indexes and method and device for jumping pages
CN104182505B (en) Webpage rearrangement method and device
CN105488145A (en) Webpage content display method and apparatus and terminal
CN104063424B (en) Web page picture shows method and demonstration device
CN106682163A (en) Article information recommendation method and device and equipment
CN106777016A (en) The method and device of information recommendation is carried out based on instant messaging

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20170201