Summary of the invention
In order to solve the problem of prior art, the embodiment of the present invention provides a kind of method of registration service, network group's center control nodes and system.Described technical scheme is as follows:
On the one hand, provide a kind of method of registration service, described method comprises:
The modification information that sends after changing occurs in the service that network group center control nodes receiving router is stored in self buffer memory, at least comprise in wherein said modification information: Router Distinguisher, the service identifiers of alter mode sign and service correspondence after changing and service behavior description information;
Described network group center control nodes is according to the Router Distinguisher in described modification information, the alter mode sign, the service behavior descriptor of the service identifiers of service correspondence after changing and service correspondence is after changing upgraded the service binding information in the information on services list of self preserving, and wherein said information on services list is used for preserving the corresponding relation of the service identifiers of the service correspondence that the buffer memory of the router of described network group center control nodes management stores and the service behavior description information Router Distinguisher corresponding with the router of this service of preservation;
the identify label of the service identifiers that described network group center control nodes is corresponding according to the service binding information of upgrading in the information on services list after upgrading and service behavior description information and described network group center control nodes generates registration request, and with described registration request be sent to the service resolution server register, so that described service resolution server is according to registration request, the corresponding relation of the identify label of the service identifiers of the service correspondence that will upgrade in described service resolution server and service behavior description information and described network group center control nodes upgrades.
Wherein, described network group center control nodes is according to the Router Distinguisher in described modification information, the alter mode sign, the service behavior descriptor of the service identifiers of service correspondence after changing and service correspondence is after changing upgraded the service binding information in the information on services list of self preserving, and comprising:
When described alter mode is designated the interpolation service, described network group's center control nodes inquiry service identification field in the information on services list of self preserving is the list item of the service identifiers in described modification information, corresponding service binding information of each list item in wherein said information on services list;
If exist, the Router Distinguisher in described modification information be updated in the storaging mark field of this list item;
If there is no, create new list item in described information on services list, and with the service identifiers in described modification information as the service identifiers in service identifiers field in new list item, being the service behavior descriptor in service behavior descriptor field in new list item with the service behavior descriptor in described modification information, is the content of storaging mark field in new list item with the Router Distinguisher in described modification information.
Wherein, the identify label of the service identifiers that described network group center control nodes is corresponding according to the service binding information of upgrading in the information on services list after upgrading and service behavior description information and described network group center control nodes generates registration request, and with described registration request be sent to the service resolution server register, comprising:
After creating new list item in described information on services list, service identifiers in service identifiers field in the new list item of described network group's center control nodes basis, the identify label of the service behavior descriptor in service behavior descriptor field and described network group center control nodes generates the registration request that adds service, and described registration request is sent to the registration process that the service resolution server adds service.
Wherein, described network group center control nodes is according to the Router Distinguisher in described modification information, the alter mode sign, the service behavior descriptor of the service identifiers of service correspondence after changing and service correspondence is after changing upgraded the service binding information in the information on services list of self preserving, and comprising:
When described alter mode is designated the deletion service, described network group's center control nodes inquiry service identification field in the information on services list of self preserving is the list item of the service identifiers in described modification information, and the Router Distinguisher during whether inquiry only exists described modification information in storaging mark field corresponding to the list item that inquires, corresponding service binding information of each list item in wherein said information on services list;
If only having the Router Distinguisher in described modification information deletes this list item so in described information on services list;
If also there are other Router Distinguishers, delete the Router Distinguisher in described modification information in storaging mark field corresponding to the list item that inquires.
Wherein, the identify label of the service identifiers that described network group center control nodes is corresponding according to the service binding information of upgrading in the information on services list after upgrading and service behavior description information and described network group center control nodes generates registration request, and with described registration request be sent to the service resolution server register, comprising:
After remove entries in described information on services list, described network group center control nodes is according to the service identifiers in the service identifiers field in the list item of deletion, and the identify label of described network group center control nodes generates the registration request of deletion service, and described registration request is sent to the registration process that the service resolution server is deleted service.
Wherein, the identify label of the service identifiers that described network group center control nodes is corresponding according to the service binding information of upgrading in the information on services list after upgrading and service behavior description information and described network group center control nodes generates registration request, and after described registration request was sent to service resolution server registers, described method also comprised:
The request of the service of obtaining that described network group center control nodes receiving terminal sends comprises service identifiers in wherein said request of obtaining service at least;
Described network group center control nodes inquiry service identification field in the information on services list of self preserving is the list item of the service identifiers in described request of obtaining service, and obtains Router Distinguisher in storaging mark field corresponding to the list item that inquires;
Forward described request of obtaining service to router corresponding to the described Router Distinguisher that gets, so that router corresponding to the described Router Distinguisher that gets sends to described terminal with service corresponding to service identifiers in the described request of obtaining service of storing in self buffer memory.
Wherein, the identify label of the service identifiers that described network group center control nodes is corresponding according to the service binding information of upgrading in the information on services list after upgrading and service behavior description information and described network group center control nodes generates registration request, and after described registration request was sent to service resolution server registers, described method also comprised:
Described network group center control nodes is deleted the list item that surpasses the service correspondence that Preset Time do not obtain by terminal in the information on services list of self preserving;
Described network group center control nodes is according to the service identifiers in the service identifiers field in the list item of deletion, and the identify label of described network group center control nodes generates the registration request of deletion service, and described registration request is sent to the registration process that the service resolution server is deleted service;
Described network group center control nodes is according to the Router Distinguisher in the storaging mark field in the list item of deletion, send the information of deletion service to router corresponding to described Router Distinguisher, carry the service identifiers in the service identifiers field in the list item of described deletion in the information of wherein said deletion service, so that service corresponding to service identifiers in the service identifiers field in the list item of the described deletion of storing in router deletion buffer memory corresponding to described Router Distinguisher.
On the other hand, provide a kind of network group center control nodes, described network group center control nodes comprises:
The first receiver module, be used for service that network group center control nodes receiving router stores at self buffer memory the modification information that sends after changing occurs, at least comprise in wherein said modification information: Router Distinguisher, the service identifiers of alter mode sign and service correspondence after changing and service behavior description information;
update module, be used for described network group center control nodes according to the Router Distinguisher of described modification information, the alter mode sign, the service behavior descriptor of the service identifiers of service correspondence after changing and service correspondence is after changing upgraded the service binding information in the information on services list of self preserving, wherein said information on services list is used for preserving the corresponding relation of the service identifiers of the service correspondence that the buffer memory of the router of described network group center control nodes management stores and the service behavior description information Router Distinguisher corresponding with the router of this service of preservation,
the first sending module, the identify label that is used for service identifiers corresponding to service binding information that described network group center control nodes upgrades according to the information on services list after upgrading and service behavior description information and described network group center control nodes generates registration request, and with described registration request be sent to the service resolution server register, so that described service resolution server is according to registration request, the corresponding relation of the identify label of the service identifiers of the service correspondence that will upgrade in described service resolution server and service behavior description information and described network group center control nodes upgrades.
On the other hand, provide a kind of system of registration service,
Comprise: service resolution server, network group's center control nodes and router; It is characterized in that,
Described service resolution server comprises:
The second receiver module, be used for to receive the registration request that network group center control nodes sends, carry the identify label of the service identifiers of service correspondence of renewal and service behavior description information and described network group center control nodes in wherein said registration request;
Registering modules is used for the service identifiers of the service correspondence that will upgrade according to described registration request and serves behavior description information and the corresponding relation of the identify label of described network group center control nodes upgrades;
Described network group center control nodes comprises:
The first receiver module, be used for service that network group center control nodes receiving router stores at self buffer memory the modification information that sends after changing occurs, at least comprise in wherein said modification information: Router Distinguisher, the service identifiers of alter mode sign and service correspondence after changing and service behavior description information;
update module, be used for described network group center control nodes according to the Router Distinguisher of described modification information, the alter mode sign, the service behavior descriptor of the service identifiers of service correspondence after changing and service correspondence is after changing upgraded the service binding information in the information on services list of self preserving, wherein said information on services list is used for preserving the corresponding relation of the service identifiers of the service correspondence that the buffer memory of the router of described network group center control nodes management stores and the service behavior description information Router Distinguisher corresponding with the router of this service of preservation,
the first sending module, the identify label that is used for service identifiers corresponding to service binding information that described network group center control nodes upgrades according to the information on services list after upgrading and service behavior description information and described network group center control nodes generates registration request, and with described registration request be sent to the service resolution server register, so that described service resolution server is according to registration request, the corresponding relation of the identify label of the service identifiers of the service correspondence that will upgrade in described service resolution server and service behavior description information and described network group center control nodes upgrades,
Described router comprises:
The second sending module, be used for occuring after changing when the service that self buffer memory is stored, send modification information to network group center control nodes, at least comprise in wherein said modification information: Router Distinguisher, the service identifiers of alter mode sign and service correspondence after changing and service behavior description information;
The 3rd receiver module be used for to receive the request of the service of obtaining that terminal that network group center control nodes forwards sends, and comprises at least service identifiers in wherein said request of obtaining service;
The 3rd sending module, service corresponding to service identifiers in the described request of obtaining service that is used for self buffer memory is stored sends to described terminal;
The 4th receiver module is used for receiving the information of the deletion service that described network group center control nodes sends, and carries the service identifiers in the service identifiers field in the list item of described deletion in the information of wherein said deletion service;
Removing module is used for service corresponding to service identifiers in the service identifiers field in the list item of the described deletion that the deletion buffer memory stores.
The beneficial effect that the technical scheme that the embodiment of the present invention provides is brought is:
By network group center control nodes, service available router with memory function is managed, and register to the service resolution server, making network group center control nodes can be used as to serve the provider provides service to user terminal, increased the provider that serves that service is provided for user terminal, can there be thus more selection to get the service that user terminal needs, obtain service as the provider that serves not busy by link or that link range is relatively near, improved terminal and obtained the efficient of service.
Embodiment
For making the purpose, technical solutions and advantages of the present invention clearer, embodiment of the present invention is described further in detail below in conjunction with accompanying drawing.
Embodiment one
The embodiment of the present invention provides a kind of method of registration service, referring to Fig. 2, need to prove, the embodiment of the present invention is to have added a network group center control nodes in the brand-new Internet service system in three layer of two territory in wisdom service layer, this node can be presented as that server also can embody by other equipment, does not do restriction at this in network.Network group center control nodes be the particular content of serving be the fundamentals of management, can be also to come all available services of the next network group of maintenance and management flag inside as the fundamentals of management with the zone in network, this network group be all routers with memory function of network group center control nodes management.Therefore network group center control nodes can be used as the provider that serves in the brand-new Internet service system in three layer of two territory, with original service provider from the single Server Extension that service is provided to the router of service can be provided whole network.
Network group center control nodes available service in the router that administers and maintains need to be reported to be registered in the service resolution server, so the method flow of the embodiment of the present invention comprises as before serving the provider:
201: the modification information that sends after changing occurs in the service that network group center control nodes receiving router is stored in self buffer memory, at least comprise in wherein said modification information: Router Distinguisher, the service identifiers of alter mode sign and service correspondence after changing and service behavior description information;
202: described network group center control nodes is according to the Router Distinguisher in described modification information, the alter mode sign, the service behavior descriptor of the service identifiers of service correspondence after changing and service correspondence is after changing upgraded the service binding information in the information on services list of self preserving, and wherein said information on services list is used for preserving the corresponding relation of the service identifiers of the service correspondence that the buffer memory of the router of described network group center control nodes management stores and the service behavior description information Router Distinguisher corresponding with the router of this service of preservation.
203: the identify label of the service identifiers that described network group center control nodes is corresponding according to the service binding information of upgrading in the information on services list after upgrading and service behavior description information and described network group center control nodes generates registration request, and with described registration request be sent to the service resolution server register, so that described service resolution server is according to registration request, the corresponding relation of the identify label of the service identifiers of the service correspondence that will upgrade in described service resolution server and service behavior description information and described network group center control nodes upgrades.
The embodiment of the present invention manages service available router with memory function by network group center control nodes, and register to the service resolution server, making network group center control nodes can be used as to serve the provider provides service to user terminal, increased the provider that serves that service is provided for user terminal, can there be thus more selection to get the service that user terminal needs, obtain service as the provider that serves not busy by link or that link range is relatively near, improved terminal and obtained the efficient of service.
Embodiment two
The embodiment of the present invention provides a kind of method of registration service, and referring to Fig. 3, method flow comprises:
301: the service that router is stored in self buffer memory occurs after changing, send modification information to network group center control nodes, at least comprise in wherein said modification information: Router Distinguisher, the service identifiers of alter mode sign and service correspondence after changing and service behavior description information.
Router is when forwarding service, select the part service memory in the buffer memory of self according to default mode, the service of Selective storage can be obtained the service that quantity reaches some for user in certain hour, selects the mode embodiment of the present invention of buffer memory service not make restriction for router.The time that in router, the time of the service of buffer memory provides the server stores of service to serve relatively is of short duration, and the service meeting of therefore storing in router often changes, and is constantly adding and is deleting.Wherein, alter mode is designated and adds service or deletion service.
302: the modification information that sends after changing occurs in the service that network group center control nodes receiving router is stored in self buffer memory, at least comprise in wherein said modification information: Router Distinguisher, the service identifiers of alter mode sign and service correspondence after changing and service behavior description information.
303: described network group center control nodes is according to the Router Distinguisher in described modification information, the alter mode sign, the service behavior descriptor of the service identifiers of service correspondence after changing and service correspondence is after changing upgraded the service binding information in the information on services list of self preserving, and wherein said information on services list is used for preserving the corresponding relation of the service identifiers of the service correspondence that the buffer memory of the router of described network group center control nodes management stores and the service behavior description information Router Distinguisher corresponding with the router of this service of preservation.
Network group center control nodes is divided into according to the alter mode in modification information sign adds service and deletion service, at first according to modification information, the information on services list in network group center control nodes is upgraded.At least comprise the service identifiers field in the information on services list, service behavior descriptor field and storaging mark field, the network group that is used for the center control nodes management of storage networking group stores the identify label of the router of this service identifiers corresponding with service, each list item is preserved a unique service in the information on services list, each field in the information on services list is preserved service identifiers corresponding to this service, service behavior descriptor, and Router Distinguisher corresponding to router that stores this service.
The process of wherein adding service is:
3031: when described alter mode is designated the interpolation service, described network group's center control nodes inquiry service identification field in the information on services list of self preserving is the list item of the service identifiers in described modification information, corresponding service binding information of each list item in wherein said information on services list.
The process of adding service is divided into two kinds of situations, the first is the service identifiers that has had in the modification information service correspondence after changing in the information on services list, the Router Distinguisher in modification information is added in the storaging mark field of this service list item in the information on services list execution in step 3032; The second is the service identifiers that does not have in modification information service correspondence after changing in the information on services list, needs to create a new list item and preserves, execution in step 3033.
3032: if exist, the Router Distinguisher in described modification information is updated in the storaging mark field of this list item.
3033: if there is no, create new list item in described information on services list, and with the service identifiers in described modification information as the service identifiers in service identifiers field in new list item, being the service behavior descriptor in service behavior descriptor field in new list item with the service behavior descriptor in described modification information, is the content of storaging mark field in new list item with the Router Distinguisher in described modification information.
Wherein the process of deletion service is:
3034: when described alter mode is designated the deletion service, described network group's center control nodes inquiry service identification field in the information on services list of self preserving is the list item of the service identifiers in described modification information, and the Router Distinguisher during whether inquiry only exists described modification information in storaging mark field corresponding to the list item that inquires, corresponding service binding information of each list item in wherein said information on services list.
The process of deletion service is divided into two kinds of situations, the first is for only existing a Router Distinguisher in storaging mark field corresponding to the list item of the service correspondence of deleting in the information on services list, it is the Router Distinguisher in modification information, illustrating this moment in the router of network group center control nodes management only has a router to have this service, just should service in the router of network group center control nodes management after deletion, to serve corresponding list item and delete this moment in the information on services list, execution in step 3035; The second is for existing a plurality of Router Distinguishers in storaging mark field corresponding to the list item of the service correspondence of deleting in the information on services list, this moment is according to the Router Distinguisher in modification information, Router Distinguisher identical in the storaging mark field is deleted execution in step 3036.
3035: if only exist the Router Distinguisher in described modification information so this list item to be deleted in described information on services list.
3036: if also there are other Router Distinguishers, delete the Router Distinguisher in described modification information in storaging mark field corresponding to the list item that inquires.
304: the identify label of the service identifiers that described network group center control nodes is corresponding according to the service binding information of upgrading in the information on services list after upgrading and service behavior description information and described network group center control nodes generates registration request, and with described registration request be sent to the service resolution server register, so that described service resolution server is according to registration request, the corresponding relation of the identify label of the service identifiers of the service correspondence that will upgrade in described service resolution server and service behavior description information and described network group center control nodes upgrades.
List item for deletion in the new list item that creates in step 3033 and step 3035 need to report to resolution server, i.e. when adding first certain service in the router of network group center control nodes management, and execution in step 3041; When in the router of network group center control nodes management, certain service is deleted, when not having this service in all-router, execution in step 3042.When these two kinds of situations occur, network group center control nodes need to report to the service resolution server and register.
3041: after creating new list item in described information on services list, service identifiers in service identifiers field in the new list item of described network group's center control nodes basis, the identify label of the service behavior descriptor in service behavior descriptor field and described network group center control nodes generates the registration request that adds service, and described registration request is sent to the registration process that the service resolution server adds service;
3042: after remove entries in described information on services list, described network group center control nodes is according to the service identifiers in the service identifiers field in the list item of deletion, and the identify label of described network group center control nodes generates the registration request of deletion service, and described registration request is sent to the registration process that the service resolution server is deleted service.
Based on the method for above-mentioned registration service, the embodiment of the present invention also provides the method for the service of obtaining, and referring to Fig. 4, method flow comprises:
401: terminal sends the request of inquiry service to the service resolution server, carry the keyword of inquiry service in the request of described inquiry service.
402: the service resolution server mates by the service behavior descriptor according to the keyword in the request of described inquiry service, and the service identifiers of the service correspondence that will match and service behavior description information and the identify label of serving the provider that stores service return to described terminal.
Service provider's identify label can be specially the identify label of the server that service is provided and/or the identify label of network group center control nodes, provide because the service that inquires may have a plurality of service providers, therefore may return to a plurality of service of terminal provider's identify label.
403: terminal to the request of serving the provider and send the service of obtaining, at least comprises service identifiers in wherein said request of obtaining service according to the identify label of serving the provider, serves provider's identify label.
Terminal is after the identify label request service of serving the provider, the request of obtaining service can be through the destination that is forwarded to of each equipment in network, when passing by the router that certain possesses memory function, mate in the service identifiers that router can be corresponding with the service of self buffer memory with the service identifiers in the request of the service of obtaining, if the service that matches router directly will match returns to terminal, need not to continue to forward to destination address.Do not forward if match continue down hop.
404: the request of the service of obtaining that described network group center control nodes receiving terminal sends comprises service identifiers in wherein said request of obtaining service at least.
405: described network group's center control nodes inquiry service identification field in the information on services list of self preserving is the list item of the service identifiers in described request of obtaining service, and obtains Router Distinguisher in storaging mark field corresponding to the list item that inquires.
The Router Distinguisher that gets can be for one or more, if be one directly send the request of the service of obtaining to router corresponding to this Router Distinguisher, if get a plurality of Router Distinguishers can select at random one of them forwarding to obtain the request of service, also can be according to certain rules selection router, whether the operating state of for example checking router is busy, and select relatively not busy router obtains the request of service to its forwarding.Can also all forward the request of the service of obtaining to router corresponding to a plurality of Router Distinguishers, make router to send service to terminal respectively.
406: forward described request of obtaining service to router corresponding to the described Router Distinguisher that gets, so that router corresponding to the described Router Distinguisher that gets sends to described terminal with service corresponding to service identifiers in the described request of obtaining service of storing in self buffer memory.
407: router receives the request of the service of obtaining that terminal that network group center control nodes forwards sends, and comprises at least service identifiers in wherein said request of obtaining service.
408: router sends to described terminal with service corresponding to service identifiers in the described request of obtaining service of storing in self buffer memory.
Based on the method for above-mentioned registration service, the embodiment of the present invention also provides the method for management service, and referring to Fig. 5, method flow comprises:
501: described network group center control nodes is deleted the list item that surpasses the service correspondence that Preset Time do not obtain by terminal in the information on services list of self preserving.
Network group center control nodes can also manage the service binding information in the information on services list of self preserving, and can delete over the service that Preset Time is not acquired.Need after deleting to the service resolution server registration process of deleting, and the router that this service is preserved in prompting is deleted the service in buffer memory.
502: described network group center control nodes is according to the service identifiers in the service identifiers field in the list item of deletion, and the identify label of described network group center control nodes generates the registration request of deletion service, and described registration request is sent to the registration process that the service resolution server is deleted service.
503: described network group center control nodes is according to the Router Distinguisher in the storaging mark field in the list item of deletion, send the information of deletion service to router corresponding to described Router Distinguisher, carry the service identifiers in the service identifiers field in the list item of described deletion in the information of wherein said deletion service, so that service corresponding to service identifiers in the service identifiers field in the list item of the described deletion of storing in router deletion buffer memory corresponding to described Router Distinguisher.
504: router receives the information of the deletion service that described network group center control nodes sends, and carries the service identifiers in the service identifiers field in the list item of described deletion in the information of wherein said deletion service.
505: service corresponding to service identifiers in the service identifiers field in the list item of the described deletion of storing in router deletion buffer memory.
The embodiment of the present invention manages service available router with memory function by network group center control nodes, and register to the service resolution server, making network group center control nodes can be used as to serve the provider provides service to user terminal, increased the provider that serves that service is provided for user terminal, can there be thus the more selection provider that serves not busy by link or that link range is relatively near to obtain service, have improved terminal and obtained the efficient of service.
Embodiment three
The embodiment of the present invention provides a kind of network group center control nodes of registration service, and referring to Fig. 6, this network group center control nodes comprises:
The first receiver module 601, be used for service that network group center control nodes receiving router stores at self buffer memory the modification information that sends after changing occurs, at least comprise in wherein said modification information: Router Distinguisher, the service identifiers of alter mode sign and service correspondence after changing and service behavior description information;
update module 602, be used for described network group center control nodes according to the Router Distinguisher of described modification information, the alter mode sign, the service behavior descriptor of the service identifiers of service correspondence after changing and service correspondence is after changing upgraded the service binding information in the information on services list of self preserving, wherein said information on services list is used for preserving the corresponding relation of the service identifiers of the service correspondence that the buffer memory of the router of described network group center control nodes management stores and the service behavior description information Router Distinguisher corresponding with the router of this service of preservation,
the first sending module 603, the identify label that is used for service identifiers corresponding to service binding information that described network group center control nodes upgrades according to the information on services list after upgrading and service behavior description information and described network group center control nodes generates registration request, and with described registration request be sent to the service resolution server register, so that described service resolution server is according to registration request, the corresponding relation of the identify label of the service identifiers of the service correspondence that will upgrade in described service resolution server and service behavior description information and described network group center control nodes upgrades.
Wherein, in embodiment, update module 602 specifically is used for:
When described alter mode is designated the interpolation service, described network group's center control nodes inquiry service identification field in the information on services list of self preserving is the list item of the service identifiers in described modification information, corresponding service binding information of each list item in wherein said information on services list;
If exist, the Router Distinguisher in described modification information be updated in the storaging mark field of this list item;
If there is no, create new list item in described information on services list, and with the service identifiers in described modification information as the service identifiers in service identifiers field in new list item, being the service behavior descriptor in service behavior descriptor field in new list item with the service behavior descriptor in described modification information, is the content of storaging mark field in new list item with the Router Distinguisher in described modification information.
Accordingly, the first sending module 603 specifically is used for:
After creating new list item in described information on services list, service identifiers in service identifiers field in the new list item of described network group's center control nodes basis, the identify label of the service behavior descriptor in service behavior descriptor field and described network group center control nodes generates the registration request that adds service, and described registration request is sent to the registration process that the service resolution server adds service.
Further, in embodiment, update module 602 specifically also is used for:
When described alter mode is designated the deletion service, described network group's center control nodes inquiry service identification field in the information on services list of self preserving is the list item of the service identifiers in described modification information, and the Router Distinguisher during whether inquiry only exists described modification information in storaging mark field corresponding to the list item that inquires, corresponding service binding information of each list item in wherein said information on services list;
If only having the Router Distinguisher in described modification information deletes this list item so in described information on services list;
If also there are other Router Distinguishers, delete the Router Distinguisher in described modification information in storaging mark field corresponding to the list item that inquires.
Accordingly, the first sending module 603 specifically is used for:
After remove entries in described information on services list, described network group center control nodes is according to the service identifiers in the service identifiers field in the list item of deletion, and the identify label of described network group center control nodes generates the registration request of deletion service, and described registration request is sent to the registration process that the service resolution server is deleted service.
Wherein, network group center control nodes also is used for:
The request of the service of obtaining that described network group center control nodes receiving terminal sends comprises service identifiers in wherein said request of obtaining service at least;
Described network group center control nodes inquiry service identification field in the information on services list of self preserving is the list item of the service identifiers in described request of obtaining service, and obtains Router Distinguisher in storaging mark field corresponding to the list item that inquires;
Forward described request of obtaining service to router corresponding to the described Router Distinguisher that gets, so that router corresponding to the described Router Distinguisher that gets sends to described terminal with service corresponding to service identifiers in the described request of obtaining service of storing in self buffer memory.
Wherein, network group center control nodes also is used for:
Described network group center control nodes is deleted the list item that surpasses the service correspondence that Preset Time do not obtain by terminal in the information on services list of self preserving;
Described network group center control nodes is according to the service identifiers in the service identifiers field in the list item of deletion, and the identify label of described network group center control nodes generates the registration request of deletion service, and described registration request is sent to the registration process that the service resolution server is deleted service;
Described network group center control nodes is according to the Router Distinguisher in the storaging mark field in the list item of deletion, send the information of deletion service to router corresponding to described Router Distinguisher, carry the service identifiers in the service identifiers field in the list item of described deletion in the information of wherein said deletion service, so that service corresponding to service identifiers in the service identifiers field in the list item of the described deletion of storing in router deletion buffer memory corresponding to described Router Distinguisher.
The embodiment of the present invention manages service available router with memory function by network group center control nodes, and register to the service resolution server, making network group center control nodes can be used as to serve the provider provides service to user terminal, increased the provider that serves that service is provided for user terminal, can there be thus more selection to get the service that user terminal needs, obtain service as the provider that serves not busy by link or that link range is relatively near, improved terminal and obtained the efficient of service.
Embodiment four
The embodiment of the present invention provides a kind of system of registration service, referring to Fig. 7, comprising: service resolution server 701, and network group's center control nodes 702 and router 703,
Described service resolution server 701 comprises:
The second receiver module 7011, be used for to receive the registration request that network group center control nodes sends, carry the identify label of the service identifiers of service correspondence of renewal and service behavior description information and described network group center control nodes in wherein said registration request;
Registering modules 7012 is used for the service identifiers of the service correspondence that will upgrade according to described registration request and serves behavior description information and the corresponding relation of the identify label of described network group center control nodes upgrades;
Wherein, described network group center control nodes 702 comprises:
The first receiver module 7021, be used for service that network group center control nodes receiving router stores at self buffer memory the modification information that sends after changing occurs, at least comprise in wherein said modification information: Router Distinguisher, the service identifiers of alter mode sign and service correspondence after changing and service behavior description information;
update module 7022, be used for described network group center control nodes according to the Router Distinguisher of described modification information, the alter mode sign, the service behavior descriptor of the service identifiers of service correspondence after changing and service correspondence is after changing upgraded the service binding information in the information on services list of self preserving, wherein said information on services list is used for preserving the corresponding relation of the service identifiers of the service correspondence that the buffer memory of the router of described network group center control nodes management stores and the service behavior description information Router Distinguisher corresponding with the router of this service of preservation,
the first sending module 7023, the identify label that is used for service identifiers corresponding to service binding information that described network group center control nodes upgrades according to the information on services list after upgrading and service behavior description information and described network group center control nodes generates registration request, and with described registration request be sent to the service resolution server register, so that described service resolution server is according to registration request, the corresponding relation of the identify label of the service identifiers of the service correspondence that will upgrade in described service resolution server and service behavior description information and described network group center control nodes upgrades,
Described router 703 comprises:
The second sending module 7031, be used for occuring after changing when the service that self buffer memory is stored, send modification information to network group center control nodes, at least comprise in wherein said modification information: Router Distinguisher, the service identifiers of alter mode sign and service correspondence after changing and service behavior description information;
The 3rd receiver module 7032 be used for to receive the request of the service of obtaining that terminal that network group center control nodes forwards sends, and comprises at least service identifiers in wherein said request of obtaining service;
The 3rd sending module 7033, service corresponding to service identifiers in the described request of obtaining service that is used for self buffer memory is stored sends to described terminal;
The 4th receiver module 7034 is used for receiving the information of the deletion service that described network group center control nodes sends, and carries the service identifiers in the service identifiers field in the list item of described deletion in the information of wherein said deletion service;
Removing module 7035 is used for service corresponding to service identifiers in the service identifiers field in the list item of the described deletion that the deletion buffer memory stores.
The embodiment of the present invention manages service available router with memory function by network group center control nodes, and register to the service resolution server, making network group center control nodes can be used as to serve the provider provides service to user terminal, increased the provider that serves that service is provided for user terminal, can there be thus more selection to get the service that user terminal needs, obtain service as the provider that serves not busy by link or that link range is relatively near, improved terminal and obtained the efficient of service.
The invention described above embodiment sequence number does not represent the quality of embodiment just to description.
One of ordinary skill in the art will appreciate that all or part of step that realizes above-described embodiment can complete by hardware, also can come the relevant hardware of instruction to complete by program, described program can be stored in a kind of computer-readable recording medium, the above-mentioned storage medium of mentioning can be read-only memory, disk or CD etc.
The above is only preferred embodiment of the present invention, and is in order to limit the present invention, within the spirit and principles in the present invention not all, any modification of doing, is equal to replacement, improvement etc., within all should being included in protection scope of the present invention.