CN105354215A - Search method and apparatus - Google Patents

Search method and apparatus Download PDF

Info

Publication number
CN105354215A
CN105354215A CN201510627195.7A CN201510627195A CN105354215A CN 105354215 A CN105354215 A CN 105354215A CN 201510627195 A CN201510627195 A CN 201510627195A CN 105354215 A CN105354215 A CN 105354215A
Authority
CN
China
Prior art keywords
search results
user
key word
multiple target
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.)
Withdrawn
Application number
CN201510627195.7A
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 CHENGXIN DATA TECHNOLOGY Co Ltd
Original Assignee
BEIJING CHENGXIN DATA TECHNOLOGY Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by BEIJING CHENGXIN DATA TECHNOLOGY Co Ltd filed Critical BEIJING CHENGXIN DATA TECHNOLOGY Co Ltd
Priority to CN201510627195.7A priority Critical patent/CN105354215A/en
Publication of CN105354215A publication Critical patent/CN105354215A/en
Withdrawn legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9535Search customisation based on user profiles and personalisation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/25Integrating or interfacing systems involving database management systems
    • G06F16/256Integrating or interfacing systems involving database management systems in federated or virtual databases

Abstract

The invention provides a search method and apparatus. The method comprises: obtaining a search request sent by a user, wherein the search request carries a keyword and multi-target database information; according to the multi-target database information, performing search about the keyword in the corresponding target databases; and outputting search results about the keyword to the user. According to the method, the usage demands of users on associated information of the search results in the target databases are met.

Description

