CN105871616A - Service node selection method and device - Google Patents

Service node selection method and device Download PDF

Info

Publication number
CN105871616A
CN105871616A CN201610202265.9A CN201610202265A CN105871616A CN 105871616 A CN105871616 A CN 105871616A CN 201610202265 A CN201610202265 A CN 201610202265A CN 105871616 A CN105871616 A CN 105871616A
Authority
CN
China
Prior art keywords
intranet
operator
service node
informaiton
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.)
Pending
Application number
CN201610202265.9A
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.)
Beijing QIYI Century Science and Technology Co Ltd
Original Assignee
Beijing QIYI Century Science and Technology 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 Beijing QIYI Century Science and Technology Co Ltd filed Critical Beijing QIYI Century Science and Technology Co Ltd
Priority to CN201610202265.9A priority Critical patent/CN105871616A/en
Publication of CN105871616A publication Critical patent/CN105871616A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/069Management of faults, events, alarms or notifications using logs of notifications; Post-processing of notifications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/14Network architectures or network communication protocols for network security for detecting or protecting against malicious traffic
    • H04L63/1408Network architectures or network communication protocols for network security for detecting or protecting against malicious traffic by monitoring network traffic
    • H04L63/1416Event detection, e.g. attack signature detection

Abstract

The embodiment of the invention discloses a service node selection method and device, which are applied to a client. The service node selection method comprises the following steps: acquiring current first Extranet IP operator information and a C-segment address of a first Intranet IP; transmitting the first Extranet IP operator information and the C-segment address of the first Intranet IP to a control selection node interface in order that the control selection node interface determines optimal service node information from pre-acquired service node information according to the received first Extranet IP operator information and C-segment address of the first Intranet IP and returns the optimal service node information to the client; and receiving the optimal service node information, and determining a corresponding optimal service node according to the optimal service node information. In the scheme, the corresponding service node is not selected in a random way through a current agent, so that the agent can return log information stably and rapidly.

Description

