[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN102591875A - Data retrieval method and data retrieval device - Google Patents

Data retrieval method and data retrieval device Download PDF

Info

Publication number
CN102591875A
CN102591875A CN2011100067065A CN201110006706A CN102591875A CN 102591875 A CN102591875 A CN 102591875A CN 2011100067065 A CN2011100067065 A CN 2011100067065A CN 201110006706 A CN201110006706 A CN 201110006706A CN 102591875 A CN102591875 A CN 102591875A
Authority
CN
China
Prior art keywords
data
found
retrieval
relationship chain
database
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
CN2011100067065A
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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN2011100067065A priority Critical patent/CN102591875A/en
Publication of CN102591875A publication Critical patent/CN102591875A/en
Pending legal-status Critical Current

Links

Images

Landscapes

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

Abstract

The invention discloses a data retrieval method, which includes the step: when to-be-searched data are retrieved and a relationship chain corresponding to the to-be-searched data is determined to exist, outputting the to-be-searched data and associative data of the to-be-searched data retrieved according to the relationship chain. The invention further provides a data retrieval device. By the aid of the method and the device, data retrieval efficiency can be greatly improved.

Description

A kind of method and apparatus of data retrieval
Technical field
The present invention relates to data retrieval technology, be meant a kind of method and apparatus of data retrieval especially.
Background technology
Data retrieval (Data Retrieval) is that the data through selection, arrangement and evaluation (evaluation) are deposited in certain carrier, and from certain data acquisition, retrieves the process or the technology of the accurate data that can answer a question according to user's needs.
Instant messaging (IM) is meant the business that can send and receive internet message etc. immediately.Along with the increase of the growing and user's request of the communication technology, the function of instant messaging is more and more abundanter, integrated gradually multiple functions such as Email, blog, music, TV, recreation and search.Instant messaging no longer is a simple chat tool, and it has developed into collection interchange, information, amusement, search, ecommerce, office cooperation and corporate client service etc. and has been the synthesization information platform of one.Therefore, more and more users is brought into use instant messaging service.
Because the increasing of user, JICQ may be safeguarded a huge contact data storehouse, and according to user's demand, also can manage through the mode of crowd or group a plurality of contact persons.Comprise one or more contact persons in crowd or the group; A contact person possibly belong to a plurality of crowds or group.
At present, when coming search contact based on the subscriber data storehouse of JICQ maintenance, the data retrieval of employing is just simply according to the character of importing; As: contact person's key message, specifically can be contact name or numbering etc., in the contact data storehouse, carry out matched and searched; Therefore, need the user to remember contact person's key message, still; When searching a plurality of contact person if desired, then the user need remember each contact person's key message, carries out repeatedly search operation; When the contact data storehouse was very huge, recall precision was just very low.But, in the practical application, possibly there is some association between the contact person, as: belong to a crowd or group, if after importing a contact person's key message, can provide other related with it contact persons, recall precision will improve greatly so.
Summary of the invention
In view of this, fundamental purpose of the present invention is to provide a kind of method and apparatus of data retrieval, can solve the low problem of recall precision when using the more contact person of JICQ number of searches.
For achieving the above object, technical scheme of the present invention is achieved in that
The invention provides a kind of method of data retrieval, this method comprises:
In database, set up the relationship chain between the associated data;
When in said database, retrieving data to be found and confirm existing, export said data to be found and the associated data of the said data to be found that retrieve according to said relationship chain with said data corresponding relationship chain to be found.
Further, before the retrieval data to be found, this method also comprises in database:
Import the identification information of said data to be found, in said database, retrieve said data to be found according to said identification information.
Further, the identification information of the said data to be found of input comprises: the title of said data to be found and/or the numbering of said data to be found.
Further, this method also comprises: in database, retrieve data to be found, when not retrieving with said data corresponding relationship chain to be found, export said data to be found.
The present invention also provides a kind of device of data retrieval, and this device comprises:
Database is used to store data, and the relationship chain between the storage associated data;
Retrieval module is used in said database retrieval data to be found; Also be used for when confirm existing, retrieving the associated data of said data to be found according to said relationship chain with said data corresponding relationship chain to be found;
Output module is used to export the data said to be found that said retrieval module retrieves and the associated data of said data to be found.
Further, this device also comprises:
Load module is used to import the identification information of said data to be found;
Accordingly, said retrieval module also is used for according to said identification information in the said data to be found of said database retrieval.
Further, the identification information of the said data to be found of input comprises: the title of said data to be found and/or the numbering of said data to be found.
Further, said output module also is used for when said retrieval module does not retrieve with said data corresponding relationship chain to be found, exporting said data to be found.
The method and apparatus of data retrieval of the present invention; In database, set up the relationship chain between the associated data, when retrieving data to be found, further retrieval and data corresponding relationship chain to be found; And the associated data of the data to be found that retrieve according to this relationship chain; Owing to may have other data to be found in the associated data of data to be found, so just can reduce user's search operaqtion, improve recall precision greatly.
Exist related as belong to identical crowd or during group, just can improve recall precision greatly when the user uses between the more contact person of JICQ number of searches and these contact persons.
Description of drawings
Fig. 1 is the method flow synoptic diagram of data retrieval of the present invention;
Fig. 2 is the apparatus structure synoptic diagram of data retrieval of the present invention.
Embodiment
Below in conjunction with accompanying drawing and specific embodiment technical scheme of the present invention is further set forth in detail.
The basic thought of data retrieval of the present invention is: in database, set up the relationship chain between the associated data; When retrieving data to be found, further retrieval and data corresponding relationship chain to be found, and the associated data of the data to be found that retrieve according to this relationship chain.
Be illustrated in figure 1 as data retrieval method schematic flow sheet of the present invention, a precondition of Fig. 1 flow process is: database has been set up the relationship chain between the associated data, and concrete will describe in follow-up step.This flow process comprises:
Step 101 is imported the identification information of data to be found.
At first, select data to be found, import the identification information of these data to be found.Here, identification information can be the title of data to be found, also can be the numbering of data to be found, can also the both be imported; Certainly, identification information is not limited in this, according to actual needs, gets final product so long as can identify the information of these data.
Step 102, whether interpretation retrieves data to be found, if then execution in step 103; Otherwise, finish current treatment scheme.
Here, be in database, to retrieve data to be found according to identification information.
Owing to preserve the information of mass data in the database, can in database, set up index, and with the identification information of data as index, so, just can retrieve the data of correspondence according to the identification information of input.
Step 103 judges whether to exist and data corresponding relationship chain to be found, if then execution in step 104; Otherwise, execution in step 106.
Among the present invention, in database, establish the relationship chain between the associated data; For example, there are a plurality of groups in the database, are respectively group 1, group 2 and organize 3, comprised a plurality of data in each group, think that then a plurality of data that belong to same group are related, so, the data opening relationships chain A in the corresponding group 1; Data opening relationships chain B in the corresponding group 2; Data opening relationships chain C in the corresponding group 3.
Suppose: comprise data a, b, c, d in the group 1; Comprise data a, e, g, h in the group 2; Comprise data b, e, f in the group 3; If data to be found are data a, when then in database, retrieving data a, further, can specified data a corresponding relation chain: A and B.If data to be found are data e, when then in database, retrieving data e, further, can specified data e corresponding relation chain: B and C.
Certainly, the foundation of relationship chain is not limited between the data with incidence relation on the same group, also can between the data of any incidence relation with same alike result or same action, make up; Incidence relation can be set according to user's needs.
If there is not the corresponding relationship chain in data to be found, then execution in step 106, directly export data to be found.
Step 104 is retrieved the associated data of data to be found according to relationship chain.
Accept the example in the step 103, if data to be found are data a, so; Confirm corresponding relationship chain: A and B, further, retrieve the relationship chain A data related respectively with B; That is: the associated data of data a to be found can obtain, and the data that relationship chain A is associated with have b, c, d; The data that relationship chain B is associated with have e, g, h.
Step 105 is exported the associated data of data to be found and data to be found.
Here, can the associated data of data to be found and data to be found be exported to the user through the form of tabulation, for reference.
By the way, when retrieving data to be found, can retrieve simultaneously relation relevant with it other data, be associated data, in these associated datas, might have other data to be found, so just improved data retrieval efficient.
Through concrete embodiment such scheme is described below.
With the instant messaging is example, and JICQ possibly safeguarded a huge contact data storehouse.Suppose that the user needs search contact 001,002,003,004,005, in the contact data storehouse, have relationship chain A between the contact person 001 and 002; There is relationship chain B between the contact person 001,002 and 003; There is relationship chain C between the contact person 004 and 005.Adopt method retrieving of the present invention following so:
1, the user imports contact person 001 identification information (title or numbering etc.);
2, retrieve contact person 001 in the contact data storehouse;
3, can confirm that contact person's 001 corresponding relationship chain is A and B;
4, the related contact person of retrieval relationship chain A, can obtain: the contact person 002; The related contact person of retrieval relationship chain B can obtain: contact person 002 and 003;
5, output contact person 001 and related contact person 002 and 003;
6, gone out contact person 001,002,003 through the above-mentioned steps user search, still, the user also needs searching linkman 004,005, and the user imports contact person 005 identification information (title or numbering etc.) so;
7, retrieve contact person 005 in the contact data storehouse;
8, can confirm that contact person's 005 corresponding relationship chain is C;
9, the related contact person of retrieval relationship chain C, can obtain: the contact person 004;
10, output contact person 005 and related contact person 004;
This shows that the user has only just found all contact persons through 2 search operaqtions.If adopt existing search method, the user need carry out 5 search operaqtions and just can find all contact persons so, and visible search method of the present invention has improved recall precision greatly.
Certainly, method of the present invention is not limited only to the scene of instant messaging, and is all applicable for retrieval scene of mobile terminal contact person, mail etc. etc.
In order to realize said method, the present invention also provides a kind of device of data retrieval, and is as shown in Figure 2, and this device comprises:
Database 10 is used to store data, and the relationship chain between the storage associated data;
Retrieval module 20 is used in database 10 retrievals data to be found; When also being used for confirming existence and data corresponding relationship chain to be found, retrieve the associated data of data to be found according to relationship chain;
Output module 30 is used to export the data to be found that retrieval module 20 retrieves and the associated data of data to be found.
This device can also comprise: load module 40 is used to import the identification information of data to be found; Identification information comprises at least: the title of data to be found and/or the numbering of data to be found.
Accordingly, retrieval module 30 also is used for according to identification information in database 10 retrievals data to be found.
Output module 30 also is used for when retrieval module 20 does not retrieve with data corresponding relationship chain to be found, exporting data to be found.
The above is merely preferred embodiment of the present invention, is not to be used to limit protection scope of the present invention.

Claims (8)

1. the method for a data retrieval is characterized in that, this method comprises:
In database, set up the relationship chain between the associated data;
When in said database, retrieving data to be found and confirm existing, export said data to be found and the associated data of the said data to be found that retrieve according to said relationship chain with said data corresponding relationship chain to be found.
2. according to the method for the said data retrieval of claim 1, it is characterized in that before the retrieval data to be found, this method also comprises in database:
Import the identification information of said data to be found, in said database, retrieve said data to be found according to said identification information.
3. according to the method for the said data retrieval of claim 2, it is characterized in that the identification information of the said data to be found of input comprises: the title of said data to be found and/or the numbering of said data to be found.
4. according to the method for each said data retrieval of claim 1 to 3, it is characterized in that this method also comprises: in database, retrieve data to be found, when not retrieving, export said data to be found with said data corresponding relationship chain to be found.
5. the device of a data retrieval is characterized in that, this device comprises:
Database is used to store data, and the relationship chain between the storage associated data;
Retrieval module is used in said database retrieval data to be found; Also be used for when confirm existing, retrieving the associated data of said data to be found according to said relationship chain with said data corresponding relationship chain to be found;
Output module is used to export the data said to be found that said retrieval module retrieves and the associated data of said data to be found.
6. according to the device of the said data retrieval of claim 5, it is characterized in that this device also comprises:
Load module is used to import the identification information of said data to be found;
Accordingly, said retrieval module also is used for according to said identification information in the said data to be found of said database retrieval.
7. according to the device of the said data retrieval of claim 6, it is characterized in that the identification information of the said data to be found of input comprises: the title of said data to be found and/or the numbering of said data to be found.
8. according to the method for each said data retrieval of claim 5 to 7, it is characterized in that said output module also is used for when said retrieval module does not retrieve with said data corresponding relationship chain to be found, exporting said data to be found.
CN2011100067065A 2011-01-13 2011-01-13 Data retrieval method and data retrieval device Pending CN102591875A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2011100067065A CN102591875A (en) 2011-01-13 2011-01-13 Data retrieval method and data retrieval device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2011100067065A CN102591875A (en) 2011-01-13 2011-01-13 Data retrieval method and data retrieval device

Publications (1)

Publication Number Publication Date
CN102591875A true CN102591875A (en) 2012-07-18

Family

ID=46480544

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011100067065A Pending CN102591875A (en) 2011-01-13 2011-01-13 Data retrieval method and data retrieval device

Country Status (1)

Country Link
CN (1) CN102591875A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104969220A (en) * 2012-12-06 2015-10-07 微软技术许可有限责任公司 Immersive view navigation
WO2015192754A1 (en) * 2014-06-16 2015-12-23 中国银联股份有限公司 Data aggregation method for multiple data sets

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1914611A (en) * 2004-01-29 2007-02-14 泽塔普利株式会社 Information search system, information search method, information search device, information search program, image recognition device, image recognition method, image recognition program, and sales sy
CN101593175A (en) * 2008-05-29 2009-12-02 英华达(上海)电子有限公司 Communication information system and contact person's thereof correlating method
CN101808090A (en) * 2010-03-09 2010-08-18 上海华探通讯技术有限公司 On-site intelligent mobile information service system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1914611A (en) * 2004-01-29 2007-02-14 泽塔普利株式会社 Information search system, information search method, information search device, information search program, image recognition device, image recognition method, image recognition program, and sales sy
CN101593175A (en) * 2008-05-29 2009-12-02 英华达(上海)电子有限公司 Communication information system and contact person's thereof correlating method
CN101808090A (en) * 2010-03-09 2010-08-18 上海华探通讯技术有限公司 On-site intelligent mobile information service system

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104969220A (en) * 2012-12-06 2015-10-07 微软技术许可有限责任公司 Immersive view navigation
WO2015192754A1 (en) * 2014-06-16 2015-12-23 中国银联股份有限公司 Data aggregation method for multiple data sets
CN105320666A (en) * 2014-06-16 2016-02-10 中国银联股份有限公司 Data polymerization method for multiple data sets
CN105320666B (en) * 2014-06-16 2018-12-25 中国银联股份有限公司 The data aggregation method of more data sets

Similar Documents

Publication Publication Date Title
CN102088419B (en) Method and system for searching information of good friends in social network
CN104375992B (en) A kind of method and apparatus of address matching
CN104111935B (en) Server and microblog pushing method and system
CN101196900A (en) Information searching method based on metadata
CN104636477B (en) The De-weight method of push list before a kind of information push
CN103631791B (en) Information fusion classification display method and system
CN104391908B (en) Multiple key indexing means based on local sensitivity Hash on a kind of figure
CN102404240B (en) Information search system and method
CN107203588A (en) A kind of data classification managing system
CN104615734B (en) A kind of community management service big data processing system and its processing method
CN104834736A (en) Method and device for establishing index database and retrieval method, device and system
CN102831224A (en) Creating method for data index base and searching suggest generation method and device
CN102622402B (en) Server, method and system for providing information search service by using sheaf of pages
CN101963993B (en) Method for fast searching database sheet table record
CN101894146A (en) Method and system for realizing advertising function by using created text edit box
CN104750860B (en) A kind of date storage method of uncertain data
CN102325143A (en) Cloud platform based information collection, storage, encryption and retrieval system
CN101998692A (en) Method and device for establishing index and carrying out mixed searching on mobile terminal
CN101261645B (en) Method and apparatus for obtaining multiple layer information
CN110377701A (en) A kind of hot word processing method, device, electronic equipment and storage medium
CN102591875A (en) Data retrieval method and data retrieval device
CN101465905A (en) System and method for frisking mail address
CN103425657B (en) A kind of method and apparatus of e-mail search
CN106547764A (en) The method and device of web data duplicate removal
CN101094436A (en) Information inter-transferring intelligent platform

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20120718