CN105763582A - Method, device and system for switching service registration equipment - Google Patents

Method, device and system for switching service registration equipment Download PDF

Info

Publication number
CN105763582A
CN105763582A CN201410784985.1A CN201410784985A CN105763582A CN 105763582 A CN105763582 A CN 105763582A CN 201410784985 A CN201410784985 A CN 201410784985A CN 105763582 A CN105763582 A CN 105763582A
Authority
CN
China
Prior art keywords
service
equipment
application
registration
publisher
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
Application number
CN201410784985.1A
Other languages
Chinese (zh)
Other versions
CN105763582B (en
Inventor
陆振辉
吕仁琦
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Alibaba Group Holding Ltd
Original Assignee
Alibaba Group Holding Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201410784985.1A priority Critical patent/CN105763582B/en
Publication of CN105763582A publication Critical patent/CN105763582A/en
Application granted granted Critical
Publication of CN105763582B publication Critical patent/CN105763582B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention provides a method, device and system for switching service registration equipment. The method, device and system can achieve the full-network synchronous switching under the condition that an application business code is not changed when the first and second service registration equipment are in operation, avoid the service restart and resource investment during the independent switching of all application clusters, achieve the smooth disconnection of the first service registration equipment, and shortens the period of the disconnection of the first service registration equipment and the switching of the second service registration equipment.

Description

For switching the method for service registry equipment, equipment and system
Technical field
The application relates to communication and computer realm, particularly relates to a kind of for switching the method for service registry equipment, equipment and system.
Background technology
Application is the subsystems forming whole website such as shopping website etc., the transaction platform that such as relevant with commodity merchandise mart is relevant with transaction payment.Application can provide service, it is also possible to relies on the service that other application apparatus provides.Each application apparatus completes the various functions such as shopping function of website together by interdepending.
First network equipment is the serviceization offer infrastructural support for application, it is achieved the service call of transparence, telecommunication, cluster is fault-tolerant, the equipment of service registry and discovery feature, and first network equipment can be the equipment such as distributed far call framework.
Service registry equipment, it is service registry and the lookup equipment of described first network equipment, for management and aggregated service end address list, the life cycle of aware services publisher and subscriber, notice address of service updates, and service registry equipment can be the equipment such as service register center.
Second network equipment, for providing issue and the subscription service of perdurable data, it is possible to by changing the configuration content of second network equipment, dynamically changes the behavior of application and service, and second network equipment can be the equipment such as configuration management center.
Existing large-scale website system background is generally split into multiple application to realize serviceization, and each application cluster carries out the transparent far call based on interface by first network equipment such as distributed far call framework.Generally, it is achieved a first network equipment needs to solve following problem:
(1) telecommunication, this is the basis of first network equipment, realizes communication protocol and the code encoding/decoding mode of the network equipment on Network Communication Framework, it is achieved the service subscription person of application and the message exchange servicing publisher;
(2) service registry and discovery, generally realized by service registry equipment such as service register center, service publisher is to service registry equipment issuing service, and service subscription person searches and find service from service registry equipment, and service registry equipment and service framework are the relations of a kind of strong dependence;
(3) service is administered, and is generally realized by second network equipment such as configuration center, by some configuration parameters service is managed and dynamically adjusts, and such as realizes the functions such as the packet of service, routing rule, stream control.
As it is shown in figure 1, first network equipment substantially relates to so several role: service publisher, service subscription person, service registry equipment and second network equipment such as configuration center etc..In Fig. 1, one application service publisher A or B by first network equipment (not shown) to service registry equipment 1 issuing service, service subscription person A or B searches and finds service by described first network equipment from service registry equipment 1, service is managed via first network equipment by some configuration parameters and dynamically adjusts by second network equipment 2, such as realize the packet of service, routing rule, flows the functions such as control.
In systems development process, needing in some cases to change old first network equipment, such as original first network equipment runs into some bottlenecks that can not break through cannot meet business development;Or annex due to company or historical reasons need two kinds of first network equipment unified fusion, in order to system intercommunication and minimizing network equipment maintenance cost.In this case, if current application quantity is a lot, interdepending more complicated, the replacement of first network equipment or fusion can go up an engineering that is considerably complicated and that take time and effort, and problem is mainly reflected in:
(1) being directly based upon new network device amendment application is less receptible thing, because application improvement cost is too big, it is possible to introduce much new problem;
(2) network equipment handoff procedure must assure that the availability of service, it is achieved takes over seamlessly;
(3) service publisher and service subscriber and to synchronize transformation, being difficult to coordinate when relying on much more relatively when between application;
(4) relation that first network equipment and service registry equipment rely on by force causes needing in old service registry equipment and new service registry equipment transition in escalation process, until all application are all switched to new service registry and arrange the service registry equipment that just can roll off the production line old.
Prior art does not usually transform the network equipment, all application based target network equipments transformation service code, upgrade after having transformed simultaneously, then the original annotation that rolls off the production line volume service equipment, at old registration service equipment in target registered service equipment handoff procedure, adopting the mode that each application cluster is changed respectively, from the angle of service role, needing first switching over all service subscription persons, all service subscription persons service publishers modify switching to all again after switch.In the more much situations of application cluster, all application are difficult to be uniformly coordinated, and switching cycle can be long, and respectively apply and be substantially service subscription person services again publisher, it is necessary to two-wheeled is restarted in configuration.The cost that the subject matter of this existing scheme is application transformation is relatively larger, additionally needs all application and upgrades simultaneously, in number of applications, and scale and rely on and be difficult to coordinate under complex situations, and have the unavailable situation that services for a long time.
Application content
The purpose of the application is to provide a kind of service registry equipment switching method and system, the problem solving service registry equipment handoff procedure complexity, switching cycle length.
In view of this, the application offer is used for the method switching service registry equipment in first network equipment end, and described method includes:
The service subscription person setting up application is connected with the first of first service registration equipment and second service registration equipment respectively with servicing publisher;
Obtain the registration equipment handoff parameter that second network equipment provides;
The described first break-make connected is controlled according to described registration equipment handoff parameter.
Further, set up the service subscription person of application and service publisher and register the first of equipment and second service registration equipment respectively with first service and be connected and include:
Obtain application and register equipment and the reference configuration parameter of second service registration equipment about first service;
Set up the service subscription person of described application according to described reference configuration parameter to be connected with the first of described first service registration equipment and described second service registration equipment respectively with servicing publisher.
Further, obtain in the reference configuration parameter that equipment and second service registration equipment are registered in application about first service:
The reference configuration parameter that described application registers equipment about first service includes the described application communication mode about first service registration equipment;
The reference configuration parameter that described application registers equipment about second service includes the described application communication mode about second service registration equipment.
Further, obtain in the reference configuration parameter that equipment and second service registration equipment are registered in application about first service:
Described application services publisher and the information exchange system servicing between subscriber about what first service registered that the reference configuration parameter of equipment also includes described application;
Described application services publisher and the information exchange system servicing between subscriber about what second service registered that the reference configuration parameter of equipment also includes described application.
Further, set up the service subscription person of described application according to described reference configuration parameter and service publisher and register the first of equipment and described second service registration equipment respectively with described first service and be connected and include:
Register the reference configuration parameter of equipment according to application about first service set up the service subscription person of described application and service the first of publisher and described first service registration equipment and be connected;
Register the reference configuration parameter of equipment according to application about second service set up the service subscription person of described application and service the first of publisher and described second service registration equipment and be connected.
Further, register the reference configuration parameter of equipment according to application about second service set up the service subscription person of described application and service during the first of publisher and described second service registration equipment is connected:
The service subscription person of application and service connection status and the service subscription person of this application of the first connection of publisher and described second service registration equipment and to service publisher identical with the first connection status being connected of described first service registration equipment.
Further, include before obtaining the step of the registration equipment handoff parameter that described second network equipment provides:
Set up the second connection of described first network equipment and second network equipment;
Wherein, the registration equipment handoff parameter that obtaining second network equipment provides includes:
Connect according to described second and obtain the registration equipment handoff parameter that described second network equipment provides.
Further, described registration equipment handoff parameter includes the unified handoff parameter of all application or the unified handoff parameter of certain applications.
Further, control the described first break-make connected according to described registration equipment handoff parameter to include:
Unified handoff parameter according to all application disconnects the service subscription person of application and is connected with the first of described first service registration equipment with servicing publisher.
Further, the registration equipment handoff parameter of the described registration equipment handoff parameter person that includes service subscription and service the registration equipment handoff parameter of publisher.
Further, control the described first break-make connected according to described registration equipment handoff parameter to include:
Registration equipment handoff parameter according to described service subscription person disconnects the service subscription person of application and is connected with the first of described first service registration equipment;
Registration equipment handoff parameter according to described service publisher disconnects the publisher that services of application and is connected with the first of described first service registration equipment.
The application also provides on the other hand a kind of in second network equipment end method for assisting switching service registry equipment, including:
Registration equipment handoff parameter is sent to first network equipment.
Further, send registration equipment handoff parameter to first network equipment to include:
The registration equipment handoff parameter of the service subscription person of correspondence application is sent to first network equipment;
The registration equipment handoff parameter servicing publisher of correspondence application is sent to first network equipment.
Further, described registration equipment handoff parameter includes the unified handoff parameter of all application or the unified handoff parameter of certain applications.
The application also provides for a kind of first network equipment for switching service registry equipment on the other hand, including:
First device, the service subscription person for setting up application is connected with the first of first service registration equipment and second service registration equipment respectively with servicing publisher;
Second device, for obtaining the registration equipment handoff parameter that second network equipment provides;
3rd device, controls the described first break-make connected according to described registration equipment handoff parameter.
Further, described first device includes:
First module, registers equipment and the reference configuration parameter of second service registration equipment for obtaining to apply about first service;
Second unit, the service subscription person for setting up described application according to described reference configuration parameter is connected with the first of described first service registration equipment and described second service registration equipment respectively with servicing publisher.Further,
Further, the reference configuration parameter that the described application that described first module obtains registers equipment about first service includes the described application communication mode about first service registration equipment, and the reference configuration parameter that described application registers equipment about second service includes the described application communication mode about second service registration equipment.
Further, the described application that described first module obtains services publisher and the information exchange system servicing between subscriber about what first service registered that the reference configuration parameter of equipment also includes described application, and described application services publisher and the information exchange system servicing between subscriber about what second service registered that the reference configuration parameter of equipment also includes described application.
Further, described second unit, including:
Unit the 2nd 1, sets up the service subscription person of described application for registering the reference configuration parameter of equipment according to application about first service and services the first of publisher and described first service registration equipment and be connected;
Unit the two or two, sets up the service subscription person of described application for registering the reference configuration parameter of equipment according to application about second service and services the first of publisher and described second service registration equipment and be connected.
Further, the first connection status connected that described Unit the two or two is set up is identical with the first connection status connected that described Unit the 2nd 1 is set up.
Further, described second device, it is additionally operable to set up the second connection of described first network equipment and second network equipment, and connects, according to described second, the registration equipment handoff parameter that described second network equipment of acquisition provides.
Further, described second device, it is additionally operable to set up the second connection of described first network equipment and second network equipment, and connects, according to described second, the registration equipment handoff parameter that described second network equipment of acquisition provides.
Further, described 3rd device, disconnect the service subscription person of application for the unified handoff parameter according to all application and be connected with the first of described first service registration equipment with servicing publisher.
Further, described 3rd device, for judging whether to disconnect the service subscription person of application and service publisher to be connected with the first of described first service registration equipment according to the unified handoff parameter of certain applications.
Further, the registration equipment handoff parameter of the described registration equipment handoff parameter person that includes service subscription that described second device obtains and service the registration equipment handoff parameter of publisher.
Further, described 3rd device, including:
Unit the 3rd, the service subscription person disconnecting application for the registration equipment handoff parameter according to described service subscription person is connected with the first of described first service registration equipment;
Unit the 4th, the publisher that services being used for the registration equipment handoff parameter disconnection application according to described service publisher is connected with the first of described first service registration equipment.The application also provides for a kind of second network equipment for assisting switching service registry equipment on the other hand, for sending registration equipment handoff parameter to first network equipment.
Further, for sending the registration equipment handoff parameter of the service subscription person of correspondence application to first network equipment, and the registration equipment handoff parameter servicing publisher of correspondence application is sent to first network equipment.
Further, the registration equipment handoff parameter for pushing to the network equipment includes the unified handoff parameter of all application or the unified handoff parameter of certain applications.
The application also provides for a kind of service registry equipment switching system on the other hand, including described first network equipment and described second network equipment.
Compared with prior art, the application can under the premise not changing applied business code, realize first service registration equipment and know the whole network synchronism switching when second service registration equipment runs, server resets when avoiding each application cluster independently to switch and resource input, the smooth first service registration equipment that rolls off the production line, and shorten the switching cycle with second service registration equipment that rolls off the production line of first service registration equipment.
Further, obtain application by first network equipment and register equipment and the reference configuration parameter of second service registration equipment about first service, realize first network equipment the old network equipment and to be switched destination network device to be merged, thus the service subscription person applied is attached communicating with described first service registration equipment and described second service registration equipment by first network equipment with servicing publisher respectively.
Further, the unified handoff parameter of all application or the unified handoff parameter of certain applications is included by described registration equipment handoff parameter, can meet the service subscription person of all application and service publisher and be all switched to the scene of a destination network device from an old network equipment, or the service subscription person of certain applications has only to use second service registration equipment with servicing publisher, and another part application service subscription person and service publisher need simultaneously use first service registration equipment and second service registration equipment scene, or by the service subscription person of all application with service publisher all from before an old network equipment is switched to a destination network device, individually switch the demand of several scenes that should be used as verification of correctness.
Further, register the first of equipment by service subscription person with described first service and be connected disconnection in advance, service publisher is connected to the first of described first service registration equipment and disconnects afterwards, it is ensured that service subscription person can also find all of service publisher before being switched to second service registration equipment on first service registration equipment.
Accompanying drawing explanation
By reading the detailed description that non-limiting example is made made with reference to the following drawings, other features, purpose and advantage will become more apparent upon:
Fig. 1 illustrates role's schematic diagram that existing first network equipment relates to;
Fig. 2 illustrate according to one aspect of the application in first network equipment end for switching the method flow diagram of service registry equipment;
Fig. 3 illustrate according to one preferred embodiment of the application in first network equipment end for switching the method flow diagram of service registry equipment;
Fig. 4 illustrate according to another preferred embodiment of the application in first network equipment end for switching the method flow diagram of service registry equipment;
Fig. 5 illustrate according to another preferred embodiment of the application in first network equipment end for switching the method flow diagram of service registry equipment;
Fig. 6 illustrates a kind of first network equipment schematic diagram for switching service registry equipment according to one aspect of the application;
Fig. 7 illustrates a kind of first network equipment schematic diagram for switching service registry equipment according to one preferred embodiment of the application;
Fig. 8 illustrates a kind of first network equipment schematic diagram for switching service registry equipment according to another preferred embodiment of the application;
Fig. 9 illustrates a kind of first network equipment schematic diagram for switching service registry equipment according to another preferred embodiment of the application;
Figure 10 illustrates the equipment connection diagram of the front Framework1 of upgrading of the Application Example concrete according to the application;
Figure 11 illustrates the equipment connection diagram of Framework2+ after the upgrading of the Application Example concrete according to the application;
After Figure 12 illustrates the upgrading of the Application Example concrete according to the application, Framework2 disconnects the schematic diagram that service subscription person is connected with Reg1;
Figure 13 illustrates that the Framework2 after upgrading of the Application Example concrete according to the application disconnects and services the schematic diagram that publisher is connected with Reg1.
In accompanying drawing, same or analogous accompanying drawing labelling represents same or analogous parts.
Detailed description of the invention
In one typical configuration of the application, terminal, the equipment of service network and trusted party all include one or more processor (CPU), input/output interface, network interface and internal memory.
Internal memory potentially includes the forms such as the volatile memory in computer-readable medium, random access memory (RAM) and/or Nonvolatile memory, such as read only memory (ROM) or flash memory (flashRAM).Internal memory is the example of computer-readable medium.
Computer-readable medium includes permanent and impermanency, removable and non-removable media can by any method or technology to realize information storage.Information can be computer-readable instruction, data structure, the module of program or other data.The example of the storage medium of computer includes, but it is not limited to phase transition internal memory (PRAM), static RAM (SRAM), dynamic random access memory (DRAM), other kinds of random access memory (RAM), read only memory (ROM), Electrically Erasable Read Only Memory (EEPROM), fast flash memory bank or other memory techniques, read-only optical disc read only memory (CD-ROM), digital versatile disc (DVD) or other optical storage, magnetic cassette tape, magnetic disk storage or other magnetic storage apparatus or any other non-transmission medium, can be used for the information that storage can be accessed by a computing device.According to defining herein, computer-readable medium does not include non-temporary computer readable media (transitorymedia), such as data signal and the carrier wave of modulation.
Fig. 2 illustrate according to one aspect of the application in first network equipment end for switching the method flow diagram of service registry equipment, in conjunction with Fig. 2, the application proposes a kind of to include for the method switching service registry equipment in first network equipment end:
Step S1, the service subscription person setting up application is connected with the first of first service registration equipment and second service registration equipment respectively with servicing publisher;
Step S2, obtains the registration equipment handoff parameter that second network equipment provides;
Step S3, controls the described first break-make connected according to described registration equipment handoff parameter.
Described first network equipment includes providing infrastructural support for the serviceization of application, it is achieved the service call of transparence, telecommunication, cluster is fault-tolerant, the equipment of service registry and discovery feature, such as distributed far call framework etc..Described first service registers equipment and second service is registered equipment and included the service registry as described first network equipment and lookup equipment, for management and aggregated service end address list, the life cycle of aware services publisher and subscriber, the equipment that notice address of service updates, such as service register center etc..The second described network equipment is except having the issue and subscription service providing perdurable data, it is possible to by changing the configuration content of second network equipment, dynamically changes outside the function of behavior of application and service, also has the function providing registration equipment handoff parameter.Described registration equipment handoff parameter can be global configuration rule or local configuration rule, respectively in order to the switching of all registration service equipment of application or certain applications.Those skilled in the art will be understood that the above-mentioned description to described first network equipment, first service registration equipment, second service registration equipment, second network equipment and registration equipment handoff parameter is only for example; other existing or be likely to occur from now on to described first network equipment, first service registration equipment, second service registration equipment, second network equipment and registration equipment handoff parameter as being applicable to the application; also should be included within the application protection domain, and be incorporated herein with way of reference at this.
The core concept of the application is that first network equipment merges the old network equipment and to be switched destination network device simultaneously, supporting the first service registration equipment of the old network equipment and the second service registration equipment of destination network device, the follow-up registration equipment handoff parameter according to the second network equipment offer controls the service subscription person of application and services first break-make being connected of publisher and first service registration equipment and second service registration equipment simultaneously.Because all application clusters all can pass through first network equipment subscription registration equipment handoff parameter, and dynamically come into force, thus can realize the whole network service subscription person when not restarting service and switch service registry equipment subscription service again, and the whole network services publisher and realizes single registration service equipment configuration, thus being greatly shortened cycle and the human input of the switching of service registry equipment.
The application first network equipment end method for switching service registry equipment, can under the premise not changing applied business code, realize first service registration equipment and know the whole network synchronism switching when second service registration equipment runs, server resets when avoiding each application cluster independently to switch and resource input, the smooth first service registration equipment that rolls off the production line, and shorten the switching cycle with second service registration equipment that rolls off the production line of first service registration equipment.
Fig. 3 illustrates that the first network equipment end of the application one preferred embodiment is for switching the method flow diagram of service registry equipment.Include in conjunction with the step S1 in Fig. 3, Fig. 2:
Step S11, obtains application and registers equipment and the reference configuration parameter of second service registration equipment about first service;
Step S12, sets up the service subscription person of described application according to described reference configuration parameter and is connected with the first of described first service registration equipment and described second service registration equipment respectively with servicing publisher.
At this, first network equipment obtains application and registers equipment and the reference configuration parameter of second service registration equipment about first service, realize first network equipment the old network equipment and to be switched destination network device to be merged, thus the service subscription person applied is attached communicating with described first service registration equipment and described second service registration equipment by first network equipment with servicing publisher respectively.Those skilled in the art will be understood that the service subscription person that above-mentioned foundation is applied is only for example with the first description being connected of first service registration equipment and second service registration equipment respectively with servicing publisher; other described service subscription persons setting up application that are existing or that be likely to occur from now on are connected as being applicable to the application with the first of first service registration equipment and second service registration equipment with servicing publisher respectively; also should be included within the application protection domain, and be incorporated herein with way of reference at this.
In the application one preferred embodiment, in the described step S11 of Fig. 3:
The reference configuration parameter that described application registers equipment about first service includes the described application communication mode about first service registration equipment;
The reference configuration parameter that described application registers equipment about second service includes the described application communication mode about second service registration equipment.Thus, subsequent step can register the communication mode of the communication mode of equipment and second service registration equipment based on first service and realize setting up the service subscription person of application and service publisher and register the first of equipment and second service registration equipment respectively with first service and be connected.
In the embodiment that the application one is more excellent, in described step S11:
Described application services publisher and the information exchange system servicing between subscriber about what first service registered that the reference configuration parameter of equipment also includes described application;
Described application services publisher and the information exchange system servicing between subscriber about what second service registered that the reference configuration parameter of equipment also includes described application.Thus realizing servicing publisher and servicing between subscriber of application, described information exchange system can include servicing publisher and the communication protocol servicing between subscriber and code encoding/decoding mode.
Those skilled in the art will be understood that the description of above-mentioned reference configuration parameter is only for example; other existing or reference configuration parameters of being likely to occur from now on are as being applicable to the application; also should be included within the application protection domain, and be incorporated herein with way of reference at this.
As shown in Figure 4, in the application one preferred embodiment, the step S12 of Fig. 3 includes:
Step S121, registers the reference configuration parameter of equipment according to application about first service and sets up the service subscription person of described application and service the first of publisher and described first service registration equipment and be connected;
Step S122, registers the reference configuration parameter of equipment according to application about second service and sets up the service subscription person of described application and service the first of publisher and described second service registration equipment and be connected.Concrete, owing to first service registration equipment is different with the reference configuration parameter that second service registers equipment, so registering time equipment sets up the first connection to set up connection respectively according to corresponding reference configuration parameter with a service registry equipment and second service respectively.
nullIn the embodiment that the application one is more excellent,In above-mentioned steps S122,The service subscription person of application and service connection status and the service subscription person of this application of the first connection of publisher and described second service registration equipment and to service publisher identical with the first connection status being connected of described first service registration equipment,If namely the service subscription person of certain application is connected with described first service establishing of equipment of registration with servicing publisher,Then the service subscription person of this application and publisher and the described second service registration equipment that services also are set up and are connected,If the service subscription person of certain application and service publisher and described first service registration equipment be not set up be connected,Then the service subscription person of this application and publisher and the described second service registration equipment that services are not set up yet and are connected,The present embodiment can realize subsequent step and with servicing publisher, the service subscription person all using the application of first service registration equipment is switched to second service registration equipment.
In the application one preferred embodiment, include before the step S2 of Fig. 2:
Set up the second connection of described first network equipment and second network equipment;
Accordingly, step S2 includes:
Connect according to described second and obtain the registration equipment handoff parameter that described second network equipment provides.Concrete, the second described network equipment can be the configuration equipment of a to be switched destination network device, after setting up the second connection, second network equipment can realize and the communication of first network equipment, thus second network equipment can send registration equipment handoff parameter to first network equipment, to control the service subscription person of application and to service first break-make being connected of publisher and first service registration equipment.
In the application one preferred embodiment, the described registration equipment handoff parameter in step S2 includes the unified handoff parameter of all application or the unified handoff parameter of certain applications.Accordingly, in step S3, first network equipment can disconnect the service subscription person of application according to the unified handoff parameter of all application and be connected with the first of described first service registration equipment with servicing publisher, namely all original all application being connected with first service registration equipment are all registered equipment with first service and are disconnected, this scheme suitable in by the service subscription person of all application with service publisher and be all switched to the scene of a destination network device from an old network equipment;nullAdditionally,First network equipment can also judge whether to disconnect the service subscription person of application and service publisher to be connected with the first of described first service registration equipment according to the unified handoff parameter of certain applications,Namely according to the unified handoff parameter of the certain applications received, first network equipment judges that the application at its place is to register equipment to disconnect also to be to maintain be connected with first service,This scheme is applicable to the service subscription person of certain applications and has only to use second service registration equipment with servicing publisher,And the service subscription person of another part application needs to use first service to register equipment and the scene of second service registration equipment with servicing publisher simultaneously,Or it is applicable to the service subscription person of all application and services publisher all from before an old network equipment is switched to a destination network device,Individually switch several scenes that should be used as verification of correctness.Those skilled in the art will be understood that the description of above-mentioned registration equipment handoff parameter is only for example; other existing or registration equipment handoff parameters of being likely to occur from now on are as being applicable to the application; also should be included within the application protection domain, and be incorporated herein with way of reference at this.
In the application one preferred embodiment, the registration equipment handoff parameter of the described registration equipment handoff parameter in step S2 includes service subscription person and service the registration equipment handoff parameter of publisher.Accordingly, as it is shown in figure 5, step S3 includes:
Step S31, the service subscription person disconnecting application according to the registration equipment handoff parameter of described service subscription person is connected with the first of described first service registration equipment;
Step S32, the publisher that services disconnecting application according to the registration equipment handoff parameter of described service publisher is connected with the first of described first service registration equipment.At this, service subscription person registers the first of equipment and is connected disconnection in advance with described first service, service publisher is connected to the first of described first service registration equipment and disconnects afterwards, the person that can ensure that service subscription can also find all of service publisher before being switched to second service registration equipment on first service registration equipment, otherwise, if servicing publisher first to disconnect with first service registration equipment, first service registration equipment does not just service the information of publisher, and now service subscription person still connects first service registration equipment, still can register equipment from first service to look for and service publisher, result can not find in first service registration equipment exactly and services publisher.
Another side according to the application, the application also provide for a kind of the second network equipment end for assist switching service registry equipment method, including:
Registration equipment handoff parameter is sent to first network equipment.
In the application one preferred embodiment, send registration equipment handoff parameter to first network equipment and include:
The registration equipment handoff parameter of the service subscription person of correspondence application is sent to first network equipment;
The registration equipment handoff parameter servicing publisher of correspondence application is sent to first network equipment.Thus the person that realizes service subscription and service publisher respectively with the first break-make being connected of the first registration service equipment.
In the application one preferred embodiment, described registration equipment handoff parameter includes the unified handoff parameter of all application or the unified handoff parameter of certain applications.Thus, follow-up first network equipment can disconnect the service subscription person of application according to the unified handoff parameter of all application and be connected with the first of described first service registration equipment with servicing publisher, namely all original all application being connected with first service registration equipment are all registered equipment with first service and are disconnected, this scheme suitable in by the service subscription person of all application with service publisher and be all switched to the scene of a destination network device from an old network equipment;nullAdditionally,First network equipment can also judge whether to disconnect the service subscription person of application and service publisher to be connected with the first of described first service registration equipment according to the unified handoff parameter of certain applications,Namely according to the unified handoff parameter of the certain applications received, first network equipment judges that the application at its place is to register equipment to disconnect also to be to maintain be connected with first service,This scheme is applicable to the service subscription person of certain applications and has only to use second service registration equipment with servicing publisher,And the service subscription person of another part application needs to use first service to register equipment and the scene of second service registration equipment with servicing publisher simultaneously,Or it is applicable to the service subscription person of all application and services publisher and be all switched to the family of a destination network device from an old network equipment,Individually switch several scenes that should be used as verification of correctness.
As shown in Figure 6, also provide for a kind of first network equipment 100 for switching service registry equipment according to the another side of the application, including:
First device 1, the service subscription person for setting up application is connected with the first of first service registration equipment and second service registration equipment respectively with servicing publisher;
Second device 2, for obtaining the registration equipment handoff parameter that second network equipment provides;
3rd device 3, controls the described first break-make connected according to described registration equipment handoff parameter.
Described first network equipment includes providing infrastructural support for the serviceization of application, it is achieved the service call of transparence, telecommunication, cluster is fault-tolerant, the equipment of service registry and discovery feature, such as distributed far call framework etc..Described first service registers equipment and second service is registered equipment and included the service registry as described first network equipment and lookup equipment, for management and aggregated service end address list, the life cycle of aware services publisher and subscriber, the equipment that notice address of service updates, such as service register center etc..The second described network equipment is except having the issue and subscription service providing perdurable data, it is possible to by changing the configuration content of second network equipment, dynamically changes outside the function of behavior of application and service, also has the function providing registration equipment handoff parameter.Described registration equipment handoff parameter can be global configuration rule or local configuration rule, respectively in order to the switching of all registration service equipment of application or certain applications.Those skilled in the art will be understood that the above-mentioned description to described first network equipment, first service registration equipment, second service registration equipment, second network equipment and registration equipment handoff parameter is only for example; other existing or be likely to occur from now on to described first network equipment, first service registration equipment, second service registration equipment, second network equipment and registration equipment handoff parameter as being applicable to the application; also should be included within the application protection domain, and be incorporated herein with way of reference at this.
The core concept of the application is that first network equipment merges the old network equipment and to be switched destination network device simultaneously, supporting the first service registration equipment of the old network equipment and the second service registration equipment of destination network device, the follow-up registration equipment handoff parameter according to the second network equipment offer controls the service subscription person of application and services first break-make being connected of publisher and first service registration equipment and second service registration equipment simultaneously.Because all application clusters all can pass through first network equipment subscription registration equipment handoff parameter, and dynamically come into force, thus can realize the whole network service subscription person when not restarting service and switch service registry equipment subscription service again, and the whole network services publisher and realizes single registration service equipment configuration, thus being greatly shortened cycle and the human input of the switching of service registry equipment.
The application first network equipment end method for switching service registry equipment, can under the premise not changing applied business code, realize first service registration equipment and know the whole network synchronism switching when second service registration equipment runs, server resets when avoiding each application cluster independently to switch and resource input, the smooth first service registration equipment that rolls off the production line, and shorten the switching cycle with second service registration equipment that rolls off the production line of first service registration equipment.
As it is shown in fig. 7, in the application one preferred embodiment, described first device 1 includes:
First module 11, registers equipment and the reference configuration parameter of second service registration equipment for obtaining to apply about first service;
Second unit 12, the service subscription person for setting up described application according to described reference configuration parameter is connected with the first of described first service registration equipment and described second service registration equipment respectively with servicing publisher.
At this, first network equipment obtains application and registers equipment and the reference configuration parameter of second service registration equipment about first service, realize first network equipment the old network equipment and to be switched destination network device to be merged, thus the service subscription person applied is attached communicating with described first service registration equipment and described second service registration equipment by first network equipment with servicing publisher respectively.Those skilled in the art will be understood that the service subscription person that above-mentioned foundation is applied is only for example with the first description being connected of first service registration equipment and second service registration equipment respectively with servicing publisher; other described service subscription persons setting up application that are existing or that be likely to occur from now on are connected as being applicable to the application with the first of first service registration equipment and second service registration equipment with servicing publisher respectively; also should be included within the application protection domain, and be incorporated herein with way of reference at this.
In the embodiment that the application one is more excellent, the reference configuration parameter that the described application that described first module obtains registers equipment about first service includes the described application communication mode about first service registration equipment, and the reference configuration parameter that described application registers equipment about second service includes the described application communication mode about second service registration equipment.Thus, follow-up can register the communication mode of the communication mode of equipment and second service registration equipment based on first service and realize setting up the service subscription person of application and service publisher and register the first of equipment and second service registration equipment respectively with first service and be connected.
In the embodiment that the application one is more excellent, the described application that described first module obtains services publisher and the information exchange system servicing between subscriber about what first service registered that the reference configuration parameter of equipment also includes described application, and described application services publisher and the information exchange system servicing between subscriber about what second service registered that the reference configuration parameter of equipment also includes described application.Thus realizing servicing publisher and servicing between subscriber of application, described information exchange system can include servicing publisher and the communication protocol servicing between subscriber and code encoding/decoding mode.
Those skilled in the art will be understood that the description of above-mentioned reference configuration parameter is only for example; other existing or reference configuration parameters of being likely to occur from now on are as being applicable to the application; also should be included within the application protection domain, and be incorporated herein with way of reference at this.
As shown in Figure 8, in the application one preferred embodiment, described second unit 12, including:
2nd 1 unit 121, sets up the service subscription person of described application for registering the reference configuration parameter of equipment according to application about first service and services the first of publisher and described first service registration equipment and be connected;
Two or two unit 122, sets up the service subscription person of described application for registering the reference configuration parameter of equipment according to application about second service and services the first of publisher and described second service registration equipment and be connected.Concrete, owing to first service registration equipment is different with the reference configuration parameter that second service registers equipment, so registering time equipment sets up the first connection to set up connection respectively according to corresponding reference configuration parameter with a service registry equipment and second service respectively.
In the embodiment that the application one is more excellent, the first connection status connected that described Unit the two or two is set up is identical with the first connection status connected that described Unit the 2nd 1 is set up, , if namely the service subscription person of certain application is connected with described first service establishing of equipment of registration with servicing publisher, then the service subscription person of this application and publisher and the described second service registration equipment that services also are set up and are connected, if the service subscription person of certain application and service publisher and described first service registration equipment be not set up be connected, then the service subscription person of this application and publisher and the described second service registration equipment that services are not set up yet and are connected, the present embodiment can realize follow-up by all use first service registration equipment application service subscription person and service publisher be switched to second service registration equipment.
In the application one preferred embodiment, described second device, it is additionally operable to set up the second connection of described first network equipment and second network equipment, and connects, according to described second, the registration equipment handoff parameter that described second network equipment of acquisition provides.Concrete, the second described network equipment can be the configuration equipment of a to be switched destination network device, after setting up the second connection, second network equipment can realize and the communication of first network equipment, thus second network equipment can send registration equipment handoff parameter to first network equipment, to control the service subscription person of application and to service first break-make being connected of publisher and first service registration equipment.
In the application one preferred embodiment, the described registration equipment handoff parameter that described second device obtains includes the unified handoff parameter of all application or the unified handoff parameter of certain applications.Accordingly, described 3rd device, disconnect the service subscription person of application for the unified handoff parameter according to all application to be connected with the first of described first service registration equipment with servicing publisher, namely all original all application being connected with first service registration equipment are all registered equipment with first service and are disconnected, this scheme suitable in by the service subscription person of all application with service publisher and be all switched to the scene of a destination network device from an old network equipment.nullOr described 3rd device,For judging whether to disconnect the service subscription person of application and service publisher to be connected with the first of described first service registration equipment according to the unified handoff parameter of certain applications,Namely according to the unified handoff parameter of the certain applications received, first network equipment judges that the application at its place is to register equipment to disconnect also to be to maintain be connected with first service,This scheme is applicable to the service subscription person of certain applications and has only to use second service registration equipment with servicing publisher,And the service subscription person of another part application needs to use first service to register equipment and the scene of second service registration equipment with servicing publisher simultaneously,Or it is applicable to the service subscription person of all application and services publisher all from before an old network equipment is switched to a destination network device,Individually switch several scenes that should be used as verification of correctness.Those skilled in the art will be understood that the description of above-mentioned registration equipment handoff parameter is only for example; other existing or registration equipment handoff parameters of being likely to occur from now on are as being applicable to the application; also should be included within the application protection domain, and be incorporated herein with way of reference at this.
As it is shown in figure 9, in the application one preferred embodiment, the registration equipment handoff parameter of the described registration equipment handoff parameter that described second device obtains includes service subscription person and service the registration equipment handoff parameter of publisher.Accordingly, described 3rd device 3, including:
3rd unit 31, the service subscription person disconnecting application for the registration equipment handoff parameter according to described service subscription person is connected with the first of described first service registration equipment;
4th unit 32, the publisher that services being used for the registration equipment handoff parameter disconnection application according to described service publisher is connected with the first of described first service registration equipment.At this, service subscription person registers the first of equipment and is connected disconnection in advance with described first service, service publisher is connected to the first of described first service registration equipment and disconnects afterwards, the person that can ensure that service subscription can also find all of service publisher before being switched to second service registration equipment on first service registration equipment, otherwise, if servicing publisher first to disconnect with first service registration equipment, first service registration equipment does not just service the information of publisher, and now service subscription person still connects first service registration equipment, still can register equipment from first service to look for and service publisher, result can not find in first service registration equipment exactly and services publisher.
Another side according to the application also provides for a kind of second network equipment for assisting switching service registry equipment, for sending registration equipment handoff parameter to first network equipment.
In the application one preferred embodiment, described second network equipment for sending the registration equipment handoff parameter of the service subscription person of correspondence application to first network equipment, and send the registration equipment handoff parameter servicing publisher of correspondence application to first network equipment.Thus the person that realizes service subscription and service publisher respectively with the first break-make being connected of the first registration service equipment
In the application one preferred embodiment, described second network equipment includes the unified handoff parameter of all application or the unified handoff parameter of certain applications for the registration equipment handoff parameter pushed to the network equipment.Thus, follow-up first network equipment can disconnect the service subscription person of application according to the unified handoff parameter of all application and be connected with the first of described first service registration equipment with servicing publisher, namely all original all application being connected with first service registration equipment are all registered equipment with first service and are disconnected, this scheme suitable in by the service subscription person of all application with service publisher and be all switched to the scene of a destination network device from an old network equipment;nullAdditionally,First network equipment can also judge whether to disconnect the service subscription person of application and service publisher to be connected with the first of described first service registration equipment according to the unified handoff parameter of certain applications,Namely according to the unified handoff parameter of the certain applications received, first network equipment judges that the application at its place is to register equipment to disconnect also to be to maintain be connected with first service,This scheme is applicable to the service subscription person of certain applications and has only to use second service registration equipment with servicing publisher,And the service subscription person of another part application needs to use first service to register equipment and the scene of second service registration equipment with servicing publisher simultaneously,Or it is applicable to the service subscription person of all application and services publisher and be all switched to the family of a destination network device from an old network equipment,Individually switch several scenes that should be used as verification of correctness.
Further illustrate described herein for switching the method for service registry equipment, equipment and system below in conjunction with concrete Application Example.
With reference to Figure 10, in a concrete Application Example, three are had to apply respectively AppA, AppB and AppC, wherein, AppA is the supplier ProviderB that supplier ProviderA, AppB are service B of service A, AppC is the supplier ProviderC of service C, meanwhile, AppA is the subscriber ConsumerC that subscriber ConsumerB, AppB are service C of service B.These three application need from old upgrading network equipment to destination network device, the old network equipment described here is an old distributed far call framework Framework1, and destination network device is the far call framework Framework2 of a target distribution formula.The service registry equipment of Framework1 be first service registration equipment Reg1, Framework2 service registry equipment be second service registration equipment Reg2, Framework2 second network equipment be configuration center Config2.First network equipment is the fusion framework Framework2+ merging Framework1 and Framework2.Referring next to Figure 11, escalation process adopts and merges framework Framework2+ and set up application AppA, the service subscription person of AppB and AppC and service publisher and register the first of equipment Reg1 and second service registration equipment Reg2 respectively with first service and be connected.nullWith continued reference to Figure 12,Fusion framework Framework2+ and configuration center Config2 sets up second and is connected,Connect described fusion framework Framework2+ based on described second and the registration equipment handoff parameter of the configuration center Config2 service subscription person provided is provided,And the registration equipment handoff parameter according to service subscription person disconnects and the connection of first service registration equipment Reg1,At this moment all of Consumer is not connected with Reg1 as can see from Figure 8,Turn finally to Figure 13,Merge framework Framework2+ and the registration equipment handoff parameter of the configuration center Config2 ISP provided is provided,And the registration equipment handoff parameter according to ISP disconnects and the connection of first service registration equipment Reg1,At this moment can see from Figure 13 that all of Provider changes the mono-registration of Reg2 into,Connection with Reg1 disconnects,Present Reg1 is not connected with any application,Can fall below,Thus registration center has switched.The core of this application embodiment is first to be that application needs to be upgraded to the fusion framework Framework2+ simultaneously merging Framework1 and Framework2, two kinds of first service registration equipment Reg1 and second service registration equipment Reg2 can be supported simultaneously, finally cut away first service registration equipment Reg1, all service second services registration equipment Reg2, first service registration equipment Reg1 rolls off the production line.This, the replacement of service framework, it is impossible to directly replaced with Framework2 by Framework1, it is necessary to be upgraded to Framework2+, merge Framework1 and Framework2, make application can directly be upgraded to Framework2+ when not changing service code.Framework2+ needs realization to service the issue of publisher double; two registration centers simultaneously.
In sum, the application can under the premise not changing applied business code, realize first service registration equipment and know the whole network synchronism switching when second service registration equipment runs, server resets when avoiding each application cluster independently to switch and resource input, the smooth first service registration equipment that rolls off the production line, and shorten the switching cycle with second service registration equipment that rolls off the production line of first service registration equipment.
Further, obtain application by first network equipment and register equipment and the reference configuration parameter of second service registration equipment about first service, realize first network equipment the old network equipment and to be switched destination network device to be merged, thus the service subscription person applied is attached communicating with described first service registration equipment and described second service registration equipment by first network equipment with servicing publisher respectively.
Further, the unified handoff parameter of all application or the unified handoff parameter of certain applications is included by described registration equipment handoff parameter, can meet the service subscription person of all application and service publisher and be all switched to the scene of a destination network device from an old network equipment, or the service subscription person of certain applications has only to use second service registration equipment with servicing publisher, and another part application service subscription person and service publisher need simultaneously use first service registration equipment and second service registration equipment scene, or by the service subscription person of all application with service publisher all from before an old network equipment is switched to a destination network device, individually switch the demand of several scenes that should be used as verification of correctness.
Further, register the first of equipment by service subscription person with described first service and be connected disconnection in advance, service publisher is connected to the first of described first service registration equipment and disconnects afterwards, it is ensured that service subscription person can also find all of service publisher before being switched to second service registration equipment on first service registration equipment.
Obviously, the application can be carried out various change and modification without deviating from spirit and scope by those skilled in the art.So, if these amendments of the application and modification belong within the scope of the application claim and equivalent technologies thereof, then the application is also intended to comprise these change and modification.
It should be noted that the application can be implemented in the assembly of software and/or software and hardware, for instance, special IC (ASIC), general purpose computer or any other similar hardware device can be adopted to realize.In one embodiment, the software program of the application can perform to realize steps described above or function by processor.Similarly, the software program of the application can be stored in computer readable recording medium storing program for performing (including the data structure being correlated with), for instance, RAM memory, magnetically or optically driver or floppy disc and similar devices.It addition, some steps of the application or function can employ hardware to realize, for instance, as coordinating with processor thus performing the circuit of each step or function.
It addition, the part of the application can be applied to computer program, for instance computer program instructions, when it is computer-executed, by the operation of this computer, it is possible to call or provide according to the present processes and/or technical scheme.And call the programmed instruction of the present processes, it is possibly stored in fixing or moveable record medium, and/or by broadcast or data stream in other signal bearing medias and be transmitted, and/or be stored in the working storage of the computer equipment run according to described programmed instruction.At this, an embodiment according to the application includes a device, this device includes the memorizer for storing computer program instructions and for performing the processor of programmed instruction, wherein, when this computer program instructions is performed by this processor, trigger this plant running based on the method for aforementioned multiple embodiments according to the application and/or technical scheme.
It is obvious to a person skilled in the art that the application is not limited to the details of above-mentioned one exemplary embodiment, and when without departing substantially from spirit herein or basic feature, it is possible to realize the application in other specific forms.Therefore, no matter from which point, embodiment all should be regarded as exemplary, and be nonrestrictive, scope of the present application is limited by claims rather than described above, it is intended that all changes in the implication of the equivalency dropping on claim and scope be included in the application.Any accompanying drawing labelling in claim should be considered as the claim that restriction is involved.Furthermore, it is to be understood that " including " word is not excluded for other unit or step, odd number is not excluded for plural number.Multiple unit or the device stated in device claim can also be realized by software or hardware by a unit or device.The first, the second word such as grade is used for representing title, and is not offered as any specific order.

Claims (31)

1. the method being used in first network equipment end switching service registry equipment, wherein, described method includes:
The service subscription person setting up application is connected with the first of first service registration equipment and second service registration equipment respectively with servicing publisher;
Obtain the registration equipment handoff parameter that second network equipment provides;
The described first break-make connected is controlled according to described registration equipment handoff parameter.
2. the method for claim 1, wherein set up the service subscription person of application and service publisher and register the first of equipment and second service registration equipment respectively with first service and be connected and include:
Obtain application and register equipment and the reference configuration parameter of second service registration equipment about first service;
Set up the service subscription person of described application according to described reference configuration parameter to be connected with the first of described first service registration equipment and described second service registration equipment respectively with servicing publisher.
3. method as claimed in claim 2, wherein, obtains in the reference configuration parameter that equipment and second service registration equipment are registered in application about first service:
The reference configuration parameter that described application registers equipment about first service includes the described application communication mode about first service registration equipment;
The reference configuration parameter that described application registers equipment about second service includes the described application communication mode about second service registration equipment.
4. method as claimed in claim 3, wherein, obtains in the reference configuration parameter that equipment and second service registration equipment are registered in application about first service:
Described application services publisher and the information exchange system servicing between subscriber about what first service registered that the reference configuration parameter of equipment also includes described application;
Described application services publisher and the information exchange system servicing between subscriber about what second service registered that the reference configuration parameter of equipment also includes described application.
5. the method as according to any one of claim 2 to 4, wherein, set up the service subscription person of described application according to described reference configuration parameter and service publisher and register the first of equipment and described second service registration equipment respectively with described first service and be connected and include:
Register the reference configuration parameter of equipment according to application about first service set up the service subscription person of described application and service the first of publisher and described first service registration equipment and be connected;
Register the reference configuration parameter of equipment according to application about second service set up the service subscription person of described application and service the first of publisher and described second service registration equipment and be connected.
6. method as claimed in claim 5, wherein, registers the reference configuration parameter of equipment according to application about second service and sets up the service subscription person of described application and service during publisher is connected with the first of described second service registration equipment:
The service subscription person of application and service connection status and the service subscription person of this application of the first connection of publisher and described second service registration equipment and to service publisher identical with the first connection status being connected of described first service registration equipment.
7. the method as according to any one of claim 1 to 6, wherein, includes before obtaining the step of the registration equipment handoff parameter that described second network equipment provides:
Set up the second connection of described first network equipment and second network equipment;
Wherein, the registration equipment handoff parameter that obtaining second network equipment provides includes:
Connect according to described second and obtain the registration equipment handoff parameter that described second network equipment provides.
8. the method as described in any one of claim 1 to 7, wherein, described registration equipment handoff parameter includes the unified handoff parameter of all application or the unified handoff parameter of certain applications.
9. method as claimed in claim 8, wherein, controls the described first break-make connected according to described registration equipment handoff parameter and includes:
Unified handoff parameter according to all application disconnects the service subscription person of application and is connected with the first of described first service registration equipment with servicing publisher.
10. method as claimed in claim 8, wherein, controls the described first break-make connected according to described registration equipment handoff parameter and includes:
Unified handoff parameter according to certain applications judges whether to disconnect the service subscription person of application and service publisher to be connected with the first of described first service registration equipment.
11. the method as described in any one of claim 1 to 10, wherein, the registration equipment handoff parameter of described registration equipment handoff parameter includes service subscription person and service the registration equipment handoff parameter of publisher.
12. method as claimed in claim 11, wherein, control the described first break-make connected according to described registration equipment handoff parameter and include:
Registration equipment handoff parameter according to described service subscription person disconnects the service subscription person of application and is connected with the first of described first service registration equipment;
Registration equipment handoff parameter according to described service publisher disconnects the publisher that services of application and is connected with the first of described first service registration equipment.
13. the method being used at the second network equipment end assisting switching service registry equipment, wherein, including:
Registration equipment handoff parameter is sent to first network equipment.
14. method as claimed in claim 13, wherein, send registration equipment handoff parameter to first network equipment and include:
The registration equipment handoff parameter of the service subscription person of correspondence application is sent to first network equipment;
The registration equipment handoff parameter servicing publisher of correspondence application is sent to first network equipment.
15. the method as described in claim 13 or 14, wherein, described registration equipment handoff parameter includes the unified handoff parameter of all application or the unified handoff parameter of certain applications.
16. for switching the first network equipment of service registry equipment, wherein, including:
First device, the service subscription person for setting up application is connected with the first of first service registration equipment and second service registration equipment respectively with servicing publisher;
Second device, for obtaining the registration equipment handoff parameter that second network equipment provides;
3rd device, controls the described first break-make connected according to described registration equipment handoff parameter.
17. first network equipment as claimed in claim 16, wherein, described first device includes:
First module, registers equipment and the reference configuration parameter of second service registration equipment for obtaining to apply about first service;
Second unit, the service subscription person for setting up described application according to described reference configuration parameter is connected with the first of described first service registration equipment and described second service registration equipment respectively with servicing publisher.
18. first network equipment as claimed in claim 17, wherein, the reference configuration parameter that the described application that described first module obtains registers equipment about first service includes the described application communication mode about first service registration equipment, and the reference configuration parameter that described application registers equipment about second service includes the described application communication mode about second service registration equipment.
19. first network equipment as claimed in claim 18, wherein, the described application that described first module obtains services publisher and the information exchange system servicing between subscriber about what first service registered that the reference configuration parameter of equipment also includes described application, and described application services publisher and the information exchange system servicing between subscriber about what second service registered that the reference configuration parameter of equipment also includes described application.
20. the first network equipment as according to any one of claim 17 to 19, wherein, described second unit, including:
Unit the 2nd 1, sets up the service subscription person of described application for registering the reference configuration parameter of equipment according to application about first service and services the first of publisher and described first service registration equipment and be connected;
Unit the two or two, sets up the service subscription person of described application for registering the reference configuration parameter of equipment according to application about second service and services the first of publisher and described second service registration equipment and be connected.
21. first network equipment as claimed in claim 20, wherein, the first connection status connected that described Unit the two or two is set up is identical with the first connection status connected that described Unit the 2nd 1 is set up.
22. the first network equipment as described in any one of claim 16 to 21, wherein, described second device, is additionally operable to set up the second connection of described first network equipment and second network equipment, and connects, according to described second, the registration equipment handoff parameter that described second network equipment of acquisition provides.
23. the first network equipment as described in any one of claim 16 to 22, wherein, the described registration equipment handoff parameter that described second device obtains includes the unified handoff parameter of all application or the unified handoff parameter of certain applications.
24. first network equipment as claimed in claim 23, wherein, described 3rd device, disconnect the service subscription person of application for the unified handoff parameter according to all application and be connected with the first of described first service registration equipment with servicing publisher.
25. first network equipment as claimed in claim 24, wherein, described 3rd device, for judging whether to disconnect the service subscription person of application and service publisher to be connected with the first of described first service registration equipment according to the unified handoff parameter of certain applications.
26. the first network equipment as described in any one of claim 16 to 25, wherein, the registration equipment handoff parameter of the described registration equipment handoff parameter person that includes service subscription that described second device obtains and service the registration equipment handoff parameter of publisher.
27. first network equipment as claimed in claim 26, wherein, described 3rd device, including:
Unit the 3rd, the service subscription person disconnecting application for the registration equipment handoff parameter according to described service subscription person is connected with the first of described first service registration equipment;
Unit the 4th, the publisher that services being used for the registration equipment handoff parameter disconnection application according to described service publisher is connected with the first of described first service registration equipment.
28. for second network equipment assisting switching service registry equipment, wherein, for sending registration equipment handoff parameter to first network equipment.
29. second network equipment as claimed in claim 28, wherein, for sending the registration equipment handoff parameter of the service subscription person of correspondence application to first network equipment, and send the registration equipment handoff parameter servicing publisher of correspondence application to first network equipment.
30. second network equipment as claimed in claim 28, wherein, include the unified handoff parameter of all application or the unified handoff parameter of certain applications for the registration equipment handoff parameter pushed to the network equipment.
31. a service registry equipment switching system, wherein, including the first network equipment as described in any one of claim 16 to 27 and second network equipment as described in any one of claim 28 or 30.
CN201410784985.1A 2014-12-16 2014-12-16 For switching the method, equipment and system of service registration equipment Active CN105763582B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410784985.1A CN105763582B (en) 2014-12-16 2014-12-16 For switching the method, equipment and system of service registration equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410784985.1A CN105763582B (en) 2014-12-16 2014-12-16 For switching the method, equipment and system of service registration equipment

Publications (2)

Publication Number Publication Date
CN105763582A true CN105763582A (en) 2016-07-13
CN105763582B CN105763582B (en) 2019-04-09

Family

ID=56340131

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410784985.1A Active CN105763582B (en) 2014-12-16 2014-12-16 For switching the method, equipment and system of service registration equipment

Country Status (1)

Country Link
CN (1) CN105763582B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106100952A (en) * 2016-08-24 2016-11-09 杭州索浪信息技术有限公司 A kind of intelligent switch of changeable network
CN112422309A (en) * 2019-08-23 2021-02-26 阿里巴巴集团控股有限公司 System and method for distributed service discovery, storage medium and terminal
CN113938520A (en) * 2021-08-31 2022-01-14 阿里巴巴(中国)有限公司 Service registration method, device and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110093127A1 (en) * 2009-10-16 2011-04-21 David L. Kaplan Distributed energy resources manager
CN102684930A (en) * 2012-06-08 2012-09-19 山东科汇电力自动化有限公司 Distributed application high-reliability realization mechanism and operation method based on in-circuit emulator (ICE)
CN103227723A (en) * 2013-05-14 2013-07-31 浙江宇天科技股份有限公司 Service publication method, service publication server and service registering machine
CN103516746A (en) * 2012-06-26 2014-01-15 中兴通讯股份有限公司 Method for pushing service change information, device and system thereof

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110093127A1 (en) * 2009-10-16 2011-04-21 David L. Kaplan Distributed energy resources manager
CN102684930A (en) * 2012-06-08 2012-09-19 山东科汇电力自动化有限公司 Distributed application high-reliability realization mechanism and operation method based on in-circuit emulator (ICE)
CN103516746A (en) * 2012-06-26 2014-01-15 中兴通讯股份有限公司 Method for pushing service change information, device and system thereof
CN103227723A (en) * 2013-05-14 2013-07-31 浙江宇天科技股份有限公司 Service publication method, service publication server and service registering machine

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106100952A (en) * 2016-08-24 2016-11-09 杭州索浪信息技术有限公司 A kind of intelligent switch of changeable network
CN112422309A (en) * 2019-08-23 2021-02-26 阿里巴巴集团控股有限公司 System and method for distributed service discovery, storage medium and terminal
CN112422309B (en) * 2019-08-23 2023-03-28 阿里巴巴集团控股有限公司 System and method for distributed service discovery, storage medium and terminal
CN113938520A (en) * 2021-08-31 2022-01-14 阿里巴巴(中国)有限公司 Service registration method, device and storage medium

Also Published As

Publication number Publication date
CN105763582B (en) 2019-04-09

Similar Documents

Publication Publication Date Title
US10298457B2 (en) Synchronization of configuration file of virtual application distribution chassis
US20160294886A1 (en) Registration Method and System for Common Service Entity
US20150088995A1 (en) Method and apparatus for sharing contents using information of group change in content oriented network environment
CN102316043B (en) Port virtualization method, switch and communication system
CN111343241B (en) Graph data updating method, device and system
TW201724001A (en) System and method for acquiring, processing and updating global information
CN102523278A (en) Cloud-computing based service providing method and network operator server
JP2019506764A (en) System and method for obtaining, processing and updating global information
CN103346914A (en) Method and device for topological structure update of distributed file system
CN107005435A (en) A kind of network service descriptor restocking method and device
CN105763582A (en) Method, device and system for switching service registration equipment
CN104348888A (en) Content routing delivery method, content delivery network node and system
CN110111095B (en) Payment transaction weight judging method and payment system
CN110012111B (en) Data service cluster system and data processing method
US9706440B2 (en) Mobile communication system, call processing node, and communication control method
CN104917800A (en) Method and device for establishing redundancy connection for virtual machine
CN109005203B (en) Data synchronization method and device, storage medium, processor and terminal
CN106462421B (en) Telecommunication device and method for updating software in a telecommunication device
US11290318B2 (en) Disaster recovery of cloud resources
CN107404511B (en) Method and device for replacing servers in cluster
CN103997518A (en) CDN-node file synchronization method and device
CN103023897A (en) Synchronization service management system and method
CN104486215A (en) Message transmitting method and equipment
CN102611922A (en) Method for uniformly releasing digital television portals and system thereof
CN110287395A (en) A kind of crawler method, apparatus, system, equipment and readable storage medium storing program for executing

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant