CN102467502A - Retrieval method and system - Google Patents
Retrieval method and system Download PDFInfo
- Publication number
- CN102467502A CN102467502A CN201010531123XA CN201010531123A CN102467502A CN 102467502 A CN102467502 A CN 102467502A CN 201010531123X A CN201010531123X A CN 201010531123XA CN 201010531123 A CN201010531123 A CN 201010531123A CN 102467502 A CN102467502 A CN 102467502A
- Authority
- CN
- China
- Prior art keywords
- retrieval
- result
- data source
- search instruction
- data
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 33
- 230000010354 integration Effects 0.000 claims description 17
- 239000000284 extract Substances 0.000 claims description 6
- 238000012163 sequencing technique Methods 0.000 abstract 1
- 238000010586 diagram Methods 0.000 description 8
- 238000004590 computer program Methods 0.000 description 7
- 230000006870 function Effects 0.000 description 6
- 238000005516 engineering process Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 238000012986 modification Methods 0.000 description 3
- 230000008676 import Effects 0.000 description 2
- 238000004458 analytical method Methods 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 230000000739 chaotic effect Effects 0.000 description 1
- 230000000052 comparative effect Effects 0.000 description 1
- 238000000605 extraction Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000012358 sourcing Methods 0.000 description 1
Images
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The invention discloses a retrieval method and a retrieval system, which are used for sequencing retrieval results of different data sources and outputting the retrieval results to a user, so that the user can quickly find data desired by the user. The retrieval method provided by the invention comprises the following steps: generating a retrieval instruction corresponding to the data source according to the retrieval request; sending the retrieval instruction to a corresponding data source, and then acquiring a retrieval result returned by the data source; sorting the retrieval results returned by each data source according to the display priority corresponding to each data source; and outputting the search results obtained after sorting.
Description
Technical field
The present invention relates to field of computer technology, relate in particular to a kind of search method and system.
Background technology
On the internet a lot of isomery searching systems is arranged at present, what wherein use comparative maturity is exactly digital library.A lot of colleges and universities all can buy the digital library system of a plurality of manufacturers simultaneously.The function of these products is similar, and the one, for the user provides e-book and other digital resources, be exactly the quick retrieval of these e-sourcings to be used in addition by computer realization.Therefore, what the user was very natural just hopes that a unified search interface can be arranged, and can in a plurality of Database Systems of buying, retrieve simultaneously, and show the result for retrieval of each system together, promptly so-called isomery retrieval.
On the internet a lot of isomery searching systems is arranged at present, unified access entry (interface) all is provided, but its essence remains the system that a group is disperseed, do not integrate between the resource.
What implementation was common has following several kinds:
1, through disposing unified searching page; When the user imports retrieval request, need to specify content retrieved scope (the corresponding sub-systems of each context), when carrying out retrieval request; System automatically switches to corresponding subsystem and retrieves, and presents to the user to the result by this subsystem.This way shortcoming is once can only in a sub-systems, retrieve.
2, through disposing unified searching page, be transmitted to each subsystem to user's retrieval request and retrieve respectively, back system that search complete compiles all result for retrieval classification and presents to the user.But because the data set of different sub-systems is different, so Different Results is just simply enumerated and can't be accomplished unified the ordering together.
3, through disposing unified searching page, when the user imports retrieval request, need to specify the resource form (webpage, picture, video etc.) of retrieval, when carrying out retrieval request, system is retrieved in selected scope automatically, and presents to the user to the result.This way shortcoming is once can only in a kind of resource, retrieve, and can't embody the correlativity between the different resource form.
In sum, isomery searching system of the prior art can't realize the result for retrieval in different pieces of information source is sorted, and causes the user can't find the data of oneself wanting fast in use.
Summary of the invention
The embodiment of the invention provides a kind of search method and system, sorts according to preset priority in order to the result for retrieval of realization to the different pieces of information source.
A kind of search method that the embodiment of the invention provides comprises:
According to retrieval request, generate and the corresponding search instruction of data source;
Search instruction is sent to corresponding data source, obtain the result for retrieval that data source is returned then;
According to the corresponding display priority of each data source, the result for retrieval that each data source is returned sorts;
With the result for retrieval output that obtains after the ordering.
A kind of searching system that the embodiment of the invention provides comprises:
The search instruction generating apparatus is used for according to retrieval request, generates and the corresponding search instruction of data source;
The search instruction dispensing device is used for the search instruction that said search instruction generating apparatus generates is sent to corresponding data source;
Deriving means is used to obtain the result for retrieval that data source is returned as a result;
Data integration device is used for according to the corresponding display priority of each data source, and the result for retrieval that each data source is returned sorts;
Output unit is used for the result for retrieval output that obtains after the ordering.
The embodiment of the invention according to retrieval request, generates and the corresponding search instruction of data source; Search instruction is sent to corresponding data source, obtain the result for retrieval that data source is returned then; According to the corresponding display priority of each data source, the result for retrieval that each data source is returned sorts; The result for retrieval that obtains after the ordering is exported to the user, thereby realized that the result for retrieval to the different pieces of information source sorts in the isomery retrieval, make the user can find the data of oneself wanting fast.
Description of drawings
The overall procedure synoptic diagram of a kind of search method that Fig. 1 provides for the embodiment of the invention;
The idiographic flow synoptic diagram of a kind of search method that Fig. 2 provides for the embodiment of the invention;
The synoptic diagram of a kind of searching system that Fig. 3 provides for the embodiment of the invention.
Embodiment
The embodiment of the invention provides a kind of search method and system, sorts in order to the result for retrieval of realization to the different pieces of information source, and exports to the user, makes the user can find the data of oneself wanting fast.
The rule that the embodiment of the invention is set through the user is to unifying ordering from the data in different pieces of information source.Can solve the chaotic problem of result for retrieval output order of present isomery searching system, bring better retrieval to experience to the user.
Below in conjunction with accompanying drawing the technical scheme that the embodiment of the invention provides is described.
Referring to Fig. 1, a kind of search method that the embodiment of the invention provides comprises step:
S101, according to the retrieval request that client is sent, generate and the corresponding search instruction of data source.
S102, search instruction is sent to corresponding data source, obtain the result for retrieval that data source is returned then.
S103, according to the corresponding display priority of each data source, the result for retrieval that each data source is returned sorts.
S104, the result for retrieval that obtains after will sorting are exported to client.
Preferably, comprise in the retrieval request that client is sent:
Term information, need the range information of data retrieved source information, result for retrieval.
That is to say that client can be indicated the keyword of retrieval, require which data source to retrieve, and which result for retrieval of acquisition request.
Wherein, the range information of result for retrieval, for example, which bar data content is client can indicate from begins retrieval, needs how many bar contents of retrieval, also can indicate from which webpage to begin retrieval, needs the content of how many webpages of retrieval.
Preferably, said search instruction comprises:
The logical condition of retrieval, require the quantity of the result for retrieval that data source returns.
Wherein, the said quantity that requires the result for retrieval that data source returns is according to the needs data retrieved source information of indicating in the retrieval request, and the range information of result for retrieval is confirmed.For example; If client-requested is obtained 1000 records about a certain keyword; And provide through 5 data sources, then each data source need provide 400 records about this keyword, certainly; If a certain data source can't provide the record of these quantity, all records about this keyword can be provided then.
Preferably, according to the corresponding display priority of each data source, the step that the result for retrieval that each data source is returned sorts comprises:
According to the corresponding display priority order from high to low of each data source; And the title of the data source of each result for retrieval correspondence; From buffer memory or other storage mediums, extract result for retrieval successively, obtain to export to the result for retrieval of said client, promptly according to the order that reads result for retrieval; The result for retrieval that reads is write in the result for retrieval tabulation that will export successively, thereby accomplish ordering.
Preferably, said display priority is to confirm according to the indication of client, perhaps, is pre-configured.
For example, referring to Fig. 2, concrete realization flow comprises:
The first step, unified retrieval client be provided with each data source in result for retrieval display priority and in result for retrieval shared record strip number.
After second step, searching system get access to retrieval request, send to the search instruction generating apparatus to retrieval request, the search instruction generating apparatus generates several search instructions to the different pieces of information source according to user's retrieval request.
The 3rd step, call the search instruction dispensing device and issue each data source in the heterogeneous data source to search instruction.
The 4th step, wait for that each data source returns result for retrieval.
The 5th goes on foot, obtains all result for retrieval and be submitted to data integration device, and data integration device is responsible for the display priority according to the data source of user's setting, and each result for retrieval is sorted in whole the results list.
The 6th step, return to client to the result for retrieval after sorting.
Wherein, the user submits retrieval request to from the unified retrieval server (being searching system) of unified retrieval client (being generally browser) visit.
Searching system receives retrieval request, calls the search instruction generating apparatus and resolves the retrieval request that the user submits to, then, creates the several retrieval instruction according to analysis result.Wherein, for different data sources, the form of search instruction may be different.
The search instruction dispensing device is responsible for sending to each retrieve data source to the search instruction that generates; Notify the result for retrieval deriving means wait for to receive result for retrieval then, treat that each data source is returned result for retrieval after, the result for retrieval in each retrieve data source is left in the result cache; After all results return; Notice result for retrieval collator, i.e. data integration device is to the processing of sorting of the data in the result cache.
Data integration device resolution data source priority configuration file according to display priority order from high to low, extracts data successively from result cache.Wherein, the extraction of data is a foundation with the DSN of configuration, extracts through the DSN that comprises in each result for retrieval data in the result for retrieval buffer memory.
Data integration device need be confirmed the order of result in final result for retrieval tabulation that each data source is returned according to the priority configuration file.
Said priority configuration file, for example:
<?xml?version=″1.0″encoding=″utf-8″?>
<Config>
<!--
DataSource: data source;
Id: the sign of data source (being title), corresponding with the source of result for retrieval;
Order: the order (be display priority) of data source in the result for retrieval tabulation.
-->
<DataSource?Id=″ebook″Order=″1″/>
<DataSource?Id=″news″Order=″2″/>
<DataSource?Id=″picture″Order=″3″/>
</Config>
To sum up, referring to Fig. 3, a kind of searching system that the embodiment of the invention provides comprises:
Search instruction generating apparatus 101 is used for the retrieval request according to the client transmission, generates and the corresponding search instruction of data source.
Search instruction dispensing device 102 is used for the search instruction that said search instruction generating apparatus generates is sent to corresponding data source.
Deriving means 103 as a result, are used to obtain the result for retrieval that data source is returned the row cache of going forward side by side.
Data integration device 104 is used for according to the corresponding display priority of each data source, and the result for retrieval that each data source is returned sorts.
Output unit 105 is used for the result for retrieval that obtains after the ordering is exported to client.
Preferably, said search instruction generating apparatus 101 is resolved retrieval request, therefrom obtains term information, needs the range information of data retrieved source information, result for retrieval.
Preferably, the search instruction of said search instruction generating apparatus 101 generations comprises:
The logical condition of retrieval, require the quantity of the result for retrieval that data source returns, and the range information of result for retrieval, for example the home record of result for retrieval number.
Preferably; Said data integration device 104; According to the corresponding display priority order from high to low of each data source; And the title of the corresponding data source of each result for retrieval, extract result for retrieval successively from deriving means 103 or other devices that is used for search result storage as a result, obtain exporting to the result for retrieval of client.
Above-mentioned priority configuration file can be pre-configured and be stored in this data integration device 104, also can be provided with and be sent to this this data integration device 104 and storage by the user through client.
Preferably, the corresponding display priority of confirming in the said data integration device 104 of each data source is to confirm according to the indication of client, perhaps, is pre-configured in this data integration device 104.
Need to prove that in the embodiment of the invention, the user can send retrieval request through client and realize retrieval to searching system, also can directly send retrieval request to searching system, need not client and realizes retrieval.That is to say that the retrieval request that searching system obtains can come from client, also can be that self generates, and the result for retrieval that obtains can be exported to client, also can directly export and be shown to the user.
The structure of a kind of searching system that the invention described above embodiment provides is a kind of preferred embodiment, and those skilled in the art can obtain the searching system of other structures as required, but the function of the searching system that function and the embodiment of the invention provide is identical.For example, a retrieval request deriving means can also be set again, perhaps, data integration device 104 and output unit 105 be merged, or the like.
In sum, the embodiment of the invention, the retrieval request according to client is sent generates and the corresponding search instruction of data source; Search instruction is sent to corresponding data source, obtain the result for retrieval that data source is returned then; According to the corresponding display priority of each data source, the result for retrieval that each data source is returned sorts; The result for retrieval that obtains after the ordering is exported to client, thereby realized that the result for retrieval to the different pieces of information source sorts in the isomery retrieval, and export to the user, make the user can find the data of oneself wanting fast.
Those skilled in the art should understand that embodiments of the invention can be provided as method, system or computer program.Therefore, the present invention can adopt the form of the embodiment of complete hardware embodiment, complete software implementation example or combination software and hardware aspect.And the present invention can be employed in the form that one or more computer-usable storage medium (including but not limited to magnetic disk memory and optical memory etc.) that wherein include computer usable program code go up the computer program of implementing.
The present invention is that reference is described according to the process flow diagram and/or the block scheme of method, equipment (system) and the computer program of the embodiment of the invention.Should understand can be by the flow process in each flow process in computer program instructions realization flow figure and/or the block scheme and/or square frame and process flow diagram and/or the block scheme and/or the combination of square frame.Can provide these computer program instructions to the processor of multi-purpose computer, special purpose computer, Embedded Processor or other programmable data processing device to produce a machine, make the instruction of carrying out through the processor of computing machine or other programmable data processing device produce to be used for the device of the function that is implemented in flow process of process flow diagram or a plurality of flow process and/or square frame of block scheme or a plurality of square frame appointments.
These computer program instructions also can be stored in ability vectoring computer or the computer-readable memory of other programmable data processing device with ad hoc fashion work; Make the instruction that is stored in this computer-readable memory produce the manufacture that comprises command device, this command device is implemented in the function of appointment in flow process of process flow diagram or a plurality of flow process and/or square frame of block scheme or a plurality of square frame.
These computer program instructions also can be loaded on computing machine or other programmable data processing device; Make on computing machine or other programmable devices and to carry out the sequence of operations step producing computer implemented processing, thereby the instruction of on computing machine or other programmable devices, carrying out is provided for being implemented in the step of the function of appointment in flow process of process flow diagram or a plurality of flow process and/or square frame of block scheme or a plurality of square frame.
Obviously, those skilled in the art can carry out various changes and modification to the present invention and not break away from the spirit and scope of the present invention.Like this, belong within the scope of claim of the present invention and equivalent technologies thereof if of the present invention these are revised with modification, then the present invention also is intended to comprise these changes and modification interior.
Claims (10)
1. a search method is characterized in that, this method comprises:
According to retrieval request, generate and the corresponding search instruction of data source;
Search instruction is sent to corresponding data source, obtain the result for retrieval that data source is returned then;
According to the corresponding display priority of each data source, the result for retrieval that each data source is returned sorts;
With the result for retrieval output that obtains after the ordering.
2. method according to claim 1 is characterized in that, comprises in the said retrieval request:
Term information, need the range information of data retrieved source information, result for retrieval.
3. method according to claim 2 is characterized in that, said search instruction comprises:
The logical condition of retrieval, require the quantity of the result for retrieval that data source returns.
4. according to claim 1,2 or 3 described methods, it is characterized in that according to the corresponding display priority of each data source, the step that the result for retrieval that each data source is returned sorts comprises:
According to the corresponding display priority order from high to low of each data source, and the title of the data source of each result for retrieval correspondence, extract result for retrieval successively, needing to obtain the result for retrieval of output.
5. method according to claim 4 is characterized in that, said display priority is to confirm according to the indication of client, perhaps, is pre-configured.
6. a searching system is characterized in that, this system comprises:
The search instruction generating apparatus is used for according to retrieval request, generates and the corresponding search instruction of data source;
The search instruction dispensing device is used for the search instruction that said search instruction generating apparatus generates is sent to corresponding data source;
Deriving means is used to obtain the result for retrieval that data source is returned as a result;
Data integration device is used for according to the corresponding display priority of each data source, and the result for retrieval that each data source is returned sorts;
Output unit is used for the result for retrieval output that obtains after the ordering.
7. system according to claim 6 is characterized in that, said search instruction generating apparatus is resolved said retrieval request, therefrom obtains term information, needs the range information of data retrieved source information, result for retrieval.
8. system according to claim 7 is characterized in that, the search instruction that said search instruction generating apparatus generates comprises:
The logical condition of retrieval, require the quantity of the result for retrieval that data source returns.
9. according to claim 6,7 or 8 described systems; It is characterized in that; Said data integration device, according to the corresponding display priority order from high to low of each data source, and the title of the data source of each result for retrieval correspondence; Extract result for retrieval successively, obtain to export to the result for retrieval of said client.
10. system according to claim 9 is characterized in that, the corresponding display priority of confirming in the said data integration device of each data source is to confirm according to the indication of said client, perhaps, is pre-configured in this data integration device.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201010531123XA CN102467502A (en) | 2010-10-29 | 2010-10-29 | Retrieval method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201010531123XA CN102467502A (en) | 2010-10-29 | 2010-10-29 | Retrieval method and system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN102467502A true CN102467502A (en) | 2012-05-23 |
Family
ID=46071147
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201010531123XA Pending CN102467502A (en) | 2010-10-29 | 2010-10-29 | Retrieval method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102467502A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105760504A (en) * | 2016-02-23 | 2016-07-13 | 中国银联股份有限公司 | Resource retrieval method based on browser |
CN105868274A (en) * | 2016-03-22 | 2016-08-17 | 努比亚技术有限公司 | Resource data querying and processing method and device thereof |
CN108062384A (en) * | 2017-12-13 | 2018-05-22 | 阿里巴巴集团控股有限公司 | The method and apparatus of data retrieval |
CN112287234A (en) * | 2020-11-16 | 2021-01-29 | Oppo广东移动通信有限公司 | Information retrieval method, device and storage medium |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060287985A1 (en) * | 2005-06-20 | 2006-12-21 | Luis Castro | Systems and methods for providing search results |
CN101609460A (en) * | 2009-07-22 | 2009-12-23 | 中国科学院地理科学与资源研究所 | A kind of search method and searching system of supporting the heterogeneous earth science data resource |
-
2010
- 2010-10-29 CN CN201010531123XA patent/CN102467502A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060287985A1 (en) * | 2005-06-20 | 2006-12-21 | Luis Castro | Systems and methods for providing search results |
CN101609460A (en) * | 2009-07-22 | 2009-12-23 | 中国科学院地理科学与资源研究所 | A kind of search method and searching system of supporting the heterogeneous earth science data resource |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105760504A (en) * | 2016-02-23 | 2016-07-13 | 中国银联股份有限公司 | Resource retrieval method based on browser |
CN105868274A (en) * | 2016-03-22 | 2016-08-17 | 努比亚技术有限公司 | Resource data querying and processing method and device thereof |
CN108062384A (en) * | 2017-12-13 | 2018-05-22 | 阿里巴巴集团控股有限公司 | The method and apparatus of data retrieval |
CN112287234A (en) * | 2020-11-16 | 2021-01-29 | Oppo广东移动通信有限公司 | Information retrieval method, device and storage medium |
WO2022100222A1 (en) * | 2020-11-16 | 2022-05-19 | Oppo广东移动通信有限公司 | Information retrieval method, apparatus and system, and storage medium |
CN112287234B (en) * | 2020-11-16 | 2023-05-30 | Oppo广东移动通信有限公司 | Information retrieval method, device and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109997126B (en) | Event driven extraction, transformation, and loading (ETL) processing | |
CN109344223B (en) | Building information model management system and method based on cloud computing technology | |
US20210318851A1 (en) | Systems and Methods for Dataset Merging using Flow Structures | |
CA2684822C (en) | Data transformation based on a technical design document | |
EP2819035B1 (en) | Systems and methods for presentations with live application integration | |
CN115617327A (en) | Low code page building system, method and computer readable storage medium | |
US9383902B2 (en) | Systems and methods for presentations with live application integration | |
CN107491334B (en) | Method for organizing and loading preloaded files | |
US20120323908A1 (en) | Ranking search results based upon content creation trends | |
KR20170091142A (en) | Web content tagging and filtering | |
KR20130126901A (en) | Synchronizing online document edits | |
US20150089415A1 (en) | Method of processing big data, apparatus performing the same and storage media storing the same | |
US20150081690A1 (en) | Network sourced enrichment and categorization of media content | |
CN102929971A (en) | Multimedia information playing method and system | |
US20110078569A1 (en) | Value help user interface system and method | |
CN102467502A (en) | Retrieval method and system | |
CN112035555B (en) | Information display method, device and equipment | |
US20150169675A1 (en) | Data access using virtual retrieve transformation nodes | |
US8856152B2 (en) | Apparatus and method for visualizing data | |
WO2016206395A1 (en) | Weekly report information processing method and device | |
CN101076027A (en) | Method and system for transporting data between MIME accessory and corresponding database | |
US11843679B2 (en) | Automated dependency management based on page components | |
CN116069725A (en) | File migration method, device, apparatus, medium and program product | |
EP4170517B1 (en) | Integrating data with different configuration models | |
CN111143464A (en) | Data acquisition method and device and electronic equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C12 | Rejection of a patent application after its publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20120523 |