CN2929830Y - Search engine server and search system - Google Patents
Search engine server and search system Download PDFInfo
- Publication number
- CN2929830Y CN2929830Y CN 200620118518 CN200620118518U CN2929830Y CN 2929830 Y CN2929830 Y CN 2929830Y CN 200620118518 CN200620118518 CN 200620118518 CN 200620118518 U CN200620118518 U CN 200620118518U CN 2929830 Y CN2929830 Y CN 2929830Y
- Authority
- CN
- China
- Prior art keywords
- user
- search
- server
- unit
- information
- 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.)
- Expired - Lifetime
Links
Images
Landscapes
- Computer And Data Communications (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The utility model disclose a search system for solving the problems in prior art that when the user status information is inquired according to the user identification in the searching information, the response speed is slow and the load of the system is high, the search system comprises a state server for storing the status information of the user, a search engine server communication connected with the status server for searching the related message comprising the key words provided by the user in the internet, storing the status information and keeping pace in the status information of the status server, furthermore, when the related message searched comprises the user identification, the user status information is locally inquired and returned to the user according to the user identification. The utility model also discloses a search engine server.
Description
Technical field
The utility model relates to communication and computer realm, relates in particular to a kind of search engine server and search system.
Background technology
Network instant communication service (IM, Instant Messenger) is a kind of communication service based on the internet, generally to realize instant communication function on the network, in network service, by the binding of website and instantaneous communication system state server, can realize the function of query web state of user information.
At present, when user inquiring information, web server generated query webpage comprises the script of inquiring user state in the webpage; Then, carry out script and inquire about the pairing state of user information of the user ID that comprises in this webpage to the state server interface of instant messaging, and state of user information returned to webpage, represent that with different icons whether online the user is, and whether registered instantaneous communication system.Like this when user inquiring information, if the webpage that returns is a lot, and every page of user who relates to is when a lot, whenever open a webpage or refresh and once all will re-execute script is submitted the inquiring user status information to the state server interface of instant messaging request, like this, not only cause the response of webpage slack-off, and the load pressure of state server is also bigger, the system resources consumption height.
The utility model content
In view of this, the utility model provides a kind of search engine server and search system, when solving the user ID inquiring user status information that comprises in the prior art in according to search information, has the slow and big problem of system loading of response speed.
The utility model provides following technical scheme:
A kind of search engine server is characterized in that, comprising:
Storage unit is used to store state of user information;
Communication unit is used for and other devices communicatings;
Lock unit is connected with communication unit with described storage unit by interface, is used for making the status information of described storage unit synchronous with the information maintenance on the equipment that this status information is provided;
Search unit is connected with described communication unit by interface, and the key word that is used for providing according to the user comprises the relevant information of this key word from the network search, and offers the user;
Query unit is connected with search unit with described storage unit by interface, is used for when the relevant information that search unit searches comprises user ID, and inquiry and acquisition state of user information from described storage unit, and offer the user.
The separate setting of described lock unit, search unit and query unit; Perhaps, partly or entirely be set to one in described lock unit, search unit and the query unit.
A kind of search system is characterized in that, comprising:
State server is used to store state of user information;
Search engine server has with described state server and to communicate to connect, and is used for comprising from the network search relevant information of the key word that the user provides, and stores described status information and keeps synchronously with status information on the described state server; And, when in the relevant information that searches, comprising user ID, according to this user ID from local search state of user information and return to the user.
Described search system also comprises:
Background server, be connected between described state server and the search engine server, be used to store described status information and provide this status information to described search engine server, and the status information on this background server and the state server keeps synchronously, and the status information on described search engine server and this background server keeps synchronously.
The utility model combines search engine with instant messaging, realize the information synchronization between search engine and the state server, by search engine directly from local search and obtain user state information, need not carry out script to state server inquiring user status information, therefore, the utility model can significantly improve the reaction velocity of webpage, reduces the load pressure of state server; Especially when the presence of the concurrent inquiry a large number of users of a large number of users, can reduce system consumption, significantly improve system performance.
Description of drawings
Figure 1A, Figure 1B are the structural representation of communication system among the utility model embodiment;
Fig. 2 is the structural representation of search engine server among the utility model embodiment;
Fig. 3 A, Fig. 3 B are the process flow diagram of transmission information and hold mode information synchronization between state server and the background server among the utility model embodiment;
Fig. 4 is for transmission user status information between background server among the utility model embodiment and the search engine server and keep synchronous process flow diagram;
Fig. 5 is the process flow diagram of search engine server search information and inquiring user status information among the utility model embodiment.
Embodiment
Exist response speed slow when solving in the prior art query web state of user information, bring excessive deficiencies such as load pressure to state server, the utility model is synchronized to search engine server with the user state information on the state server, when search engine server comprises user ID in the information of finding to search, directly in local search state of user information and offer the user who needs this information.
Consult Figure 1A, the communication system in the present embodiment mainly comprises state server, and with the search engine server that this state server is connected, this search engine server can be for a plurality of.Described state server is used to preserve all websites status information of (comprising instant communication users), the key word that search engine server is used for providing according to the user comprises the relevant information of this key word from the network search, and obtain user state information, and keep user state information synchronous with state server from state server.When including user ID in the webpage that search engine is found to return, according to this user ID from the local search user state information and offer the user of request search information.
In order to ensure information security, search engine is registered on the state server earlier before obtaining user state information from state server.Described state of user information comprises the sign that user ID and this user be whether online at least.
Status information preferable mode synchronously is to adopt increment synchronous, promptly only transmits the user state information that changes has taken place.On the synchronous time, can adopt in real time synchronously, when promptly state of user changes by state server proactive notification search engine server; Also can adopt regularly synchronously, promptly state server regularly sends to search engine server with status information, or by search engine server regularly initiatively to state server request state of user information.During Synchronization Status Message, preferable mode is that state server adopts the multicast mode that status information is sent to search engine server between search engine server and the state server.
System shown in Figure 1A needs state server directly to provide status information to each search engine server, and it mainly is suitable in the scene of search engine negligible amounts.Have under the situation of a large amount of search engines,, between search engine server and state server, increasing background server (or claiming the search engine background server) in order to alleviate the load pressure of state server.
Shown in Figure 1B, background server is connected between state server and the search engine server, and background server can have a plurality of, and each background server can connect a plurality of search engine servers.Background server is used for obtaining user state information from described state server, and is responsible for all user state informations are offered each search engine server.Hold mode information synchronization between each background server and the state server, the status information on each search engine server of each background server and its management keeps synchronously.The method of synchronization can adopt in real time synchronously, also can adopt regularly synchronously.
During Synchronization Status Message, preferable mode is that state server adopts the multicast mode that status information is sent to each background server, and each background server adopts the multicast mode that status information is sent to each search engine server.
A kind of search engine server in the present embodiment comprises storage unit, communication unit, lock unit, search unit and query unit as shown in Figure 2; Wherein: described storage unit is used to store status information and other relevant informations of instant communication users; Described communication unit is used to connect other communication facilitiess, receives and transmission information; Described lock unit is connected with communication unit with storage unit by interface, is used for by described communication unit, makes the user state information in the described storage unit synchronous with the user state information maintenance on the state server that this information is provided; Be connected by interface between described search unit and communication unit and the storage unit, the key word that provides according to the user is provided, search for the relevant information that comprises this key word through described communication unit from network, the information that searches can be cached in the storage unit; Described query unit is connected with search unit with described storage unit by interface, is used for when the relevant information that described search unit searches comprises user ID inquiry and acquisition user state information from described storage unit; The user state information that relevant information that search unit searches and query unit inquire sends to the requestor through described communication unit.Described interface can be the intercommunication interface.Described lock unit, search unit and query unit can separately be provided with, and also can partly or entirely be set to one.
In order in the process that transmits user state information, to reduce the transmission quantity of data as far as possible, in the present embodiment, state server is earlier changed byte number with the compression user ID to user ID, and user ID is being preserved with the form after the conversion on background server and the search engine server.Accordingly, search engine adopts the mode converting users sign identical with state server before inquiry, and then the inquiring user status information.For example, user ID for 20 bytes, adopt hash algorithm (also can adopt other algorithms) to convert thereof into the integer data (or being exactly that the uniquely identified 8 bytes numeral that is used for of lane database replaces for ID number) of one 8 byte, adopt a bit to represent whether a user is online simultaneously, not online as " 0 " expression, " 1 " expression is online.Therefore, the registered user for 10,000 ten thousand, committed memory is 100M*8+100M*1/8=812.5M, is sufficient for sb.'s need for 32 machine with 4G memory configurations.
Below main be that example is elaborated with system architecture shown in Figure 2.
Consult shown in Fig. 3 A, background server obtains user state information from state server, and initiatively sends the user state information that changes to keep synchronous processing procedure as follows to background server by state server:
Step 300, background server send login request message to state server.
Step 301, state server are verified background server, and are returned registration reply message to it.Show in this message whether registration is successful.
Step 302, succeed in registration after, background server sends the user state information request message to state server.
Step 303, state server confirm that described background server is a registered users, send all user state informations to background server, and wherein the user ID in the user state information adopts the aforementioned manner compression.
Step 304, background server are preserved user state information.
State of user changes on step 305, the state server, the user state information that state server changes to each background server in the multicast mode.
Step 306, background server upgrade the local user state information of preserving.
Consult shown in Fig. 3 B, background server obtains state of user information from state server, and the user state information that upgrade to be changed to the state server request by background server is to keep synchronous processing procedure as follows:
Step 310,311,312,313 identical with above-mentioned steps 300,301,302,303.
Step 314, timer expiry, background server sends the user state information updating request to state server, the time that comprises request last time in this request message or upgrade user state information.
Step 315, state server asked or upgraded the time of user state information last time according to background server, whether judgement user state information in the time period up till now described time changes, if change, then the user state information that changes is sent to background server by upgrading response message, otherwise, return the response message (the expression user state information changes among the figure) that does not comprise user state information to background server.
After step 316, background server receive and upgrade response,, then upgrade the local user state information of preserving if user state information is wherein arranged, otherwise, do not do to upgrade and handle.
In the treatment scheme of Fig. 3 B, after state server receives that the message of user state information is upgraded in one of them background server request, also can adopt the multicast mode to send the user state information that has changed to all background servers, background server receives the timer that resets after the updating message and gets final product.
Consult Fig. 4, search engine server obtains state of user information from background server, and initiatively sends the user state information that changes to keep synchronous processing procedure as follows to search engine server by background server:
Step 400, search engine server send login request message to background server.
Step 401, background server verify search engine server, and return registration reply message to it, shows whether success of registration in this message.
Step 402, succeed in registration after, search engine server sends the user state information request message to background server.
Step 403, background server confirm that described search engine server is a registered users, send all user state informations to the back search engine server, and wherein the user ID in the user state information adopts the aforementioned manner compression.
Step 404, search engine server are preserved user state information.
After step 405, background server are upgraded user state information, the user state information that changes to each search engine server in the multicast mode.
Step 406, the search engine server that receives update notification upgrade the local user state information of preserving.
Consult shown in Figure 5, search engine server search information and to obtain the processing procedure of User Status as follows:
Step 500, user provide key word request search relevant information by client.
Step 501, search engine server are searched for the relevant information that comprises this key word according to the information resources service device of key word from network.
Step 502, search engine server are received the webpage that the information resources service device returns, and wherein include the information of needs search and the user's of this information of issue sign (ID).
Step 503, search engine server extract from webpage and converting users sign (conversion regime is identical with the state server side), and in the pairing User Status of local search user ID.
Step 504, search engine server are embedded into the User Status sign in the webpage, and return to client.For example,, can in webpage, represent,, can represent with grey colored lights when the user is in off-line with green light when the user is in line states.
System for structure shown in Figure 1A, transmission user status information and keep synchronous processing between state server and the search engine server, and transmission user status information and keep synchronous processing in like manner between above-mentioned state server and the background server repeats no more.
From the foregoing description as can be known, the utility model has been realized combining of search engine and immediate communication user state information, user state information in the instantaneous communication system state server is synchronized in the search engine, when user inquiring information, search engine returns to the status information that directly comprises instant communication users in user's the webpage, thereby improved the reaction velocity of webpage, reduced the pressure of instant messaging state server.
Obviously, those skilled in the art can carry out various changes and modification to the utility model and not break away from spirit and scope of the present utility model.Like this, if of the present utility model these are revised and modification belongs within the scope of the utility model claim and equivalent technologies thereof, then the utility model also is intended to comprise these changes and modification interior.
Claims (8)
1, a kind of search engine server is characterized in that, comprising:
Storage unit is used to store state of user information;
Communication unit is used for and other devices communicatings;
Lock unit is connected with communication unit with described storage unit by interface, is used for making the status information of described storage unit synchronous with the information maintenance on the equipment that this status information is provided;
Search unit is connected with described communication unit by interface, and the key word that is used for providing according to the user comprises the relevant information of this key word from the network search, and offers the user;
Query unit, be connected with search unit with described storage unit by interface, be used for when the relevant information that search unit searches comprises user ID, the status information of inquiring user from described storage unit, and the user state information that inquires offered the user.
2, search engine server as claimed in claim 1 is characterized in that, the separate setting of described lock unit, search unit and query unit; Perhaps, partly or entirely be set to one in described lock unit, search unit and the query unit.
3, search engine server as claimed in claim 1 or 2 is characterized in that, described interface is the intercommunication interface.
4, a kind of search system is characterized in that, comprising:
State server is used to store state of user information;
Search engine server has with described state server and to communicate to connect, and is used for comprising from the network search relevant information of the key word that the user provides, and stores described status information and keeps synchronously with status information on the described state server; And, when in the relevant information that searches, comprising user ID, according to this user ID from local search state of user information and return to the user.
5, search system as claimed in claim 4 is characterized in that, also comprises:
Background server, be connected between described state server and the search engine server, be used to store described status information and provide this status information to described search engine server, and the status information on this background server and the state server keeps synchronously, and the status information on described search engine server and this background server keeps synchronously.
6, search system as claimed in claim 5 is characterized in that, described background server is a plurality of, and each background server is connected with one or more search engine servers.
7, as claim 4,5 or 6 described search systems, it is characterized in that described search engine server comprises:
Storage unit is used to store state of user information;
Communication unit is used for and other devices communicatings;
Lock unit is connected with communication unit with described storage unit by interface, is used for making the status information of described storage unit synchronous with the information maintenance on the equipment that this status information is provided;
Search unit is connected with described communication unit by interface, and the key word that is used for providing according to the user comprises the relevant information of this key word from the network search, and offers the user;
Query unit is connected with search unit with described storage unit by interface, is used for when the relevant information that search unit searches comprises user ID, and inquiry and acquisition state of user information from described storage unit, and offer the user.
8, search system as claimed in claim 7 is characterized in that, the separate setting of described lock unit, search unit and query unit; Perhaps, partly or entirely be set to one in described lock unit, search unit and the query unit.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 200620118518 CN2929830Y (en) | 2006-06-06 | 2006-06-06 | Search engine server and search system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 200620118518 CN2929830Y (en) | 2006-06-06 | 2006-06-06 | Search engine server and search system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN2929830Y true CN2929830Y (en) | 2007-08-01 |
Family
ID=38308207
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN 200620118518 Expired - Lifetime CN2929830Y (en) | 2006-06-06 | 2006-06-06 | Search engine server and search system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN2929830Y (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2009039703A1 (en) * | 2007-09-26 | 2009-04-02 | Alibaba Group Holding Limited | A method, system and searching engine server for acquiring user state information |
CN101087263B (en) * | 2006-06-06 | 2011-09-28 | 阿里巴巴集团控股有限公司 | A method and system for capturing user status information via search engine |
CN101960453B (en) * | 2008-02-28 | 2014-06-04 | 微软公司 | Location description for federation and discoverability |
-
2006
- 2006-06-06 CN CN 200620118518 patent/CN2929830Y/en not_active Expired - Lifetime
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101087263B (en) * | 2006-06-06 | 2011-09-28 | 阿里巴巴集团控股有限公司 | A method and system for capturing user status information via search engine |
WO2009039703A1 (en) * | 2007-09-26 | 2009-04-02 | Alibaba Group Holding Limited | A method, system and searching engine server for acquiring user state information |
CN101960453B (en) * | 2008-02-28 | 2014-06-04 | 微软公司 | Location description for federation and discoverability |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103457905B (en) | Method of data synchronization, system and equipment | |
CN102819531B (en) | A kind of cloud reading service system, cloud reading service method and apparatus | |
CN101019105B (en) | Method and apparatus for data storage using striping | |
JP6967615B2 (en) | Distributed search and index update methods, systems, servers and computer equipment | |
CN101090371B (en) | Method and system for user information management in at-once communication system | |
CN106209948A (en) | A kind of data push method and device | |
CN101500208A (en) | Data synchronization method and system between devices | |
CN105812351A (en) | Method and system for sharing session | |
CN103297529A (en) | Timestamp-based tree structure data synchronization method | |
CN102202102A (en) | Network service polymerization system and polymerization method thereof based on cloud computing configuration | |
CN101160908A (en) | Data synchronization processing method, client, server and data synchronization system | |
CN101383839A (en) | Data distribution system based on data server and implementation method | |
CN105512053A (en) | Mirror caching method for mobile transparent computing system server terminal multi-user access | |
JP2001522074A (en) | Communication system and method | |
CN103905574A (en) | DNS service access method and DNS data synchronization method and device | |
CN101442558A (en) | Method and system for providing index service for P2SP network | |
CN110740155B (en) | Request processing method and device in distributed system | |
CN102487375B (en) | Method, device and system for downloading videos online | |
CN106326372A (en) | Git central warehouse management system and control method | |
CN101087263B (en) | A method and system for capturing user status information via search engine | |
CN105100158A (en) | Message pushing and obtaining methods and apparatuses | |
CN112328632B (en) | Distributed two-level caching method and system | |
CN103326925B (en) | A kind of information push method and device | |
CN101673217B (en) | Method for realizing remote program call and system thereof | |
CN2929830Y (en) | Search engine server and search system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
C56 | Change in the name or address of the patentee |
Owner name: ALIBABA GROUP HOLDINGS LIMITED Free format text: FORMER NAME OR ADDRESS: ALIBABA CO. |
|
CP01 | Change in the name or title of a patent holder |
Address after: Grand Cayman, Cayman, Georgetown, zip code: Patentee after: Alibaba Group Holding Co., Ltd. Address before: Grand Cayman, Cayman, Georgetown, zip code: Patentee before: Alibaba Co. |
|
AV01 | Patent right actively abandoned |
Granted publication date: 20070801 Effective date of abandoning: 20111207 |