CN102546226A - Multi-node-based network service provision system and method - Google Patents
Multi-node-based network service provision system and method Download PDFInfo
- Publication number
- CN102546226A CN102546226A CN201110084806XA CN201110084806A CN102546226A CN 102546226 A CN102546226 A CN 102546226A CN 201110084806X A CN201110084806X A CN 201110084806XA CN 201110084806 A CN201110084806 A CN 201110084806A CN 102546226 A CN102546226 A CN 102546226A
- Authority
- CN
- China
- Prior art keywords
- service
- node
- client
- preference
- listing
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Landscapes
- Computer And Data Communications (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention relates to a multi-node-based network service provision system and a multi-node-based network service provision method. The system comprises a plurality of service nodes, a client and a service node control module, wherein each service node is used for checking whether the service node has corresponding service contents or not according to a service request initiated by the client; the service node control module is used for allocating service cases to the service nodes according to the acquired information of the service nodes, maintaining dynamic corresponding relationships between the service cases and the service nodes and the service provision conditions of the service nodes, and simultaneously returning a list of candidate nodes corresponding to the service case to the client in response to the node query of the client; and the client creates and dynamically maintains a preference node list according to historical service acquisition conditions, dynamically updates the preference degrees of nodes in the preference node list, and acquires service from a node capable of providing the service. By the system and the method, service response can be quickened, and network transmission performance can be improved.
Description
Technical field
The present invention relates to the network service field, particularly a kind of system and method for providing services on the Internet based on multinode.
Background technology
Growing along with the Internet user makes up high performance network service system, reduces operating lag, realizes that simultaneously the optimization of network performance becomes pendulum a major challenge in face of people.Majority of network service is at present adopted a plurality of nodes to make up and is formed, and utilizes a plurality of nodes to the user service to be provided simultaneously, to promote service performance is provided.In addition, in existing method, can make service node more near the user, improve service response speed, like CDN through node being realized distribute on the geographical position.
The core that makes up the multinode network service system is: select service node dynamically to different client side.In existing method, client is static to choosing of service node, and promptly client is in service acquisition procedure; Only from node transmission data, when service acquisition procedure consuming time when longer, might be in service acquisition procedure; Response speed node has faster become available; Client can't be changed to faster node transmission data, and system resource fails to make full use of, and client user's service experience degree does not reach optimization.In addition, aspect service node chose, prior art was all to need to realize to service node managing and control system application candidate node list through the client service of asking at every turn.Increased the weight of the load of managing and control system so on the one hand,, and caused bigger Network Transmission expense on the other hand owing to final choosing of service node has the irregularities that enchancement factor causes transfer of data.
Summary of the invention
The objective of the invention is to, propose the system and method that a kind of multinode provides services on the Internet and realize optimizing service response speed and network transmission performance.
For solving goal of the invention, the present invention proposes a kind of system that provides services on the Internet based on multinode, and this system comprises: a plurality of service nodes and client; It is characterized in that this system also comprises: service node management and control module;
Described service node is used for checking whether have corresponding Service Instance according to the services request that client is initiated, and simultaneously, reports the load and the services request probability of this node to described service node management and control module through the timing heartbeat of service node; If corresponding Service Instance is arranged, then service node judges whether to described client respective service to be provided according to strategy;
Described service node management and control module is used for disposing Service Instance to service node according to the load of the service node that collects and the information of services request probability; And the dynamic corresponding relation of maintenance service instance and service node and the service of service node provide situation; Simultaneously, the service node of customer in response end is inquired about, and returns the candidate node list of corresponding with service instance to client;
Described client is used for that according to history service obtains that situation is created and the preferred node listing of Dynamic Maintenance and dynamically update the preference of preferred node listing node; And at first obtain service to described service node according to preferential node listing;
1) if the service node in the preferred node listing has been disposed respective service, then the client node that preference is the highest in preferred node listing is initiated services request:
11) if client can be obtained service by the highest node of preference from preferred node listing, then obtain respective service;
12) if client can not be obtained service by the highest node of preference from preferred node listing, the node that then preference ranked second in preferred node listing is initiated services request, and the like, until obtaining respective service;
Above-mentioned obtain respective service in; Dynamically update the preference of current service node based on the situation of the service of obtaining, the high node of present node preference that regularly obtains service than client in the preferred node listing after dynamically updating is initiated services request then;
13) if the current service node select degree after dynamically updating is the highest, then client continues to obtain respective service;
14) if the current service node select degree after dynamically updating is not the highest, the node that then preference is the highest in the preferred node listing of client after dynamically updating is initiated services request;
If client can the preferred node listing after dynamically updating the highest node of preference obtain service, then switch to this node and continue to obtain respective service; If client can not the preferred node listing after dynamically updating the highest node of preference obtain service; The node that then preference ranked second in preferred node listing is initiated services request; And the like, the high node of present node preference that obtains service than client in the preferred node listing after dynamically updating continues to obtain respective service;
Above-mentioned continue to obtain respective service in; Situation based on the service of obtaining dynamically updates current service node select degree, regularly obtains the high node initiation services request of present node preference of service than client in the preferred node listing after dynamically updating then;
Repeating step 13) and 14) intactly obtain service until client from service node;
2) if the service node in the preferred node listing is not all disposed the respective service instance; Then client is obtained the candidate node list with respective service to described service node management and control module; Arbitrary service node in candidate node list is initiated services request and is obtained respective service at random; In the service of obtaining; Whether the preference that provides situation to calculate this node according to the service of current service node is carried out size with this node select degree and the service node preference in the preferred node listing and is relatively adjudicated and this node is added in the preferred node listing; Regularly obtain the highest node initiation services request of present node preference of service than client in the preferred node listing after dynamically updating then;
Repeat described 13) and 14) until client from the complete service of obtaining of service node.
Described service node judges whether to provide the strategy of respective service to adopt service feature and local load combinations to judge to described client;
When business for downloading time-like, the content breakpoint of service node local disposition is as long as just can provide service to client greater than the client-requested breakpoint; When business was application class, service node will finish and successfully start this application and could service be provided to client at local disposition.
Service node in the described preferred node listing is that client received all nodes of service or the highest part of nodes of preference that client received service.
Described services request probability is meant that client is initiated the request number of times to a service to it between service node recording timing heart beat period.
For realizing the foregoing invention purpose, the present invention also proposes a kind of method of providing services on the Internet based on multinode, and these method concrete steps comprise:
Step 51): the services request that service node is initiated according to client checks whether have corresponding Service Instance; Simultaneously, report the load and the services request probability of this node to described service node management and control module through the timing heartbeat of service node; If corresponding Service Instance is arranged, then service node judges whether to described client respective service to be provided according to strategy;
Step 52): service node management and control module is according to described step 51) in load and the information of services request probability of this node of reporting through the timing heartbeat of service node dispose Service Instance to service node; And the dynamic corresponding relation of maintenance service instance and service node and the service of service node provide situation; Simultaneously, the service node of customer in response end is inquired about, and returns the candidate node list of corresponding with service instance to client;
Step 53): client according to history service obtain that situation is created and the preferred node listing of Dynamic Maintenance and dynamically update the preference of node in the preferred node listing; If the service node in the preferred node listing has been disposed the respective service content, go to step 55); If the service node in the preferred node listing is not all disposed the respective service content; Then client is at random to described step 52) arbitrary service node in the candidate node list that obtains initiates services request and obtains respective service; In the service of obtaining; Whether the preference that provides situation to calculate this node according to the service of current service node is carried out size with this node select degree and the service node preference in the preferred node listing and is relatively adjudicated and this node is added in the preferred node listing; Go to step 54);
Step 54): client is according to described step 53) preference of the current service node that calculate to obtain upgrades preferred node listing;
If the current service node select degree after dynamically updating is the highest, then client continues to obtain respective service;
If the current service node select degree after dynamically updating is not the highest, the node that then preference is the highest in the preferred node listing of client after dynamically updating is initiated services request;
If client can the preferred node listing after dynamically updating the highest node of preference obtain service, then switch to this node and continue to obtain respective service;
If client can not the preferred node listing after dynamically updating the highest node of preference obtain service; The node that then preference ranked second in preferred node listing is initiated services request; And the like, the high node of present node preference that obtains service than client in the preferred node listing after dynamically updating continues to obtain respective service;
Above-mentioned continue to obtain respective service in; Situation based on the service of obtaining dynamically updates current service node select degree, regularly obtains the high node initiation services request of present node preference of service than client in the preferred node listing after dynamically updating then;
Repeat described step 54) until client from the complete service of obtaining of service node;
Step 55): the client node that preference is the highest in preferred node listing is initiated services request; If client can be obtained service by the highest node of preference from preferred node listing, then obtain respective service; If client can not be obtained service by the highest node of preference from preferred node listing, the node that then preference ranked second in preferred node listing is initiated services request, and the like, until obtaining respective service;
When obtaining respective service, dynamically update the preference of current service node according to the situation of the service of obtaining, go to step 56 then);
Step 56): client is regularly to described step 55) the high node of present node preference that obtains service than client in the preferred node listing after dynamically updating initiates services request;
If the current service node select degree after dynamically updating is the highest, then client continues to obtain respective service from the current service node;
If the current service node select degree after dynamically updating is not the highest, the node that then preference is the highest in the preferred node listing of client after dynamically updating is initiated services request;
If client can the preferred node listing after dynamically updating the highest node of preference obtain respective service, then switch to this node and continue the service of obtaining,
If client can not the preferred node listing after dynamically updating the highest node of preference obtain respective service; The node that then preference ranked second in preferred node listing is initiated services request; And the like, the high node of present node preference that obtains service than client in the preferred node listing after dynamically updating continues to obtain respective service;
Above-mentioned continue to obtain respective service in, dynamically update the preference of current service node, the high node of present node preference that regularly obtains service than client in the preferred node listing after dynamically updating is then initiated services request;
Repeat described step 56) until client from the complete service of obtaining of service node.
Described service node judges whether to provide the strategy of respective service to adopt service feature and local load combinations to judge to described client;
When business for downloading time-like, the content breakpoint of service node local disposition is as long as just can provide service to client greater than the client-requested breakpoint; When business was application class, service node will finish and successfully start this application and could service be provided to client at local disposition.
Service node in the described preferred node listing is that client received all nodes of service or the highest part of nodes of preference that client received service.
Described services request probability is meant that client is initiated the request number of times to a service to it between service node recording timing heart beat period.
The invention has the advantages that at first, the present invention promotes service response speed.Because network topology is constant relatively; Client can the fastest node of recording responses through historical experience; And preferentially services request is proposed to it, do not hit even obtain, because node can initiatively be disposed the acquisition speed of speed far above client to the Service Instance of managing and control system request Service Instance and node; Through handed over service node in due course, can realize the lifting of response speed on the whole; Secondly, the present invention optimizes network transmission performance.The present invention need not client at every turn to managing and control system application candidate node list, has reduced the load of managing and control system; In addition, Service Instance is disposed to optimum node, realized that the service request of obtaining that each client is independent, discrete gathers, thereby reduced the Network Transmission expense through request behavior according to client.
Description of drawings
Fig. 1 is based on the system construction drawing that multinode is provided services on the Internet;
Fig. 2 is based on multinode and provides that to download content be the method flow diagram of network Service Instance;
Fig. 3 is the flow chart that the client cycle carries out content requests to preferred node.
Embodiment
Below in conjunction with accompanying drawing and specific embodiment the present invention is carried out detailed explanation.
As shown in Figure 1, Fig. 1 is based on the system construction drawing that multinode is provided services on the Internet.The system that provides services on the Internet based on multinode that the present invention proposes comprises: service node management and control module, service node and client.Service node management and control module can adopt centralized or distributed deployment.
Each service node load and services request probability that service node management and control module is obtained according to the cycle heartbeat of service node; Be responsible for Service Instance is disposed to service node, and the dynamic corresponding relation of maintenance service instance and node and the service of node provide situation; Simultaneously, the querying node of customer in response end returns the candidate node list of corresponding with service instance.Node in the candidate node list by client to the application of management and control module, to service node certain service, that disposed.The services request probability is that client is initiated the services request number of times to certain service to it between service node recording timing heart beat period.
The services request that service node is initiated according to client checks whether have corresponding Service Instance; Simultaneously, report the load and the requested information on services of this node to described service node management and control module through the timing heartbeat of service node; If corresponding Service Instance is arranged, then judge whether respective service to be provided to described client according to strategy.
Client is responsible for that based on history service obtains that situation is created and the preferred node listing of Dynamic Maintenance and upgrade the preference of node in the preferred node listing, and initiates services request to service node and obtain service.Preferred node listing and preference all are dynamic.Preferred node listing is a dynamic listing of being safeguarded based on the historical information that receives service by client, and the service node in the tabulation is arranged by preference order from high in the end.Preference is that client is in the cumulative mean value that receives the service quality of enjoying when serving.
Client is at first obtained service according to preferential node listing to service node; If the service node in the preferred node listing has been disposed respective service; Then the client node that preference is the highest in preferred node listing is initiated services request; If client can be obtained service by the highest node of preference from preferred node listing, then obtain respective service; In the service of obtaining, dynamically update the preference of current service node according to the situation of the service of obtaining, the high node of present node preference that regularly obtains service than client in the preferred node listing after dynamically updating is then initiated services request; If client can not be obtained service by the highest node of preference from preferred node listing, the node that then preference ranked second in preferred node listing is initiated services request, and the like, until obtaining respective service; In the service of obtaining, dynamically update the preference of current service node according to the situation of the service of obtaining, the high node of present node preference that regularly obtains service than client in the preferred node listing after dynamically updating is then initiated services request.Client is that services request is initiated to the node higher than current service node select degree in the service limit that edge joint receipts current service node provides.
If the current service node select degree after dynamically updating is the highest, then client continues to obtain respective service; And; In the service of obtaining; Dynamically update the preference of current service node according to the situation of the service of obtaining, the high node of present node preference that regularly obtains service than client in the preferred node listing after dynamically updating is then initiated services request; If the current service node select degree after dynamically updating is not the highest, the node that then preference is the highest in the preferred node listing of client after dynamically updating is initiated services request; If client can the preferred node listing after dynamically updating the highest node of preference continue to obtain respective service; Then switch to this node and continue to obtain respective service; And; When continuing to obtain respective service, dynamically update current service node select degree according to the situation of the service of obtaining, the high node of present node preference that regularly obtains service than client in the preferred node listing after dynamically updating is then initiated services request; If client can not the preferred node listing after dynamically updating the highest node of preference continue to obtain respective service; The node that then preference ranked second in preferred node listing is initiated services request; And the like, the high node of present node preference that obtains service than client in the preferred node listing after dynamically updating continues to obtain respective service; And, when continuing to obtain respective service, dynamically update the preference of current service node, regularly obtain the high node initiation services request of present node preference of service than client in the preferred node listing after dynamically updating then; This process repeats to accomplish until the client service of obtaining.It is initiatively to be initiated by client that client switches to the service of obtaining of preferred node, the state of client maintenance service.And when the client switching node obtains service, be on the basis that obtains service before, promptly client switches to the node continuation higher than current service node select degree and obtains service accordingly.
If the service node in the preferred node listing is not all disposed the respective service instance; Then client is obtained the candidate node list with respective service to service node management and control module; Arbitrary service node in candidate node list is initiated services request and is obtained respective service at random; In the service of obtaining; Whether the preference that provides situation to calculate this node based on the service of current service node is carried out size with this node select degree and the service node preference in the preferred node listing and is relatively adjudicated and this node is added in the preferred node listing; Regularly obtain the highest node initiation services request of present node preference of service than client in the preferred node listing after dynamically updating then.Client is that services request is initiated to the node higher than current service node select degree in the service limit that edge joint receipts current service node provides.
If the current service node select degree after dynamically updating is the highest, then client continues to obtain respective service; And; In the service of obtaining; Dynamically update the preference of current service node according to the situation of the service of obtaining, the high node of present node preference that regularly obtains service than client in the preferred node listing after dynamically updating is then initiated services request; If the current service node select degree after dynamically updating is not the highest, the node that then preference is the highest in the preferred node listing of client after dynamically updating is initiated services request; If client can the preferred node listing after dynamically updating the highest node of preference continue to obtain respective service; Then switch to this node and continue the service of obtaining; And; In the service of obtaining, dynamically update current service node select degree according to the situation of the service of obtaining, the high node of present node preference that regularly obtains service than client in the preferred node listing after dynamically updating is then initiated services request; If client can not the preferred node listing after dynamically updating the highest node of preference continue to obtain respective service; The node that then preference ranked second in preferred node listing is initiated services request; And the like, the high node of present node preference that obtains service than client in the preferred node listing after dynamically updating continues to obtain respective service; And, in the service of obtaining, dynamically update the preference of current service node, regularly obtain the high node initiation services request of present node preference of service than client in the preferred node listing after dynamically updating then; This process repeats to accomplish until the client service of obtaining.It is initiatively to be initiated by client that client switches to the service of obtaining of preferred node, the state of client maintenance service.And when the client switching node obtains service, be on the basis that obtains service before, promptly client switches to the node continuation higher than current service node select degree and obtains service accordingly.
Service node judges whether to client service to be provided based on strategy, and regularly reports the load and the requested information on services of corresponding service node to service node management and control module.Service node judges whether and can service be provided for client based on multiple strategy.Service node can make up judgement according to information such as service feature, local loads, and when business was download, streaming service class, the content breakpoint of service node local disposition was as long as just can provide service greater than the client-requested breakpoint; When business is an application class, service node will finish and successfully start this application and could service be provided to client at local disposition.
As shown in Figure 2, Fig. 2 is based on multinode and provides that to download content be the method flow diagram of network Service Instance.May further comprise the steps:
Step 201) before service was obtained in the client application, the management and control module was deployed to the part service node in advance with content, and application is obtained in the client terminal start-up service.
Step 202) client judges that whether preferred node listing is empty, if be empty, then jumps to step 205); If be not empty, then continue step 203).
Step 203) client asks to download content successively according to the preference quality of preferred node.
Step 204) if the preferred node of request all can't provide download, continues step 205); If certain node can provide download in the preferred node listing, then jump procedure 207).
Step 205) client is to the candidate node list of management and control module request corresponding contents.
Step 206) obtain candidate node list after, client from candidate node list node of picked at random as service node, and record download state.
When step 207) downloading content, service provides situation to client according to node, dynamically updates node and the preference in the preferential node listing in preference value, the preferential node listing; Jump procedure 208.
Step 208) downloads completion.
As shown in Figure 3, Fig. 3 is the flow chart that the client cycle carries out content requests to preferred node.May further comprise the steps:
Step 301) cycle starts client node in preferred node listing and carries out the work of content requests.
Step 302) judge whether current download node is optimum node, if, jump procedure 306); Otherwise, continue step 303).
Step 303) from preferred node listing, chooses than the more excellent node of current download node and carry out content requests.
Operation below service node is accomplished simultaneously:
Service node checks whether the content of request exists after obtaining content requests, if exist, then replys download can be provided; If content does not exist, record services request probability; With the timing heartbeat process of service node managing and control system in, report the load and the services request probability of this node.
Service node management and control module determines according to receiving the information that service node reports whether dynamic state part is deployed to this service node to requested content.
Step 304) when there was document breaking point that client-requested file or node disposing more than the breakpoint of client-requested in more excellent node, this node can provide download service for client, and promptly this node can provide download, continues step 305); Download can be provided, jump procedure 306 if there is more excellent node).
Step 305) switch to download node to more excellent node: client is downloaded to more excellent node request, and carries download status information such as document breaking point position, and more excellent node provides download service according to the request of client.
Step 306) finishes this detection.
It should be noted last that above embodiment is only unrestricted in order to technical scheme of the present invention to be described.Although the present invention is specified with reference to embodiment; Those of ordinary skill in the art is to be understood that; Technical scheme of the present invention is made amendment or is equal to replacement, do not break away from the spirit and the scope of technical scheme of the present invention, it all should be encompassed in the middle of the claim scope of the present invention.
Claims (8)
1. system that provides services on the Internet based on multinode, this system comprises: a plurality of service nodes and client; It is characterized in that this system also comprises: service node management and control module;
Described service node is used for checking whether have corresponding Service Instance according to the services request that client is initiated, and simultaneously, reports the load and the services request probability of this node to described service node management and control module through the timing heartbeat of service node; If corresponding Service Instance is arranged, then service node judges whether to described client respective service to be provided according to strategy;
Described service node management and control module is used for disposing Service Instance to service node according to the load of the service node that collects and the information of services request probability; And the dynamic corresponding relation of maintenance service instance and service node and the service of service node provide situation; Simultaneously, the service node of customer in response end is inquired about, and returns the candidate node list of corresponding with service instance to client;
Described client is used for that according to history service obtains that situation is created and the preferred node listing of Dynamic Maintenance and dynamically update the preference of preferred node listing node; And at first obtain service to described service node according to preferential node listing;
1) if the service node in the preferred node listing has been disposed respective service, then the client node that preference is the highest in preferred node listing is initiated services request:
11) if client can be obtained service by the highest node of preference from preferred node listing, then obtain respective service;
12) if client can not be obtained service by the highest node of preference from preferred node listing, the node that then preference ranked second in preferred node listing is initiated services request, and the like, until obtaining respective service;
Above-mentioned obtain respective service in; Dynamically update the preference of current service node based on the situation of the service of obtaining, the high node of present node preference that regularly obtains service than client in the preferred node listing after dynamically updating is initiated services request then;
13) if the current service node select degree after dynamically updating is the highest, then client continues to obtain respective service;
14) if the current service node select degree after dynamically updating is not the highest, the node that then preference is the highest in the preferred node listing of client after dynamically updating is initiated services request;
If client can the preferred node listing after dynamically updating the highest node of preference obtain service, then switch to this node and continue to obtain respective service; If client can not the preferred node listing after dynamically updating the highest node of preference obtain service; The node that then preference ranked second in preferred node listing is initiated services request; And the like, the high node of present node preference that obtains service than client in the preferred node listing after dynamically updating continues to obtain respective service;
Above-mentioned continue to obtain respective service in; Situation based on the service of obtaining dynamically updates current service node select degree, regularly obtains the high node initiation services request of present node preference of service than client in the preferred node listing after dynamically updating then;
Repeating step 13) and 14) intactly obtain service until client from service node;
2) if the service node in the preferred node listing is not all disposed the respective service instance; Then client is obtained the candidate node list with respective service to described service node management and control module; Arbitrary service node in candidate node list is initiated services request and is obtained respective service at random; In the service of obtaining; Whether the preference that provides situation to calculate this node according to the service of current service node is carried out size with this node select degree and the service node preference in the preferred node listing and is relatively adjudicated and this node is added in the preferred node listing; Regularly obtain the highest node initiation services request of present node preference of service than client in the preferred node listing after dynamically updating then;
Repeat described 13) and 14) until client from the complete service of obtaining of service node.
2. the system that provides services on the Internet based on multinode according to claim 1 is characterized in that, described service node judges whether to provide the strategy of respective service to adopt service feature and local load combinations to judge to described client;
When business for downloading time-like, the content breakpoint of service node local disposition is as long as just can provide service to client greater than the client-requested breakpoint; When business was application class, service node will finish and successfully start this application and could service be provided to client at local disposition.
3. the system that provides services on the Internet based on multinode according to claim 1; It is characterized in that the service node in the described preferred node listing is that client received all nodes of service or the highest part of nodes of preference that client received service.
4. the system that provides services on the Internet based on multinode according to claim 1 is characterized in that, described services request probability is meant that client is initiated the request number of times to a service to it between service node recording timing heart beat period.
5. method of providing services on the Internet based on multinode, these method concrete steps comprise:
Step 51): the services request that service node is initiated according to client checks whether have corresponding Service Instance; Simultaneously, report the load and the services request probability of this node to described service node management and control module through the timing heartbeat of service node; If corresponding Service Instance is arranged, then service node judges whether to described client respective service to be provided according to strategy;
Step 52): service node management and control module is according to described step 51) in load and the information of services request probability of this node of reporting through the timing heartbeat of service node dispose Service Instance to service node; And the dynamic corresponding relation of maintenance service instance and service node and the service of service node provide situation; Simultaneously, the service node of customer in response end is inquired about, and returns the candidate node list of corresponding with service instance to client;
Step 53): client according to history service obtain that situation is created and the preferred node listing of Dynamic Maintenance and dynamically update the preference of node in the preferred node listing; If the service node in the preferred node listing has been disposed the respective service content, go to step 55); If the service node in the preferred node listing is not all disposed the respective service content; Then client is at random to described step 52) arbitrary service node in the candidate node list that obtains initiates services request and obtains respective service; In the service of obtaining; Whether the preference that provides situation to calculate this node according to the service of current service node is carried out size with this node select degree and the service node preference in the preferred node listing and is relatively adjudicated and this node is added in the preferred node listing; Go to step 54);
Step 54): client is according to described step 53) preference of the current service node that calculate to obtain upgrades preferred node listing;
If the current service node select degree after dynamically updating is the highest, then client continues to obtain respective service;
If the current service node select degree after dynamically updating is not the highest, the node that then preference is the highest in the preferred node listing of client after dynamically updating is initiated services request;
If client can the preferred node listing after dynamically updating the highest node of preference obtain service, then switch to this node and continue to obtain respective service;
If client can not the preferred node listing after dynamically updating the highest node of preference obtain service; The node that then preference ranked second in preferred node listing is initiated services request; And the like, the high node of present node preference that obtains service than client in the preferred node listing after dynamically updating continues to obtain respective service;
Above-mentioned continue to obtain respective service in; Situation based on the service of obtaining dynamically updates current service node select degree, regularly obtains the high node initiation services request of present node preference of service than client in the preferred node listing after dynamically updating then;
Repeat described step 54) until client from the complete service of obtaining of service node;
Step 55): the client node that preference is the highest in preferred node listing is initiated services request; If client can be obtained service by the highest node of preference from preferred node listing, then obtain respective service; If client can not be obtained service by the highest node of preference from preferred node listing, the node that then preference ranked second in preferred node listing is initiated services request, and the like, until obtaining respective service;
When obtaining respective service, dynamically update the preference of current service node according to the situation of the service of obtaining, go to step 56 then);
Step 56): client is regularly to described step 55) the high node of present node preference that obtains service than client in the preferred node listing after dynamically updating initiates services request;
If the current service node select degree after dynamically updating is the highest, then client continues to obtain respective service from the current service node;
If the current service node select degree after dynamically updating is not the highest, the node that then preference is the highest in the preferred node listing of client after dynamically updating is initiated services request;
If client can the preferred node listing after dynamically updating the highest node of preference obtain respective service, then switch to this node and continue the service of obtaining,
If client can not the preferred node listing after dynamically updating the highest node of preference obtain respective service; The node that then preference ranked second in preferred node listing is initiated services request; And the like, the high node of present node preference that obtains service than client in the preferred node listing after dynamically updating continues to obtain respective service;
Above-mentioned continue to obtain respective service in, dynamically update the preference of current service node, the high node of present node preference that regularly obtains service than client in the preferred node listing after dynamically updating is then initiated services request;
Repeat described step 56) until client from the complete service of obtaining of service node.
6. method of providing services on the Internet based on multinode according to claim 5 is characterized in that, described service node judges whether to provide the strategy of respective service to adopt service feature and local load combinations to judge to described client;
When business for downloading time-like, the content breakpoint of service node local disposition is as long as just can provide service to client greater than the client-requested breakpoint; When business was application class, service node will finish and successfully start this application and could service be provided to client at local disposition.
7. method of providing services on the Internet according to claim 5 based on multinode; It is characterized in that the service node in the described preferred node listing is that client received all nodes of service or the highest part of nodes of preference that client received service.
8. method of providing services on the Internet based on multinode according to claim 5 is characterized in that, described services request probability is meant that client is initiated the request number of times to a service to it between service node recording timing heart beat period.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110084806.XA CN102546226B (en) | 2010-12-08 | 2011-04-06 | Multi-node-based network service provision system and method |
Applications Claiming Priority (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201010589971.6 | 2010-12-08 | ||
CN201010589971 | 2010-12-08 | ||
CN201110084806.XA CN102546226B (en) | 2010-12-08 | 2011-04-06 | Multi-node-based network service provision system and method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102546226A true CN102546226A (en) | 2012-07-04 |
CN102546226B CN102546226B (en) | 2014-06-11 |
Family
ID=46352234
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201110084806.XA Expired - Fee Related CN102546226B (en) | 2010-12-08 | 2011-04-06 | Multi-node-based network service provision system and method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102546226B (en) |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102868935A (en) * | 2012-08-24 | 2013-01-09 | 乐视网信息技术(北京)股份有限公司 | Scheduling method for responding multiple sources in content distribution network (CDN) |
CN103747040A (en) * | 2013-12-24 | 2014-04-23 | 乐视网信息技术(北京)股份有限公司 | Node distribution method and control center |
CN104518985A (en) * | 2013-09-27 | 2015-04-15 | 国家广播电影电视总局广播科学研究院 | Method and terminal for selecting service node in distributed network environment |
CN107483621A (en) * | 2017-09-06 | 2017-12-15 | 罗慕信息科技(上海)有限公司 | A kind of internet of things equipment connection method for automatically selecting service node |
CN108134828A (en) * | 2017-12-20 | 2018-06-08 | 金蝶软件(中国)有限公司 | Method for routing, device, computer equipment and the storage medium of service request |
CN108270634A (en) * | 2016-12-30 | 2018-07-10 | 中移(苏州)软件技术有限公司 | A kind of method and system of heartbeat detection |
CN108600165A (en) * | 2018-03-15 | 2018-09-28 | 北京大米科技有限公司 | Communication means, client, Centroid based on TCP and communication system |
CN110311900A (en) * | 2019-06-19 | 2019-10-08 | 微梦创科网络科技(中国)有限公司 | A kind of service calling method, device, electronic equipment and storage medium |
CN111901362A (en) * | 2020-08-11 | 2020-11-06 | 深圳墨世科技有限公司 | Client dynamic CDN switching method and system |
WO2021056314A1 (en) * | 2019-09-23 | 2021-04-01 | 中国科学院声学研究所 | System for providing exact communication delay protection of request response for distributed service |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1859213A (en) * | 2006-03-01 | 2006-11-08 | 华为技术有限公司 | System and method for securing service lelel in content distribution network |
US20090177772A1 (en) * | 2006-09-14 | 2009-07-09 | Huawei Technologies Co., Ltd. | Method, system and device for establishing a peer to peer connection in a p2p network |
CN101895577A (en) * | 2010-07-06 | 2010-11-24 | 中国科学院计算技术研究所 | Distribution method of network sharing resources |
CN102065142A (en) * | 2010-12-23 | 2011-05-18 | 网宿科技股份有限公司 | File downloading based scheduling method and system for content delivery network (CDN) |
-
2011
- 2011-04-06 CN CN201110084806.XA patent/CN102546226B/en not_active Expired - Fee Related
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1859213A (en) * | 2006-03-01 | 2006-11-08 | 华为技术有限公司 | System and method for securing service lelel in content distribution network |
US20090177772A1 (en) * | 2006-09-14 | 2009-07-09 | Huawei Technologies Co., Ltd. | Method, system and device for establishing a peer to peer connection in a p2p network |
CN101895577A (en) * | 2010-07-06 | 2010-11-24 | 中国科学院计算技术研究所 | Distribution method of network sharing resources |
CN102065142A (en) * | 2010-12-23 | 2011-05-18 | 网宿科技股份有限公司 | File downloading based scheduling method and system for content delivery network (CDN) |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102868935A (en) * | 2012-08-24 | 2013-01-09 | 乐视网信息技术(北京)股份有限公司 | Scheduling method for responding multiple sources in content distribution network (CDN) |
CN104518985A (en) * | 2013-09-27 | 2015-04-15 | 国家广播电影电视总局广播科学研究院 | Method and terminal for selecting service node in distributed network environment |
CN103747040A (en) * | 2013-12-24 | 2014-04-23 | 乐视网信息技术(北京)股份有限公司 | Node distribution method and control center |
CN108270634A (en) * | 2016-12-30 | 2018-07-10 | 中移(苏州)软件技术有限公司 | A kind of method and system of heartbeat detection |
CN108270634B (en) * | 2016-12-30 | 2021-08-24 | 中移(苏州)软件技术有限公司 | Heartbeat detection method and system |
CN107483621A (en) * | 2017-09-06 | 2017-12-15 | 罗慕信息科技(上海)有限公司 | A kind of internet of things equipment connection method for automatically selecting service node |
CN108134828A (en) * | 2017-12-20 | 2018-06-08 | 金蝶软件(中国)有限公司 | Method for routing, device, computer equipment and the storage medium of service request |
CN108600165A (en) * | 2018-03-15 | 2018-09-28 | 北京大米科技有限公司 | Communication means, client, Centroid based on TCP and communication system |
CN110311900A (en) * | 2019-06-19 | 2019-10-08 | 微梦创科网络科技(中国)有限公司 | A kind of service calling method, device, electronic equipment and storage medium |
WO2021056314A1 (en) * | 2019-09-23 | 2021-04-01 | 中国科学院声学研究所 | System for providing exact communication delay protection of request response for distributed service |
US12010164B2 (en) | 2019-09-23 | 2024-06-11 | Institute Of Acoustics, Chinese Academy Of Sciences | System for providing exact communication delay guarantee of request response for distributed service |
CN111901362A (en) * | 2020-08-11 | 2020-11-06 | 深圳墨世科技有限公司 | Client dynamic CDN switching method and system |
Also Published As
Publication number | Publication date |
---|---|
CN102546226B (en) | 2014-06-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102546226B (en) | Multi-node-based network service provision system and method | |
US9185637B2 (en) | Updating of network selection information | |
CN105099988A (en) | Method used for supporting gray releasing, access method, devices and system | |
US7720800B2 (en) | Method and approach to hosting versioned web services | |
EP3242463B1 (en) | Content distribution method and system for mobile terminal application | |
US20080320497A1 (en) | Service mobility for composed components | |
EP3873066A1 (en) | Method for managing resource state information, and resource downloading system | |
CN101473630A (en) | Methods, devices and architectures for establishing peer-to -peer sessions | |
CN104052803A (en) | Decentralized distributed rendering method and system | |
CN101406060A (en) | Time-delay video downloading service by using P2P content distribution network | |
CN1457432A (en) | Method and apparatus for facilitating handoff in wireless local area network | |
CN101715228A (en) | Wireless communication system, management server, wireless terminal, and network selection method | |
JP2014515237A (en) | Virtual network migration method, related apparatus, and system | |
US20210211493A1 (en) | Method for managing resource state information and system for downloading resource | |
CN105357246A (en) | Caching method and system based on information centre network | |
CN103139245A (en) | Method and device for updating network elements | |
KR20100060304A (en) | Distributed content delivery system based on network awareness and method thereof | |
CN102257792B (en) | Method for content delivery involving a policy database | |
CN102055644A (en) | Method, device and system for load management in distributed directory service system | |
CN102118422B (en) | The peer node of RELOAD peer-to-peer network and the update method of configuration thereof and system | |
CN103685576A (en) | Interaction method for CDN (Content Delivery Network) nodes and CDN management system | |
CN108512679A (en) | A kind of management method and device of gateway device | |
CN101883124A (en) | Data downloading method, device and system of on-demand system | |
EP2274889B1 (en) | System for delivery of content to be played autonomously | |
CN101374072B (en) | Method for updating configuration of electric force monitoring apparatus, electric force monitoring apparatus and energy management system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20140611 |
|
CF01 | Termination of patent right due to non-payment of annual fee |