CN104750794B - A kind of data search method, device and system - Google Patents
A kind of data search method, device and system Download PDFInfo
- Publication number
- CN104750794B CN104750794B CN201510109439.2A CN201510109439A CN104750794B CN 104750794 B CN104750794 B CN 104750794B CN 201510109439 A CN201510109439 A CN 201510109439A CN 104750794 B CN104750794 B CN 104750794B
- Authority
- CN
- China
- Prior art keywords
- search
- search result
- terminal
- service module
- http
- 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
Links
Landscapes
- Information Transfer Between Computers (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The present invention provides a kind of data search methods, device and system, are provided with HTTP service module in advance in the terminal for providing search service, and search agent end receives the search key that search initiating terminal is sent;According to preconfigured HTTP service module information, described search keyword and local search instruction are sent to each HTTP service module;It obtains HTTP service module terminal where it and carries out the search result returned after the local search for described search keyword, and described search result is returned into described search initiating terminal.The present invention can be realized the data search to other terminals, i.e., except through additionally providing a kind of mode of data search except search engine so that user at the terminal can it is faster, widely search data.
Description
[technical field]
The present invention relates to computer application technology, in particular to a kind of data search method, device and system.
[background technique]
Search has become one of the main means for obtaining information at present, and user can be taken by search engine from internet
Business or the local information for getting oneself and wanting.However, the data that sometimes user needs are not in Internet service or originally
, may be on other terminal devices on ground terminal device, and which terminal device user can not accurately be informed on, user is only
Investigation can be inquired one by one, then carry out data transmitting by the communication modes between terminal device again, it is clear that time-consuming and laborious.
[summary of the invention]
In view of this, the present invention provides a kind of methods, devices and systems of data search, in order to faster, wider
Data are obtained generally.
Specific technical solution is as follows:
The present invention provides a kind of data search method, provides and be provided with HTTP service mould in the terminal of search service in advance
Block, this method comprises:
Search agent end receives the search key that search initiating terminal is sent;
According to preconfigured HTTP service module information, described search keyword and local search instruction are sent to each
HTTP service module;
It obtains after HTTP service module terminal where it carries out the local search for described search keyword and returns
The search result returned, and described search result is returned into described search initiating terminal.
A preferred embodiment according to the present invention, this method further include: described search agent side is by described search keyword
It is sent to search server, and obtains the search result of described search server return;
It includes: the search for returning to the HTTP service module that described search result, which is returned to described search initiating terminal,
As a result the search result returned with described search server is integrated, and the search result obtained after integration is returned to described search
Rope initiating terminal.
An optional embodiment according to the present invention, this method further include:
The search result returned in the search result obtained after integration to the HTTP service module is preferentially showed;
Alternatively,
The search result returned in the search result obtained after integration to the HTTP service module is labeled;Or
Person,
The search result returned in the search result obtained after integration to the HTTP service module carries out protrusion and shows.
An optional embodiment according to the present invention includes the search knot in the search result that the HTTP service module returns
The information of fruit institute source terminal, or further include routing information of the search result in institute's source terminal;
The information of the search result institute source terminal includes the identification information or ground of the search result institute source terminal
Location information.
A preferred embodiment according to the present invention, this method further include:
Described search agent side receives the mark letter of the search result institute source terminal of described search initiating terminal transmission
After breath, the address information of described search result institute source terminal is returned into described search initiating terminal.
The present invention also provides a kind of data search methods, provide and are provided with HTTP service in the terminal of search service in advance
Module, this method comprises:
It searches for initiating terminal and sends search key to search agent end;
The search result that described search agent side returns is received, which includes: the HTTP service module at it
Place terminal carries out the search result returned after local search for the search key that described search agent side is sent.
A preferred embodiment according to the present invention, described search result further include: search server receives described search
The search result of described search agent side is returned to after the search key that agent side is sent.
An optional embodiment according to the present invention, the search result that the HTTP service module returns are returning to described search
Preferentially show in the search result of rope originating end;Alternatively,
The search result that the HTTP service module returns is marked in the search result for returning to described search originating end
Note;Alternatively,
The search result that the HTTP service module returns is prominent in the search result for returning to described search originating end
Show.
An optional embodiment according to the present invention includes the search knot in the search result that the HTTP service module returns
The information of fruit institute source terminal, or further include routing information of the search result in institute's source terminal;
The information of the search result institute source terminal includes the identification information or ground of the search result institute source terminal
Location information.
An optional embodiment according to the present invention, this method further include:
After the search result that the HTTP service module returns is easily selected by a user, this is chosen by described search initiating terminal
The identification information for selecting search result institute source terminal is sent to search agent end, in the quilt for getting the return of search agent end
After the address information for selecting search result institute source terminal, HTTP company is established by selection search result institute source terminal with described
It connects, is requested by selection search result institute source terminal to described and obtain the data corresponding to selection search result;Or
Person,
After the search result that the HTTP service module returns is easily selected by a user, described search initiating terminal utilizes selected
The address information for selecting search result institute source terminal is established HTTP by selection search result institute source terminal and is connect with described, to
It is described to be requested by selection search result institute source terminal and obtain the data corresponding to selection search result;Alternatively,
After the search result that the HTTP service module returns is easily selected by a user, described search initiating terminal utilizes selected
The address information for selecting search result institute source terminal is established HTTP by selection search result institute source terminal and is connect with described, and
Using it is described obtained by routing information of the selection search result in institute's source terminal it is described corresponding to selection search result
Data.
The present invention also provides a kind of data search methods, provide and are provided with HTTP service in the terminal of search service in advance
Module, this method comprises:
HTTP service module receives the search key that search agent end is sent and local search instruction;
It is scanned in this terminal for described search keyword using search key, if searching described search
The corresponding data of keyword then return to search result to described search agent side.
A preferred embodiment according to the present invention, this method further include:
The HTTP service module is established HTTP with search initiating terminal and is connect, to described in the return of described search initiating terminal
Search for the corresponding data of the requested search result of initiating terminal.
The present invention provides a kind of data serching device, which includes:
First interactive module, the search key sent for receiving search initiating terminal;
Second interactive module is used for according to preconfigured HTTP service module information, by described search keyword and this
Ground search instruction is sent to each HTTP service module;HTTP service module terminal where it is obtained search for described
The search result returned after the local search of rope keyword;
First interactive module is also used to described search result returning to described search initiating terminal;
Wherein the HTTP service module is pre-configured in the terminal for providing search service.
A preferred embodiment according to the present invention, the device further include:
Third interactive module for described search keyword to be sent to search server, and obtains described search service
The search result that device returns;
As a result integral unit, search result and described search server for returning to the HTTP service module return
Search result integrated, the search result after integration is supplied to first interactive unit;
First interactive unit returns to the search result of described search initiating terminal as the search knot after the integration
Fruit.
An optional embodiment according to the present invention, the result integral unit, the search knot for being also used to obtain after integration
The search result returned in fruit to the HTTP service module is preferentially showed;Alternatively,
The search result returned in the search result obtained after integration to the HTTP service module is labeled;Or
Person,
The search result returned in the search result obtained after integration to the HTTP service module carries out protrusion and shows.
An optional embodiment according to the present invention includes the search knot in the search result that the HTTP service module returns
The information of fruit institute source terminal, or further include routing information of the search result in institute's source terminal;
The information of the search result institute source terminal includes the identification information or ground of the search result institute source terminal
Location information.
A preferred embodiment according to the present invention, first interactive unit are also used to receive described search and initiate eventually
After the identification information for holding the search result institute source terminal sent, the address information of described search result institute source terminal is returned
Give described search initiating terminal.
The present invention also provides a kind of data serching device, which includes:
Initiation module is searched for, for sending search key to search agent end;
As a result module is obtained, for receiving the search result of described search agent side return, which includes: described
HTTP service module returns after terminal carries out local search for the search key that described search agent side is sent where it
Search result;
Wherein the HTTP service module is pre-configured in the terminal for providing search service.
A preferred embodiment according to the present invention, described search result further include: search server receives described search
The search result of described search agent side is returned to after the search key that agent side is sent.
An optional embodiment according to the present invention includes the search knot in the search result that the HTTP service module returns
The information of fruit institute source terminal, or further include routing information of the search result in institute's source terminal;
The information of the search result institute source terminal includes the identification information or ground of the search result institute source terminal
Location information.
A preferred embodiment according to the present invention, the device further include:
Address acquisition module, after the search result for returning when the HTTP service module is easily selected by a user, by the quilt
The identification information of selection search result institute source terminal is sent to search agent end, obtains the described selected of search agent end return
Select the address information of search result institute source terminal;
Terminal called module, for according to the address information by selection search result institute source terminal, with the quilt
Selection search result institute source terminal establishes HTTP connection, is requested by selection search result institute source terminal to described and obtains institute
State the data corresponding to selection search result.
An optional embodiment according to the present invention, the device further include:
Terminal called module, it is and described after the search result for returning when the HTTP service module is easily selected by a user
HTTP connection is established by selection search result institute source terminal, is requested and is obtained by selection search result institute source terminal to described
The data corresponding to selection search result;Alternatively, for when the HTTP service module return search result by with
After the selection of family, HTTP is established by selection search result institute source terminal connect with described, and utilization is described by selection search result
Routing information in institute's source terminal obtains the data corresponding to selection search result.
The present invention also provides a kind of data serching device, which is set in the terminal for providing search service, the dress
It sets and includes:
HTTP service module, for receiving search key and the local search instruction of the transmission of search agent end;Using searching
Rope keyword scans in this terminal for described search keyword, if searching the corresponding number of described search keyword
According to then to described search agent side return search result.
A preferred embodiment according to the present invention, the device further include:
Terminal called module, connect for establishing HTTP with search initiating terminal, returns to institute to described search initiating terminal
State the corresponding data of the search requested search result of initiating terminal.
Invention additionally provides a kind of data search system, the system include: search initiating terminal, search agent end and
The terminal of search service is provided.
As can be seen from the above technical solutions, mode provided by the invention can be realized the data search to other terminals,
I.e. except through additionally providing a kind of mode of data search except search engine so that user at the terminal can it is faster,
Widely search the data of other terminals.
[Detailed description of the invention]
Fig. 1 is the schematic diagram of each role involved by the embodiment of the present invention;
Fig. 2 is first method flow chart provided in an embodiment of the present invention;
Fig. 3 is second method flow chart provided in an embodiment of the present invention;
Fig. 4 is the third method flow diagram provided in an embodiment of the present invention;
Fig. 5 is the Layout Example FIG in a local area network provided in an embodiment of the present invention;
Fig. 6 is the instance graph of a search result provided in an embodiment of the present invention;
Fig. 7 is the instance graph of a playing video data in search results pages provided in an embodiment of the present invention;
Fig. 8 is the structure drawing of device provided in an embodiment of the present invention for being set to search agent end;
Fig. 9 is the structure drawing of device provided in an embodiment of the present invention for being set to search initiating terminal;
Figure 10 is that provided in an embodiment of the present invention be set to provides the structure drawing of device of the terminal of search service.
[specific embodiment]
To make the objectives, technical solutions, and advantages of the present invention clearer, right in the following with reference to the drawings and specific embodiments
The present invention is described in detail.
Role involved in the embodiment of the present invention is as shown in fig. 1, specifically includes that search initiating terminal, offer are searched
The terminal of service and search agent end.Wherein search initiating terminal refers to that user initiates to search for used terminal, such as
User inputs search key in some terminal, then the terminal is exactly to search for initiating terminal.The end of search service is provided
End refers to the terminal that can be provided out the data of this terminal as searching resource.It is responsible for receiving search hair in search agent end
The search key of terminal is played, agency executes the data search that search key is directed in the terminal for providing searched service.
The search agent end can be set in terminal, also can be set in other equipment.When being set in terminal, which can
Simultaneously as search initiating terminal and/or the terminal of the searched service of offer.That is, a terminal can be used as search
Initiating terminal can also be used as and provide the terminal of searched service, can also be used as search agent end, be also used as above-mentioned three
Any combination in a role.
The present embodiments relate to terminal can be such as personal computer, laptop, smart phone, a number
Word assistant (PDA), tablet computer or other computer systems.These terminals architecturally all include some basic modules, such as total
Line, processing system, storage system, one or more input/outputs and communication interface etc..Bus may include one or
Multiple conducting wires, for realizing the communication between server or each component of terminal device.Processing system includes all types of being used to hold
The processor or microprocessor of row instruction, treatment progress or thread.Storage system may include storing the random visit of multidate information
Ask the dynamic memories such as memory (RAM), and the static memories such as read-only memory (ROM) for storing static information, and packet
Include the mass storage of magnetically or optically recording medium and respective drive.Input system inputs information to server or end for user
End equipment, such as keyboard, mouse, writing pencil, sound recognition system or bioassay system.Output system includes being used to export
Display, printer, loudspeaker of information etc..Communication interface be used to make server or terminal device and other systems or system into
Row communication.It can be connected in network by wired connection, wireless connection or light connects between communication interface, terminal room or end
End with search agent end can be mutual by network implementations communication.Network may include local area network (LAN), wide area network
(WAN), telephone network such as public switch telephone network (PSTN), the internet of enterprises, internet or these above-mentioned networks
In conjunction with etc..
It may include the operating system software for management system resource, the other program operations of control in terminal, and
For realizing the application software of certain functional modules.
The preferred application scenarios of the embodiment of the present invention are local area network, i.e., realize search initiating terminal in a local network, provide
The terminal of searched service and search agent end.
In embodiments of the present invention, it needs to be beforehand with following configuration:
1) HTTP service module is set in the terminal for providing searched service.Wherein HTTP service module is sent out using HTTP
Data are sent and receive, in addition the HTTP service module can also realize the data search function in this terminal.The HTTP service
Module is to the open IP address in search agent end and port numbers.
2) in the information at search initiating terminal setting search agent end, IP address and port numbers including search agent end.
3) at search agent end, setting provides the information of the HTTP service module in the terminal of searched service, can wrap
It includes: IP address and port numbers.
Fig. 2 is a kind of method flow diagram provided in an embodiment of the present invention, and the present embodiment is for a terminal reality in local area network
Now to the search of other data in terminal.As shown in Figure 2, this method may comprise steps of:
In 201, search initiating terminal closes the search of user's input according to the information at preconfigured search agent end
Keyword is sent to search agent end.
Search agent end and search initiating terminal can be a terminal, i.e. user inputs search in search initiation module
After keyword, search key is sent to the search agent module of this terminal.
Search agent end and search initiating terminal may not be a terminal, and user inputs in search initiating terminal and searches
After rope keyword, which is sent to the terminal or server as search agent end.
In 202, search agent end is according to the information of preconfigured HTTP service module, by the search key and
Local search instruction is sent to the HTTP service module of each terminal for providing search service.
If the data search inside local area network is closed with hitch is wantonly searched for, search agent end can further be closed the search
Keyword is sent to search server.
In 203, the HTTP service module for providing the terminal of search service receives search key and local search refers to
It after order, is scanned in this terminal for search key, search result is returned into search agent end.
Since HTTP service module may also be provided in search initiating terminal, search initiating terminal can also receive
It is instructed to search key and local search, and scans for and return to search result giving search agent end in this terminal.
In addition, HTTP service module may also be provided in search agent end, and therefore, the HTTP service mould at search agent end
Block can also receive search key and local search instruction, and scan in this terminal and return to search result to search
Agent side.
In 204, search agent end returns to the search result that the terminal for providing search service returns and search server
Search result integrated, the search result after integration is returned into search initiating terminal.
This step be actually by local area network data search and greatly search for be combined, by the search result of the two into
Row integration, so that the search result that search initiating terminal receives is the search result for incorporating local area network and searching for greatly.
In the search result for returning to search initiating terminal, it can preferentially show the terminal return that search service is provided
Search result, such as the sequence for the search result that the terminal for providing search service returns is placed on forward position.It can also be
The search result returned in search result to the terminal for providing search service is identified, for example, by using callout box, identifier, text
The modes such as word identify and provide the search result that the terminal of search service returns in search result.It can also be right in search result
The search result for providing the terminal return of search service carries out protrusion and shows, such as shows default above result of page searching
Position, or showed using special color or font.
It can also further include the information of institute's source terminal in the search result that the terminal for providing search service returns,
Such as the mark or address information of institute's source terminal, the address information may include IP address and port numbers.It can also be into one
Step includes routing information of the search result in institute's source terminal.
If user is interested in some search result, such as clicks certain search result, the quick of data can be carried out
Distribution, continues to execute following steps:
If only including the mark of institute's source terminal in the search result that user is clicked, in 205, search is initiated eventually
The identification information of the search result institute source terminal is sent to search agent terminal by end, and in 206, search initiating terminal is from searching
Rope proxy terminal obtains the address information of the search result institute source terminal.In 207, initiating terminal is searched for according to the search knot
HTTP connection is established between the address information of fruit institute source terminal and the search result institute source terminal, and in 208, search hair
It plays terminal and sends the request comprising obtaining data corresponding to the search result to search result institute's source terminal, and from the search
As a result the terminal in institute source obtains data corresponding to the search result.
If including the address information of institute's source terminal in the search result that user is clicked, can execute as in Fig. 3
Step shown in 305, search initiating terminal are established using the address information and institute's source terminal of the search result institute source terminal
HTTP connection, and in 306, search initiating terminal is sent to search result institute's source terminal comprising obtaining the search result institute
The request of corresponding data, and data corresponding to the search result are obtained from the terminal in the search result institute source.
If the address information and search result in the search result that user is clicked comprising institute's source terminal are in institute source
Routing information in terminal, then can execute the step as shown in Fig. 4 405, and search initiating terminal utilizes the search result institute
The address information of source terminal is established HTTP with institute source terminal and is connect, and in 406, using search result in institute's source terminal
In routing information obtain data corresponding to the search result.
Data corresponding to mentioned above searching results can include but is not limited to: text, video, audio, picture, installation file
The even data of the types such as progress information.By above-mentioned process, foradownloaded video, sound can be not necessarily on search initiating terminal
The multi-medium datas such as frequency directly obtain data from other terminals in local area network and play out in search initiating terminal.It can also be with
Without downloading application on search initiating terminal, installation file directly is obtained from other terminals in local area network and is initiated eventually in search
End is carried out using installation.
It cites an actual example:
Assuming that HTTP service module is each equipped in each terminal in certain local area network, as shown in figure 5, each terminal is ok
As search initiating terminal, it is used as search agent end in terminal 2, i.e., the IP at search agent end is each equipped in each terminal
Location and port numbers are provided with the IP address and port numbers of each HTTP service module on search agent end, it is assumed that terminal 1 is as search
Initiating terminal, the user of terminal 1 think viewing " the charming ma's legend of force ", then inputting search key in terminal 1, " the charming ma of force is passed
It is odd ".Terminal 1 sends search key " the charming ma's legend of force " to terminal 2 according to the information at preconfigured search agent end.Eventually
End 2 is sent according to the information of the HTTP service module of the preconfigured terminal for providing search service to each HTTP service module
The search key and local search instruction, and the search key is sent to search server.Since each terminal configures
There is HTTP service module, therefore terminal 1,2,3 and 4 is performed both by local search, it is assumed that exist on the terminal 4 about " the charming ma of force passes
The data of " the charming ma's legend of force " that search are returned to terminal 2 by the data of surprise ", terminal 4.Other terminals return to terminal 2
Response does not include search result.Terminal 2 can also receive search server return search for greatly as a result, terminal 4 is returned
After the search result that search result and search server return is integrated, the search result after integration is returned into terminal 1.
In the search result that terminal 1 receives, the search result of terminal 4 ranks the first, by terminal 4 in the search result
Search result is labeled, as shown in Figure 6.It may include the search result corresponding data in the search result of the terminal 4
Information, routing information of the data in terminal 4 corresponding to institute's source terminal, that is, terminal 4 address information and the search result.
When the user clicks when the search result of the terminal 4, terminal 1 is established HTTP with terminal 4 using the address information of terminal 4 and is connect, and
The corresponding data of the search result are obtained from terminal 4 according to routing information of the data corresponding to the search result in terminal 4.It is false
If the search result of terminal 4 is the video data of " the charming ma's legend of force ", then user can realize in terminal 1 to " the charming ma of force passes
It is odd " broadcasting.
Particularly, terminal 1 can be " military to fawn ma's biography to what is obtained from terminal 4 using the form of " Aladdin " in search result
It is odd " it plays out, i.e., video player is called in search results pages, and painting canvas is embedded in search results pages, in the painting canvas
The upper broadcasting for realizing video player to " the charming ma's legend of force ".As shown in Figure 7.
It is the detailed description carried out to method provided by the present invention above.Device provided by the present invention is carried out below
Detailed description.
Fig. 8 is the structure drawing of device provided in an embodiment of the present invention for being set to search agent end, as shown in Figure 8, the dress
Set may include: the first interactive module 01, the second interactive module 02, third interactive module 03 and result integral unit 04.
First interactive module 01 is responsible for receiving the search key that search initiating terminal is sent.Since search agent end is preparatory
The information for the HTTP service module being provided in the terminal of search service is configured, therefore, the second interactive module 02 can will search for
Keyword and local search instruction are sent to each HTTP service module;And it obtains HTTP service module terminal where it and carries out needle
To the search result returned after the local search of search key.Then search result is returned to by the first interactive module 01 and is searched
Rope initiating terminal.
On the other hand, search key can be sent to search server by third interactive module 03, for being wantonly searched for
Rope, and obtain the search result of search server return, i.e., the search result searched for greatly.In this case, as a result integral unit
04 can integrate the search result that the search result that HTTP service module returns is returned with search server, after integration
Search result be supplied to the first interactive unit 01, at this time the first interactive unit 01 return to search initiating terminal search result
For the search result after integration.
As a result the search knot that HTTP service module is returned in the search result that integral unit 04 can obtain after integration
Fruit is preferentially showed, such as the sequence for the search result that the terminal for providing search service returns is placed on forward position.?
The search result returned in the search result that can be obtained after integration to HTTP service module is labeled, for example, by using mark
The modes such as frame, identifier, text identify and provide the search result that the terminal of search service returns in search result.It can also be
The search result returned in the search result obtained after integration to HTTP service module carries out protrusion and shows, such as shows and searching for
Predeterminated position above results page, or showed using special color or font.
It include the information of the search result institute source terminal in the search result that HTTP service module returns, or further
Routing information comprising the search result in institute's source terminal;Wherein, the information of the search result institute source terminal includes being somebody's turn to do
The identification information or address information of search result institute source terminal.
If the search result that user returns in search initiating terminal selection HTTP service module, and in the search result only
Identification information comprising the search result institute source terminal, then searching for initiating terminal can be by the mark of the search result institute source terminal
Know information and is sent to search agent end.It is sent at this point, first interactive unit 01 at search agent end receives search initiating terminal
Search result institute source terminal identification information after, by the address information of search result institute source terminal return to search initiate
Terminal can establish HTTP with search result institute source terminal using the address information to search for initiating terminal and connect to obtain
Take the corresponding data of search result.
Fig. 9 is the structure drawing of device provided in an embodiment of the present invention for being set to search initiating terminal, as shown in figure 9, the dress
Setting includes: that search initiation module 11 and result obtain module 12, can further include address acquisition module 13 and terminal is logical
Interrogate module 14.
When user is when searching for initiating terminal input search key, search initiating terminal is provided with search agent end in advance
Information, search initiation module 11 to search agent end send search key.As a result module 12 is obtained to be responsible for receiving search generation
The search result that end returns is managed, which includes: that HTTP service module terminal where it is sent for search agent end
Search key carry out the search result that returns after local search.Search result can also include: that search server receives
The search result at search agent end is returned to after the search key that search agent end is sent.That is, search result can be with
It is to integrate the search result obtained after the search result of HTTP service module return and the search result of search server return.
In addition, may include the information of the search result institute source terminal in the search result that HTTP service module returns,
Or further include routing information of the search result in institute's source terminal;The wherein letter of the search result institute source terminal
Breath includes the identification information or address information of the search result institute source terminal.
After the search result that HTTP service module returns is easily selected by a user, if the search result only includes the search knot
The identification information of fruit institute source terminal, then address acquisition module 13 is by the identification information by selection search result institute source terminal
It is sent to search agent end, obtains the address information by selection search result institute source terminal that search agent end returns.Then,
Terminal called module 14 is and whole by selection search result institute source according to by the address information of selection search result institute source terminal
HTTP connection is established at end, to being requested by selection search result institute source terminal and obtain the number corresponding to selection search result
According to.
If the search result of user's selection includes the address information of the search result institute source terminal, terminal called mould
Block 14 can use the address information with HTTP established by selection search result institute source terminal connect, to by selection search result
Institute's source terminal requests and obtains the data corresponding to selection search result.
If the search result of user's selection includes the address information and the search result of the search result institute source terminal
Routing information of the corresponding data in institute's source terminal, then terminal called module 14 can use the address information and be selected
Search result institute source terminal establishes HTTP connection, and utilizes and obtained by routing information of the selection search result in institute's source terminal
Take the data corresponding to selection search result.
Figure 10 is that provided in an embodiment of the present invention be set to provides the structure drawing of device of the terminal of search service, such as Figure 10 institute
Show, which includes: HTTP service module 21 and terminal called module 22.
HTTP service module 21 is responsible for interacting with search agent end, i.e. the search of reception search agent end transmission is crucial
Word and local search instruction;It is scanned in this terminal for search key using search key, is searched if searched
The corresponding data of rope keyword then return to search result to search agent end.
When the user of search initiating terminal is initiated and the search by the search result that selection HTTP service module returns
As a result when the HTTP connection of institute's source terminal, terminal called module 22 and search in the search result institute source terminal are initiated eventually
HTTP connection is established at end, returns to the corresponding data of the search requested search result of initiating terminal to search initiating terminal.Wherein
The corresponding data of the requested search result of terminal can be supplied to terminal called module 22 by HTTP service module 21.
Since search initiating terminal and search agent end may be the same terminal, search initiating terminal and offer search clothes
The terminal of business may be the same terminal, and search agent end and the terminal for providing search service may be the same terminal, and one
Terminal as search initiating terminal, search agent end and may also provide the terminal of search service simultaneously, therefore Fig. 8, Fig. 9 and figure
Device shown in 10 may mode in any combination be set to the same terminal.
It should be noted that search of the HTTP service module in this terminal can be arbitrary data in the embodiment of the present invention
The search of file, can be with search permission of the flexible setting HTTP service module in terminal, for example, it may be full terminal range
, it is also possible to that the search, etc. to system-level file can be forbidden using interior range.
In several embodiments provided by the present invention, it should be understood that disclosed system, device and method can be with
It realizes by another way.For example, the apparatus embodiments described above are merely exemplary, for example, the unit
It divides, only a kind of logical function partition, there may be another division manner in actual implementation.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple
In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme
's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit
It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list
Member both can take the form of hardware realization, can also realize in the form of hardware adds SFU software functional unit.
The above-mentioned integrated unit being realized in the form of SFU software functional unit can store and computer-readable deposit at one
In storage media.Above-mentioned SFU software functional unit is stored in a storage medium, including some instructions are used so that a computer
It is each that equipment (can be personal computer, server or the network equipment etc.) or processor (processor) execute the present invention
The part steps of embodiment the method.And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory (Read-
Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic or disk etc. it is various
It can store the medium of program code.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all in essence of the invention
Within mind and principle, any modification, equivalent substitution, improvement and etc. done be should be included within the scope of the present invention.
Claims (25)
1. a kind of data search method, which is characterized in that it provides and is provided with HTTP service module in the terminal of search service in advance,
The HTTP service module sends and receives data using HTTP, and has the function of the data search in this terminal, this method
Include:
Search agent end receives the search key that search initiating terminal is sent;
According to preconfigured HTTP service module information, described search keyword and local search instruction are sent to each HTTP
Service module;
Obtain what HTTP service module terminal where it return after local search for described search keyword
Search result, and described search result is returned into described search initiating terminal.
2. the method according to claim 1, wherein this method further include: described search agent side is searched described
Rope keyword is sent to search server, and obtains the search result of described search server return;
It includes: the search result for returning to the HTTP service module that described search result, which is returned to described search initiating terminal,
The search result returned with described search server is integrated, and the search result obtained after integration is returned to described search hair
Play terminal.
3. according to the method described in claim 2, it is characterized in that, this method further include:
The search result returned in the search result obtained after integration to the HTTP service module is preferentially showed;Or
Person,
The search result returned in the search result obtained after integration to the HTTP service module is labeled;Alternatively,
The search result returned in the search result obtained after integration to the HTTP service module carries out protrusion and shows.
4. method according to claim 1 or 2, which is characterized in that in the search result that the HTTP service module returns
Information comprising the search result institute source terminal, or further include path letter of the search result in institute's source terminal
Breath;
The information of the search result institute source terminal includes the identification information or address letter of the search result institute source terminal
Breath.
5. according to the method described in claim 4, it is characterized in that, this method further include:
After described search agent side receives the identification information of the search result institute source terminal of described search initiating terminal transmission,
The address information of described search result institute source terminal is returned into described search initiating terminal.
6. a kind of data search method, which is characterized in that it provides and is provided with HTTP service module in the terminal of search service in advance,
The HTTP service module sends and receives data using HTTP, and has the function of the data search in this terminal, this method
Include:
It searches for initiating terminal and sends search key to search agent end;
The search result that described search agent side returns is received, which includes: the HTTP service module where it
Terminal carries out the search result returned after local search for the search key that described search agent side is sent.
7. according to the method described in claim 6, it is characterized in that, described search result further include: search server receives
The search result of described search agent side is returned to after the search key that described search agent side is sent.
8. the method according to the description of claim 7 is characterized in that the search result that the HTTP service module returns is returning
To preferentially showing in the search result of described search originating end;Alternatively,
The search result that the HTTP service module returns is marked in the search result for returning to described search originating end;Or
Person,
The search result that the HTTP service module returns protrusion in the search result for returning to described search originating end shows.
9. method according to claim 6 or 7, which is characterized in that in the search result that the HTTP service module returns
Information comprising the search result institute source terminal, or further include path letter of the search result in institute's source terminal
Breath;
The information of the search result institute source terminal includes the identification information or address letter of the search result institute source terminal
Breath.
10. according to the method described in claim 9, it is characterized in that, this method further include:
After the search result that the HTTP service module returns is easily selected by a user, this is selected to search by described search initiating terminal
The identification information of hitch fruit institute source terminal is sent to search agent end, in described being selected for getting the return of search agent end
After the address information of search result institute source terminal, HTTP is established by selection search result institute source terminal it connect with described, to
It is described to be requested by selection search result institute source terminal and obtain the data corresponding to selection search result;Alternatively,
After the search result that the HTTP service module returns is easily selected by a user, described search initiating terminal is utilized and is searched by selection
The address information of hitch fruit institute source terminal is established HTTP by selection search result institute source terminal and is connect with described, to described
It is requested by selection search result institute source terminal and obtains the data corresponding to selection search result;Alternatively,
After the search result that the HTTP service module returns is easily selected by a user, described search initiating terminal is utilized and is searched by selection
The address information of hitch fruit institute source terminal is established HTTP by selection search result institute source terminal and is connect, and utilizes with described
It is described that the data corresponding to selection search result are obtained by routing information of the selection search result in institute's source terminal.
11. a kind of data search method, which is characterized in that provide and be provided with HTTP service mould in the terminal of search service in advance
Block, the HTTP service module sends and receives data using HTTP, and has the function of the data search in this terminal, the party
Method includes:
HTTP service module receives the search key that search agent end is sent and local search instruction;
It is scanned in this terminal for described search keyword using search key, if searching described search key
The corresponding data of word then return to search result to described search agent side.
12. according to the method for claim 11, which is characterized in that this method further include:
The HTTP service module is established HTTP with search initiating terminal and is connect, and returns to described search to described search initiating terminal
The corresponding data of the requested search result of initiating terminal.
13. a kind of data serching device, which is characterized in that the device includes:
First interactive module, the search key sent for receiving search initiating terminal;
Second interactive module, for according to preconfigured HTTP service module information, described search keyword to be searched with local
Suo Zhiling is sent to each HTTP service module;HTTP service module terminal where it is obtained close for described search
The search result returned after the local search of keyword;
First interactive module is also used to described search result returning to described search initiating terminal;
Wherein the HTTP service module is pre-configured in the terminal for providing search service, and the HTTP service module uses
HTTP sends and receives data, and has the function of the data search in this terminal.
14. device according to claim 13, which is characterized in that the device further include:
Third interactive module for described search keyword to be sent to search server, and obtains described search server and returns
The search result returned;
As a result integral unit, the search result for returning to the HTTP service module are searched with what described search server returned
Hitch fruit is integrated, and the search result after integration is supplied to first interactive unit;
First interactive unit returns to the search result of described search initiating terminal as the search result after the integration.
15. device according to claim 14, which is characterized in that the result integral unit is also used to obtain after integration
To search result in the HTTP service module return search result preferentially showed;Alternatively,
The search result returned in the search result obtained after integration to the HTTP service module is labeled;Alternatively,
The search result returned in the search result obtained after integration to the HTTP service module carries out protrusion and shows.
16. device described in 3 or 14 according to claim 1, which is characterized in that the search result that the HTTP service module returns
In include the search result institute source terminal information, or further include path of the search result in institute's source terminal
Information;
The information of the search result institute source terminal includes the identification information or address letter of the search result institute source terminal
Breath.
17. device according to claim 16, which is characterized in that first interactive unit is also used to receive described
After searching for the identification information for the search result institute source terminal that initiating terminal is sent, by the ground of described search result institute source terminal
Location information returns to described search initiating terminal.
18. a kind of data serching device, which is characterized in that the device includes:
Initiation module is searched for, for sending search key to search agent end;
As a result module is obtained, for receiving the search result of described search agent side return, which includes: the HTTP
What is returned after the search key progress local search that service module terminal where it is sent for described search agent side searches
Hitch fruit;
Wherein the HTTP service module is pre-configured in the terminal for providing search service, and the HTTP service module uses
HTTP sends and receives data, and has the function of the data search in this terminal.
19. device according to claim 18, which is characterized in that described search result further include: search server receives
The search result of described search agent side is returned to after the search key sent to described search agent side.
20. device described in 8 or 19 according to claim 1, which is characterized in that the search result that the HTTP service module returns
In include the search result institute source terminal information, or further include path of the search result in institute's source terminal
Information;
The information of the search result institute source terminal includes the identification information or address letter of the search result institute source terminal
Breath.
21. device according to claim 20, which is characterized in that the device further include:
Address acquisition module is selected this after the search result for returning when the HTTP service module is easily selected by a user
The identification information of search result institute source terminal is sent to search agent end, obtains described being searched by selection of search agent end return
The address information of hitch fruit institute source terminal;
Terminal called module, for being selected with described according to the address information by selection search result institute source terminal
Search result institute source terminal establishes HTTP connection, is requested by selection search result institute source terminal to described and obtains the quilt
Select data corresponding to search result.
22. device according to claim 20, which is characterized in that the device further include:
Terminal called module after the search result for returning when the HTTP service module is easily selected by a user, is chosen with described
It selects search result institute source terminal and establishes HTTP connection, requested and obtained described by selection search result institute source terminal to described
The data corresponding to selection search result;Alternatively, the search result for returning when the HTTP service module is selected by user
After selecting, HTTP established by selection search result institute source terminal connect with described, and using it is described by selection search result in institute
Routing information in source terminal obtains the data corresponding to selection search result.
23. a kind of data serching device, which is characterized in that the device is set in the terminal for providing search service, the device packet
It includes:
HTTP service module sends and receives data using HTTP, and has the function of the data search in this terminal, for connecing
Receive the search key and local search instruction that search agent end is sent;It is searched in this terminal for described using search key
Rope keyword scans for, if searching the corresponding data of described search keyword, searches to the return of described search agent side
Hitch fruit.
24. device according to claim 23, which is characterized in that the device further include:
Terminal called module is connect for establishing HTTP with search initiating terminal, is searched to described in the return of described search initiating terminal
The corresponding data of the requested search result of rope initiating terminal.
25. a kind of data search system, which is characterized in that the system includes: that search initiating terminal, search agent end and offer are searched
The terminal of rope service;
Described search initiating terminal includes the device as described in any claim of claim 13 to 17;
Described search agent side includes the device as described in any claim of claim 18 to 22;
The terminal for providing search service includes the device as described in claim 23 or 24.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510109439.2A CN104750794B (en) | 2015-03-12 | 2015-03-12 | A kind of data search method, device and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510109439.2A CN104750794B (en) | 2015-03-12 | 2015-03-12 | A kind of data search method, device and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104750794A CN104750794A (en) | 2015-07-01 |
CN104750794B true CN104750794B (en) | 2019-02-12 |
Family
ID=53590478
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510109439.2A Active CN104750794B (en) | 2015-03-12 | 2015-03-12 | A kind of data search method, device and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104750794B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107577777A (en) * | 2017-09-12 | 2018-01-12 | 北京奇艺世纪科技有限公司 | A kind of file reference method, apparatus and electronic equipment |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1672866A1 (en) * | 2004-12-15 | 2006-06-21 | Siemens S.p.A. | Method and system to the instant transfer of multimedia files between mobile radio users within the scope of combinational services |
CN101039247A (en) * | 2007-03-13 | 2007-09-19 | 华为技术有限公司 | Point-to-point network system and intercommunicating method for overlapped network node |
CN101072109A (en) * | 2006-05-12 | 2007-11-14 | 乐金电子(昆山)电脑有限公司 | Internet protocol sharing device and method |
CN101075242A (en) * | 2006-12-25 | 2007-11-21 | 腾讯科技(深圳)有限公司 | System and method for acquiring webpage elements |
CN101110750A (en) * | 2007-08-20 | 2008-01-23 | 阳术国 | Processing method for implementing resource sharing of built-in equipment based on p2p technology |
CN101115019A (en) * | 2006-07-28 | 2008-01-30 | 中国科学院声学研究所 | Peer-to-peer networking file sharing service network structure |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101309237B (en) * | 2008-06-30 | 2011-04-20 | 中兴通讯股份有限公司 | Home gateway, system and method for remotely sharing multimedia data |
CN101316275B (en) * | 2008-07-01 | 2012-01-11 | 中兴通讯股份有限公司 | Method for remotely sharing multimedia data by mobile terminal and household electrical appliance terminal |
-
2015
- 2015-03-12 CN CN201510109439.2A patent/CN104750794B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1672866A1 (en) * | 2004-12-15 | 2006-06-21 | Siemens S.p.A. | Method and system to the instant transfer of multimedia files between mobile radio users within the scope of combinational services |
CN101072109A (en) * | 2006-05-12 | 2007-11-14 | 乐金电子(昆山)电脑有限公司 | Internet protocol sharing device and method |
CN101115019A (en) * | 2006-07-28 | 2008-01-30 | 中国科学院声学研究所 | Peer-to-peer networking file sharing service network structure |
CN101075242A (en) * | 2006-12-25 | 2007-11-21 | 腾讯科技(深圳)有限公司 | System and method for acquiring webpage elements |
CN101039247A (en) * | 2007-03-13 | 2007-09-19 | 华为技术有限公司 | Point-to-point network system and intercommunicating method for overlapped network node |
CN101110750A (en) * | 2007-08-20 | 2008-01-23 | 阳术国 | Processing method for implementing resource sharing of built-in equipment based on p2p technology |
Also Published As
Publication number | Publication date |
---|---|
CN104750794A (en) | 2015-07-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106570100B (en) | Information search method and device | |
CN104137520B (en) | A kind of information push method and device | |
CN104331465B (en) | The searching method and device of mobile terminal | |
CN105721224B (en) | Uniform resource locator processing method, device and system | |
JP2018523185A (en) | Account information acquisition method, terminal, server, and system | |
JP2017138942A (en) | Translation system and translation method | |
US20160127685A1 (en) | Video conference management device and method | |
CN111666129A (en) | Container mirror image processing method, electronic device, storage medium and system | |
CN108491188A (en) | The exploitative management method and device of voice dialogue product | |
US20230017859A1 (en) | Meeting control method and apparatus, device, and medium | |
CN112150030A (en) | Account management method based on multiple units and multiple identities, terminal equipment and storage medium | |
CN105763545B (en) | A kind of BYOD method and device | |
CN104954415B (en) | Handle the method and device of HTTP request | |
CN104750794B (en) | A kind of data search method, device and system | |
CN104184773B (en) | A kind of data download method and system | |
CN106209584A (en) | User profile processing method based on the Internet, client and server | |
US10887551B2 (en) | Information processing apparatus, information processing system and information processing method | |
CN110321498A (en) | A kind of two dimensional code generates and analyzing method and device | |
US20110035394A1 (en) | System for perfoming instrurtions that are dependent upon received media- based messages and associated methods and components | |
CN105574115B (en) | The method and system of search result are directly displayed on searched page | |
CN107968812A (en) | The method and device of synchronous local resource and Internet resources | |
CN105488095A (en) | Search result access method, apparatus and system | |
JP2020004380A (en) | Wearable device, information processing method, device and system | |
US20090100135A1 (en) | Device and method of sharing contents among devices | |
WO2019147636A1 (en) | Application execution based on object recognition |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |