CN103064962B - Information query method and system - Google Patents

Information query method and system Download PDF

Info

Publication number
CN103064962B
CN103064962B CN201210590963.2A CN201210590963A CN103064962B CN 103064962 B CN103064962 B CN 103064962B CN 201210590963 A CN201210590963 A CN 201210590963A CN 103064962 B CN103064962 B CN 103064962B
Authority
CN
China
Prior art keywords
information
entry
extension
model
data base
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
Application number
CN201210590963.2A
Other languages
Chinese (zh)
Other versions
CN103064962A (en
Inventor
李剑峰
何婷婷
胡国平
胡郁
刘庆峰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Bozhou Xunfei Information Technology Co Ltd
Original Assignee
iFlytek Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by iFlytek Co Ltd filed Critical iFlytek Co Ltd
Priority to CN201210590963.2A priority Critical patent/CN103064962B/en
Publication of CN103064962A publication Critical patent/CN103064962A/en
Application granted granted Critical
Publication of CN103064962B publication Critical patent/CN103064962B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The present invention relates to information query technique field, disclose a kind of information query method and system, the method includes: obtains the data base that user provides, comprises the customized information entry of user in described data base;Being extended described customized information entry based on the basic syntax extended model built in advance, generate the extension information corresponding with described data base, described basic syntax extended model is for describing the propagation law of customized information;After receiving user's Query Information to described data base, inquire about the extension information corresponding with described data base, obtain the Query Result corresponding with described Query Information.Utilize the present invention, the matching degree of variation inquiry can be improved, meet the demand that user freely inquires about.

Description

Information query method and system
Technical field
The present invention relates to information query technique field, be specifically related to a kind of information query method and system.
Background technology
Along with developing rapidly of mobile communication equipment, mobile phone plays the most important angle in people's daily life Color, carries and links up, with relatives and friends, colleague partner etc., the effect contacted.Due to the existence of a large amount of contact persons, first user needs The corresponding number of acquisition is inquired about when required by contact person subsequently according to personal habits editor's typing associated person information, and real The existing operation such as phone, note.Quickly, efficiently, contact information query is the exclusive requirement of mobile phone application accurately.
Legacy system, when to contact information query, generally uses word string to mate completely or the method for substring coupling.? In the complete matching process of word string, system is searched in address list and user inputs on all four inquiry content, as defeated to user Entering word string " Xiao Ming ", system will search the entry that name of contact person is complete " Xiao Ming " in address list, and to " Wang little Ming " etc. Entry is abandoned.In substring matching process, system search in address list comprise user input entry, will user defeated Enter the substring as target entry to mate.Accordingly, user is inputted " Xiao Ming ", " Wang little Ming ", " Li Xiaoming " will be obtained Etc. contacts entries.
Existing coupling and substring matching process completely are simple, but are difficult to meet the diversified query demand of user. In particular with increasing rapidly of address list length, associated person information also presents diversified trend, often because distinction requires Numerous information such as including name, mechanism, position.Contact person constitutes the multiformity of pattern so that user is difficult to remember exactly often How one entry is write, and causes Query Name and the entry Incomplete matching in address list of input, is not even target The substring of entry.Such as in address list, the contact of typing is artificial " Zhang Kai (news fly) ", and user input query content is that " news fly to open Triumphant ", the most no matter it is to mate completely or partly mate all to obtain correct associated person information.And for example typing in address list Entry is " Wang Zhiguo president ", and user input query content is " king president ", also cannot obtain the result of correspondence.Obviously with Under family variation querying condition, traditional method based on word string coupling cannot meet application demand.
Summary of the invention
The present invention provides a kind of information query method and system, to improve the matching degree of variation inquiry, meets user certainly By the demand inquired about.
To this end, the present invention provides following technical scheme:
A kind of information query method, including:
Obtain the data base that user provides, described data base comprises the customized information entry of user;
Based on the basic syntax extended model built in advance, described customized information entry is extended, generates with described The extension information that data base is corresponding, described basic syntax extended model is for describing the propagation law of customized information;
After receiving user's Query Information to described data base, inquire about the extension information corresponding with described data base, Obtain the Query Result corresponding with described Query Information.
Preferably, described method also includes: build described basic syntax extended model in the following manner:
Obtain the customized information entry of different user;
Described customized information entry is carried out attribute labeling, obtains sequence of attributes;
Training is for describing the marking model of the mapping relations between specifying information and described sequence of attributes;
The attribute extension model for describing Message structure pattern is generated according to described sequence of attributes.
Preferably, described generate for describing the attribute extension model bag of Message structure pattern according to described sequence of attributes Include:
Add up the frequency of various structural modelss in described sequence of attributes;
Select to meet pre-conditioned structural models as the attribute for describing Message structure pattern according to described frequency Extended model.
Alternatively, described according to described frequency select meet pre-conditioned structural models as describing message structure The attribute extension model of pattern includes:
Select the frequency structural models more than the frequency threshold set as described attribute extension model;Or
Select the structural models setting number as described attribute extension model from high to low according to frequency.
Preferably, described based on the basic syntax extended model built in advance, described customized information entry is expanded Exhibition, generates the extension information corresponding with described data base and includes:
The fundamental unit of described customized information entry is determined according to described marking model;
According to described attribute extension model, described fundamental unit is extended, obtains and described customized information word The extension entry that bar is corresponding, and formed corresponding described customized information word by described customized information entry and described extension entry The extension information of bar.
A kind of information query system, including:
Data base's acquiring unit, for obtaining the data base that user provides, comprises the personalization of user in described data base Information entry;
Entry expanding element, for entering described customized information entry based on the basic syntax extended model built in advance Row extension, generates the extension information corresponding with described data base, and described basic syntax extended model is used for describing customized information Propagation law;
Receive unit, for receiving user's Query Information to described data base;
Query unit, for after described reception unit receives user's Query Information to described data base, inquiry with The extension information that described data base is corresponding, obtains the Query Result corresponding with described Query Information.
Preferably, described system also includes:
Extended model construction unit, is used for building described basic syntax extended model;Described extended model construction unit bag Include:
Entry acquiring unit, for obtaining the customized information entry of different user;
Attribute labeling unit, for described customized information entry is carried out attribute labeling, obtains sequence of attributes;
Marking model training unit, for training for describing the mapping relations between specifying information and described sequence of attributes Marking model;
Attribute extension model generation unit, for generating the genus for describing Message structure pattern according to described sequence of attributes Property extended model.
Preferably, described attribute extension model generation unit includes:
Statistics subelement, for adding up the frequency of various structural modelss in described sequence of attributes;
Select subelement, for selecting to meet pre-conditioned structural models as describing information according to described frequency The attribute extension model of structural models.
Alternatively, described selection subelement, specifically for selecting frequency to make more than the structural models of the frequency threshold set For described attribute extension model;Or select the structural models setting number as described attribute extension from high to low according to frequency Model.
Preferably, described entry expanding element includes:
Determine subelement, for determining the fundamental unit of customized information entry according to described marking model;
Extension subelement, for described fundamental unit being extended according to described attribute extension model, obtain with The extension entry that described customized information entry is corresponding, and formed correspondence by described customized information entry and described extension entry The extension information of described customized information entry.
The information query method of embodiment of the present invention offer and system, be in advance based on for describing customized information extension rule The basic syntax extended model of rule, is extended the customized information entry of user, and be expanded information, so so that institute State extension information and can support more freely describing mode more to user personalized information.In the inquiry receiving user's input After information, inquire about in the entry set the most described extension information of extension, obtain target information, thus be effectively improved inquiry Degree of freedom and accuracy rate, preferably meet the demand that user freely inquires about.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present application or technical scheme of the prior art, below will be to institute in embodiment The accompanying drawing used is needed to be briefly described, it should be apparent that, the accompanying drawing in describing below is only described in the present invention A little embodiments, for those of ordinary skill in the art, it is also possible to obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the flow chart of embodiment of the present invention information query method;
Fig. 2 is the flow chart building basic syntax extended model in the embodiment of the present invention;
Fig. 3 is the flow chart in the embodiment of the present invention being extended user personalized information entry;
Fig. 4 is a kind of structural representation of embodiment of the present invention information query system;
Fig. 5 is the another kind of structural representation of embodiment of the present invention information query system;
Fig. 6 is a kind of structural representation of entry expanding element in embodiment of the present invention information query system.
Detailed description of the invention
In order to make those skilled in the art be more fully understood that the scheme of the embodiment of the present invention, below in conjunction with the accompanying drawings and implement The embodiment of the present invention is described in further detail by mode.
The information query method of embodiment of the present invention offer and system, be in advance based on for describing customized information extension rule The basic syntax extended model of rule, is extended the customized information entry of user, and be expanded information, so so that institute State extension information and can support more freely describing mode more to user personalized information.In the inquiry receiving user's input After information, inquire about in the entry set the most described extension information of extension, obtain target information, thus be effectively improved inquiry Degree of freedom and accuracy rate, preferably meet the demand that user freely inquires about.
As it is shown in figure 1, be the flow chart of embodiment of the present invention information query method, comprise the following steps:
Step 101, obtains the data base that user provides, comprises the customized information entry of user in described data base.
Described user personalized information entry refers to that some that user oneself preserves have certain particular community or feature One class entry, the title catalogue etc. that such as address list, user are liked.
Step 102, is extended described customized information entry based on the basic syntax extended model built in advance, raw Becoming the extension information corresponding with described data base, described basic syntax extended model is for describing the extension rule of customized information Rule.
User personalized information entry is extended obtaining by described extension information based on basic syntax extended model Entry set.
Described basic syntax extended model, for describing the propagation law of customized information, can use the side of off-line training Formula, according to a large amount of customized informations gathered, such as contact information of customer (address list that such as user uploads), training in advance Obtaining, concrete building process will be described in detail later.
Due to user preserve above-mentioned customized information entry time, different entries may be used different forms and Component content, such as, for the contact person in address list, can use herein below and form: name, name+position, and surname+ Position, mechanism+name, etc..When therefore can cause inquiry, the Query Information of input cannot be with described user personalized information word The situation that entry in bar matches, it is impossible to obtain corresponding Query Result.
To this end, in embodiments of the present invention, basic syntax extended model based on the propagation law describing customized information, Being extended user personalized information entry, the entry set enabling extension to obtain more freely describes original entry and is wrapped The information contained.
Such as, an associated person information in the address list of user is " Xun Feiwang intelligence state president ", after above-mentioned extension Can obtain following new entry:
A) Wang Zhiguo;
B) Xun Feiwang intelligence state;
C) news fly Wang president;
D) king president.
Concrete extended mode will be described in detail later.
Step 103, after receiving user's Query Information to described data base, inquires about the expansion corresponding with described data base Exhibition information, obtains the Query Result corresponding with described Query Information.
Above-mentioned Query Information can be contact person's Query Information, such as, and " news fly Zhang Kai ", naturally it is also possible to be other inquiries Information.
Specifically, can be by modes such as coupling or identifications, from described extension information, knot is inquired about in inquiry accordingly Really.
It should be noted that in actual applications, in addition it is also necessary to Query Result is returned to user, the inquiry returned to user Result can be the link that the original entry in the data base that user provides is corresponding, such as telephone number.In order to be further ensured that The accuracy of Query Result, to user return Query Result can also is that the original entry in the data base that user provides and The link that this entry is corresponding, is judged whether correctly by user.
According to different application, if the entry matched with the Query Information of user's input is according in described data base Original entry extend the extension entry that obtains, it is also possible to using the link of this extension entry and correspondence as Query Result, certainly, What extension entry was corresponding links link corresponding with original entry is same.
Visible, compared with prior art, owing to the information query method of the embodiment of the present invention is not directly at original number Inquire about according in storehouse, but based on basic syntax extended model, the user personalized information entry in data base is being expanded The entry set that exhibition obtains is inquired about, thus is effectively improved inquiry degree of freedom and accuracy rate, preferably meet use The demand that family is freely inquired about.
It should be noted that the information query method of the embodiment of the present invention can be applied not only to the inquiry of user contact Environment, it is also possible to be applied in the inquiry environment of other customized informations, this embodiment of the present invention is not limited.
In actual applications, the structure of described basic syntax extended model can adopted in the way of using off-line training in a large number On the user personalized information such as associated person information of collection, training in advance obtains.
As in figure 2 it is shown, be the flow chart building basic syntax extended model in the embodiment of the present invention, comprise the following steps:
Step 201, obtains the customized information entry of user.
Step 202, carries out attribute labeling to described customized information entry, obtains sequence of attributes.
The attribute needing mark can determine according to the feature of user personalized information, such as, records for user communication In associated person information, user's the biggest existing randomness when typing also has certain rule to follow.In general user's connection It is that people's entry has generally comprised key element: surname, name, appellation (such as " father "), exabyte (such as " news fly "), position or title are (such as " warp Reason "), occupation (such as " finishing "), relation (such as " colleague "), differentiating words (such as " newly "), number (such as " 2 "), other correlates (as " Gas Company ") etc..To this end, can be according to default contact person's common properties, such as " surname ", " name ", " company " etc. is to specifically Entry carries out attribute labeling.
Equally, for other customized informations, it is also possible to preset the common properties of its correspondence, then belong to according to these Property carries out attribute labeling to each concrete entry.
So, corresponding each entry, i.e. can get a sequence of attributes.
Step 203, training is for describing the marking model of the mapping relations between specifying information and described sequence of attributes.
Specifically, statistical model, such as CRF(Conditional Random Field, condition random field can be used) These mapping relations are described by model, HMM (Hidden Markov Model, hidden Markov model) etc., and above-mentioned On mark entry, training obtains model parameter, including hop frequencies and each shape probability of state etc., and concrete training process and tradition Training process be similar to, be not described in detail at this.
Step 204, generates the attribute extension model for describing Message structure pattern according to described sequence of attributes.
From the training data of sequence of attributes corresponding to a large number of users customized information entry gathered, statistics obtains various The frequency of structural models, and select the multiple structural modelss meeting systemic presupposition condition to generate for describing Message structure pattern Attribute extension model.
Described systemic presupposition condition for controlling the scale of the plurality of structure, can use setting structure number or Structure frequency controls more than the method for predetermined threshold value.
Such as, for associated person information, common structural models is exemplified below shown in table 1.
Table 1
Structural models Sample
Name Li Fei
Appellation Mother-in-law
Surname+appellation All brothers
Name+appellation Beautiful elder sister
Company+name Scenery with hills and waters Zhang Liuhua
Name+company Zhang Kai Tengxun
Company+surname+position Green baby Zhangs manager
Surname+position Lu factory director
Surname+position+company Li handles Hua Bi
Occupation+surname Booking Xu
Surname+position+operator Section chief Zhao moves
Name+numeral Open roc 3
Name+differentiating words Zhang Lei is new
Name+operator Li Yan telecommunications
It should be noted that the training of above-mentioned basic syntax extended model can customized information word based on different user Bar is trained obtaining, and the information after so can making extension preferably supports the inquiry of the customized information of different user.
It should be noted that the basic syntax extended model in the embodiment of the present invention includes that above-mentioned marking model and attribute expand Exhibition model, based on this basic syntax extended model, is extended one by one to the customized information entry in customer data base, generates The extension information corresponding with described data base, it is achieved the support to user personalized information more more free descriptions mode.
As it is shown on figure 3, be the flow chart in the embodiment of the present invention, user personalized information entry being extended, including with Lower step:
Step 301, determines the fundamental unit of customized information entry according to marking model.
Specifically, first customized information entry text can be carried out word segmentation processing, obtain the participle of the corresponding text Sequence;Then calculate this segmentation sequence path probability in described marking model, and select the path of wherein maximum probability to be The attribute labeling that described participle is corresponding;Finally according to needs, attribute labeling is merged, obtain each key element unit.
Such as, the entry to " news fly Zhang Kai ", by acquisition " news "-" mechanism 1 " after factor analysis, " flying "-" mechanism 2 ", " open "-" surname ", the markup information of " triumphant "-" name 1 ".Finally markup information is merged acquisition key element unit, i.e. " news fly "- " mechanism ", " Zhang Kai "-" name ".
By said process, complete the conversion from concrete content of text to attribute.
Step 302, is extended described fundamental unit according to described attribute extension model, obtains and described individual character Change the extension entry that information entry is corresponding.
It is to say, according to the structural models obtained in above-mentioned basic syntax spread training, to current Personalized information word Bar is extended, and obtains the structural models of other common customized informations so that it is can be compatible various when follow-up is inquired about Customized information structural models.
Such as, when customized information entry " Xun Feiwang intelligence state president " is extended, the first composition to this entry Pattern analysis obtains: " surname " is " king ", and " name " is " intelligence state ", Business Name " news fly ", and position is element structures such as " presidents ";So Afterwards according to the structural models obtained in basic syntax spread training, such as " surname+name ", " company+surname+name ", " surname+position " etc., right The entry of " Xun Feiwang intelligence state president " extends and obtains following many new terms:
A) " surname+name ": Wang Zhiguo
B) " company+surname+name ": Xun Feiwang intelligence state
C) " company+surname+position ": news fly Wang president
D) " surname+position ": king president
Step 303, is formed corresponding described customized information entry by described customized information entry and described extension entry Extension information.
It is to say, above-mentioned extension information not only includes the original customized information entry in customer data base, and Include the extension entry obtained through extension.
As such, it is possible to formed a new data base by the extension entry of original entry and corresponding each original entry, this number Extension information above-mentioned is included according to storehouse.
Visible, the extension of customized information entry improves the degree of freedom of user's inquiry, it is to avoid Query Information and entry Not to the problem providing Query Result during correspondence.
It should be noted that the method for the embodiment of the present invention is applicable not only to network environment based on cloud computing, it is also possible to Various digital devices are implanted as Embedded Application.Under cloud computing environment, it is respective that server acquisition different user is uploaded Customized information (such as associated person information), completes the customized information extended operation of specific user, i.e. generates and specific user Corresponding extension information.Server is after receiving the Query Information of user subsequently, obtains user identity, to should user Extension information is inquired about corresponding entry and completes inquiry operation, and Query Result is supplied to user.And should in embedded system In with, owing to user is unique, therefore can complete user personalized information extension when system initialization and look at follow-up During inquiry, extend from user breath is inquired about corresponding entry complete inquiry operation.
Correspondingly, the embodiment of the present invention also provides for a kind of information query system, as shown in Figure 4, is a kind of knot of this system Structure schematic diagram.
In this embodiment, described system includes:
Data base's acquiring unit 401, for obtaining the data base that user provides, comprises the individual character of user in described data base Change information entry;
Entry expanding element 402, is used for based on the basic syntax extended model built in advance described customized information word Bar is extended, and generates the extension information corresponding with described data base, and described basic syntax extended model is used for describing personalization The propagation law of information;
Receive unit 403, for receiving user's Query Information to described data base;
Query unit 404, is used for after described reception unit 403 receives user's Query Information to described data base, Inquire about the extension information corresponding with described data base, obtain the Query Result corresponding with described Query Information.
Described user personalized information entry refers to that some that user oneself preserves have certain particular community or feature One class entry, the title catalogue etc. that such as address list, user are liked.
Described basic syntax extended model, for describing the propagation law of customized information, can use the side of off-line training Formula, according to a large amount of customized informations gathered, such as contact information of customer (address list that such as user uploads), training in advance Obtain.
Based on above-mentioned basic syntax extended model, user personalized information entry is extended, makes the word that extension obtains Bar set can more freely describe the information that original entry is comprised.
Above-mentioned Query Information can be contact person's Query Information, such as, and " news fly Zhang Kai ", naturally it is also possible to be other inquiries Information.Query unit 404 specifically can be inquired about looked into accordingly by modes such as coupling or identifications from described extension information Ask result.
In actual applications, described system also can farther include: output unit (not shown), for by query unit 404 Query Results obtained return to user.
It should be noted that described Query Result can be the chain that the original entry in the data base that user provides is corresponding Connect, such as telephone number, or the original entry in the data base that provides of user and link corresponding to this entry, by user Judge whether correct, or extend entry and the link etc. of correspondence, this embodiment of the present invention is not limited.
Visible, compared with prior art, owing to the information query system of the embodiment of the present invention is not directly at original number Inquire about according in storehouse, but based on basic syntax extended model, the user personalized information entry in data base is being expanded The entry set that exhibition obtains is inquired about, thus is effectively improved inquiry degree of freedom and accuracy rate, preferably meet use The demand that family is freely inquired about.
It should be noted that the information query system of the embodiment of the present invention can be applied not only to the inquiry of user contact Environment, it is also possible to be applied in the inquiry environment of other customized informations, this embodiment of the present invention is not limited.
In actual applications, the structure of described basic syntax extended model can adopted in the way of using off-line training in a large number On the user personalized information such as associated person information of collection, training in advance obtains, and is loaded into when described information query system starts. The structure of described basic syntax extended model can also be completed when system initialization.
As it is shown in figure 5, be another structural representation of embodiment of the present invention information query system.
Unlike 4 illustrated embodiments, in this embodiment, described system also includes:
Extended model construction unit 501, is used for building basic syntax extended model.Described extended model construction unit 501 Including:
Entry acquiring unit 511, for obtaining the customized information entry of different user;
Attribute labeling unit 512, for described customized information entry is carried out attribute labeling, obtains sequence of attributes;
Marking model training unit 513, for training for describing the mapping between specifying information and described sequence of attributes The marking model of relation;
Attribute extension model generation unit 514, is used for describing Message structure pattern for generating according to described sequence of attributes Attribute extension model.
The attribute needing mark can determine according to the feature of user personalized information, such as, records for user communication In associated person information, user's the biggest existing randomness when typing also has certain rule to follow.In general user's connection It is that people's entry has generally comprised key element: surname, name, appellation (such as " father "), exabyte (such as " news fly "), position or title are (such as " warp Reason "), occupation (such as " finishing "), relation (such as " colleague "), differentiating words (such as " newly "), number (such as " 2 "), other correlates (as " Gas Company ") etc..To this end, attribute labeling unit 512 can be according to default contact person's common properties, such as " surname ", " name ", " company " etc. carry out attribute labeling to concrete entry.
Equally, for other customized informations, it is also possible to preset the common properties of its correspondence, then belong to according to these Property carries out attribute labeling to each concrete entry.
So, corresponding each entry, i.e. can get a sequence of attributes.
Marking model training unit 513 specifically can use statistical model, and such as CRF model, HMM etc., to specifying information And the mapping relations between attribute are described, and training obtains model parameter, including hop frequencies on above-mentioned mark entry And each shape probability of state etc., concrete training process is similar with traditional training process, is not described in detail at this.
A kind of specific embodiment of described attribute extension model generation unit 514 includes: statistics subelement and selection are single Unit (not shown).Wherein:
Described statistics subelement, for adding up the frequency of various structural modelss in described sequence of attributes;
Described selection subelement, for selecting to meet pre-conditioned structural models as describing according to described frequency The attribute extension model of Message structure pattern.
Described systemic presupposition condition for controlling the scale of the plurality of structure, can use setting structure number or Structure frequency controls more than the method for predetermined threshold value.Such as, described selection subelement specifically can select frequency to be more than setting The structural models of frequency threshold is as described attribute extension model;Or select to set the structure of number from high to low according to frequency Pattern is as described attribute extension model.
It should be noted that the training of above-mentioned basic syntax extended model can customized information word based on different user Bar is trained obtaining, and the information after so can making extension preferably supports the inquiry of the customized information of different user.
Based on above-mentioned basic syntax extended model, the one of entry expanding element in embodiment of the present invention information query system Structure is as shown in Figure 6.
In this embodiment, described entry expanding element includes:
Determine subelement 601, for determining customized information entry according to the marking model in basic syntax extended model Fundamental unit.
Specifically, it is determined that first subelement 601 can carry out word segmentation processing to customized information entry text, obtain correspondence The segmentation sequence of the text;Then calculate this segmentation sequence path probability in described marking model, and select wherein probability Maximum path is the attribute labeling that described participle is corresponding;Finally according to needs, attribute labeling is merged, obtain each key element Unit.By said process, complete the conversion from concrete content of text to attribute.
Extension subelement 602, is used for according to the attribute extension model in basic syntax extended model described fundamental Unit is extended, and obtains the extension entry corresponding with customized information entry, and by described customized information entry and described Extension entry forms the extension information of corresponding described customized information entry.
It is to say, according to the structural models obtained in above-mentioned basic syntax spread training, to current Personalized information word Bar is extended, and obtains the structural models of other common customized informations so that it is can be compatible various when follow-up is inquired about Customized information structural models.As such, it is possible to by the extension entry of original entry and corresponding each original entry form one new Data base, this data base includes extension information above-mentioned.
Visible, the extension of customized information entry improves the degree of freedom of user's inquiry, it is to avoid Query Information and entry Not to the problem providing Query Result during correspondence.
It should be noted that the information query system of the embodiment of the present invention is applicable not only to network rings based on cloud computing Border, it is also possible to implant various digital devices as Embedded Application.
Each embodiment in this specification all uses the mode gone forward one by one to describe, identical similar portion between each embodiment Dividing and see mutually, what each embodiment stressed is the difference with other embodiments.Real especially for system For executing example, owing to it is substantially similar to embodiment of the method, so describing fairly simple, relevant part sees embodiment of the method Part illustrate.System embodiment described above is only schematically, wherein said illustrates as separating component Unit can be or may not be physically separate, the parts shown as unit can be or may not be Physical location, i.e. may be located at a place, or can also be distributed on multiple NE.Can be according to the actual needs Select some or all of module therein to realize the purpose of the present embodiment scheme.Those of ordinary skill in the art are not paying In the case of creative work, i.e. it is appreciated that and implements.
Being described in detail the embodiment of the present invention above, the present invention is carried out by detailed description of the invention used herein Illustrating, the explanation of above example is only intended to help to understand the method and apparatus of the present invention;Simultaneously for this area one As technical staff, according to the thought of the present invention, the most all will change, to sum up institute Stating, this specification content should not be construed as limitation of the present invention.