Searching method and device
Technical field
The embodiment of the present invention relates to search technique field, particularly relates to a kind of searching method and device.
Background technology
Rapidly universal along with intelligent terminal, intelligent terminal has become one of indispensable instrument in people's life.Searching for by inputting the mode of key word in the certain database or internet of intelligent terminal, and obtain the Search Results of being correlated with, is the information query method often used in people's daily life.
Searching method of the prior art is all searched in particular range.As by the associated person information in input keyword query address book, the friend information etc. in the micro-letter of input keyword query also can be passed through.
Can only search in simple target database due to searching method of the prior art and obtain corresponding informance, the results contrast of inquiry is limited, and the Search Results of simple target database is difficult to meet the user demand of user to the related information in multiple target database between Search Results.
Summary of the invention
The embodiment of the present invention provides a kind of searching method and device, and the method meets the user demand of user to the related information in multiple target database between Search Results.
The embodiment of the present invention provides one to search plain method, comprising: obtain the searching request that user sends, carry key word and multiple target data library information in described searching request;
According to described multiple target data library information, in multiple target databases of correspondence, carry out the search about described key word;
The Search Results about described key word is exported to user.
The embodiment of the present invention provides a kind of searcher, comprising: acquisition module, for obtaining the searching request that user sends, carries key word and multiple target data library information in described searching request;
Search module, for according to described multiple target data library information, carries out the search about described key word in multiple target databases of correspondence;
Output module, for exporting the Search Results about described key word to user.
The embodiment of the present invention provides a kind of searching method and device, the searching request that the method sends by obtaining user, carries key word and multiple target data library information in searching request; According to multiple target data library information, in multiple target databases of correspondence, carry out the search about key word; The Search Results about key word is exported to user.The method meets the user demand of user to the related information in multiple target database between Search Results.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the process flow diagram of searching method embodiment one of the present invention;
Fig. 2 is the process flow diagram of searching method embodiment two of the present invention;
Fig. 3 is the structural representation of searcher embodiment one of the present invention;
Fig. 4 is the structural representation of searcher embodiment two of the present invention.
Embodiment
For making the object of the embodiment of the present invention, technical scheme and advantage clearly, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
Fig. 1 is the process flow diagram of searching method embodiment one of the present invention, and as shown in Figure 1, the executive agent of the present embodiment is user terminal, as being smart mobile phone, panel computer etc.Specifically can be realized by software mode.The searching method that then the present embodiment provides comprises:
Step 101, obtains the searching request that user sends, carries key word and multiple target data library information in searching request.
In the present embodiment, user terminal provides searching method by client or search interface to user.Input field and option hurdle is configured in client or search interface.User sends searching request by the mode inputting key word and select in option hurdle in input field.
In the present embodiment, user by input key word and in option hurdle the mode of select target database send searching request.User terminal obtains the searching request that user sends.
Wherein, the key word carried in searching request can be the key words such as name, date, stroke, and target data library information can be the information of the unique identification target database such as title, address of target database.Target database can comprise: Card Database, schedule database, chat data storehouse etc.
Step 102, according to multiple target data library information, carries out the search about key word in multiple target databases of correspondence.
In the present embodiment, according to multiple target data library information, search in multiple target databases of correspondence, particularly, the sequencing of the multiple target databases can selected according to user carries out the search about key word to target database successively, also the multiple target databases can selected according to user, search for successively according to the order of the multiple target databases pre-set, do not limit in the present embodiment to this.
When searching in multiple target database, search the result relevant with key word.Key word as input is " Zhang San ", multiple target database is respectively: Card Database, schedule database, chat data storehouse, the search order of the multiple target databases pre-set is: Card Database, chat data storehouse, schedule database, then carry out the search about " Zhang San " at Card Database, chat data storehouse, schedule database successively.
Step 103, exports the Search Results about key word to user.
Particularly, in the present embodiment, the sequencing of the multiple target databases can selected according to user exports the Search Results about key word after searching in each target database to user successively, also can export the Search Results about key word to user successively according to the search order of the multiple target databases pre-set, not limit in the present embodiment.
Be illustrated as: obtain the searching request that user carries out about " Zhang San " at Card Database, chat data storehouse, schedule database.At Card Database, carry out about after " Zhang San " search successively in chat data storehouse and schedule database, a Search Results about " Zhang San " is searched at Card Database, this Search Results comprises contact method and the address of " Zhang San ", a Search Results about " Zhang San " is searched in chat data storehouse, this Search Results comprises and " Zhang San " chat record August 5, a Search Results about " Zhang San " is searched in schedule database, this Search Results comprises and " Zhang San " schedule August 6, then export the Search Results about " Zhang San " successively to user, be respectively contact method and the address of " Zhang San ", " Zhang San " is at the chat record on August 5, and and " Zhang San " in the schedule on August 6.These Search Results according to this Search Results about " Zhang San ", can associate by user, are convenient to and the contact of " Zhang San " and schedule.
The searching method provided in the present embodiment, comprising: obtain the searching request that user sends, carry key word and multiple target data library information in searching request; According to multiple target data library information, in multiple target databases of correspondence, carry out the search about key word; The Search Results about key word is exported to user.Meet the user demand of user to the related information in multiple target database between Search Results.
Fig. 2 is the process flow diagram of searching method embodiment two of the present invention, and as shown in Figure 2, the executive agent of the present embodiment is user terminal, as being smart mobile phone, panel computer etc.Specifically can be realized by software mode.Then searching method provided by the invention comprises:
Step 201, obtains the searching request that user sends, carries the precedence information of key word and multiple target data library information and multiple target database in searching request.
Further, in the present embodiment, user terminal provides searching method by client or search interface to user.Input field and option hurdle is configured in client or search interface, in option hurdle except can configuring multiple target data library information, the precedence information of multiple target database can also be configured, the precedence information of multiple target databases of configuration can make the output order of user to the Search Results of the multiple target databases selected define, the grade of precedence information is higher, and the Search Results of output is more forward.
Further, in the present embodiment, multiple target database comprises: at least two in Card Database, schedule database, chat data storehouse.
Step 202, according to multiple target data library information, carries out the search about described key word in multiple target databases of correspondence.
In the present embodiment, according to the precedence information of multiple target database, according to the search order that the precedence information of multiple target database is corresponding, successively multiple database can be searched for.
Wherein, when the precedence information of target database is limit priority, corresponding search order is for search at first, and when the precedence information of target database is lowest priority, corresponding search order is final search.
Step 203, determines the number of the Search Results that each target database is corresponding.
In the present embodiment, display number is preset for each target database, the default display number of the Search Results that each target database is corresponding can be identical, also can be different, as arranged different default display numbers according to the precedence information of target database to Search Results, the priority of precedence information is higher, and the default display number of corresponding Search Results is larger, the priority of precedence information is lower, and the default display number of corresponding Search Results is less.
Step 204, if the number of the Search Results of one or more target database is more than or equal to corresponding default display number, then export the Search Results being not more than default display number corresponding to each target database to user successively according to the output order that the precedence information of multiple target database is corresponding.
On the one hand, in the present embodiment, if the number of the Search Results of one or more target database is more than or equal to corresponding default display number, number then to the Search Results of this one or more target database of user's output equals corresponding default display number, and the number to the Search Results of the remaining target database of user's output is the number of actual Search Results.
On the other hand, in the present embodiment, when exporting the Search Results about key word to user, the output order corresponding according to the precedence information of multiple target database exports the Search Results about key word to user successively.
Be illustrated as: in the precedence information of multiple target databases of carrying in the searching request that user sends, the precedence information of Card Database is limit priority, the precedence information in chat data storehouse is high medium priority, the precedence information of schedule database is lowest priority, the default display number of the Search Results that Card Database is corresponding is 5, the default display number of the Search Results that chat data storehouse is corresponding is 3, the default display number of the Search Results that schedule database is corresponding is 2, according to multiple target data library information, carry out the search about key word in multiple target databases of correspondence after, the number of the Search Results that Card Database is corresponding is 6, the number of the Search Results that chat data storehouse is corresponding is 3, the number of the Search Results that schedule database is corresponding is 1, order then to the Search Results of user's output is followed successively by: 5 Search Results that Card Database is corresponding, 3 Search Results that chat data storehouse is corresponding, 1 Search Results that schedule database is corresponding.
Step 205, obtains the request of the display residue Search Results that user sends, carries a certain target data library information in the request of display residue Search Results.
In the present embodiment, if the number that there is the Search Results of one or more target database is greater than corresponding default display number, then user exports the Search Results being not more than predetermined number corresponding to each target database.For the one or more target databases equaling to preset display number exported to user, user terminal can arrange corresponding expansion key in client or search interface, obtains the request of the display residue Search Results that user sends.The a certain target data library information carried in this request is the information having the target database that do not show of residue Search Results corresponding.
Step 206, according to a certain target data library information, exports the residue Search Results about key word corresponding to target data library information to user.
In the present embodiment, according to a certain target data library information, export the Search Results about key word preset beyond a display fractional part to user.
In the present embodiment, by also carrying the precedence information of multiple target database in searching request, determine the number of the Search Results that each target database is corresponding, if the number of the Search Results of one or more target database is more than or equal to corresponding default display number, then export the Search Results being not more than default display number corresponding to each target database to user successively according to the precedence information of multiple target database corresponding output order, and obtain the request of the display residue Search Results that user sends, target data library information is carried in the request of display residue Search Results, according to target data library information, the residue Search Results about key word corresponding to target data library information is exported to user.Meet user to multiple target database in related information between Search Results user demand while, achieve the individual demand that user carries out searching for, further increase Consumer's Experience.
Fig. 3 is the structural representation of searcher embodiment one of the present invention, and as shown in Figure 3, the searcher that the present embodiment provides comprises: acquisition module 301, search module 302 and output module 303.
Wherein, acquisition module 301, for obtaining the searching request that user sends, carries key word and multiple target data library information in searching request.Search module 302, for according to multiple target data library information, carries out the search about key word in multiple target databases of correspondence.Output module 303, for exporting the Search Results about key word to user.
The device that the present embodiment provides can perform the technical scheme of embodiment of the method shown in Fig. 1, and it realizes principle and technique effect is similar, repeats no more herein.
Fig. 4 is the structural representation of searcher embodiment two of the present invention; As shown in Figure 4, the searcher that this enforcement provides comprises: acquisition module 401, search module 402, output module 403 and determination module 404.
Wherein, acquisition module 401, for obtaining the searching request that user sends, carries key word and multiple target data library information in searching request.Search module 402, for according to multiple target data library information, carries out the search about key word in multiple target databases of correspondence.Output module 403, for exporting the Search Results about key word to user.
Wherein, multiple target database comprises: at least two in Card Database, schedule database, chat data storehouse.
Preferably, in the present embodiment, in searching request, also carry the precedence information of multiple target database; Correspondingly, output module 403, exports the Search Results about key word to user successively specifically for the output order corresponding according to the precedence information of multiple target database.
Further, determination module 404, for search module 402 according to multiple target data library information, carry out the search about key word in multiple target databases of correspondence after, determines the number of the Search Results that each target database is corresponding.Output module 403, if be more than or equal to corresponding default display number specifically for the number of the Search Results that there is one or more target database, then exports the Search Results being not more than predetermined number corresponding to each target database to user.
Further, acquisition module 401, also for output module 403 to user export each target database corresponding be not more than the Search Results of predetermined number after, obtain the request of the display residue Search Results that user sends, in the request of display residue Search Results, carry a certain target data library information;
Output module 403, also for according to a certain target data library information, exports the residue Search Results about key word corresponding to target data library information to user.
The searcher of the present embodiment can perform the technical scheme of embodiment of the method shown in Fig. 2, and it realizes principle and technique effect is similar, repeats no more herein.
One of ordinary skill in the art will appreciate that: all or part of step realizing above-mentioned each embodiment of the method can have been come by the hardware that programmed instruction is relevant.Aforesaid program can be stored in a computer read/write memory medium.This program, when performing, performs the step comprising above-mentioned each embodiment of the method; And aforesaid storage medium comprises: ROM, RAM, magnetic disc or CD etc. various can be program code stored medium.
Last it is noted that above each embodiment is only in order to illustrate technical scheme of the present invention, be not intended to limit; Although with reference to foregoing embodiments to invention has been detailed description, those of ordinary skill in the art is to be understood that: it still can be modified to the technical scheme described in foregoing embodiments, or carries out equivalent replacement to wherein some or all of technical characteristic; And these amendments or replacement, do not make the essence of appropriate technical solution depart from the scope of various embodiments of the present invention technical scheme.