A kind of service node selection method and device
Technical field
The present invention relates to network invasion monitoring field, particularly to a kind of service node selection method and device.
Background technology
Intrusion detection project (herein referring to open source projects ossec, referred to collectively below as intrusion detection) is mainly passed through The information such as collection system daily record, process, port, the security strategy that coupling is preset, thus the behavior that notes abnormalities, Report to the police and ensure the safety of server to safety manager.
At present, intrusion detection typically by master server (master), multiple service nodes (server node), Multiple agencies (agent) form.The corresponding one or more agencies of each service node, the two is logical by setting up Letter connection carries out log information transmission, and agency is arranged in the client needing monitoring, and agency collects client Log information, returns this log information to corresponding service node, and service node is used for receiving corresponding agency back The log information passed, and carry out arranging, analyze and registering, the log information then these processed is delivered To master server, the security strategy that master server is preset according to these log informations processed coupling, find Abnormal behaviour alarm is to safety manager, thus ensures the safety of server.Existing intrusion detection In, for client deployment corresponding when acting on behalf of, pre-set the information such as service node, then will act on behalf of root Being packaged into rpm bag according to configuration template and be installed in client, this agency is randomly in the service pre-set Selecting a service node in node and set up communication connection with this service node, master server is initiated one and is awarded Power process, acts on behalf of the information such as the IP to master server submission oneself and registers, and then complete to dispose.
Although batch disposes agency when the method for this agent selection service node can solve a large amount of server Problem, but owing to service node and the operator of client may be different, agency corresponding to client to Returning, even occurs in the poor stability of corresponding with service node passback log information, it may appear that delay phenomenon Problem.
Summary of the invention
The embodiment of the invention discloses a kind of service node selection method and device, in order to solve as client end The unreasonable agency caused of service node selected when administration is acted on behalf of is to corresponding service node passback log information Poor stability, slow-footed problem.Technical scheme is as follows:
First aspect, embodiments provides a kind of service node selection method, is applied to client, Including:
Obtain the first current outer net IP operator's informaiton and the C sector address of the first Intranet IP;
The C sector address of described first outer net IP operator's informaiton and described first Intranet IP is sent to controlling choosing Select node interface, so that: control to select node interface according to the described first outer net IP operator's informaiton received With the C sector address of described first Intranet IP, from the service node information being obtained ahead of time, determine that optimal service saves Dot information, and described optimal service nodal information is returned to client;
Receive described optimal service nodal information, and according to described optimal service nodal information determine corresponding Excellent service node, so that the agency that this locality is installed sets up communication connection with described optimal service node.
The service node information being obtained ahead of time described in it is also preferred that the left includes: outside the second of all preset service nodes Net C sector address and all preset service joint of the second Intranet IP of IP operator's informaiton, all preset service nodes The quantity of some correspondence agency.
It is also preferred that the left described control select node interface according to the described first outer net IP operator's informaiton received with The C sector address of described first Intranet IP, determines optimal service node from the service node information being obtained ahead of time Information particularly as follows:
Search from the second outer net IP operator's informaiton of all preset service nodes and described first outer net IP fortune Target the second outer net IP operator's informaiton that battalion's business's information is identical;
The C with described first Intranet IP is searched from the C sector address of the second Intranet IP of all preset service nodes The C sector address of target the second Intranet IP that sector address is identical;
If find described target the second outer net IP operator's informaiton and described target the second Intranet IP simultaneously Preset service node correspondence agency that C sector address, relatively described target the second outer net IP operator's informaiton are corresponding and The quantity of the preset service node correspondence agency that the C sector address of described target the second Intranet IP is corresponding, by correspondence generation The service node information of the preset service node of the negligible amounts of reason is defined as described optimal service nodal information;
If looking only for described target the second outer net IP operator's informaiton and the C of described target the second Intranet IP In sector address one, then by preset service corresponding for described target the second outer net IP operator's informaiton found The service node information of node or default clothes corresponding to the C sector address of described target the second Intranet IP found The service node information of business node is defined as described optimal service nodal information.
It is also preferred that the left a kind of service node selection method that the embodiment of the present invention provides can also include:
Without finding described target the second outer net IP operator's informaiton and described target the second Intranet IP C sector address, then arrange a default service nodal information as described optimal service nodal information.
It is also preferred that the left the C sector address tool of current the first outer net IP operator's informaiton of described acquisition and the first Intranet IP Body is:
The first current outer net IP operator's informaiton and the C section of the first Intranet IP is obtained by internal queries interface Address.
Second aspect, the embodiment of the present invention additionally provides a kind of service node and selects device, is applied to client, Including:
Data obtaining module, for obtaining the first current outer net IP operator's informaiton and the C section of the first Intranet IP Address;
Information sending module, for by described first outer net IP operator's informaiton and the C section of described first Intranet IP Address sends to controlling and selects node interface, so that: control to select node interface according to described the received One outer net IP operator's informaiton and the C sector address of described first Intranet IP, from the service node information being obtained ahead of time In determine optimal service nodal information, and described optimal service nodal information is returned to client;
Optimal service node determines module, is used for receiving described optimal service nodal information, and according to described Excellent service node information determines the optimal service node of correspondence so that the agency that installed of this locality with described Excellent service node sets up communication connection.
The service node information being obtained ahead of time described in it is also preferred that the left includes: outside the second of all preset service nodes Net C sector address and all preset service joint of the second Intranet IP of IP operator's informaiton, all preset service nodes The quantity of some correspondence agency.
It is also preferred that the left described control select node interface according to the described first outer net IP operator's informaiton received with The C sector address of described first Intranet IP, determines optimal service node from the service node information being obtained ahead of time Information particularly as follows:
Search from the second outer net IP operator's informaiton of all preset service nodes and described first outer net IP fortune Target the second outer net IP operator's informaiton that battalion's business's information is identical;
The C with described first Intranet IP is searched from the C sector address of the second Intranet IP of all preset service nodes The C sector address of target the second Intranet IP that sector address is identical;
If find described target the second outer net IP operator's informaiton and described target the second Intranet IP simultaneously Preset service node correspondence agency that C sector address, relatively described target the second outer net IP operator's informaiton are corresponding and The quantity of the preset service node correspondence agency that the C sector address of described target the second Intranet IP is corresponding, by correspondence generation The service node information of the preset service node of the negligible amounts of reason is defined as described optimal service nodal information;
If looking only for described target the second outer net IP operator's informaiton and the C of described target the second Intranet IP In sector address one, then by preset service corresponding for described target the second outer net IP operator's informaiton found The service node information of node or default clothes corresponding to the C sector address of described target the second Intranet IP found The service node information of business node is defined as described optimal service nodal information.
It is also preferred that the left a kind of service node that the embodiment of the present invention provides selects device to include:
Default node arranges module, for not finding described target the second outer net IP operator's informaiton and institute When stating the C sector address of target the second Intranet IP, a default service nodal information is set as described optimal service Nodal information.
It is also preferred that the left described data obtaining module specifically for:
The first current outer net IP operator's informaiton and C of the first Intranet IP is obtained by internal queries interface Sector address.
In a kind of service node selection method of this programme offer and device, client obtains the first current fortune After the C sector address of battalion's business's information and the first Intranet IP, by described first operator's informaiton and described first Intranet IP C sector address send to control select node interface, control select node interface according to described first received Outer net IP operator's informaiton and the C sector address of described first Intranet IP, from the service node information being obtained ahead of time Determine optimal service nodal information, and described optimal service nodal information is returned to client, client According to described optimal service nodal information determine correspondence optimal service node so that locally-installed agency with This optimal service node sets up communication connection.Due in this programme be not agency selected by random manner right The service node answered, but believe according to the first operator's informaiton, the C sector address of the first Intranet IP and service node Breath determines optimal service node, it is contemplated that the matching of the operator of service node and client, therefore, and generation The good stability of reason passback log information, speed is fast.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to enforcement In example or description of the prior art, the required accompanying drawing used is briefly described, it should be apparent that, describe below In accompanying drawing be only some embodiments of the present invention, for those of ordinary skill in the art, do not paying On the premise of going out creative work, it is also possible to obtain other accompanying drawing according to these accompanying drawings.
The flow chart of a kind of service node selection method that Fig. 1 is provided by the embodiment of the present invention;
Fig. 2 selects the structural representation of device by a kind of service node that the embodiment of the present invention is provided.
Detailed description of the invention
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 clearly Chu, be fully described by, it is clear that described embodiment be only a part of embodiment of the present invention rather than Whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art are not making creation The every other embodiment obtained under property work premise, broadly falls into the scope of protection of the invention.
Network communication quality between service node and agency directly influences stablizing of agency's passback log information Property, the unreasonable agency caused of service node selected during for solving and disposing and act on behalf of returns to corresponding service node Pass the poor stability of log information, slow-footed problem, embodiments provide a kind of service node System of selection and device.
A kind of service node selection method provided the embodiment of the present invention first below is introduced.
It should be noted that a kind of server node system of selection that the embodiment of the present invention is provided is applied to visitor Family end, in actual applications, this client can be: smart mobile phone, notebook computer, desktop computer, Panel computers etc., this is all rational.Moreover, it is achieved that a kind of service node that the embodiment of the present invention is provided The functional software of system of selection can be special client software, it is also possible to in existing customer's end software Plug-in unit, this is all rational.
As it is shown in figure 1, a kind of service node selection method, may include that
S101, it is thus achieved that the first current outer net IP operator's informaiton and the C sector address of the first Intranet IP;
Concrete, the first current outer net IP operator's informaiton and the can be obtained by internal queries interface The C sector address of one Intranet IP.Wherein, Intranet IP refers to LAN IP, and the C sector address of Intranet IP is interior The 128-196.0.0.0C class address of net IP.
It is understood that client obtains the first current outer net IP operator's informaiton and the first Intranet IP The specific implementation of C sector address can use any one implementation of the prior art, does not limits at this Fixed.
S102, sends the C sector address of described first outer net IP operator's informaiton and described first Intranet IP To controlling selection node interface, so that: control to select node interface according to the described first outer net IP received Operator's informaiton and the C sector address of described first Intranet IP, determine from the service node information being obtained ahead of time Go out optimal service nodal information, and described optimal service nodal information is returned to client;
It should be noted that this control selects node interface to be the api interface (Application pre-set Programming Interface, application programming interface), can communicate with client.Receiving After first outer net IP operator's informaiton of client transmission and the C sector address of the first Intranet IP, this control is selected Select node interface and can determine optimal service nodal information from the service node information being obtained ahead of time.Wherein, The service node information that this is obtained ahead of time may include that the second outer net IP operator of all preset service nodes Information, the C sector address of the second Intranet IP of all preset service nodes and all preset service node correspondence generations The quantity of reason.In actual application, after pre-setting all service nodes, system can be by all service nodes The second outer net IP operator's informaiton, the C sector address of the second Intranet IP, the quantity of corresponding agency, ID letter The information such as breath and ownership place are automatically saved in specified database, and this control selection node interface can be from this Database obtains part or all of above-mentioned information as service node information.
Further, if the second outer net IP operator of the first outer net IP operator of client and service node Identical, then the stability of the information transmission between agency and this service node of being installed in client is best; The C sector address of the first Intranet IP of client is identical with the C sector address of the second Intranet IP of service node, Information transmission speed between agency and this service node of then being installed in client is the fastest, good stability. So selecting node interface to receive the first outer net IP operator's informaiton and first that client sends in this control After the C sector address of Intranet IP, following steps can be performed:
First search and above-mentioned first outer net from the second outer net IP operator's informaiton of all preset service nodes Target the second outer net IP operator's informaiton that IP operator's informaiton is identical;
Search and above-mentioned first Intranet IP from the C sector address of the second Intranet IP of all preset service nodes again The C sector address of identical target the second Intranet IP of C sector address;
Find the C section ground of this target the second outer net IP operator's informaiton and this target the second Intranet IP at the same time In the case of location, compare this target the second outer net IP operator's informaiton corresponding preset service node correspondence agency and The quantity of the preset service node correspondence agency that the C sector address of this target the second Intranet IP is corresponding, acts on behalf of correspondence The service node information of preset service node of negligible amounts be defined as this optimal service nodal information;
Due to service node correspondence, to act on behalf of quantity the most, and the operating pressure of analysis and arrangement log information is the biggest, institute With so select service node can on the basis of the stability ensureing agency's passback log information and speed, The operating pressure of each service node of mean allocation, it is to avoid occur that individual service node pressure is excessive, causes sending out Raw mistake or the problem that cannot normally work.
On the C section ground looking only for this target the second outer net IP operator's informaiton and this target the second Intranet IP In the case of in location one, in order to ensure the stability of agency's passback log information, this mesh that will find The service node information marking preset service node corresponding to the second outer net IP operator's informaiton or this mesh found The service node information marking preset service node corresponding to the C sector address of the second Intranet IP is defined as described optimum Service node information.
S103, receives described optimal service nodal information, and determine according to described optimal service nodal information right The optimal service node answered, so that the agency that this locality is installed sets up communication link with described optimal service node Connect.
Concrete, after receiving described optimal service nodal information, according in this optimal service nodal information Second outer net IP operator's informaiton, the C sector address of the second Intranet IP, the quantity of corresponding agency determine this Optimal service node;Certainly, this optimal service nodal information can also include the ID of this optimal service node Information, can determine this optimal service node according to this id information, and this is also rational.This optimal service After node determines, the local agency installed then by the way of foundation communicates to connect with this optimal service node Set up association, in order to during follow-up intrusion detection, return log information to this optimal service node.
It should be noted that a kind of service node selection method that the embodiment of the present invention is provided, it is also possible to bag Include:
Do not finding above-mentioned target the second outer net IP operator's informaiton and the C of above-mentioned target the second Intranet IP In the case of sector address, a default service nodal information is set as described optimal service nodal information, with Ensure that agency can normally complete deployment.The default service node that this default service nodal information is corresponding can be Certain supports the IP resource of the whole network operating line, so can ensure that different agencies can save with this default service Point communicates, naturally it is also possible to the service node service node by default certain preset, it is possible to ensure Intruding detection system can normally work, and is not specifically limited at this.
Visible, in a kind of service node selection method that this programme provides, client obtains the first current fortune After the C sector address of battalion's business's information and the first Intranet IP, by described first operator's informaiton and described first Intranet IP C sector address send to control select node interface, control select node interface according to described first received Outer net IP operator's informaiton and the C sector address of described first Intranet IP, from the service node information being obtained ahead of time Determine optimal service nodal information, and described optimal service nodal information is returned to client, client According to described optimal service nodal information determine correspondence optimal service node so that locally-installed agency with This optimal service node sets up communication connection.Compared with prior art, due in this programme be not agency pass through Random manner selects corresponding service node, but according to the first operator's informaiton, the C section of the first Intranet IP Address and service node information determine optimal service node, it is contemplated that the operator of service node and client Matching, therefore, agency's passback reliability of log information, integrality are high, and good stability, speed is fast.
Corresponding to said method embodiment, the embodiment of the present invention additionally provides a kind of service node and selects device, It is applied to client, as in figure 2 it is shown, described device, may include that
Data obtaining module 210, for obtaining the first current outer net IP operator's informaiton and the first Intranet IP C sector address;
Information sending module 220, for by described first outer net IP operator's informaiton and described first Intranet IP C sector address sends to controlling selection node interface, so that: control to select node interface according to receive First outer net IP operator's informaiton and the C sector address of described first Intranet IP, from the service node letter being obtained ahead of time Breath is determined optimal service nodal information, and described optimal service nodal information is returned to client;
Optimal service node determines module 230, is used for receiving described optimal service nodal information, and according to described Optimal service nodal information determines the optimal service node of correspondence, so that the agency that this locality is installed is with described Optimal service node sets up communication connection.
Visible, a kind of service node that this programme provides selects in device, and client obtains the first current fortune After the C sector address of battalion's business's information and the first Intranet IP, by described first operator's informaiton and described first Intranet The C sector address of IP sends to controlling selection node interface, controls to select node interface according to receive First outer net IP operator's informaiton and the C sector address of described first Intranet IP, from the service joint being obtained ahead of time Dot information is determined optimal service nodal information, and described optimal service nodal information is returned to client, Client determines the optimal service node of correspondence according to described optimal service nodal information so that locally-installed Agency sets up communication connection with this optimal service node.Compared with prior art, owing to this programme not being generation Manage and select corresponding service node by random manner, but according to the first operator's informaiton, the first Intranet C sector address and the service node information of IP determine optimal service node, it is contemplated that service node and client The matching of operator, therefore, the good stability of agency's passback log information, speed is fast.
Concrete, this data obtaining module 210 specifically for: obtain current by internal queries interface First outer net IP operator's informaiton and the C sector address of the first Intranet IP.
Concrete, the above-mentioned service node information being obtained ahead of time may include that the of all preset service nodes Two outer net IP operator's informaitons, the C sector address of the second Intranet IP of all preset service nodes and all pre- If the quantity of service node correspondence agency.
Further, above-mentioned control select node interface according to this first outer net IP operator's informaiton received with The C sector address of this first Intranet IP, determines that optimal service node is believed from the service node information being obtained ahead of time Breath particularly as follows:
Search from the second outer net IP operator's informaiton of all preset service nodes and run with this first outer net IP Target the second outer net IP operator's informaiton that business's information is identical;
The C section with this first Intranet IP is searched from the C sector address of the second Intranet IP of all preset service nodes The C sector address of target the second Intranet IP that address is identical;
If find the C section of this target the second outer net IP operator's informaiton and this target the second Intranet IP simultaneously Address, compares preset service node correspondence agency corresponding to this target the second outer net IP operator's informaiton and this target The quantity of the preset service node correspondence agency that the C sector address of the second Intranet IP is corresponding, the quantity that correspondence is acted on behalf of The service node information of less preset service node is defined as this optimal service nodal information;
If looking only for the C section ground of this target the second outer net IP operator's informaiton and this target the second Intranet IP In location one, then by preset service node corresponding for this target the second outer net IP operator's informaiton found Service node information or preset service node corresponding to the C sector address of this target the second Intranet IP found Service node information is defined as this optimal service nodal information.
Further, a kind of service node that the embodiment of the present invention is provided selects device, it is also possible to including:
Default node arranges module, specifically for do not find this target the second outer net IP operator's informaiton and In the case of the C sector address of this target the second Intranet IP, a default service nodal information is set and takes as optimum Business nodal information.
It should be noted that in this article, the relational terms of such as first and second or the like be used merely to by One entity or operation separate with another entity or operating space, and not necessarily require or imply these Relation or the order of any this reality is there is between entity or operation.And, term " includes ", " comprising " Or its any other variant is intended to comprising of nonexcludability, so that include the mistake of a series of key element Journey, method, article or equipment not only include those key elements, but also other including being not expressly set out Key element, or also include the key element intrinsic for this process, method, article or equipment.Do not having In the case of more restrictions, statement " including ... " key element limited, it is not excluded that including described wanting Process, method, article or the equipment of element there is also other identical element.
Each embodiment in this specification all uses relevant mode to describe, phase homophase between each embodiment As part see mutually, what each embodiment stressed is the difference with other embodiments. For device embodiment, owing to it is substantially similar to embodiment of the method, so the comparison described Simply, relevant part sees the part of embodiment of the method and illustrates.
One of ordinary skill in the art will appreciate that all or part of step realizing in said method embodiment The program that can be by completes to instruct relevant hardware, and described program can be stored in computer-readable Take in storage medium, the storage medium obtained designated herein, such as: ROM/RAM, magnetic disc, CD etc..
The foregoing is only presently preferred embodiments of the present invention, be not intended to limit protection scope of the present invention. All any modification, equivalent substitution and improvement etc. made within the spirit and principles in the present invention, are all contained in In protection scope of the present invention.

