CN107545004A - The method, apparatus and search engine system of a kind of search - Google Patents

The method, apparatus and search engine system of a kind of search Download PDF

Info

Publication number
CN107545004A
CN107545004A CN201610490707.4A CN201610490707A CN107545004A CN 107545004 A CN107545004 A CN 107545004A CN 201610490707 A CN201610490707 A CN 201610490707A CN 107545004 A CN107545004 A CN 107545004A
Authority
CN
China
Prior art keywords
authentication
search
back end
node
user
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
CN201610490707.4A
Other languages
Chinese (zh)
Inventor
郑强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201610490707.4A priority Critical patent/CN107545004A/en
Publication of CN107545004A publication Critical patent/CN107545004A/en
Withdrawn legal-status Critical Current

Links

Abstract

The present embodiments relate to a kind of method of search, this method includes:Search node receives the authentication bill that authentication server is sent, and the authentication information of the authentication coupon identification user authenticates successfully in the authentication server;The link information at least one back end that receiving device example controller is sent, at least one back end belong to the user;Receive the searching request of the user;The authentication bill is utilized respectively according to the link information of at least one back end and logs in each back end;Search result is obtained on each back end according to the searching request, with this, solving the problems, such as same user, time-consuming, efficiency is low to its own all devices example execution searching request.

Description