Claims (10)

1. a searching method, is characterized in that, comprising:
Obtain the searching request that user sends, in described searching request, carry key word and multiple target data library information;
According to described multiple target data library information, in multiple target databases of correspondence, carry out the search about described key word;
The Search Results about described key word is exported to user.
2. method according to claim 1, is characterized in that, also comprises: the precedence information also carrying multiple target database in described searching request;
Correspondingly, the Search Results exported about described key word to user specifically comprises:
The output order corresponding according to the precedence information of described multiple target database exports the Search Results about described key word to user successively.
3. method according to claim 1, is characterized in that, described according to described multiple target data library information, after carrying out the search about described key word, also comprises in multiple target databases of correspondence:
Determine the number of the Search Results that each target database is corresponding;
If the number that there is the Search Results of one or more target database is more than or equal to corresponding default display number, then the Search Results exported about described key word to user specifically comprises:
The Search Results being not more than predetermined number corresponding to each target database is exported to user.
4. method according to claim 3, is characterized in that, described to user export each target database corresponding be not more than the Search Results of predetermined number after, also comprise:
Obtain the request of the display residue Search Results that user sends, in the request of described display residue Search Results, carry a certain target data library information;
According to described a certain target data library information, export the residue Search Results about described key word corresponding to described target data library information to user.
5. the method according to any one of claim 1-4, is characterized in that, described multiple target database comprises: at least two in Card Database, schedule database, chat data storehouse.
6. a searcher, is characterized in that, comprising:
Acquisition module, for obtaining the searching request that user sends, carries key word and multiple target data library information in described searching request;
Search module, for according to described multiple target data library information, carries out the search about described key word in multiple target databases of correspondence;
Output module, for exporting the Search Results about described key word to user.
7. device according to claim 6, is characterized in that, also comprises: the precedence information also carrying multiple target database in described searching request;
Correspondingly, described output module, exports the Search Results about described key word to user successively specifically for the output order corresponding according to the precedence information of described multiple target database.
8. device according to claim 6, is characterized in that, also comprises: determination module;
Described determination module, for described search module according to described multiple target data library information, carry out the search about described key word in multiple target databases of correspondence after, determines the number of the Search Results that each target database is corresponding;
Described output module, if be more than or equal to corresponding default display number specifically for the number of the Search Results that there is one or more target database, then exports the Search Results being not more than predetermined number corresponding to each target database to user.
9. device according to claim 8, it is characterized in that, described acquisition module, also for described output module to user export each target database corresponding be not more than the Search Results of predetermined number after, obtain the request of the display residue Search Results that user sends, in the request of described display residue Search Results, carry a certain target data library information;
Described output module, also for according to described a certain target data library information, exports the residue Search Results about described key word corresponding to described target data library information to user.
10. the device according to any one of claim 6-9, is characterized in that, described multiple target database comprises: at least two in Card Database, schedule database, chat data storehouse.
CN201510627195.7A 2015-09-28 2015-09-28 Search method and apparatus Withdrawn CN105354215A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510627195.7A CN105354215A (en) 2015-09-28 2015-09-28 Search method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510627195.7A CN105354215A (en) 2015-09-28 2015-09-28 Search method and apparatus