Claims (10)

1. a service node selection method, it is characterised in that be applied to client, including:
Obtain the first current outer net IP operator's informaiton and the C sector address of the first Intranet IP;
The C sector address of described first outer net IP operator's informaiton and described first Intranet IP is sent to controlling choosing Select node interface, so that: control to select node interface according to the described first outer net IP operator's informaiton received With the C sector address of described first Intranet IP, from the service node information being obtained ahead of time, determine that optimal service saves Dot information, and described optimal service nodal information is returned to client;
Receive described optimal service nodal information, and according to described optimal service nodal information determine corresponding Excellent service node, so that the agency that this locality is installed sets up communication connection with described optimal service node.
2. the method for claim 1, it is characterised in that described in the service node information that is obtained ahead of time Including: the second outer net IP operator's informaiton of all preset service nodes, all preset service nodes second in The C sector address of net IP and the quantity of all preset service node correspondences agency.
3. method as claimed in claim 2, it is characterised in that described control selects node interface according to connecing The described first outer net IP operator's informaiton received and the C sector address of described first Intranet IP, from be obtained ahead of time Service node information is determined optimal service nodal information particularly as follows:
Search from the second outer net IP operator's informaiton of all preset service nodes and described first outer net IP fortune Target the second outer net IP operator's informaiton that battalion's business's information is identical;
The C with described first Intranet IP is searched from the C sector address of the second Intranet IP of all preset service nodes The C sector address of target the second Intranet IP that sector address is identical;
If find described target the second outer net IP operator's informaiton and described target the second Intranet IP simultaneously Preset service node correspondence agency that C sector address, relatively described target the second outer net IP operator's informaiton are corresponding and The quantity of the preset service node correspondence agency that the C sector address of described target the second Intranet IP is corresponding, by correspondence generation The service node information of the preset service node of the negligible amounts of reason is defined as described optimal service nodal information;
If looking only for described target the second outer net IP operator's informaiton and the C of described target the second Intranet IP In sector address one, then by preset service corresponding for described target the second outer net IP operator's informaiton found The service node information of node or default clothes corresponding to the C sector address of described target the second Intranet IP found The service node information of business node is defined as described optimal service nodal information.
4. method as claimed in claim 3, it is characterised in that also include:
Without finding described target the second outer net IP operator's informaiton and described target the second Intranet IP C sector address, then arrange a default service nodal information as described optimal service nodal information.
5. the method as described in any one of claim 1-4, it is characterised in that described acquisition current first outside Net IP operator's informaiton and the first Intranet IP C sector address particularly as follows:
The first current outer net IP operator's informaiton and the C section of the first Intranet IP is obtained by internal queries interface Address.
6. a service node selects device, it is characterised in that be applied to client, including:
Data obtaining module, for obtaining the first current outer net IP operator's informaiton and the C section of the first Intranet IP Address;
Information sending module, for by described first outer net IP operator's informaiton and the C section of described first Intranet IP Address sends to controlling and selects node interface, so that: control to select node interface according to described the received One outer net IP operator's informaiton and the C sector address of described first Intranet IP, from the service node information being obtained ahead of time In determine optimal service nodal information, and described optimal service nodal information is returned to client;
Optimal service node determines module, is used for receiving described optimal service nodal information, and according to described Excellent service node information determines the optimal service node of correspondence so that the agency that installed of this locality with described Excellent service node sets up communication connection.
7. device as claimed in claim 6, it is characterised in that described in the service node information that is obtained ahead of time Including: the second outer net IP operator's informaiton of all preset service nodes, all preset service nodes second in The C sector address of net IP and the quantity of all preset service node correspondences agency.
8. device as claimed in claim 7, it is characterised in that described control selects node interface according to connecing The described first outer net IP operator's informaiton received and the C sector address of described first Intranet IP, from be obtained ahead of time Service node information is determined optimal service nodal information particularly as follows:
Search from the second outer net IP operator's informaiton of all preset service nodes and described first outer net IP fortune Target the second outer net IP operator's informaiton that battalion's business's information is identical;
The C with described first Intranet IP is searched from the C sector address of the second Intranet IP of all preset service nodes The C sector address of target the second Intranet IP that sector address is identical;
If find described target the second outer net IP operator's informaiton and described target the second Intranet IP simultaneously Preset service node correspondence agency that C sector address, relatively described target the second outer net IP operator's informaiton are corresponding and The quantity of the preset service node correspondence agency that the C sector address of described target the second Intranet IP is corresponding, by correspondence generation The service node information of the preset service node of the negligible amounts of reason is defined as described optimal service nodal information;
If looking only for described target the second outer net IP operator's informaiton and the C of described target the second Intranet IP In sector address one, then by preset service corresponding for described target the second outer net IP operator's informaiton found The service node information of node or default clothes corresponding to the C sector address of described target the second Intranet IP found The service node information of business node is defined as described optimal service nodal information.
9. device as claimed in claim 8, it is characterised in that also include:
Default node arranges module, for not finding described target the second outer net IP operator's informaiton and institute When stating the C sector address of target the second Intranet IP, a default service nodal information is set as described optimal service Nodal information.
10. the device as described in any one of claim 6-9, it is characterised in that described data obtaining module has Body is used for:
The first current outer net IP operator's informaiton and the C section of the first Intranet IP is obtained by internal queries interface Address.
CN201610202265.9A 2016-03-31 2016-03-31 Service node selection method and device Pending CN105871616A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610202265.9A CN105871616A (en) 2016-03-31 2016-03-31 Service node selection method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610202265.9A CN105871616A (en) 2016-03-31 2016-03-31 Service node selection method and device