Claims (6)

1. an information query method, it is characterised in that including:
Obtain the data base that user provides, described data base comprises the customized information entry of user;
Based on the basic syntax extended model built in advance, described customized information entry is extended, generates and described data The extension information that storehouse is corresponding, described basic syntax extended model is for describing the propagation law of customized information;
After receiving user's Query Information to described data base, inquire about the extension information corresponding with described data base, obtain The Query Result corresponding with described Query Information;
Described method also includes: build described basic syntax extended model in the following manner:
Obtain the customized information entry of different user;
Described customized information entry is carried out attribute labeling, obtains sequence of attributes;
Training is for describing the marking model of the mapping relations between specifying information and described sequence of attributes;
The attribute extension model for describing Message structure pattern is generated according to described sequence of attributes;
Described generation according to described sequence of attributes includes for the attribute extension model describing Message structure pattern:
Add up the frequency of various structural modelss in described sequence of attributes;
Select to meet pre-conditioned structural models as the attribute extension for describing Message structure pattern according to described frequency Model.
Method the most according to claim 1, it is characterised in that described according to described frequency select meet pre-conditioned knot Structure pattern includes as the attribute extension model being used for describing Message structure pattern:
Select the frequency structural models more than the frequency threshold set as described attribute extension model;Or
Select the structural models setting number as described attribute extension model from high to low according to frequency.
Method the most according to claim 1 and 2, it is characterised in that described based on the basic syntax expanded mode built in advance Described customized information entry is extended by type, generates the extension information corresponding with described data base and includes:
The fundamental unit of described customized information entry is determined according to described marking model;
According to described attribute extension model, described fundamental unit is extended, obtains and described customized information entry pair The extension entry answered, and formed corresponding described customized information entry by described customized information entry and described extension entry Extension information.
4. an information query system, it is characterised in that including:
Data base's acquiring unit, for obtaining the data base that user provides, comprises the customized information of user in described data base Entry;
Entry expanding element, for expanding described customized information entry based on the basic syntax extended model built in advance Exhibition, generates the extension information corresponding with described data base, and described basic syntax extended model is for describing the expansion of customized information Exhibition rule;
Receive unit, for receiving user's Query Information to described data base;
Query unit, for after described reception unit receives user's Query Information to described data base, inquiry is with described The extension information that data base is corresponding, obtains the Query Result corresponding with described Query Information;
Described system also includes:
Extended model construction unit, is used for building described basic syntax extended model;Described extended model construction unit includes:
Entry acquiring unit, for obtaining the customized information entry of different user;
Attribute labeling unit, for described customized information entry is carried out attribute labeling, obtains sequence of attributes;
Marking model training unit, for training for describing the mark of the mapping relations between specifying information and described sequence of attributes Injection molding type;
Attribute extension model generation unit, expands for generating the attribute for describing Message structure pattern according to described sequence of attributes Exhibition model;
Described attribute extension model generation unit includes:
Statistics subelement, for adding up the frequency of various structural modelss in described sequence of attributes;
Select subelement, for selecting to meet pre-conditioned structural models as describing message structure according to described frequency The attribute extension model of pattern.
System the most according to claim 4, it is characterised in that
Described selection subelement, specifically for selecting frequency to expand as described attribute more than the structural models of the frequency threshold set Exhibition model;Or select the structural models setting number as described attribute extension model from high to low according to frequency.
6. according to the system described in claim 4 or 5, it is characterised in that described entry expanding element includes:
Determine subelement, for determining the fundamental unit of customized information entry according to described marking model;
Extension subelement, for being extended described fundamental unit according to described attribute extension model, obtains with described The extension entry that customized information entry is corresponding, and it is made up of corresponding described described customized information entry and described extension entry The extension information of customized information entry.
CN201210590963.2A 2012-12-31 2012-12-31 Information query method and system Active CN103064962B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210590963.2A CN103064962B (en) 2012-12-31 2012-12-31 Information query method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210590963.2A CN103064962B (en) 2012-12-31 2012-12-31 Information query method and system