Publications (1)

Publication Number Publication Date
CN105354215A true CN105354215A (en) 2016-02-24

Family

ID=55330188

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510627195.7A Withdrawn CN105354215A (en) 2015-09-28 2015-09-28 Search method and apparatus

Country Status (1)

Country Link
CN (1) CN105354215A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110737677A (en) * 2018-07-20 2020-01-31 武汉烽火众智智慧之星科技有限公司 data searching system and method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1744084A (en) * 2004-08-31 2006-03-08 捷讯研究有限公司 Method of searching for personal information management (pim)information and handheld electronic device employing the same
US20120072425A1 (en) * 2010-09-17 2012-03-22 Oracle International Corporation Customer focused keyword search in an enterprise
CN103488785A (en) * 2013-09-30 2014-01-01 北京奇虎科技有限公司 Method, system and server for providing search service
CN103488766A (en) * 2013-09-27 2014-01-01 中国联合网络通信集团有限公司 Application program searching method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1744084A (en) * 2004-08-31 2006-03-08 捷讯研究有限公司 Method of searching for personal information management (pim)information and handheld electronic device employing the same
US20120072425A1 (en) * 2010-09-17 2012-03-22 Oracle International Corporation Customer focused keyword search in an enterprise
CN103488766A (en) * 2013-09-27 2014-01-01 中国联合网络通信集团有限公司 Application program searching method and device
CN103488785A (en) * 2013-09-30 2014-01-01 北京奇虎科技有限公司 Method, system and server for providing search service

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110737677A (en) * 2018-07-20 2020-01-31 武汉烽火众智智慧之星科技有限公司 data searching system and method
CN110737677B (en) * 2018-07-20 2023-05-05 武汉烽火众智智慧之星科技有限公司 Data searching system and method

