CN101483674A - Data cross-domain searching method - Google Patents
Data cross-domain searching method Download PDFInfo
- Publication number
- CN101483674A CN101483674A CNA2009103003941A CN200910300394A CN101483674A CN 101483674 A CN101483674 A CN 101483674A CN A2009103003941 A CNA2009103003941 A CN A2009103003941A CN 200910300394 A CN200910300394 A CN 200910300394A CN 101483674 A CN101483674 A CN 101483674A
- Authority
- CN
- China
- Prior art keywords
- server
- search request
- lookup
- adjacent
- searching
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 28
- 230000009191 jumping Effects 0.000 claims abstract description 14
- 230000000977 initiatory effect Effects 0.000 abstract description 2
- 230000005540 biological transmission Effects 0.000 abstract 1
- 238000010586 diagram Methods 0.000 description 3
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000007689 inspection Methods 0.000 description 1
- 230000002195 synergetic effect Effects 0.000 description 1
Images
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The invention relates to hierarchical deployment SIP (Session Initiation Protocol) server system, in particular to a method of searching data crossing domain in system. The invention discloses a data cross-domain searching method aiming at the default that the data searching method in the prior art is easy to form circulation and unlimited extension. The technical proposal of the invention is that: the local server starts multithreading and sends searching request to the adjacent server, and sets transmitting jumping figure and records the transmitting route; the server received the searching request executes local searching and transmits and searches other servers, and returns to the local searching result and the searching result other server returned. The transmission has maximum jumping figure TTL limitation; each time the jumping figure reduces 1, and the transmitting route is recorded in the searching request before transmitting. The invention is suitable for hierarchical deployment SIP server system to search data.
Description
Technical field
The present invention relates to classification deploying SIP (Session Initiation Protocol) server system, particularly the method for cross-domain searching data in the system.
Background technology
For more enterprise of office, personnel etc., the server of its synergetic office work client login needs classification to dispose.As shown in Figure 1, in Beijing, Sichuan, Yunnan respectively the deploying SIP server (for ease of describing, below all be called for short server), the employee A of Beijing Human Resource Department of general headquarters need check the related data of certain employee B of Sichuan office, lookup process of Beijing startup of server at employee A place, the Servers-all that this process is disposed in network sends search request, and may there be two problems in search procedure: (1) is searched and may be had loop.For example: Beijing server sends request to the Yunnan server, the Yunnan server sends search request to the Dali server again, the Dali server sends search request to the Lijing server, and the Lijing server also might send search request to the Yunnan server again, causes not stopping circulation.(2) search and unrestrictedly to extend.For example: if the level that network environment is disposed is very dark, top server can send search request downwards always, until do not have till subordinate's server.
Summary of the invention
Technical problem to be solved by this invention is exactly at the prior art data search method, forms circulation and unlimited shortcoming of extending easily, provides a kind of data cross-domain searching method, to overcome the above-mentioned shortcoming of prior art.
The present invention solve the technical problem, and the technical scheme of employing is that data cross-domain searching method may further comprise the steps:
A, dispose the information of its adjacent server for each server;
B, the first startup of server lookup process send search request to its adjacent server, and set in search request and transmit jumping figure and record forward-path;
C, the second server of receiving search request are carried out in this locality and are searched, and record forward-path and the forwarding jumping figure that will set subtract 1 afterwards to the described search request of its adjacent server forwards in search request simultaneously, and wait for that its adjacent server returns lookup result;
The adjacent server of d, described second server is received the search request of forwarding, the operation of execution in step c;
E, second server return to first server with lookup result and the local lookup result that its adjacent server returns, and stop lookup process;
Further, among the step c, second server is not received the lookup result that its adjacent server returns in setting-up time, then only returns local lookup result to first server, and stops searching flow process;
Concrete, information comprises described in the step a: the address of this adjacent server, visit user name, the password of Web service that this adjacent server provides and the hierarchical relationship of this adjacent server and home server;
Further,, find that the forwarding jumping figure of setting is at 0 o'clock, search the back in this locality and stop lookup process, no longer forwarding lookup request when the server of receiving search request.
Beneficial effect of the present invention is, realized the data cross-domain searching in the classification deployment architecture, solved and searched the problem that has loop, may infinitely search, and improved search efficiency.
Description of drawings
Fig. 1 is a classification deployment server system configuration schematic diagram;
Fig. 2 is that sane level is searched schematic diagram;
Fig. 3 is that schematic diagram is searched in classification.
Concrete real-time mode
Describe technical scheme of the present invention in detail below in conjunction with accompanying drawing.
The WEB page that server provides can dispose parent server and child servers for book server.Wherein each server can only dispose a parent server, to guarantee the deployment of tree network structure.Configuration information comprises following field: the title of server, address, domain name, visit user name, the password of We that this server provides service, the hierarchical relationship of this server and home server (parent server or child servers), beginning to search maximum query depth from this server is jumping figure (TTL), and these parameters all can be used in lookup process.
Each server all provides SOAP (the Simple Object Access Protocol) interface of Web service mode, the routine call that the interface of the type can be realized by other Languages (detailed description of relevant SOAP interface please be checked related data).Mainly introduce the implementation of SOAP interface of the present invention below.
From angle of practical application, carry out data search by Web service between the server and be divided into two kinds of situations, once search and act on behalf of classification and search.
Once search and act on behalf of the main distinction of searching and be that whether accessed server search the agency other server known to it.Two kinds of typical sane levels of using in the corresponding reality of difference of pattern are disposed and the classification deployment mode.
In the sane level deployment mode, home server is the sane level whois lookup data known to it directly, receive that the server of search request is searched and no longer forwarding lookup request in this locality.As shown in Figure 2, server A is to server 1, the server 2 of sane level deployment ... server n sends search request, server 1, server 2 ... server n returns lookup result to server A.
In the classification deployment mode, home server is enabled multithreading and is initiated search request to its adjacent server, and sets in search request and transmit jumping figure and record forward-path.Receive that the server of search request searches except carrying out this locality, also act on behalf of other server of forwarding lookup, and return the lookup result that local lookup result and other servers return.Forwarding has maximum hop count TTL restriction, generally sets in the request of transmitting.Each jumping figure of transmitting subtracts 1, and writes down forward-path before transmitting in search request, is used to receive the address of the server that the server inspection of search request had been inquired about, and avoids forming loop.As shown in Figure 3, adjacent server 1, server 2 that server A is disposed to classification ... server n sends search request, server 1, server 2 ... server n returns lookup result to server A, and each server (as server 2) can be to its adjacent server (as server k) forwarding lookup request, until transmitting jumping figure TTL=0.
In order to ensure search efficiency, do following restriction: 1. inquire about individual server time delay t is set, t can dispose in configuration file, and inquiry surpasses t, then cancels this query task.2. in the distributed query, TTL=0 in the search request that server is received then only searches in this locality, no matter whether finds data, all no longer forwarding lookup request and stop lookup process.
Claims (5)
- [claim 1] data cross-domain searching method may further comprise the steps:A, dispose the information of its adjacent server for each server;B, the first startup of server lookup process send search request to its adjacent server, and set in search request and transmit jumping figure and record forward-path;C, the second server of receiving search request are carried out in this locality and are searched, and record forward-path and the forwarding jumping figure that will set subtract 1 afterwards to the described search request of its adjacent server forwards in search request simultaneously, and wait for that its adjacent server returns lookup result;The adjacent server of d, described second server is received the search request of forwarding, the operation of execution in step c;E, second server return to first server with lookup result and the local lookup result that its adjacent server returns, and stop lookup process.
- [claim 2] is according to the described data cross-domain searching method of claim 1, it is characterized in that among the step c, second server is not received the lookup result that its adjacent server returns in setting-up time, then only return local lookup result, and stop searching flow process to first server.
- [claim 3] is according to claim 1 or 2 described data cross-domain searching methods, it is characterized in that, information comprises described in the step a: the address of this adjacent server, visit user name, the password of Web service that this adjacent server provides, and the hierarchical relationship of this adjacent server and home server.
- [claim 4] data cross-domain searching method according to claim 3 is characterized in that, when the server of receiving search request, finds that the forwarding jumping figure of setting is at 0 o'clock, searches the back in this locality and stops lookup process, no longer forwarding lookup request.
- [claim 5] is characterized in that according to claim 1 or 2 described data cross-domain searching methods, when the server of receiving search request, finds that the forwarding jumping figure of setting is at 0 o'clock, searches the back in this locality and stops lookup process, no longer forwarding lookup request.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 200910300394 CN101483674B (en) | 2009-02-12 | 2009-02-12 | Data cross-domain searching method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 200910300394 CN101483674B (en) | 2009-02-12 | 2009-02-12 | Data cross-domain searching method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101483674A true CN101483674A (en) | 2009-07-15 |
CN101483674B CN101483674B (en) | 2013-01-09 |
Family
ID=40880599
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN 200910300394 Expired - Fee Related CN101483674B (en) | 2009-02-12 | 2009-02-12 | Data cross-domain searching method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101483674B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102035905A (en) * | 2010-12-17 | 2011-04-27 | 北京世纪互联工程技术服务有限公司 | Method for obtaining visitor Local DNS (Local Domain-Name Server) |
CN102055815A (en) * | 2010-12-17 | 2011-05-11 | 北京世纪互联工程技术服务有限公司 | System for acquiring local domain name analyses server of caller |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6704293B1 (en) * | 1999-12-06 | 2004-03-09 | Telefonaktiebolaget Lm Ericsson (Publ) | Broadcast as a triggering mechanism for route discovery in ad-hoc networks |
CN1510862A (en) * | 2002-12-26 | 2004-07-07 | 华为技术有限公司 | Identification and business management for network user |
EP1560376A1 (en) * | 2004-01-28 | 2005-08-03 | Samsung Electronics Co., Ltd. | System-on-chip establishing paths between routers and method therefor |
CN101048012A (en) * | 2006-06-22 | 2007-10-03 | 华为技术有限公司 | Method for deciding route at radio mesh network |
CN101159688A (en) * | 2007-11-08 | 2008-04-09 | 华为技术有限公司 | Multicast routing track method and router |
CN101355490A (en) * | 2007-07-25 | 2009-01-28 | 华为技术有限公司 | Method, system and node equipment for routing information |
-
2009
- 2009-02-12 CN CN 200910300394 patent/CN101483674B/en not_active Expired - Fee Related
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6704293B1 (en) * | 1999-12-06 | 2004-03-09 | Telefonaktiebolaget Lm Ericsson (Publ) | Broadcast as a triggering mechanism for route discovery in ad-hoc networks |
CN1510862A (en) * | 2002-12-26 | 2004-07-07 | 华为技术有限公司 | Identification and business management for network user |
EP1560376A1 (en) * | 2004-01-28 | 2005-08-03 | Samsung Electronics Co., Ltd. | System-on-chip establishing paths between routers and method therefor |
CN101048012A (en) * | 2006-06-22 | 2007-10-03 | 华为技术有限公司 | Method for deciding route at radio mesh network |
CN101355490A (en) * | 2007-07-25 | 2009-01-28 | 华为技术有限公司 | Method, system and node equipment for routing information |
CN101159688A (en) * | 2007-11-08 | 2008-04-09 | 华为技术有限公司 | Multicast routing track method and router |
Non-Patent Citations (1)
Title |
---|
魏辉 等: "无线传感器网络的能量有效性网络层路由算法—最小跳数路由算法", 《计算机与信息技术》 * |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102035905A (en) * | 2010-12-17 | 2011-04-27 | 北京世纪互联工程技术服务有限公司 | Method for obtaining visitor Local DNS (Local Domain-Name Server) |
CN102055815A (en) * | 2010-12-17 | 2011-05-11 | 北京世纪互联工程技术服务有限公司 | System for acquiring local domain name analyses server of caller |
CN102055815B (en) * | 2010-12-17 | 2012-12-19 | 北京世纪互联宽带数据中心有限公司 | System for acquiring local domain name analyses server of caller |
CN102035905B (en) * | 2010-12-17 | 2013-05-01 | 北京世纪互联宽带数据中心有限公司 | Method for obtaining visitor Local DNS (Local Domain-Name Server) |
Also Published As
Publication number | Publication date |
---|---|
CN101483674B (en) | 2013-01-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112016015B (en) | Data processing method and device based on distributed identification analysis | |
CN108449444B (en) | Regional data transmission method, self-circulation domain name resolution system and method | |
CN101431539B (en) | Domain name resolution method, system and apparatus | |
US20070271393A1 (en) | System and Methods for Domain Name Acquisition and Management | |
CN100578494C (en) | Organization of resources into collections to facilitate more efficient and reliable resource access | |
CN103685590B (en) | Obtain the method and system of IP address | |
CN102752300B (en) | Dynamic antitheft link system and dynamic antitheft link method | |
CN101261644A (en) | Method and device for accessing united resource positioning symbol database | |
CN101755434A (en) | Nomadic subscriber data system | |
CN102438278B (en) | Load allocation method and device for mobile communication network | |
CN102469167A (en) | Domain name query implementing method and system | |
CN107040618B (en) | Decentralized network domain name service system and method | |
CN107438111B (en) | Method, server and the system of method and the domain name agency of inquiry of the domain name | |
EP3188453A1 (en) | Detecting and mitigating registrar collusion in drop-add acquisitions of domain names | |
CN102624914A (en) | Method for detecting local DNS (Domain Name Server) used by client side in Web form | |
JP5437785B2 (en) | Authentication method, conversion device, relay device, and program | |
CN103685535A (en) | Interface design of cloud database system for large-scale distributed heterogeneous data treatment | |
CN1643880A (en) | Dynamic addressing in transient networks | |
CN1941771A (en) | Web service data managing method and system for use of service oriented system structure | |
CN103347087A (en) | Structuring P2P and UDDI service registering and searching method and system | |
CN101483674B (en) | Data cross-domain searching method | |
CN102316154B (en) | Optimize the access to the resource based on federation infrastructure | |
RU2477573C2 (en) | Version entries in network data repositories | |
CN101755427B (en) | Improved sub-tree access control in network architectures | |
CN103533094A (en) | Identification code all-in-one machine and identification code system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20130109 |
|
CF01 | Termination of patent right due to non-payment of annual fee |