CN104301224B - The method for routing and system of a kind of client access platforms - Google Patents
The method for routing and system of a kind of client access platforms Download PDFInfo
- Publication number
- CN104301224B CN104301224B CN201410507388.4A CN201410507388A CN104301224B CN 104301224 B CN104301224 B CN 104301224B CN 201410507388 A CN201410507388 A CN 201410507388A CN 104301224 B CN104301224 B CN 104301224B
- Authority
- CN
- China
- Prior art keywords
- platform
- routing iinformation
- client
- access
- target
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Abstract
This application discloses a kind of method for routing of client access platforms and system, wherein method includes:Each management platform in multilevel network predefines the hierarchical relationship between the routing iinformation and the platform of each subordinate's platform of this platform, and after each client of this platform is logged in, the routing iinformation of the routing iinformation, the hierarchical relationship and this platform is notified to the client;When the client needs Access Management Access platform, the routing iinformation and the hierarchical relationship of the platforms at different levels currently preserved according to this client, determine that this client, to the shortest path of the target platform accessed, described access is carried out using the shortest path.Stability that client communicates across level can be effectively improved using the present invention and propagation delay time is reduced.
Description
Technical field
The present invention relates to multilevel network technology, more particularly to a kind of client accesses the route of multilevel network management platform
Method and system.
Background technology
Multilevel network management platform is combined under wide area network or other private network environment and built, and multiple management are flat
Platform service is in many set service routines that the superior and the subordinate's mode is managed.Because network environment is complex, multilevel network most higher level is used as
The client of service platform, with most subordinate's platform is communicated when, it is necessary to utilize the most parent service platform and the most subordinate
Each platform between platform is transmitted step by step.
There is problems with the platform access method of above-mentioned needs transmission information step by step:
1st, in across the level communication of client, as long as there is network problem (such as in certain level:Bandwidth-Constrained, Network Abnormal are interrupted
Deng), reliability, the stability of communication can not be guaranteed.
2nd, in across the level request video data of client, there is the data communication process of multistage, there is certain time delay, it is special
Not for data as transmission live video stream, the degree of delay more makes one to receive.
As can be seen here, exist in the client access platforms scheme of existing multilevel network communication stability it is poor, when extension etc.
Problem.
The content of the invention
In view of this, it is a primary object of the present invention to provide the method for routing and system of a kind of client access platforms,
Stability that client communicates across level can be improved and propagation delay time is reduced.
In order to achieve the above object, technical scheme proposed by the present invention is:
A kind of method for routing of client access platforms, including:
Each management platform in multilevel network predefines the routing iinformation of each subordinate's platform of this platform and described flat
Hierarchical relationship between platform, and after each client of this platform is logged in, by routing iinformation, the layer of each subordinate's platform
The routing iinformation of level relation and this platform is notified to the client;
When the client needs Access Management Access platform, the road of the platforms at different levels currently preserved according to this client
By information and the hierarchical relationship, this client is determined to the shortest path of the target platform accessed, using described most short
Path carries out described access.
A kind of route system of client access platforms, including:
Management platform, for the level between the routing iinformation and the platform of each subordinate's platform for predefining this platform
Relation, and after each client of this platform is logged in, by the routing iinformation of each subordinate's platform, the hierarchical relationship and sheet
The routing iinformation of platform is notified to the client;
Client, for when needing Access Management Access platform, according to the platforms at different levels that this client is currently preserved
Routing iinformation and the hierarchical relationship, determine this client to the shortest path of the target platform accessed, using it is described most
Short path carries out described access.
In summary, the method for routing and system of client access platforms proposed by the present invention, by pre- by management platform
The hierarchical relationship between the routing iinformation and the platform of each subordinate's platform of this platform is first determined, and notifies to give its client
End, allows client to determine the shortest path of access target platform based on these information, completes corresponding using shortest path
Access.In this way, the platform for needing to pass through by client during reduction access platform as far as possible, can effectively reduce Network Abnormal pair
The influence that client is accessed, improves the stability that client communicates across level, while access time delay can also be reduced.
Brief description of the drawings
Fig. 1 is method for routing embodiment schematic flow sheet of the invention;
Fig. 2 is route system structural representation of the invention.
Embodiment
It is right below in conjunction with the accompanying drawings and the specific embodiments to make the object, technical solutions and advantages of the present invention clearer
The present invention is described in further detail.
The present invention core concept be:The routing iinformation of platforms at different levels is notified that, to client, client is needing in advance
According to the routing iinformation of its preservation during access platform, it is determined that to the shortest path of target platform, being visited using the shortest path
Ask.In this way, the platform number passed through required for client access platforms can be reduced, so as to reduce Network Abnormal to visitor as far as possible
The influence that family end is accessed can also reduce access time delay simultaneously.
Fig. 1 is the method for routing embodiment schematic flow sheet of the client access platforms of the present invention, as shown in figure 1, the reality
Applying example mainly includes:
Each management platform in step 101, multilevel network predefines the routing iinformation of each subordinate's platform of this platform
Hierarchical relationship between the platform, and after each client of this platform is logged in, the route of each subordinate's platform is believed
The routing iinformation of breath, the hierarchical relationship and this platform is notified to the client.
In this step, each subordinate's platform that each management platform needs to predefine out this platform is (including direct or indirect
Subordinate's platform of connection) routing iinformation and platform between hierarchical relationship, then after its client Successful login, by this
A little information notify that so, each client can determine that access is flat in access platform based on these routing iinformations to client
The shortest path of platform, so as to farthest reduce the platform number passed through during access platform, so as to reduce network
The abnormal influence communicated to client across level, at the same time it can also reduce access time delay.
For example, for being made up of rank successively increased 5 platforms (platform 1, platform 2, platform 3, platform 4 and platform 5)
Multilevel network, wherein, platform 1 is lowermost level platform, and platform 5 is highest platform, and the request of platform 4 is logged in after platform 5, platform
5 by the routing iinformation of package platforms 5, and the connection logged in by platform 4 is by the routing iinformation active push to platform 4;
The request of platform 3 is logged in after platform 4, and platform 4 needs package platforms 4 and the routing iinformation and hierarchical relationship of its subordinate's platform 5, and leads to
Crossing the information active push that these encapsulates by the connection of the login of platform 3, (platform 2 logs in platform 3, the login platform of platform 1 to platform 3
2 by that analogy).When platform 1 client log in platform 1 after, platform 1 need by platform 1, platform 2, platform 3, platform 4 and
Routing iinformation and the hierarchical relationship encapsulation of platform 5, and the information active that the connection logged in by the client encapsulates these
Push to client.
Situation about being interconnected similarly, for platform in multilevel network, each subordinate can also be known using each platform of step 101
The routing iinformation of platform.For example, the three-level being made up of platform 1, platform 2, platform 3 interconnects networking, wherein, the subordinate of platform 1 puts down
Platform is platform 2, and subordinate's platform of platform 2 is platform 3, and subordinate's platform of platform 3 is platform 1.Using step 1, platform 1 can be obtained
Know the routing iinformation of platform 2 and 3, i.e., platform 2 is logged in by platform 1, platform 2 logs in platform 3 and realized.And platform 1 is platform
3 subordinate's platform, therefore, when platform 3 logs in platform 1, platform 1 can connect the road of active push platform 1,2,3 by logging in
By information to platform 3, platform 3 can know that the route of platform 1 and platform 2 is believed by being carried out to the routing iinformation after parsing filtering
Breath.
Specifically, above-mentioned routing iinformation can include IP address, port and the platform number information of platform service program.
It is preferred that each management platform can determine the routing iinformation of each subordinate's platform of this platform using following methods
Hierarchical relationship between the platform:
Management platform request logs in direct subordinate's platform of this platform, after described login successfully, it is described directly under
The routing iinformation of this platform is sent to the platform that the request is logged in by level platform, if direct subordinate's platform is currently preserved
The effective routing information of its direct or indirect subordinate's platform, then by the layer between the effective routing information and corresponding platform
Level relation is sent to the platform that the request is logged in;
Direct subordinate's platform of this platform or the routing iinformation of indirect subordinate's platform are received when each management platform
When, by the hierarchical relationship between received routing iinformation and corresponding platform, it is sent to the direct of this platform of Successful login
Upper management platform.
In the above method, information between platform sends the connection set up during by by logging in and completed, routing iinformation and flat
Hierarchical relationship between platform can be packaged using XML format, and specific method is grasped by those skilled in the art, herein no longer
Repeat.
Step 102, when the client needs Access Management Access platform, the platforms at different levels currently preserved according to this client
The routing iinformation and the hierarchical relationship, determine this client to the shortest path of the target platform accessed, utilize
The shortest path carries out described access.
In this step, client, it is necessary to first determine shortest path, is carried out when carrying out platform access using shortest path
Access, rather than the access target platform by the way of logging in step by step, so as to be greatly reduced, the quantity through platform, subtracts
Few influence of the Network Abnormal to its communication reliability, and the time delay of platform access is reduced, improve the efficiency of multistage transmission.
It is preferred that described determine the shortest path that this client arrives target access platform, carried out using the shortest path
The access includes:
Step x1, the client determine whether this client preserves the routing iinformation of accessed target platform, if
No, then step x2 is performed, if so, then judging whether the routing iinformation is effective, if it is valid, directly believing according to the route
Breath logs in the target platform, completes described access;If invalid, step x2 is performed.
This step, prioritizing selection completes to access using the effective routing information of target platform, if invalid, passes through step
X2, x3 complete the access to target platform using indirect shortest path.
In this step, judge that the whether effective specific method of routing iinformation is grasped by those skilled in the art, that is, pass through
The mode logged in using the routing iinformation is realized, if can illustrate the routing iinformation effectively with Successful login, conversely,
If it is not possible, then illustrating invalid.
Step x2, the client according to the routing iinformation and corresponding hierarchical relationship of each platform currently preserved, it is determined that
Go out the routing iinformation of this client preservation effectively and the nearest platform S of target platform described in distance in hierarchical relationship, and log in
Platform S, request accesses the target platform.
This step is used to determine that client can be accessed directly and the platform S nearest apart from the target platform, so as to
Indirect utilization platform S completes the access to target platform.
Step x3, the platform S utilize the routing iinformation of the platform S each platforms preserved and corresponding according to the request
Hierarchical relationship, determines that platform S reaches the shortest path of the target platform, and according to the shortest path, by asking for the access
Ask and be sent to the target platform, complete described access.
This step is used for the shortest path for determining that platform S reaches target platform, so as to ensure that it is flat that client is utilized
The shortest path of platform S access target platforms.
It is preferred that step x3 can be realized using following methods:
The platform S judges whether platform S protects using the routing iinformation and corresponding hierarchical relationship of each platform of its preservation
The effective routing information of the target platform is deposited, if it is, the target platform is directly logged in using the effective routing information,
The request of the access is sent to the target platform, described access is completed;Otherwise, the platform S is from the target platform
Superior platforms in, selecting platform S can directly access and the superior platforms nearest apart from the target platform, and pass through institute
The superior platforms selected log in the target platform indirectly, and the request of the access is sent into the target platform, complete
It is described to access.
In above-mentioned steps x3 concrete methods of realizing, platform S according to the direct access target platform of routing iinformation prioritizing selection,
As can not be directly accessed, by routeing the superior platforms of level relation indirect access target platform, put down by finding distance objective
The addressable superior platforms of platform recently, utilize its dereference target platform, it can be ensured that access of the platform S to target platform be
Completed using its most short active path for reaching the target platform.
Shortest path access target platform can be utilized using above-mentioned steps 102.For example, for increased successively by rank
The multilevel network of 5 platform (platform 1, platform 2, platform 3, platform 4 and platform 5) compositions, wherein, platform 1 is lowermost level platform,
Platform 5 is highest platform, when the client of platform 1 needs access platform 5, due to preserving complete road inside client
By information, therefore, the validity of each routing iinformation is may determine that by logging in connection, you can to determine that each platform whether may be used
Directly to access.
If client can direct access platform 5, then skip platform 1,2,3,4 using the connection for logging in platform 5 and carry out
Request.
If client can not access platform 5, but can access platform 4, then access platform 4 are sent between request platform 4
Connect access platform 5.
If client can not access platform 4 and platform 5, but energy access platform 3, and platform 3 can be accessed to platform
5.Then client is accessed to platform 3, after the routing iinformation of platform 3 judges that platform 5 can be accessed directly, skips platform 4, flat using logging in
The connection of platform 5 carries out dereference.
It is preferred that in order to ensure the validity of each platform routing iinformation, being needed when the routing iinformation of platform changes
Updated accordingly, you can realized using following methods:
When the routing iinformation change of a management platform, the new routing iinformation after change is sent to by the management platform
The immediate superior management platform of this platform is successfully logged onto, triggering immediate superior management platform carries out corresponding routing iinformation more
Newly.
It is preferred that the accuracy in order to improve the routing iinformation that each platform or client are safeguarded, each platform or client
Validity monitoring actively can also be carried out to the routing iinformation itself preserved, can specifically be realized using following methods:
Each routing iinformation that each platform and each client are preserved to itself carries out validity monitoring, when monitoring
When one routing iinformation is invalid, it is invalid to identify the routing iinformation, and the cycle is reconnected according to default, periodically monitors itself to nothing
The accessibility of platform corresponding to the routing iinformation of effect, when monitoring reachable, the invalid routing iinformation is designated effectively.
Specifically, the validity of routing iinformation can be detected by way of login here.
It is described to reconnect the cycle and according to actual needs be set by those skilled in the art.
It is preferred that the accuracy of the routing iinformation in order to improve its direct subordinate's platform that each platform is preserved, each platform
It can also be monitored by being connected to it with the login of direct subordinate's platform, the company between direct subordinate's platform is known in time
Connect and whether disconnect, and carry out corresponding routing iinformation maintenance, specifically can realize this purpose using following methods:
Whether the connection that each platform is monitored between this platform and direct subordinate's platform in real time disconnects, if off then
The corresponding routing iinformation of the connection itself preserved is deleted, according to the default recovery monitoring cycle, periodically request is logged in
Corresponding direct subordinate's platform, and when logining successfully, preserve direct subordinate's platform that direct subordinate's platform is pushed
Routing iinformation.
Specifically, monitor the connection between this platform and direct subordinate's platform and whether disconnect and existing method can be used real
It is existing, you can be completed using TCP keepalive methods.When finding to disconnect, then need to delete the corresponding direct subordinate of the connection
The routing iinformation of platform, hereafter also needs to know the accessibility to direct subordinate's platform in time by periodically login mode.
In this way, each platform can be enable to obtain the routing iinformation of addressable platform in time.
It is preferred that the validity of the routing iinformation in order to increase the affiliated management platform that each client is preserved, each client
End can know the company between affiliated management platform in time by being monitored to its connection between affiliated management platform
Connect and whether disconnect, and carry out corresponding routing iinformation maintenance, specifically can realize this purpose using following methods:
Each client monitors whether itself connection between affiliated management platform disconnects in real time, if off then
The routing iinformation of the affiliated management platform itself preserved is deleted, according to the default recovery monitoring cycle, periodically request is logged in
Its affiliated management platform, and when logining successfully, preserve the routing iinformation that affiliated management platform is pushed.
Specifically, the disconnection connected between monitor client and platform can be realized using existing method, you can utilize TCP
Keepalive methods are completed.
In the above method, the recovery monitoring cycle can according to actual needs be set by those skilled in the art.
By the above method as can be seen that the method for routing of the present invention may insure across the level access of client under multilevel network
The stability of platform simultaneously can improve multistage efficiency of transmission.
Fig. 2 is the route system of client access platforms corresponding with the above method, as shown in Fig. 2 the system includes:
Management platform, for the level between the routing iinformation and the platform of each subordinate's platform for predefining this platform
Relation, and after each client of this platform is logged in, the route of the routing iinformation, the hierarchical relationship and this platform is believed
Breath is notified to the client;
Client, for when needing Access Management Access platform, according to the platforms at different levels that this client is currently preserved
Routing iinformation and the hierarchical relationship, determine this client to the shortest path of the target platform accessed, using it is described most
Short path carries out described access.
It is preferred that the hierarchical relationship bag between the routing iinformation and the platform of each subordinate's platform for determining this platform
Include:
Management platform request logs in direct subordinate's platform of this platform, after described login successfully, it is described directly under
The routing iinformation of this platform is sent to the platform that the request is logged in by level platform, if direct subordinate's platform is currently preserved
The effective routing information of its direct or indirect subordinate's platform, then by the layer between the effective routing information and corresponding platform
Level relation is sent to the platform that the request is logged in;
Direct subordinate's platform of this platform or the routing iinformation of indirect subordinate's platform are received when each management platform
When, by the hierarchical relationship between received routing iinformation and corresponding platform, it is sent to the direct of this platform of Successful login
Upper management platform.
It is preferred that described determine the shortest path that this client arrives target access platform, carried out using the shortest path
The access includes:
X1, the client determine whether this client preserves the routing iinformation of accessed target platform, if not provided,
Step x2 is then performed, if so, then judging whether the routing iinformation is effective, if it is valid, directly being stepped on according to the routing iinformation
The target platform is recorded, described access is completed;If invalid, step x2 is performed;
X2, the client determine this according to the routing iinformation and corresponding hierarchical relationship of each platform currently preserved
Client preserve routing iinformation effectively and the nearest platform S of target platform described in distance in hierarchical relationship, and log in this put down
Platform S, request accesses the target platform;
X3, the platform S utilize the routing iinformation and corresponding level of the platform S each platforms preserved according to the request
Relation, determines that platform S reaches the shortest path of the target platform, and according to the shortest path, the request of the access is sent out
The target platform is given, described access is completed.
It is preferred that the step x3 includes:
The platform S judges whether platform S protects using the routing iinformation and corresponding hierarchical relationship of each platform of its preservation
The effective routing information of the target platform is deposited, if it is, the target platform is directly logged in using the effective routing information,
The request of the access is sent to the target platform, described access is completed;Otherwise, the platform S is from the target platform
Superior platforms in, selecting platform S can directly access and the superior platforms nearest apart from the target platform, and pass through institute
The superior platforms selected log in the target platform indirectly, and the request of the access is sent into the target platform, complete
It is described to access.
It is preferred that the management platform, it is further used for when the routing iinformation change of this platform, will be new after change
Routing iinformation is sent to the immediate superior management platform for being successfully logged onto this platform, and triggering immediate superior management platform carries out phase
The updating route information answered.
It is preferred that the management platform, is further used for carrying out validity monitoring to each routing iinformation itself preserved, when
Monitor a routing iinformation it is invalid when, identify the routing iinformation to be invalid, according to it is default monitor with reconnecting cycle from
The accessibility of platform corresponding to body to invalid routing iinformation, when monitoring reachable, the invalid routing iinformation is designated
Effectively;
The client, is further used for carrying out validity monitoring to each routing iinformation itself preserved, when monitoring one
When routing iinformation is invalid, it is invalid to identify the routing iinformation, arrives invalid according to the default monitoring for reconnecting cycle itself
Routing iinformation corresponding to platform accessibility, monitor up to when, the invalid routing iinformation is designated effectively.
It is preferred that the management platform, is further used for monitoring the connection between this platform and direct subordinate's platform in real time
Whether disconnect, if off, then the corresponding routing iinformation of the connection of itself preservation is deleted, it is all according to default recovery monitoring
Phase, periodically request logs in corresponding direct subordinate's platform, and when logining successfully, preserves direct subordinate's platform and push
Routing iinformation;
The client, is further used for monitoring whether itself connection between affiliated management platform disconnects in real time, such as
Resolutely open, then delete the routing iinformation of the affiliated management platform of itself preservation, recover the monitoring cycle according to default, periodically
Request logs in its affiliated management platform, and when logining successfully, preserves the routing iinformation that affiliated management platform is pushed.
In summary, presently preferred embodiments of the present invention is these are only, is not intended to limit the scope of the present invention.
Within the spirit and principles of the invention, any modification, equivalent substitution and improvements made etc., should be included in the present invention's
Within protection domain.
Claims (12)
1. a kind of method for routing of client access platforms, it is characterised in that including:
Each management platform in multilevel network predefine each subordinate's platform of this platform routing iinformation and the platform it
Between hierarchical relationship, and this platform each client log in after, by the routing iinformation of each subordinate's platform, the level close
The routing iinformation of system and this platform is notified to the client;
When the client needs Access Management Access platform, the route letter of the platforms at different levels currently preserved according to this client
Breath and the hierarchical relationship, determine that this client, to the shortest path of the target platform accessed, utilizes the shortest path
Carry out described access;
It is described to determine the shortest path that this client arrives target access platform, carry out described access using the shortest path and wrap
Include:
X1, the client determine whether this client preserves the routing iinformation of accessed target platform, if it is not, holding
Row step x2, if so, then judging whether the routing iinformation is effective, if it is valid, directly logging in institute according to the routing iinformation
Target platform is stated, described access is completed;If invalid, step x2 is performed;
X2, the client determine this client according to the routing iinformation and corresponding hierarchical relationship of each platform currently preserved
Hold the routing iinformation preserved effectively and the nearest platform S of target platform described in distance in hierarchical relationship, and log in platform S,
Request accesses the target platform;
X3, the platform S are according to the request, using the routing iinformation and corresponding hierarchical relationship of the platform S each platforms preserved,
Determine that platform S reaches the shortest path of the target platform, and according to the shortest path, the request of the access is sent to institute
Target platform is stated, described access is completed.
2. according to the method described in claim 1, it is characterised in that the routing iinformation of each subordinate's platform for determining this platform
Hierarchical relationship between the platform includes:
The management platform request logs in direct subordinate's platform of this platform, after described login successfully, and the direct subordinate puts down
The routing iinformation of this platform is sent to the management platform that the request is logged in by platform, if direct subordinate's platform is currently preserved
The effective routing information of its direct or indirect subordinate's platform, then by the layer between the effective routing information and corresponding platform
Level relation is sent to the platform that the request is logged in;
When each management platform receive this platform direct subordinate's platform or indirect subordinate's platform routing iinformation when, will
Hierarchical relationship between received routing iinformation and corresponding platform, is sent to the immediate superior pipe of this platform of Successful login
Platform.
3. according to the method described in claim 1, it is characterised in that the step x3 includes:
The platform S judges whether platform S preserves institute using the routing iinformation and corresponding hierarchical relationship of each platform of its preservation
The effective routing information of target platform is stated, if it is, the target platform is directly logged in using the effective routing information, by institute
The request for stating access is sent to the target platform, completes described access;Otherwise, the platform S is from the upper of the target platform
In level platform, selecting platform S can directly access and the superior platforms nearest apart from the target platform, and by selected
The superior platforms gone out log in the target platform indirectly, and the request of the access is sent into the target platform, complete described
Access.
4. method according to claim 2, it is characterised in that methods described further comprises:
When the routing iinformation change of a management platform, the new routing iinformation after change is sent to by the management platform to have succeeded
Sign in the immediate superior management platform of this platform, triggering immediate superior management platform carries out corresponding updating route information.
5. method according to claim 2, it is characterised in that methods described further comprises:
Each routing iinformation that each platform and each client are preserved to itself carries out validity monitoring, when monitoring all the way
By information it is invalid when, the routing iinformation is identified to be invalid, according to the default monitoring for reconnecting cycle itself to invalid
The accessibility of platform corresponding to routing iinformation, when monitoring reachable, the invalid routing iinformation is designated effectively.
6. method according to claim 2, it is characterised in that methods described further comprises:
Whether the connection that each platform is monitored between this platform and direct subordinate's platform in real time disconnects, if off then deleting
The corresponding routing iinformation of the connection that itself is preserved, according to the default recovery monitoring cycle, periodically request logs in correspondence
Direct subordinate's platform, and when logining successfully, preserve the routing iinformation that direct subordinate's platform is pushed;
Each client monitors whether itself connection between affiliated management platform disconnects in real time, if off then deleting
The routing iinformation for the affiliated management platform that itself is preserved, according to the default recovery monitoring cycle, periodically request logs in its institute
Belong to management platform, and when logining successfully, preserve the routing iinformation that affiliated management platform is pushed.
7. a kind of route system of client access platforms, it is characterised in that including:
Management platform, is closed for the level between the routing iinformation and the platform of each subordinate's platform for predefining this platform
System, and after each client of this platform is logged in, put down the routing iinformation of each subordinate's platform, the hierarchical relationship and originally
The routing iinformation of platform is notified to the client;
Client, for when needing Access Management Access platform, the route of the platforms at different levels currently preserved according to this client
Information and the hierarchical relationship, determine that this client, to the shortest path of the target platform accessed, utilizes the shortest path
Footpath carries out described access;
It is described to determine the shortest path that this client arrives target access platform, carry out described access using the shortest path and wrap
Include:
X1, the client determine whether this client preserves the routing iinformation of accessed target platform, if it is not, holding
Row step x2, if so, then judging whether the routing iinformation is effective, if it is valid, directly logging in institute according to the routing iinformation
Target platform is stated, described access is completed;If invalid, step x2 is performed;
X2, the client determine this client according to the routing iinformation and corresponding hierarchical relationship of each platform currently preserved
Hold the routing iinformation preserved effectively and the nearest platform S of target platform described in distance in hierarchical relationship, and log in platform S,
Request accesses the target platform;
X3, the platform S are according to the request, using the routing iinformation and corresponding hierarchical relationship of the platform S each platforms preserved,
Determine that platform S reaches the shortest path of the target platform, and according to the shortest path, the request of the access is sent to institute
Target platform is stated, described access is completed.
8. route system according to claim 7, it is characterised in that the route of each subordinate's platform of described this platform of determination
Hierarchical relationship between information and the platform includes:
The management platform request logs in direct subordinate's platform of this platform, after described login successfully, and the direct subordinate puts down
The routing iinformation of this platform is sent to the platform that the request is logged in by platform, if direct subordinate's platform currently saves it
The effective routing information of direct or indirect subordinate platform, then close the level between the effective routing information and corresponding platform
System is sent to the platform that the request is logged in;
When each management platform receive this platform direct subordinate's platform or indirect subordinate's platform routing iinformation when, will
Hierarchical relationship between received routing iinformation and corresponding platform, is sent to the immediate superior pipe of this platform of Successful login
Platform.
9. route system according to claim 7, it is characterised in that the step x3 includes:
The platform S judges whether platform S preserves institute using the routing iinformation and corresponding hierarchical relationship of each platform of its preservation
The effective routing information of target platform is stated, if it is, the target platform is directly logged in using the effective routing information, by institute
The request for stating access is sent to the target platform, completes described access;Otherwise, the platform S is from the upper of the target platform
In level platform, selecting platform S can directly access and the superior platforms nearest apart from the target platform, and by selected
The superior platforms gone out log in the target platform indirectly, and the request of the access is sent into the target platform, complete described
Access.
10. route system according to claim 8, it is characterised in that the management platform is further used for:
When the routing iinformation change of this platform, the new routing iinformation after change is sent to and has been successfully logged onto this platform
Immediate superior management platform, triggering immediate superior management platform carries out corresponding updating route information.
11. route system according to claim 8, it is characterised in that
The management platform, is further used for carrying out validity monitoring to each routing iinformation itself preserved, when monitoring all the way
By information it is invalid when, identify the routing iinformation to be invalid, itself monitored with reconnecting cycle to invalid according to default
The accessibility of platform corresponding to routing iinformation, when monitoring reachable, the invalid routing iinformation is designated effectively;
The client, is further used for carrying out validity monitoring to each routing iinformation itself preserved, when monitoring a route
When information is invalid, it is invalid to identify the routing iinformation, and itself invalid road is arrived according to the default monitoring for reconnecting cycle
The accessibility of platform as corresponding to information, when monitoring reachable, the invalid routing iinformation is designated effectively.
12. route system according to claim 8, it is characterised in that the management platform, is further used for monitoring in real time
Whether the connection between this platform and direct subordinate's platform disconnects, if off the connection for then deleting itself preservation is corresponding
Routing iinformation, according to the default recovery monitoring cycle, periodically request logs in corresponding direct subordinate's platform, and is logging in
During success, the routing iinformation that direct subordinate's platform is pushed is preserved;
The client, is further used for monitoring whether itself connection between affiliated management platform disconnects in real time, such as resolute
Open, then delete the routing iinformation of the affiliated management platform of itself preservation, according to the default recovery monitoring cycle, periodically ask
Its affiliated management platform is logged in, and when logining successfully, preserves the routing iinformation that affiliated management platform is pushed.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410507388.4A CN104301224B (en) | 2014-09-28 | 2014-09-28 | The method for routing and system of a kind of client access platforms |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410507388.4A CN104301224B (en) | 2014-09-28 | 2014-09-28 | The method for routing and system of a kind of client access platforms |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104301224A CN104301224A (en) | 2015-01-21 |
CN104301224B true CN104301224B (en) | 2017-11-03 |
Family
ID=52320797
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410507388.4A Active CN104301224B (en) | 2014-09-28 | 2014-09-28 | The method for routing and system of a kind of client access platforms |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104301224B (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP0637153B1 (en) * | 1993-07-30 | 2001-10-31 | International Business Machines Corporation | Method and apparatus for an automatic decomposition of a network topology into a backbone and subareas |
CN1984038A (en) * | 2006-04-06 | 2007-06-20 | 华为技术有限公司 | Cascade management system and method for selecting end to end routing |
CN103023781A (en) * | 2012-12-13 | 2013-04-03 | 清华大学 | Shortest path tree and spanning tree combined energy-saving routing method |
EP2592799A1 (en) * | 2011-11-11 | 2013-05-15 | Telefonaktiebolaget L M Ericsson (Publ) | Technique for re-routing traffic in a network topology |
-
2014
- 2014-09-28 CN CN201410507388.4A patent/CN104301224B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP0637153B1 (en) * | 1993-07-30 | 2001-10-31 | International Business Machines Corporation | Method and apparatus for an automatic decomposition of a network topology into a backbone and subareas |
CN1984038A (en) * | 2006-04-06 | 2007-06-20 | 华为技术有限公司 | Cascade management system and method for selecting end to end routing |
EP2592799A1 (en) * | 2011-11-11 | 2013-05-15 | Telefonaktiebolaget L M Ericsson (Publ) | Technique for re-routing traffic in a network topology |
CN103023781A (en) * | 2012-12-13 | 2013-04-03 | 清华大学 | Shortest path tree and spanning tree combined energy-saving routing method |
Also Published As
Publication number | Publication date |
---|---|
CN104301224A (en) | 2015-01-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105308930B (en) | Connection publication in distributed load balancer | |
CN105308929B (en) | Method and distributed load balancer system for distributed load balance | |
CN105264865B (en) | Method and distributed load balancer system for distributed load balance | |
CN105308931B (en) | Distributed load balancer system and balancing method of loads | |
CN107465590A (en) | Network infrastructure system, the method for route network traffic and computer-readable medium | |
US20140229945A1 (en) | Network control using software defined flow mapping and virtualized network functions | |
CN107637037A (en) | The system and method being route for the virtual interface in global virtual network and high-grade intelligent | |
CN101764757B (en) | Method, device and system for content accessing | |
CN102647487B (en) | Method for saving Internet protocol (IP) addresses and access proxy equipment | |
CN104618243B (en) | Method for routing, apparatus and system, Scheduling of Gateway method and device | |
CN106687974A (en) | Attack observation device and attack observation method | |
CN108234523B (en) | Multi-level internal and external network data interaction system applied to television station | |
CN102420868B (en) | The providing method of service, apparatus and system | |
CN103685584B (en) | A kind of anti-Domain Hijacking method and system based on tunneling technique | |
CN104144080A (en) | System and method for managing terminal equipment through far-end equipment | |
CN107800625A (en) | A kind of message forwarding method and device | |
EP2467979B1 (en) | Link state identifier collision handling | |
CN104662859A (en) | Connection recovery method, device and system | |
CN101808107B (en) | Storage device and user communication method, device and system | |
CN103747116A (en) | Business access method and device based on Layer 2 Tunneling Protocol (L2TP) | |
CN107181681A (en) | SDN layer 2 forwarding methods and system | |
CN106375355A (en) | Load balancing processing method and apparatus | |
CN102780701B (en) | Access control method and equipment | |
CN104301224B (en) | The method for routing and system of a kind of client access platforms | |
CN103686447B (en) | Video transmission method and 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 | ||
CB02 | Change of applicant information | ||
CB02 | Change of applicant information |
Address after: 350108, No. 2, building 9, 7 hi tech Avenue, Fuzhou Town, Minhou County, Fujian, China Applicant after: Fujian star net joint information system Co., Ltd. Address before: 350108, No. 2, building 9, 7 hi tech Avenue, Fuzhou Town, Minhou County, Fujian, China Applicant before: Fujian Star-Net Security Technology Co., Ltd. |
|
GR01 | Patent grant | ||
GR01 | Patent grant |