Similar Documents

Publication Publication Date Title
US9454528B2 (en) Method and system for creating ordered reading lists from unstructured document sets
CN103548076A (en) Device and method for recognizing content using audio signals
CN108920611A (en) article generation method, device, equipment and storage medium
CN104484392B (en) Query sentence of database generation method and device
CN101576890A (en) Novel method and system for sorting fragment
CN110046298A (en) Query word recommendation method and device, terminal device and computer readable medium
CN104469717A (en) Short message sending method and device
CN108241692B (en) Data query method and device
CN104361092A (en) Searching method and device
Amin et al. A comparison of two oversampling techniques (smote vs mtdf) for handling class imbalance problem: A case study of customer churn prediction
CN103246744A (en) Searching method and device
CN104951342A (en) Method and device for adjusting starting sequence
CN103400169A (en) Smart card issuing method and smart card issuing system
CN106202254A (en) A kind of querying method and data query system
CN109753504A (en) Data query method and device
CN111429200B (en) Content association method and device, storage medium and computer equipment
CN106933907B (en) Processing method and device for data table expansion indexes
WO2013122205A1 (en) Dictionary generation device, dictionary generation method, dictionary generation program and computer-readable recording medium storing same program
CN105354215A (en) Search method and apparatus
CN106844406B (en) Search method and search device
CN107203325B (en) Searching method and device, computer device and readable storage medium
CN105117403A (en) Log data fragmentation and query method and apparatus
KR102337800B1 (en) Project workflow design method using online work-based database of previously performed projects and apparatus of the same
KR102268739B1 (en) Method for recommending product based on user purchase history and apparatus for the same
CN103870460A (en) Good number searching method and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WW01 Invention patent application withdrawn after publication

Application publication date: 20160224

WW01 Invention patent application withdrawn after publication