The method, apparatus and search engine system of a kind of search
Technical field
The present invention relates to the method, apparatus and search engine system of areas of information technology, more particularly to a kind of search.
Background technology
With cloud computing, the popularization of mobile Internet, the device instance that same user possesses multiple storage data has become Obtain more and more extensive.For example, in virtual desktop system, same user possesses more virtual machines;One family user possesses The device instance of more storage data, such as PC, portable machine, handheld terminal, tablet personal computer physical equipment.
In the prior art, user's search technique is based on the search in a device instance, such as using in device instance Third-party research tool in the search service or device instance that operating system carries.But above searching method can only be Scanned on individual equipment example, the scene of multiple equipment example is possessed for same user, user needs repeatedly Switch distinct device example and perform searching request, cause to exist same user and search being performed to its own all devices example Search efficiency is low when rope operates, search procedure the problem of time-consuming.
The content of the invention
, can be to same user's the embodiments of the invention provide a kind of method, apparatus of search and search engine system All devices example scans for obtaining search result, reduces search duration with this, lifts search efficiency.
In order to achieve the above object, the present invention adopts the following technical scheme that:
First aspect, there is provided a kind of method of search, methods described include:
Search node receives the authentication bill that authentication server is sent, and the authentication information of the authentication coupon identification user exists The authentication server authenticates successfully;
The link information at least one back end that the search node receiving device example controller is sent, it is described extremely A few data node-home is in the user;
The search node receives the searching request of the user;
The search node is utilized respectively the authentication bill according to the link information of at least one back end and stepped on The each back end in land;
The search node obtains search result according to the searching request on each back end.
Alternatively, search node can log in back end one by one according to predefined order, obtain search result.
Illustratively, search node logs in each back end successively according to the mark descending order of search node, obtains Take search result.
Alternatively, search node can select the back end of any one of user to obtain search result, Zhi Daosuo The back end for having the user is retrieved untill obtaining search result.
By the description of the above, when search node receives the authentication information of user, authentication service can be passed through Device obtains authentication bill, and determines the link information of all back end for belonging to the user, when user performs searching request When, the back end that search node can log in all users performs search operation, and compared with prior art, user no longer needs Each back end is logged in one by one, then input search information could obtain search result institute band respectively in each back end The problem of next search efficiency is low, time-consuming.
With reference to the possibility embodiment of first aspect, in the first possible embodiment of first aspect, the search section Point receives the authentication bill that authentication server is sent:
The search node receives the authentication information;
The search node sends the authentication message to the authentication server;
If the authentication message authenticates successfully, the search node receives the authentication that the authentication server is sent Bill.
Specifically, user inputs a kind of authentication message of user in the authentication interface of the client of search node.The mirror Power message can be that username and password or Quick Response Code, fingerprint etc. can allow for user to access search engine system Information.After authentication interface in search node receives the authentication message, the authentication message is sent to authentication module, by The authentication message is sent to authentication server by the authentication module again, and authentication message is authenticated.Authentication server root Authenticated according to the authentication message, and the authentication bill obtained after authenticating successfully is sent to the authentication mould in search node Authentication bill is sent to retrieval module by block, authentication module again, all back end possessed so as to search node in user Perform the searching request of user.Wherein, bill is authenticated to authenticate successfully for identifying the authentication message.
Illustratively, it can be token (Token) to authenticate bill, or one group of character string, the present invention are not restricted.
It should be noted that mode and process that authentication server is authenticated according to authentication message are prior art, this Invention repeats no more.
With reference to the first possible embodiment of first aspect to first aspect, in second of possible reality of first aspect Apply in example, the link information at least one back end that the device instance controller is sent is specially:
The device instance controller receives the log-on message that total data node is sent in search engine system, the note The user that each back end is belonged in IP and the total data node of the volume information including the total data node;
When the authentication server authenticates successfully to the authentication information, the device instance controller receives the mirror Weigh the authentication bill that server is sent;
The device instance controller determines at least one data according to the log-on message and the authentication bill The link information of node.
By the description of the above, search node can obtain the data that the user of each execution search operation is possessed The link information of node, when the user performs searching request, search node can log in often respectively according to the link information Individual back end obtains search result, and compared with prior art, user no longer needs repeated multiple times to holding on different pieces of information node Row searching request, reduce search and take, improve search efficiency.
With reference to first aspect to second of possible implementation of first aspect, the third in first aspect may be realized In mode, the process that the search node logs in each back end using the authentication authority is specially:
The search node sends the authentication bill to each back end, to cause each back end The authentication bill is sent into the authentication server to be authenticated;
The search node receives the authentication that each back end is sent and successfully notified, the authentication success notification Each back end is sent to after being authenticated successfully to the authentication bill for the authentication server;
The search node logs in each back end.
With reference to the description of content above, the authentication bill that search node is obtained using the authentication information of user can be stepped on respectively Each back end of Lu Suoshu user, when receiving the searching request of user, search node, which can utilize, authenticates bill difference Log in each back end and obtain search result, need oneself to be logged in repeatedly using authentication message with user in the prior art and gathered around The each back end having is compared, and is reduced taking in search procedure, is improved the efficiency for performing search mission.
Second aspect, the embodiment of the present invention provide a kind of search engine system, and the search engine system includes authentication and taken Business device, device instance controller, search node and back end, methods described include:
The authentication server, for being authenticated to the authentication information of user;When the authentication information authenticates successfully, Authentication bill is sent to the device instance controller and the search node;
The authentication server, is additionally operable to:The authentication bill sent to the back end authenticates, and determines institute State authentication bill to authenticate successfully, authentication successfully notice is sent to the search node;
The device instance controller, for storing the log-on message of total data node in the search engine system, The user that each back end is belonged in the IP of total data node described in the log-on message and the total data node;
The device instance controller, is additionally operable to:Determined according to the authentication bill and the log-on message at least one The link information of back end, at least one back end belong to the user;To described in search node transmission The link information of at least one back end;
The search node, for receiving the authentication message;The authentication message is sent to the authentication server; Receive the authentication bill that the authentication server is sent;
The search node, it is additionally operable to receive the searching request of the user;According at least one back end Link information logs in each back end respectively;The authentication that the back end is sent is received successfully to notify;Searched according to described Rope request obtains search result on each back end;
The back end, the authentication bill sent for receiving the search node;To the authentication server Send the authentication bill;Receive the authentication server and send the authentication bill authentication successfully notice, it is allowed to be described to search Socket point logs in.
By the description of above-mentioned search engine system, when user performs searching request, search engine system can basis All back end acquisition that the back end link information for the user that search node receives logs in the user respectively is searched Hitch fruit, compared with prior art, it is not necessary to which user logs in each back end and performs searching request repeatedly, reduces search consumption When, improve the treatment effeciency of searching request.
The third aspect, the embodiment of the present invention provide a kind of search node, the search node include processor, memory, Communication interface, system bus, connected and completed each other by system bus between the processor, memory and communication interface Communication, be used to storing computer executed instructions in the memory, during the search node operation, the computing device institute The computer executed instructions in memory are stated to perform first aspect, first aspect using the hardware resource in the search node The first possible implementation, the method described in any one in first aspect the third possible implementation.
By the description of the above, when user inputs searching request by search node, search node can utilize Authenticate authority to each there is same user data node to obtain search result respectively, with needing user to distinguish in the prior art Each back end is logged in, input search information is compared repeatedly, and search node provided by the invention is solved and needed in the prior art Want user to log in each back end respectively to scan for operating caused delay problem respectively, improve search efficiency.
Fourth aspect, there is provided a kind of method of search, methods described include:
Device instance controller obtains the fileinfo of total data node;
The device instance controller establishes index data base according to the fileinfo;
The device instance controller receives the searching request for the user that search node is sent;
The device instance controller obtains search result according to the searching request in the index data base.
Specifically, all back end in search engine system are saved in the index data base of device instance controller The index information of file, can be in index data base when search node sends the searching request of user to device controller The search corresponding information of information is obtained, obtains search result.
What deserves to be explained is the file of all back end is stored in the index data base of the device instance controller Index messages, the back end and back end ownership of each index messages ownership can be recorded when index data base is established User profile, when the device controller according to the searching request of the user perform search operation when, only in the user All back end index information in obtain search result.
Further, the search result is sent to the retrieval module in search node by the device instance controller, Search result is sent to Query Result display module and is presented to user by retrieval module.
Alternatively, can be according to predetermined after the retrieval module in search node obtains the search result of all back end The rules integration of justice.Illustratively, can be according to search key, ownership back end, the highlighted processing of addition, keyword sequence etc. Rule stores the search result.Query Result display module can be desired interior according to user is obtained from the search result Appearance is shown.
With reference to the possible embodiment of fourth aspect, in the first possible embodiment of fourth aspect, methods described Also include:
The search node receives the authentication information of the user;
The search node sends the authentication information to authentication server;
The search node receives the authentication bill that the authentication server is sent, and the authentication bill is described for identifying Authentication information authenticates successfully.
With reference to the first possible embodiment of fourth aspect to fourth aspect, in second of possible embodiment of fourth aspect In, methods described also includes:
The device instance controller obtains the fileinfo to change that back end is sent;
The device instance controller updates the index data base.
Specifically, the file to change includes newly-built file, changes the file and deleted file of data.
Alternatively, device instance controller can passively receive the file change information of back end transmission;It can also lead It is dynamic that All Files in registered back end in search engine system is periodically detected, when discovery file becomes When more, the index data base is updated.
By the description of said process, the file in all back end is entered by index module in device instance controller Line index information, the index information is stored in index data base, when search node receives the searching request of user, equipment Example controller can enter according to searching request in index data base to the index information of all back end of the user Row search, obtain search result and search result is shown to user, compared with prior art, user no longer needs to log in repeatedly Each back end scans for respectively, reduces search and takes, improves the efficiency of search process.
5th aspect, there is provided a kind of device instance controller, the device instance controller include processor, memory, Communication interface, system bus, connected and completed each other by system bus between the processor, memory and communication interface Communication, be used to storing computer executed instructions in the memory, during the device instance controller operation, the processor The computer executed instructions in the memory are performed to perform the 4th using the hardware resource in the device instance controller The method described in any one in aspect, second of fourth aspect possible implementation.
By the description of said process, the file in all back end is entered by index module in device instance controller Line index information, the index information is stored in index data base, when search node receives the searching request of user, equipment Example controller can enter according to searching request in index data base to the index information of all back end of the user Row search, obtain search result and search result is shown to user, compared with prior art, user no longer needs to log in repeatedly Each back end scans for respectively, reduces search and takes, improves the efficiency of search process.On the other hand, logical The fileinfo for monitoring and being changed in all back end is crossed, periodically updates the index data in device instance controller Storehouse, when user performs searching request, device instance controller can directly obtain search result in index data base, reduce Search operation takes, and also improves the efficiency of search process.
6th aspect, there is provided a kind of computer-readable medium, for storing computer program, the computer program includes The instruction of the method in any possible implementation for performing first aspect or first aspect.
In summary, the authentication bill that search node is obtained using the authentication information of user can log in the user respectively Each back end, when receiving the searching request of user, search node can utilize and authenticate bill and log in every number respectively Search result is obtained according to node, needs oneself to log in the every number possessed repeatedly using authentication message with user in the prior art Compared according to node, reduce taking in search procedure, improve the efficiency for performing search mission.
Brief description of the drawings
In order to illustrate the technical solution of the embodiments of the present invention more clearly, it will make below to required in the embodiment of the present invention Accompanying drawing is briefly described, it should be apparent that, drawings described below is only some embodiments of the present invention, for For those of ordinary skill in the art, on the premise of not paying creative work, other can also be obtained according to these accompanying drawings Accompanying drawing.
Fig. 1 is a kind of schematic diagram of search engine system provided in an embodiment of the present invention;
Fig. 2 is a kind of schematic flow sheet of searching method provided in an embodiment of the present invention;
Fig. 2A is the schematic flow sheet of another searching method provided in an embodiment of the present invention;
Fig. 2 B are the schematic flow sheet of another searching method provided in an embodiment of the present invention;
Fig. 3 is the schematic diagram of another search engine system provided in an embodiment of the present invention;
Fig. 4 is the schematic diagram of another search engine system provided in an embodiment of the present invention;
Fig. 5 is the schematic flow sheet of another searching method provided in an embodiment of the present invention;
Fig. 6 is the schematic flow sheet of another searching method provided in an embodiment of the present invention;
Fig. 7 is a kind of schematic diagram of search node provided in an embodiment of the present invention;
Fig. 8 is a kind of schematic diagram of device instance controller provided in an embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation describes, it is clear that described embodiment is the part of the embodiment of the present invention, rather than whole embodiments.Based on this hair Embodiment in bright, the every other reality that those of ordinary skill in the art are obtained on the premise of creative work is not made Example is applied, should all belong to the scope of protection of the invention.
Fig. 1 is a kind of schematic diagram of search engine system in the embodiment of the present invention, as illustrated, being wrapped in search engine system Authentication server, device instance controller, back end and search node are included, wherein, device instance controller and authentication service Device can be separately deployed in different device instances as shown in Figure 1, can also be deployed in a device instance, and the present invention is not It is restricted.
Authentication server is used to authenticate the authentication information of user, judges whether user has in search engine system The middle authority for performing search operation;And the authentication bill sent to back end authenticates.Wherein, the authentication information of user Can be that username and password or other authentication authoritys, such as the mode such as Quick Response Code, Fingerprint Lock, the present invention do not limit System;Authentication bill is that authentication server successfully obtains to authentication information authentication.
Device instance controller is used to manage all registered device instances in search engine system, i.e., in search engine In system, all back end can send log-on message to device instance controller, and the log-on message includes device instance IP address and its ownership user profile, device instance controller can preserve the log-on message that each back end is sent.
What deserves to be explained is the device instance in search engine system includes physical equipment and virtual unit, illustratively, thing Personal computer (Personal Computer, PC), portable machine, handheld terminal, tablet personal computer etc. can be included by managing equipment;It is empty It can be virtual machine to propose standby.Wherein, it is referred to as back end for depositing the device instance of data, for providing search interface Device instance is referred to as search node.
What deserves to be explained is the deployment way of search node and back end can in the following way in it is any one Kind:
Mode one:Search node and back end are separately deployed in different device instances, i.e., in search engine system In the presence of at least two device instances, respectively as search node and back end.
Mode two:Search node can be with data node deployment in same device instance, i.e., in search engine system Have at least one device instance, the device instance i.e. be used as back end, for data storage, be used as search node again, for Family provides search client, and the searching request of user is scanned for.
Mode three:Device instances of existing way one and 2 two kinds of mode deployment form simultaneously in search engine system, i.e., In device instance in a search engine, that is, there are search node and data node deployment in the situation of same device instance, also have Search node is individually deployed in the situation of a device instance.
What deserves to be explained is it is not restricted for search node and the data node deployment mode present invention, the present invention's In describing below, a search node and multiple back end, and search node and data section are included with search engine system Point is described in detail exemplified by being separately deployed in different device instances.
Include device instance Registering modules, authentication mould in search engine system as shown in Figure 1, in each back end Block, index module, index data base and file, wherein, device instance Registering modules are used for back end and controlled to device instance The log-on message of device sending node.Authentication module, for being communicated with authentication server, determine that search node is sent out to authentication server Whether the authentication bill sent allows search node to log in, wherein, authentication bill is used to identify authentication of the authentication server to user Information authentication success.Index module is used to establish All Files in back end and file content index information, and will index Information is stored into index data base according to predefined form, wherein, All Files includes back end sheet in back end The file that ground preserves, in addition to other back end share to the shared file of the back end.
What deserves to be explained is back end can establish index data base according to the source data of user configuration, wherein, source number According to the content including file and the file.The source data of user configuration can include the collection of the All Files of whole back end Close, can also the only set comprising a part of catalogue file or the set of other back end shared files, can be with It is the set of some file types.
Illustratively, the index module of back end can be according in the All Files name and file in the source data of user configuration Appearance establishes index data base, and index information can be according to the database of falling ranking index as shown in table 1 in database.
A kind of example of 1 database of falling ranking index of table
Wherein, the first row represents that keyword " Huawei " occurred 1 time in the filename that file identification is 1 in table 1, for text Part is identified as the 1st word of 1 filename;Second row represents that keyword " patent " occurs in the filename that file identification is 1 Cross 1 time, be the 2nd word of the filename that file identification is 1;The third line then represents that keyword " Huawei " in file identification is 1 Occurred in file content 2 times, and be respectively the 2nd word and the 100th word in 1 file content in file identification;Fourth line Then represent that keyword " patent " occurred 3 times in the file content that file identification is 1, respectively in the file that file identification is 1 The 3rd word, the 10th word and the 50th word in appearance.
What deserves to be explained is index module establishes index information according to file content and is saved in the process of index data base For prior art, will not be repeated here.
Alternatively, when the file and shared file that are locally stored in back end change, index module can obtain The fileinfo to change and shared file information are taken, by modification information in the fileinfo and shared file information with pre- The form of definition is stored into index data base, wherein, file that the file to change includes newly creating, it have modified data File, the file being deleted.The index information of locally stored file in back end is preserved in index data base, for searching for Node scans for according to user's search condition in index data base, obtains search result.
Specifically, if index module monitors any one scene in following three kinds of scenes, index data base is updated;
Scene one:If new files in back end be present, the index module in device instance controller is according to newly-built File and its content update index data base, the renewal for completing to change file index information in index data base with this.
Scene two:If the file of modification data in back end be present, the index module pin in device instance controller The data changed in file are established with index information, and index information storage is completed into index number into index data base with this According to the renewal for changing file index information in storehouse.
Scene three:If deleted file or file content in back end be present, the rope in device instance controller Draw the index information preserved in file or up-to-date index data base of the module according to deletion.
Alternatively, the file and shared file that index module monitoring is locally stored in back end, can pass through file system The daily record of system, obtain the file to change;The notice of the interface monitoring file change to file system layer can also be passed through.
What deserves to be explained is index module can periodically update rope according to the file and shared file information to change Draw database, or artificial subjective desire renewal index data base, the present invention update index data base to index module Mode is not restricted.
A kind of schematic diagram of search node internal logic structure is given in Fig. 1, as illustrated, search node includes searching Rope client, authentication module and retrieval module, wherein, search client includes authentication interface, search entrance, Query Result and shown again Show module.Search client is used for user and inputs search information and show search result to user.In specific implementation process, use Family can input the authentication information of user by authentication interface;The authentication information is sent to by authentication service by authentication module again Device, after obtaining the successful authentication bill of authentication;The search message inputted by searching for entrance in searching request, search message can be with It is keyword, sound, image, search module can utilize and authenticate bill all back end that login user is possessed respectively, root Search result is obtained according to searching request;The search result is shown in Query Result display module, with this, completes searching for user Rope operates.
What deserves to be explained is when user inputs search information by search node, search node can be logged in searcher Family end input search information, internet (Web) webpage that can also be provided by search client, is visited using other equipment example Ask Web page input search information.
In the possible embodiment of the present invention, Fig. 2 is a kind of stream of searching method provided in an embodiment of the present invention Journey schematic diagram, specific operation process are as follows:
S201, search node receive the authentication message of user.
Specifically, user inputs a kind of authentication message of user in the authentication interface of the client of search node.The mirror Power message can be that username and password or Quick Response Code, fingerprint etc. can allow for user to access search engine system Information.
S202, search node send the authentication message to authentication server.
Specifically, after the authentication interface in search node receives the authentication message, the authentication message is sent to Authentication module, the authentication message is sent to again by authentication server by the authentication module, authentication message is authenticated.
S203, authentication server send authentication successfully authentication bill to search node.
Specifically, authentication server is authenticated according to the authentication message, and the authentication ticket obtained after authenticating successfully According to the authentication module being sent in search node, authentication bill is sent to retrieval module by authentication module again, so as to search node The searching request of user is performed in all back end that user is possessed.Wherein, authenticate bill and disappear for identifying the authentication Breath authenticates successfully.
Illustratively, it can be token (Token) to authenticate bill, or one group of character string, the present invention are not restricted.
It should be noted that mode and process that authentication server is authenticated according to authentication message are prior art, this Invention repeats no more.
Alternatively, after search node completes authentication using authentication message, after the step S203 operations, methods described is also Including:
S204, authentication server are sent to device instance controller by bill is authenticated.
Specifically, if authentication server and device instance controller are separately deployed in different device instances, authenticate After the authentication message of service for user authenticates successfully, the authentication bill can be sent to device instance controller;If authentication service Device and device instance controller are deployed in same device instance, then directly perform step S205.
S205, device instance controller send the link information of at least one back end to search node, it is described at least One data node-home is in the user.
Specifically, as shown in Figure 2 A, methods described includes step S205 detailed process:
S205a, device instance controller receiving data node log-on message.
Specifically, IP and each back end of the log-on message including total data node in search engine system return Belong to the information of user.
It should be noted that the example of a back end is only provided in Fig. 2A, and in specific implementation process, search engine system Total data node can send log-on message to device instance controller in system.
S205b, device instance controller preserve the log-on message.
What deserves to be explained is the log-on message that device instance controller is preserved can be stored in the device instance In the profile of controller, database, the present invention is not restricted.
S205c, when authentication server authenticates successfully to the authentication message, device instance controller receive authentication service The authentication bill that device is sent.
S205d, device instance controller determine at least one number according to the log-on message and the authentication bill According to the link information of node.
Specifically, when receiving the authentication bill of user, can determine to belong to the user by log-on message and bill All back end link information, and the link information is sent to the search node, is specially sent to described search The retrieval module of socket point, after inputting search information by search node so as to user, search node can utilize the connection Each back end in link information described in log, obtain search result.
Alternatively, the link information can be the IP information of back end.
Description by step S205a to step S205d, search node can obtain the user of each execution search operation The link information of the back end possessed, when the user performs searching request, search node can be believed according to the connection Breath logs in each back end and obtains search result respectively, and compared with prior art, user no longer needs repeated multiple times to difference Searching request is performed on back end, reduces search and takes, improve search efficiency.
S206, the searching request for receiving user.
Specifically, the searching request of user can be keyword, can also be voice, image, the specific shape of searching request Formula does not form the limitation of the present invention.
S207, according to the link information of at least one back end be utilized respectively authentication bill log in each data section Point.
Alternatively, search node can log in back end one by one according to predefined order, obtain search result.
Illustratively, search node logs in each back end successively according to the mark descending order of search node, obtains Take search result.
Alternatively, search node can select any one that there is the back end of the user to obtain search result, directly Untill the back end of all users is retrieved and obtains search result.
Further, log in that the process of each back end is specific as shown in Figure 2 B, and methods described includes:
S207a, search node send authentication bill to back end.
S207b, the back end send the authentication bill to authentication server.
Specifically, the authentication module in the back end receives the institute that the retrieval module in the search node is sent After stating authentication bill, the authentication bill can be sent to authentication server, the authentication bill is carried out by authentication server Authentication.
S207c, when the authentication server authenticates successfully to the authentication bill, the authentication server is to the number Authentication successfully notice is sent according to node.
Specifically, after authenticating successfully, the authentication server can send authentication successfully notice to the back end.
S207d, the back end send the authentication successfully notice to search node.
Specifically, the retrieval module of the authentication module notice search node of the back end authenticates successfully.
S207e, the search node log in the back end.
Specifically, the authentication bill authenticates for authentication server in step S203 to the authentication message of user successfully obtains .When each back end of search node login user, authentication bill first can be sent to each back end, for institute State each back end and determine whether that search node logs in and performs search operation to authentication server authentication.If authentication clothes Business device determine authentication bill authenticate successfully, then to back end send authentication successfully notify, back end can by this authenticate into The notice of work(is then forwarded to search node, and search node logs in the back end.
The content described by step S207a to step S207e, the mirror that search node is obtained using the authentication information of user Power bill can log in each back end of the user respectively, need oneself to utilize authentication message with user in the prior art The each back end possessed is logged in repeatedly to compare, and is reduced taking in search procedure, is improved and perform search mission Efficiency.
S208, search result obtained on each back end according to the searching request.
Specifically, can be to all search results after search node receives the search result that each back end is sent Integrated according to predefined rule.
Illustratively, when being scanned for such as user according to keyword, search node can be according to search result according to searching Back end, keyword, the Keywords matching degree belonged in hitch fruit shows search result to user.
In summary, when search node receives the authentication information of user, can be authenticated by authentication server Bill, and the link information of all back end for belonging to the user is determined, when user performs searching request, search node The back end that all users can be logged in performs search operation, and compared with prior art, user no longer needs to log in one by one Each back end, then input search information could obtain search effect caused by search result respectively in each back end The problem of rate is low, time-consuming.
Fig. 3 is a kind of schematic diagram of search engine system 300 provided in an embodiment of the present invention, as illustrated, search engine System 300 includes authentication server 301, device instance controller 302, search node 303 and back end 304, the side Method includes:
The authentication server 301, for being authenticated to the authentication information of user;When the authentication information authenticates successfully When, send authentication bill to the device instance controller 302 and the search node 303;
The authentication server 301, is additionally operable to:The authentication bill sent to the back end 304 authenticates, Determine that the authentication bill authenticates successfully, authentication successfully notice is sent to the search node 303;
The device instance controller 302, the registration for storing total data node in the search engine system are believed The use that each back end is belonged in breath, the IP of total data node described in the log-on message and the total data node Family;
The device instance controller 302, is additionally operable to:At least one is determined according to the authentication bill and the log-on message The link information of individual back end, at least one back end belong to the user;Institute is sent to the search node State the link information of at least one back end;
The search node 303, for receiving the authentication message;The authentication message is sent to the authentication service Device 301;Receive the authentication bill that the authentication server 301 is sent;
The search node 303, it is additionally operable to receive the searching request of the user;According at least one back end Link information log in each back end 304 respectively;Obtained according to the searching request on each back end 304 Search result;
The back end 304, the authentication bill sent for receiving the search node;To the authentication service Device 301 sends the authentication bill;Receive the authentication server 301 and send the authentication bill authentication successfully notice, permit Perhaps described search node 303 logs in.
By the description of above-mentioned search engine system 300, when user performs searching request, search engine system can root All back end that the back end link information of the user received according to search node logs in the user respectively obtain Search result, compared with prior art, it is not necessary to which user logs in each back end and performs searching request repeatedly, reduces search It is time-consuming, improve the treatment effeciency of searching request.
The present invention another possible embodiment in, Fig. 4 be another search engine system schematic diagram, such as Fig. 4 Shown, search engine system includes authentication server, device instance controller, search node and back end, wherein, authentication Server and device instance server can be deployed in same device instance as shown in Figure 4, can also be disposed as shown in Figure 1 It is deployed in respectively in different device instances;Device instance controller includes index module, index data base, and index module is used The file of all back end establishes index information in search engine system, and the index information is stored in into index data In storehouse, it is easy to user to obtain search result when performing searching request;Back end includes device instance Registering modules and file, Device instance Registering modules are used to send log-on message to device instance controller;Search node internal logic and Fig. 1 institutes Show that search engine system is identical, will not be repeated here.
What deserves to be explained is the file of back end includes local file and other back end share to the back end Shared file.
Next, with reference to Fig. 5, the schematic flow sheet of the method for another search provided in an embodiment of the present invention is introduced, such as Shown in figure, methods described includes:
S501, search node receive the authentication message of user.
Specifically, user inputs the authentication message of user in the authentication interface of search node, and the authentication message can be Username and password or Quick Response Code, fingerprint etc. are used for the authority authenticated.
The authentication message is sent to authentication server by S502, the search node.
Specifically, the user rs credentials are sent to authentication server by the authentication module in the search node.
S503, the authentication server send authentication bill to search node.
Specifically, authentication server authenticates to the authentication information of user, if authenticating successfully, returns to authentication authority, The authentication bill authenticates successfully for identifying the authentication message;If failed authentication, return to failed authentication.
S504, device instance controller receive the searching request that search node sends the user.
Specifically, user inputs search information on the search entrance of search node.
It should be noted that all back end in search engine system can send to device instance controller and register Information, the log-on message include the IP address of all back end and the user profile of each back end ownership, so that Obtain device instance controller management back end.
S505, the device instance controller obtain search result according to the searching request in index data base.
Specifically, all back end in search engine system are saved in the index data base of device instance controller The index information of file, can be in index data base when search node sends the searching request of user to device controller The search corresponding information of information is obtained, obtains search result.
What deserves to be explained is the file of all back end is stored in the index data base of the device instance controller Index messages, the back end and back end ownership of each index messages ownership can be recorded when index data base is established User profile, when the device controller according to the searching request of the user perform search operation when, only in the user All back end index information in obtain search result.
S506, the device instance controller send the search result to the search node.
Specifically, the search result is sent to the retrieval module in search node by the device instance controller, inspection Search result is sent to Query Result display module and is presented to user by rope module.
Alternatively, can be according to predetermined after the retrieval module in search node obtains the search result of all back end The rules integration of justice.Illustratively, can be according to search key, ownership back end, the highlighted processing of addition, keyword sequence etc. Rule stores the search result.Query Result display module can be desired interior according to user is obtained from the search result Appearance is shown.
By the description of said process, the file in all back end is entered by index module in device instance controller Line index information, the index information is stored in index data base, when search node receives the searching request of user, equipment Example controller can enter according to searching request in index data base to the index information of all back end of the user Row search, obtain search result and search result is shown to user, compared with prior art, user no longer needs to log in repeatedly Each back end scans for respectively, reduces search and takes, improves the efficiency of search process.
Seen from the above description, the file index information of all back end is stored in equipment control in search engine system In the index data base of device processed, when file changes in back end, device controller needs to update the index data Storehouse, methods described as shown in fig. 6,
S601, device instance controller obtain the fileinfo to change that back end is sent.
Specifically, the file to change includes newly-built file, changes the file and deleted file of data.
Alternatively, when the fileinfo to change in back end be present, the back end can be real to equipment The fileinfo to be changed described in csr controller transmission;Alternatively, device instance controller can also be to search engine system In All Files in registered back end be periodically detected, when finding to exist the fileinfo to change, The index data base is updated according to the fileinfo to change.
The document information renewal index data base that S602, the device instance controller change according to.
Wherein, for newly-built file, change data file and deleted file, the device instance controller Operation is as follows:
Scene one:If new files in back end be present, the index module in device instance controller is to the number Index information is established according to new files in node, and index information storage is completed into index data into index data base with this Change the renewal of file index information in storehouse.
Scene two:If the file of modification data in back end be present, the index module pin in device examples controller The data changed in file are established with index information, and index information storage is completed into index number into index data base with this According to the renewal for changing file index information in storehouse.
Scene three:If deleted file in back end be present, the index module in device instance controller is deleted The index information of deleted file in index data base.
By the content described by step S601 to step S602, when file changes in back end, equipment is real Csr controller can be ensured to have preserved in the index data base of device controller according to change file renewal index data base with this The file index information of whole all back end.When user inputs searching request, device controller can indexed directly Search result is obtained in database, compared with prior art, has the scene of multiple equipment example simultaneously for same user, no Need to log in back end by platform again and scan for, reduce search duration, improve search efficiency.
Above in conjunction with Fig. 1 to Fig. 6, the method that a kind of search provided according to embodiments of the present invention is provided, Below in conjunction with Fig. 7 to Fig. 9, the search node and device instance controller provided according to embodiments of the present invention is described.
Fig. 7 is a kind of schematic diagram of search node 710 provided in an embodiment of the present invention, as illustrated, the search node 710 include processor 711, memory 712, communication interface 713, system bus 714, the processor 711, the and of memory 712 Connected between communication interface 713 by system bus 714 and complete mutual communication, be used to store in the memory 712 Computer executed instructions, when the search node 710 is run, the processor 711 performs the computer in the memory 712 Execute instruction is operated with utilizing below the hardware resource execution in the search node 711:
The authentication bill that authentication server is sent is received, the authentication information of the authentication coupon identification user is in the authentication Server authenticates successfully;
The link information at least one back end that receiving device example controller is sent, at least one data section Point belongs to the user;
Receive the searching request of the user;
The authentication bill is utilized respectively according to the link information of at least one back end and logs in each data section Point;
Search result is obtained on each back end according to the searching request.
The processor 711 can be CPU, and the processor 711 can also be other general processors, digital signal processor (DSP), application specific integrated circuit (ASIC), ready-made programmable gate array (FPGA) or other PLDs, discrete gate Or transistor logic, discrete hardware components etc..General processor can be that microprocessor or the processor can also It is any conventional processor etc..
The memory 712 can include read-only storage and random access memory, and to processor 711 provide instruction and Data.The a part of of memory 712 can also include nonvolatile RAM.For example, memory 712 can also be deposited Store up the information of device type.
The system bus 714 can also include power bus, controlling bus and status signal in addition to including data/address bus Bus etc..But for the sake of clear explanation, various buses are all designated as system bus 714 in figure.
It should be understood that search node 710 according to embodiments of the present invention is used for the corresponding flow for realizing method shown in Fig. 2, For sake of simplicity, it will not be repeated here.
By the description of the above, when user inputs searching request by search node 710, search node 710 can Authority is authenticated respectively to each with same user data node acquisition search result to utilize, with needing to use in the prior art Family logs in each back end respectively, and input search information is compared repeatedly, and search node 710 provided by the invention solves existing Need user to log in each back end respectively in technology to scan for operating caused delay problem respectively, improve search Efficiency.
Fig. 8 is a kind of schematic diagram of device instance controller 810 provided in an embodiment of the present invention, as illustrated, described set Standby example controller 810 includes:Processor 811, memory 812, communication interface 813, bus 814, wherein, processor 811, deposit Reservoir 812, communication interface 813 are communicated by bus 814, and the memory 811 can be used for store instruction, the processor 711 perform the computer executed instructions in the memory 712 to utilize the hardware resource in the device instance controller 810 Perform following operate:
Obtain the fileinfo of total data node;
Index data base is established according to the fileinfo;
Receive the searching request for the user that search node is sent;
Search result is obtained in the index data base according to the searching request.
The processor 811 can be CPU, and the processor 811 can also be other general processors, digital signal processor (DSP), application specific integrated circuit (ASIC), ready-made programmable gate array (FPGA) or other PLDs, discrete gate Or transistor logic, discrete hardware components etc..General processor can be that microprocessor or the processor can also It is any conventional processor etc..
The memory 812 can include read-only storage and random access memory, and to processor 811 provide instruction and Data.The a part of of memory 812 can also include nonvolatile RAM.For example, memory 812 can also be deposited Store up the information of device type.
The system bus 814 can also include power bus, controlling bus and status signal in addition to including data/address bus Bus etc..But for the sake of clear explanation, various buses are all designated as system bus 814 in figure.
It should be understood that device instance controller 810 according to embodiments of the present invention is used to realize method shown in Fig. 5 and Fig. 6 Corresponding flow, for sake of simplicity, will not be repeated here.
By the description of said process, the file in all back end is entered by index module in device instance controller Line index information, the index information is stored in index data base, when search node receives the searching request of user, equipment Example controller can enter according to searching request in index data base to the index information of all back end of the user Row search, obtain search result and search result is shown to user, compared with prior art, user no longer needs to log in repeatedly Each back end scans for respectively, reduces search and takes, improves the efficiency of search process.On the other hand, logical The fileinfo for monitoring and being changed in all back end is crossed, periodically updates the index data in device instance controller Storehouse, when user performs searching request, device instance controller can directly obtain search result in index data base, reduce Search operation takes, and also improves the efficiency of search process.
Those of ordinary skill in the art are it is to be appreciated that the list of each example described with reference to the embodiments described herein Member and algorithm steps, it can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually Performed with hardware or software mode, application-specific and design constraint depending on technical scheme.Professional and technical personnel Described function can be realized using distinct methods to each specific application, but this realization is it is not considered that exceed The scope of the present invention.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description, The specific work process of device and unit, the corresponding process in preceding method embodiment is may be referred to, will not be repeated here.
In several embodiments provided herein, it should be understood that disclosed systems, devices and methods, can be with Realize by another way.For example, device embodiment described above is only schematical, for example, the unit Division, only a kind of division of logic function, can there is other dividing mode, such as multiple units or component when actually realizing Another system can be combined or be desirably integrated into, or some features can be ignored, or do not perform.It is another, it is shown or The mutual coupling discussed or direct-coupling or communication connection can be the indirect couplings by some interfaces, device or unit Close or communicate to connect, can be electrical, mechanical or other forms.
The unit illustrated as separating component can be or may not be physically separate, show as unit The part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple On NE.Some or all of unit therein can be selected to realize the mesh of this embodiment scheme according to the actual needs 's.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, can also That unit is individually physically present, can also two or more units it is integrated in a unit.
If the function is realized in the form of SFU software functional unit and is used as independent production marketing or in use, can be with It is stored in a computer read/write memory medium.Based on such understanding, technical scheme is substantially in other words The part to be contributed to prior art or the part of the technical scheme can be embodied in the form of software product, the meter Calculation machine software product is stored in a storage medium, including some instructions are causing a computer equipment (can be People's computer, server, or network equipment etc.) perform all or part of step of each embodiment methods described of the present invention. And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (ROM, Read-Only Memory), arbitrary access are deposited Reservoir (RAM, Random Access Memory), magnetic disc or CD etc. are various can be with the medium of store program codes.
The foregoing is only a specific embodiment of the invention, but protection scope of the present invention is not limited thereto, any Those familiar with the art the invention discloses technical scope in, change or replacement can be readily occurred in, should all be contained Cover within protection scope of the present invention.Therefore, protection scope of the present invention described should be defined by scope of the claims.

Claims (6)

  1. A kind of 1. method of search, it is characterised in that methods described includes:
    Search node receives the authentication bill that authentication server is sent, and the authentication information of the authentication coupon identification user is described Authentication server authenticates successfully;
    The link information at least one back end that the search node receiving device example controller is sent, described at least one Individual data node-home is in the user;
    The search node receives the searching request of the user;
    The search node is utilized respectively the authentication bill according to the link information of at least one back end and logged in often Individual back end;
    The search node obtains search result according to the searching request on each back end.
  2. 2. method according to claim 1, it is characterised in that the search node receives the authentication ticket that authentication server is sent According to specially:
    The search node receives the authentication information;
    The search node sends the authentication message to the authentication server;
    If the authentication message authenticates successfully, the search node receives the authentication ticket that the authentication server is sent According to.
  3. 3. the method according to any one of claim 1 to 2, it is characterised in that the device instance controller is sent extremely The link information of a back end is specially less:
    The device instance controller receives the log-on message that total data node is sent in search engine system, the registration letter Cease the user that each back end is belonged in the IP for including the total data node and the total data node;
    The device instance controller receives the authentication bill that the authentication server is sent;
    The device instance controller determines at least one back end according to the log-on message and the authentication bill Link information.
  4. 4. according to any methods described in claims 1 to 3, it is characterised in that the search node utilizes the authentication authority The process for logging in each back end is specially:
    The search node sends the authentication bill to each back end, to cause each back end by institute Authentication bill is stated to be sent to the authentication server and authenticated;
    The search node receives the authentication that each back end is sent and successfully notified, the authentication success notification is institute State after authentication server authenticates successfully to the authentication bill and be sent to each back end;
    The search node logs in each back end.
  5. 5. a kind of search engine system, it is characterised in that the search engine system includes authentication server, device instance controls Device, search node and back end, methods described include:
    The authentication server, for being authenticated to the authentication information of user;When the authentication information authenticates successfully, to institute State device instance controller and the search node sends authentication bill;
    The authentication server, is additionally operable to:The authentication bill sent to the back end authenticates, and determines the mirror Power bill is authenticated successfully, and authentication successfully notice is sent to the search node;
    The device instance controller, it is described for storing the log-on message of total data node in the search engine system The user that each back end is belonged in the IP of total data node described in log-on message and the total data node;
    The device instance controller, is additionally operable to:At least one data are determined according to the authentication bill and the log-on message The link information of node, at least one back end belong to the user;To the search node send described at least The link information of one back end;
    The search node, for receiving the authentication message;The authentication message is sent to the authentication server;Receive The authentication bill that the authentication server is sent;
    The search node, it is additionally operable to receive the searching request of the user;According to the connection of at least one back end Information logs in each back end respectively;The authentication that the back end is sent is received successfully to notify;Please according to the search Ask and obtain search result on each back end;
    The back end, the authentication bill sent for receiving the search node;Sent to the authentication server The authentication bill;Receive the authentication server and send the authentication bill authentication successfully notice, it is allowed to the search section Point logs in.
  6. 6. a kind of search node, it is characterised in that it is total that the search node includes processor, memory, communication interface, system Line, connected between the processor, memory and communication interface by system bus and complete mutual communication, the storage It is used to store computer executed instructions in device, when the search node is run, the meter in memory described in the computing device Calculation machine execute instruction is with using described in any one in the hardware resource perform claim requirement 1,2,4 in the search node Method.
CN201610490707.4A 2016-06-28 2016-06-28 The method, apparatus and search engine system of a kind of search Withdrawn CN107545004A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610490707.4A CN107545004A (en) 2016-06-28 2016-06-28 The method, apparatus and search engine system of a kind of search

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610490707.4A CN107545004A (en) 2016-06-28 2016-06-28 The method, apparatus and search engine system of a kind of search

Publications (1)

Publication Number Publication Date
CN107545004A true CN107545004A (en) 2018-01-05

Family

ID=60963087

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610490707.4A Withdrawn CN107545004A (en) 2016-06-28 2016-06-28 The method, apparatus and search engine system of a kind of search

Country Status (1)

Country Link
CN (1) CN107545004A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111291153A (en) * 2018-12-10 2020-06-16 深圳坐标软件集团有限公司 Information searching method and device
CN112052367A (en) * 2020-07-23 2020-12-08 北京三快在线科技有限公司 Searching method, searching device, electronic equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1858732A (en) * 2005-11-19 2006-11-08 华为技术有限公司 File searching system and method for digital household network
US20090077056A1 (en) * 2007-09-17 2009-03-19 Yahoo! Inc. Customization of search results
CN101512498A (en) * 2006-09-26 2009-08-19 索尼株式会社 Providing a user access to data files distributed in a plurality of different types of user devices
US20090228525A1 (en) * 2008-03-10 2009-09-10 Ubs Ag Methods and systems for group data management and classification
CN105659234A (en) * 2013-10-23 2016-06-08 微软技术许可有限责任公司 Pervasive search architecture

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1858732A (en) * 2005-11-19 2006-11-08 华为技术有限公司 File searching system and method for digital household network
CN101512498A (en) * 2006-09-26 2009-08-19 索尼株式会社 Providing a user access to data files distributed in a plurality of different types of user devices
US20090077056A1 (en) * 2007-09-17 2009-03-19 Yahoo! Inc. Customization of search results
US20090228525A1 (en) * 2008-03-10 2009-09-10 Ubs Ag Methods and systems for group data management and classification
CN105659234A (en) * 2013-10-23 2016-06-08 微软技术许可有限责任公司 Pervasive search architecture

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111291153A (en) * 2018-12-10 2020-06-16 深圳坐标软件集团有限公司 Information searching method and device
CN112052367A (en) * 2020-07-23 2020-12-08 北京三快在线科技有限公司 Searching method, searching device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
US10237295B2 (en) Automated event ID field analysis on heterogeneous logs
CN105247529B (en) The synchronous voucher hash between directory service
US20090327484A1 (en) System and method for establishing personal social network, trusty network and social networking system
CN108052675A (en) Blog management method, system and computer readable storage medium
CN105450705B (en) Business data processing method and equipment
CN107656988A (en) Document edit method and system
US20120166518A1 (en) Providing state service for online application users
CN101557427A (en) Method for providing diffluent information and realizing the diffluence of clients, system and server thereof
CN102576425A (en) Information update system
CN107633016A (en) Data processing method and device and electronic equipment
CN107391587A (en) Link is shared and access method, server, terminal and computer-readable storage medium
CN104717197B (en) Conversation management system, session management equipment and conversation managing method
JP2018504681A (en) Method, apparatus, system, storage medium, program, and computer apparatus for providing authentication information on a web page
CN110175439A (en) User management method, device, equipment and computer readable storage medium
CN109918384A (en) A kind of method of data synchronization and its equipment, storage medium, electronic equipment
CN105227592A (en) A kind of Internet architecture and implementation method
JP5817728B2 (en) Condition matching system, condition matching link device, and condition matching processing method
CN107545004A (en) The method, apparatus and search engine system of a kind of search
CN106888264A (en) A kind of method for interchanging data and device
CN106657112A (en) Authentication method and apparatus
CN106375334A (en) Authentication method for distributed system
CN108112268A (en) Management and the relevant load balancer of automatic expanded set
CN103442016B (en) The method and system of white list are pushed based on website fingerprint
CN104010019A (en) Classified information management system
CN108365949A (en) Client's system of real name approaches to IM, apparatus and system

Legal Events

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

Application publication date: 20180105