Publications (2)

Publication Number Publication Date
CN103064962A CN103064962A (en) 2013-04-24
CN103064962B true CN103064962B (en) 2016-08-24

Family

ID=48107592

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210590963.2A Active CN103064962B (en) 2012-12-31 2012-12-31 Information query method and system

Country Status (1)

Country Link
CN (1) CN103064962B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104469002A (en) * 2014-12-02 2015-03-25 科大讯飞股份有限公司 Mobile phone contact person determination method and device
CN110246493A (en) * 2019-05-06 2019-09-17 百度在线网络技术(北京)有限公司 Address book contact lookup method, device and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101539907A (en) * 2008-03-19 2009-09-23 日电(中国)有限公司 Part-of-speech tagging model training device and part-of-speech tagging system and method thereof
CN101702167A (en) * 2009-11-03 2010-05-05 上海第二工业大学 Method for extracting attribution and comment word with template based on internet
CN102110174A (en) * 2011-04-11 2011-06-29 重庆大学 Keyword-based WEB server expansion search method
CN102141993A (en) * 2010-02-02 2011-08-03 同济大学 Semantic ontology-based case representation method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9009137B2 (en) * 2010-03-12 2015-04-14 Microsoft Technology Licensing, Llc Query model over information as a networked service

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101539907A (en) * 2008-03-19 2009-09-23 日电(中国)有限公司 Part-of-speech tagging model training device and part-of-speech tagging system and method thereof
CN101702167A (en) * 2009-11-03 2010-05-05 上海第二工业大学 Method for extracting attribution and comment word with template based on internet
CN102141993A (en) * 2010-02-02 2011-08-03 同济大学 Semantic ontology-based case representation method
CN102110174A (en) * 2011-04-11 2011-06-29 重庆大学 Keyword-based WEB server expansion search method