Publications (1)

Publication Number Publication Date
CN105871616A true CN105871616A (en) 2016-08-17

Family

ID=56627926

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610202265.9A Pending CN105871616A (en) 2016-03-31 2016-03-31 Service node selection method and device

Country Status (1)

Country Link
CN (1) CN105871616A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113098729A (en) * 2020-01-08 2021-07-09 百度在线网络技术(北京)有限公司 Method and device for acquiring characteristic parameters of public network, electronic equipment and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101087403A (en) * 2007-05-31 2007-12-12 吴彬 Distributed stream media order system based on P2P technology and implementation method for stream media program order
US20090225690A1 (en) * 2005-01-10 2009-09-10 Motorola, Inc. Network node, a communication network and a method of operation therefor
CN101989986A (en) * 2010-10-28 2011-03-23 北京瑞汛世纪科技有限公司 Method for inquiring service node, server and system
CN102006328A (en) * 2010-11-24 2011-04-06 中国联合网络通信集团有限公司 Peer-to-peer (P2P) streaming media distributed network system and data transmission method thereof
CN102035905A (en) * 2010-12-17 2011-04-27 北京世纪互联工程技术服务有限公司 Method for obtaining visitor Local DNS (Local Domain-Name Server)
CN103685469A (en) * 2011-06-15 2014-03-26 北京奇虎科技有限公司 P2P-based file download method and system, and client terminal
CN104219162A (en) * 2014-09-10 2014-12-17 汉柏科技有限公司 Grouping load balancing method, equipment and system based on DNS

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090225690A1 (en) * 2005-01-10 2009-09-10 Motorola, Inc. Network node, a communication network and a method of operation therefor
CN101087403A (en) * 2007-05-31 2007-12-12 吴彬 Distributed stream media order system based on P2P technology and implementation method for stream media program order
CN101989986A (en) * 2010-10-28 2011-03-23 北京瑞汛世纪科技有限公司 Method for inquiring service node, server and system
CN102006328A (en) * 2010-11-24 2011-04-06 中国联合网络通信集团有限公司 Peer-to-peer (P2P) streaming media distributed network system and data transmission method thereof
CN102035905A (en) * 2010-12-17 2011-04-27 北京世纪互联工程技术服务有限公司 Method for obtaining visitor Local DNS (Local Domain-Name Server)
CN103685469A (en) * 2011-06-15 2014-03-26 北京奇虎科技有限公司 P2P-based file download method and system, and client terminal
CN104219162A (en) * 2014-09-10 2014-12-17 汉柏科技有限公司 Grouping load balancing method, equipment and system based on DNS

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113098729A (en) * 2020-01-08 2021-07-09 百度在线网络技术(北京)有限公司 Method and device for acquiring characteristic parameters of public network, electronic equipment and storage medium
CN113098729B (en) * 2020-01-08 2022-03-18 百度在线网络技术(北京)有限公司 Method and device for acquiring characteristic parameters of public network, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
US7809667B1 (en) Rule-based network resource compliance
AU2015267387B2 (en) Method and apparatus for automating the building of threat models for the public cloud
CN111666578B (en) Data management method, device, electronic equipment and computer readable storage medium
EP1667062A1 (en) Resource reconciliation
CN102446171B (en) The method and apparatus of keyword quality score is promoted based on the evaluation and test of weighted mean click-through rate
JP5363305B2 (en) Method for determining the ID of an electronic device
CN105426234B (en) Database deadlocks detection method and device
CN105721420A (en) Access authority control method and reverse agent server
CN106502840A (en) A kind of data back up method, apparatus and system
CN104731951A (en) Data query method and device
CN105791246A (en) Information verification method, device and system
CN110225375B (en) Live broadcast room microphone connection permission detection method, storage medium, equipment and system
CN108154024B (en) Data retrieval method and device and electronic equipment
CN104144223A (en) Data obtaining method and device
CN107517121B (en) Equipment configuration method and device
CN106488585A (en) Display control method and system in wireless connection realization
CN105871616A (en) Service node selection method and device
CN107885634A (en) The treating method and apparatus of abnormal information in monitoring
CN113641742A (en) Data extraction method, device, equipment and storage medium
CN104754555A (en) Number-backfilling method and device
CN106658444A (en) Short message channel provider selection method and terminal
CN106412144A (en) Network access method and device
CN106375551A (en) Information interaction method and device, and terminal
CN110377616A (en) A kind of data-erasure method, device, electronic equipment and storage medium
CN110069730A (en) Front end page display control method, device, equipment and readable storage medium storing program for executing

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20160817