Also Published As

Publication number Publication date
CN103064962A (en) 2013-04-24

Similar Documents

Publication Publication Date Title
CN103092928B (en) Voice inquiry method and system
CN103226393B (en) A kind of input method and equipment
CN101464881B (en) Method and system for generating media recommendations in a distributed environment based on tagging play history information with location information
CN101937437B (en) Search method, device and system
CN104298710B (en) Automatically welcome terrestrial reference is found
KR101348401B1 (en) Method of rendering user interface, server performing the same and stroage media sotring the same
CN100421113C (en) Searching system and method based on personalized information
CN102955781B (en) A kind of personage's searching method and device
CN102084362B (en) User navigation via vectors dynamically mapped to distinct media attributes
CN103246703B (en) A kind of method and apparatus for being used to determine application dictionary
CN108959394A (en) The search result of cluster
CN107845382A (en) Dynamic language model
CN104899315A (en) Method and device for pushing user information
CN105868267B (en) A kind of modeling method of mobile social networking user interest
CN102968454B (en) A kind of for obtaining the method and apparatus promoting object search results
CN105373619A (en) User big data based user group analysis method and system
CN107567620A (en) Instant search suggestion based on context
CN105117399A (en) Image search method and device
CN102214227B (en) Automatic public opinion monitoring method based on internet hierarchical structure storage
CN102207942A (en) Identification information matching-based search method and device
CN103312734A (en) Wallpaper pushing method and device
KR20120033821A (en) System and method for providing search result based on personal network
CN104348941B (en) A kind of method and device for searching expectation user using cell phone address book
CN103064962B (en) Information query method and system
CN101894146A (en) Method and system for realizing advertising function by using created text edit box

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: Wangjiang Road high tech Development Zone Hefei city Anhui province 230088 No. 666

Applicant after: Iflytek Co., Ltd.

Address before: Wangjiang Road high tech Development Zone Hefei city Anhui province 230088 No. 666

Applicant before: Anhui USTC iFLYTEK Co., Ltd.

COR Change of bibliographic data
C14 Grant of patent or utility model
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20190307

Address after: 236800 Bozhou Wuhu Modern Industrial Park, Bozhou City, Anhui Province

Patentee after: Bozhou Xunfei Information Technology Co., Ltd.

Address before: 230088 666 Wangjiang West Road, Hefei hi tech Development Zone, Anhui

Patentee before: Iflytek Co., Ltd.

TR01 Transfer of patent right