CN105763582B - For switching the method, equipment and system of service registration equipment - Google Patents
For switching the method, equipment and system of service registration equipment Download PDFInfo
- Publication number
- CN105763582B CN105763582B CN201410784985.1A CN201410784985A CN105763582B CN 105763582 B CN105763582 B CN 105763582B CN 201410784985 A CN201410784985 A CN 201410784985A CN 105763582 B CN105763582 B CN 105763582B
- 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.)
- Active
Links
Abstract
The application provides a kind of for switching the method, equipment and system of service registration equipment, the application can be under the premise of not changing applied business code, realize the whole network synchronism switching when first service registration equipment knows second service registration equipment operation, server resets and resource input when each application cluster being avoided independently to switch, smooth offline first service registers equipment, and shortens the switching cycle of the offline and second service registration equipment of first service registration equipment.
Description
Technical field
This application involves communication and computer field more particularly to a kind of method for switching service registration equipment, set
Standby and system.
Background technique
Using the subsystems for being entire website such as shopping website of composition etc., such as merchandise mart relevant with commodity,
The relevant transaction platform with transaction payment.Using service can be provided, the service that other application apparatus provides can also be relied on.Respectively
A application apparatus passes through to interdepend completes the various functions such as shopping function of website together.
First network equipment is to provide infrastructural support for the service of application, realizes the service call of transparence, long-range logical
Letter, cluster is fault-tolerant, the equipment of service registration and discovery feature, and first network equipment can be distributed far call frame etc.
Equipment.
Service registration equipment is the service registration of the first network equipment and searches equipment, for managing and polymerizeing clothes
Business end address list, the life cycle of aware services publisher and subscriber, notice address of service update, and service registration equipment can
To be the equipment such as service register center.
Second network equipment can be by changing the second network for providing the publication and subscription service of perdurable data
The configuration content of equipment, dynamic change 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 split into multiple applications usually to realize serviceization, and each application cluster passes through
For example distributed far call frame of first network equipment carries out the transparent far call based on interface.In general, realizing one
First network equipment needs to solve the problems, such as following:
(1) telecommunication, this is the basis of first network equipment, and the logical of the network equipment is realized on Network Communication Framework
Believe agreement and code encoding/decoding mode, realizes the service subscription person of application and the message exchange of service publisher;
(2) service registration and discovery are usually realized by service registration equipment such as service register center, service publisher to clothes
Business registration equipment issuing service, service subscription person search and find service, service registration equipment and service from service registration equipment
Frame is a kind of relationship relied on by force;
(3) service is administered, and is usually realized by second network equipment such as configuration center, by some configuration parameters to service
It is managed and dynamic adjusts, for example realize the grouping of service, routing rule, the functions such as flow control.
As shown in Figure 1, first network equipment substantially relates to so several roles: service publisher, service subscription person, clothes
Business registration equipment and second network equipment such as configuration center etc..In Fig. 1, service the publisher A or B of an application pass through first network
Equipment (not shown) to 1 issuing service of service registration equipment, service subscription person A or B by the first network equipment from
Service registration equipment 1 is searched and discovery service, and second network equipment 2 is by some configuration parameters via first network equipment to clothes
Business is managed and dynamic adjusts, for example realizes the grouping of service, routing rule, the functions such as flow control.
In systems development process, need to change old first network equipment, such as original first network in some cases
Equipment encounters some bottlenecks that can not be broken through and is unable to satisfy business development;Or since company's merger or historical reasons are needed two
Kind first network equipment unified fusion in order to system intercommunication and reduces network equipment maintenance cost.In this case, if worked as
There are many preceding number of applications, interdepend more complicated, the replacement of first network equipment or fusion can upper one it is considerably complicated and consume
When effort engineering, problem is mainly reflected in:
(1) being directly based upon new network device modification application is that less receptible thing has because too big using improvement cost
Many new problems may be introduced;
(2) network equipment handoff procedure must assure that the availability of service, and realization smoothly switches;
(3) service publisher synchronous will be transformed with service subscriber, rely between application and be difficult to assist in more situation
It adjusts;
(4) relationship that first network equipment and service registration equipment rely on by force causes to be needed in escalation process in old clothes
Business registration equipment and new service registration equipment transition, until all applications are all switched to new service registration setting could be offline
Old service registration equipment.
The network equipment is not transformed usually for prior art, and all applications are based on destination network device and business generation is transformed
Code upgrades, then offline original annotation volume service equipment simultaneously after the completion of transformation, in old registration service equipment to target registered service
In equipment handoff procedure, in such a way that each application cluster is changed respectively, for the angle of service role, need first to institute
The person's that has service subscription switches over, and modifies and cuts to all service publishers again after the completion of all service subscription persons switchings
It changes.In the more much situations of application cluster, all applications are difficult to be uniformly coordinated, and switching cycle can be long, and respectively applies
The person that is substantially both service subscription and service publisher, need to configure and restart two-wheeled.The main problem of the existing scheme is to answer
It is bigger with the cost of transformation, it additionally needs all applications while upgrading, it is difficult under scale and dependence complex situations in number of applications
To coordinate, and has and service unavailable situation for a long time.
Apply for content
The purpose of the application is to provide a kind of service registration equipment switching method and system, solves the switching of service registration equipment
The problem that process is complicated, switching cycle is long.
In view of this, the application provides the method for being used to switch service registration equipment in first network equipment end, the side
Method includes:
Equipment is registered with first service respectively by the service subscription person and service publisher for establishing application and second service is registered
First connection of equipment;
It obtains and registers equipment handoff parameter provided by second network equipment;
The on-off of first connection is controlled according to the registration equipment handoff parameter.
Further, the service subscription person and service publisher for establishing application register equipment and second with first service respectively
The first of service registration equipment connects
Obtain the reference configuration parameter that equipment and second service registration equipment are registered in application about first service;
The service subscription person and service publisher for establishing the application according to the reference configuration parameter are respectively with described the
First connection of one service registration equipment and second service registration equipment.
Further, the reference configuration parameter that equipment and second service registration equipment are registered in application about first service is obtained
In:
The application includes the application about first service note about the reference configuration parameter of first service registration equipment
The communication mode of volume equipment;
The application includes the application about second service note about the reference configuration parameter of second service registration equipment
The communication mode of volume equipment.
Further, the reference configuration parameter that equipment and second service registration equipment are registered in application about first service is obtained
In:
It is described application about first service registration equipment reference configuration parameter further include the application service publisher
Information exchange system between service subscriber;
It is described application about second service registration equipment reference configuration parameter further include the application service publisher
Information exchange system between service subscriber.
Further, service subscription person and the service publisher's difference of the application are established according to the reference configuration parameter
Equipment is registered with the first service and the second service is registered the first of equipment and connect and includes:
According to application about first service registration equipment reference configuration parameter establish the application service subscription person and
Service publisher connect with the first of first service registration equipment;
According to application about second service registration equipment reference configuration parameter establish the application service subscription person and
Service publisher connect with the first of second service registration equipment.
Further, the service of the application is established about the reference configuration parameter of second service registration equipment according to application
Subscriber and service publisher and the second service are registered the first of equipment and are connect:
The first connection shape connecting of the service subscription person and service publisher of application and second service registration equipment
First connection status connecting of state and the service subscription person of the application and service publisher and first service registration equipment
It is identical.
Further, include: before the step of obtaining registration equipment handoff parameter provided by second network equipment
The first network equipment is established with second network equipment second connect;
Wherein, obtaining registration equipment handoff parameter provided by second network equipment includes:
Registration equipment handoff parameter provided by second network equipment is obtained according to second connection.
Further, the registration equipment handoff parameter includes the unified handoff parameter of all applications or the system of certain applications
One handoff parameter.
Further, include: according to the on-off that the registration equipment handoff parameter controls first connection
The service subscription person and service publisher and described first of application are disconnected according to the unified handoff parameter of all applications
First connection of service registration equipment.
Further, the registration equipment handoff parameter of the registration equipment handoff parameter person that includes service subscription and service publication
The registration equipment handoff parameter of person.
Further, include: according to the on-off that the registration equipment handoff parameter controls first connection
The service subscription person of application and described first is disconnected according to the registration equipment handoff parameter of the service subscription person to take
First connection of business registration equipment;
The service publisher of application and described first is disconnected according to the registration equipment handoff parameter of the service publisher to take
First connection of business registration equipment.
On the other hand the application also provides a kind of side for being used to assist switching service registration equipment at the second network equipment end
Method, comprising:
Registration equipment handoff parameter is sent to first network equipment.
Further, sending registration equipment handoff parameter to first network equipment includes:
The registration equipment handoff parameter of the service subscription person of corresponding application is sent to first network equipment;
The registration equipment handoff parameter of the service publisher of corresponding application is sent to first network equipment.
Further, the registration equipment handoff parameter includes the unified handoff parameter of all applications or the system of certain applications
One handoff parameter.
On the other hand the application also provides a kind of for switching the first network equipment of service registration equipment, comprising:
First device, for establish application service subscription person and service publisher respectively with first service registration equipment and
Second service registers the first connection of equipment;
Second device registers equipment handoff parameter for obtaining provided by second network equipment;
3rd device controls the on-off of first connection according to the registration equipment handoff parameter.
Further, the first device includes:
First unit, for obtaining using the reference configuration for registering equipment and second service registration equipment about first service
Parameter;
Second unit, for establishing the service subscription person and service publisher of the application according to the reference configuration parameter
Register equipment and second service registration equipment with the first service respectively first connect.Further,
Further, reference configuration parameter of the application that the first unit obtains about first service registration equipment
Communication mode including the application about first service registration equipment, reference of the application about second service registration equipment
Configuration parameter includes communication mode of the application about second service registration equipment.
Further, reference configuration parameter of the application that the first unit obtains about first service registration equipment
It further include the information exchange system between the service publisher of the application and service subscriber, the application is about second service
The reference configuration parameter of registration equipment further includes the information exchange side between the service publisher of the application and service subscriber
Formula.
Further, the second unit, comprising:
Unit the 2nd 1 establishes the application for the reference configuration parameter according to application about first service registration equipment
Service subscription person and service publisher and the first service register the first of equipment and connect;
Unit the two or two establishes the application for the reference configuration parameter according to application about second service registration equipment
Service subscription person and service publisher and the second service register the first of equipment and connect.
Further, what the connection status for the first connection that Unit the two or two is established and Unit the 2nd 1 were established
The connection status of first connection is identical.
Further, the second device is also used to establish the second of the first network equipment and second network equipment
Connection, and registration equipment handoff parameter provided by second network equipment is obtained according to second connection.
Further, the second device is also used to establish the second of the first network equipment and second network equipment
Connection, and registration equipment handoff parameter provided by second network equipment is obtained according to second connection.
Further, the 3rd device, the service for disconnecting application according to the unified handoff parameter of all applications are ordered
Reader and service publisher connect with the first of first service registration equipment.
Further, the 3rd device judges whether to disconnect application for the unified handoff parameter according to certain applications
Service subscription person and service publisher and the first service register the first of equipment and connect.
Further, the registration of the registration equipment handoff parameter that the second device obtains includes service subscription person is set
The registration equipment handoff parameter of standby handoff parameter and service publisher.
Further, the 3rd device, comprising:
Third unit, for disconnecting the service subscription person of application according to the registration equipment handoff parameter of the service subscription person
It is connect with the first of first service registration equipment;
Unit the 4th, for disconnecting the service publisher of application according to the registration equipment handoff parameter of the service publisher
It is connect with the first of first service registration equipment.On the other hand the application also provides a kind of for assisting switching service registration
Second network equipment of equipment, for sending registration equipment handoff parameter to first network equipment.
Further, switch ginseng for sending the registration equipment of the service subscription person of corresponding application to first network equipment
Number, and the corresponding registration equipment handoff parameter for servicing publisher applied is sent to first network equipment.
Further, the registration equipment handoff parameter for pushing to the network equipment includes the unified switching ginseng of all applications
Several or certain applications unified handoff parameters.
On the other hand the application also provides a kind of service registration equipment switching system, including the first network equipment and institute
State second network equipment.
Compared with prior art, the application can realize first service note under the premise of not changing applied business code
Volume equipment knows the whole network synchronism switching when second service registration equipment operation, service weight when each application cluster being avoided independently to switch
It opens and resource input, smooth offline first service registers equipment, and shorten the offline and second service of first service registration equipment
Register the switching cycle of equipment.
Further, application is obtained by first network equipment to set about first service registration equipment and second service registration
Standby reference configuration parameter realizes that first network equipment melts the old network equipment and to be switched destination network device
It closes, so that the service subscription person of application and service publisher register equipment with the first service respectively by first network equipment
Communication is attached with second service registration equipment.
It further, include unified handoff parameter or the certain applications of all applications by the registration equipment handoff parameter
Unified handoff parameter, can meet by the service subscription person of all applications and service publisher all from an old network equipment
It is switched to the scene of a destination network device or the service subscription person of certain applications and service publisher only needs using second
Service registration equipment, and the service subscription person and service publisher of another part application need to set using first service registration simultaneously
The scene of standby and second service registration equipment, or the service subscription person of all applications and service publisher is all old from one
The network equipment be switched to before a destination network device, the demand that the scene of verification of correctness is done in several applications is individually switched.
Further, the first of equipment is registered with the first service by service subscription person connect disconnection in advance, service
The first of publisher and first service registration equipment disconnects after being connected to, it is ensured that service subscription person is being switched to the
It can also be registered in first service before two service registration equipment and find all service publishers in equipment.
Detailed description of the invention
By reading a detailed description of non-restrictive embodiments in the light of the attached drawings below, the application's is other
Feature, objects and advantages will become more apparent upon:
Fig. 1 shows role's schematic diagram that existing first network equipment is related to;
Fig. 2 shows the methods for being used to switch service registration equipment in first network equipment end according to the application one aspect
Flow chart;
Fig. 3 is shown according to one preferred embodiment of the application in first network equipment end for switching service registration equipment
Method flow diagram;
Fig. 4 shows setting for switching service registration in first network equipment end according to another preferred embodiment of the application
Standby method flow diagram;
Fig. 5 shows setting for switching service registration in first network equipment end according to another preferred embodiment of the application
Standby method flow diagram;
Fig. 6 is shown to be illustrated according to a kind of first network equipment for switching service registration equipment of the application one aspect
Figure;
Fig. 7 is shown to be set according to a kind of first network for switching service registration equipment of one preferred embodiment of the application
Standby schematic diagram;
Fig. 8 is shown according to a kind of for switching the first network of service registration equipment of the application another preferred embodiment
Equipment schematic diagram;
Fig. 9 is shown according to a kind of for switching the first network of service registration equipment of the application another preferred embodiment
Equipment schematic diagram;
Figure 10 shows the equipment connection schematic diagram of Framework1 before the upgrading according to the specific Application Example of the application;
Figure 11 shows the equipment connection signal of Framework2+ after the upgrading according to the specific Application Example of the application
Figure;
Figure 12 show Framework2 after the upgrading according to the specific Application Example of the application disconnect service subscription person with
The schematic diagram of Reg1 connection;
Figure 13, which is shown, disconnects service publisher according to the Framework2 after upgrading of the specific Application Example of the application
The schematic diagram being connect with Reg1.
The same or similar appended drawing reference represents the same or similar component in attached drawing.
Specific embodiment
In a typical configuration of this application, terminal, the equipment of service network and trusted party include one or more
Processor (CPU), input/output interface, network interface and memory.
Memory may include the non-volatile memory in computer-readable medium, random access memory (RAM) and/or
The forms such as Nonvolatile memory, such as read-only memory (ROM) or flash memory (flash RAM).Memory is computer-readable medium
Example.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be by any method
Or technology come realize information store.Information can be computer readable instructions, data structure, the module of program or other data.
The example of the storage medium of computer includes, but are not limited to phase change memory (PRAM), static random access memory (SRAM), moves
State random access memory (DRAM), other kinds of random access memory (RAM), read-only memory (ROM), electric erasable
Programmable read only memory (EEPROM), flash memory or other memory techniques, read-only disc read only memory (CD-ROM) (CD-ROM),
Digital versatile disc (DVD) or other optical storage, magnetic cassettes, magnetic tape disk storage or other magnetic storage devices or
Any other non-transmission medium, can be used for storage can be accessed by a computing device information.As defined in this article, computer
Readable medium does not include non-temporary computer readable media (transitory media), such as the data-signal and carrier wave of modulation.
Fig. 2 shows the methods for being used to switch service registration equipment in first network equipment end according to the application one aspect
Flow chart, in conjunction with Fig. 2, the application proposes that a kind of method for being used to switch service registration equipment in first network equipment end includes:
Step S1, the service subscription person for establishing application and service publisher register equipment and the second clothes with first service respectively
First connection of business registration equipment;
Step S2 is obtained and is registered equipment handoff parameter provided by second network equipment;
Step S3 controls the on-off of first connection according to the registration equipment handoff parameter.
The first network equipment includes providing infrastructural support for the service of application, realizes the service tune of transparence
With telecommunication, cluster is fault-tolerant, the equipment of service registration and discovery feature, such as distributed far call frame.Described
First service registers equipment and second service to register equipment include as the service registration of the first network equipment and searching equipment,
Address of service is notified more with aggregated service end address list, the life cycle of aware services publisher and subscriber for managing
New equipment, such as service register center.Second network equipment is in addition to having the publication for providing perdurable data and ordering
The service of readding can be changed outside the function of application and the behavior serviced by the configuration content of second network equipment of change, dynamic, be gone back
Have the function of providing registration equipment handoff parameter.The registration equipment handoff parameter can be global configuration rule or part
Configuration rule, the respectively switching to all registration service equipment of application or certain applications.Those skilled in the art should be able to manage
It solves above-mentioned to the first network equipment, first service registration equipment, second service registration equipment, second network equipment and registration
The description of equipment handoff parameter is only for example, other it is existing or be likely to occur from now on to the first network equipment, first
Service registration equipment, second service registration equipment, second network equipment and registration equipment handoff parameter are such as applicable to the application,
It should also be included within the application protection scope, and be incorporated herein by reference.
The core concept of the application is first network equipment while merging the old network equipment and to be switched target network
Equipment can support that the first service of the old network equipment registers equipment and the second service registration of destination network device is set simultaneously
It is standby, the service subscription person and service publisher of the subsequent registration equipment handoff parameter control application provided according to second network equipment
The first on-off connecting of equipment and second service registration equipment is registered with first service.Because all application clusters can all pass through
First network equipment subscription registration equipment handoff parameter, and dynamic comes into force, it thus can be real in the case where not restarting service
Existing the whole network service subscription person switches service registration equipment, and subscription service and the whole network service publisher realize single registration service again
Device configuration, to greatly shorten period and the human input of service registration equipment switching.
The method that the application first network equipment end is used to switch service registration equipment, can not change applied business generation
Under the premise of code, realizes the whole network synchronism switching when first service registration equipment knows second service registration equipment operation, avoid each
Server resets and resource input when application cluster independently switches, smooth offline first service register equipment, and shorten the first clothes
The switching cycle of the offline and second service registration equipment of business registration equipment.
The first network equipment end that Fig. 3 shows one preferred embodiment of the application is used to switch the method stream of service registration equipment
Cheng Tu.In conjunction with Fig. 3, the step S1 in Fig. 2 includes:
Step S11 obtains the reference configuration parameter that equipment and second service registration equipment are registered in application about first service;
Step S12 establishes service subscription person and the service publisher's difference of the application according to the reference configuration parameter
Register equipment and second service registration equipment with the first service first connect.
Here, first network equipment obtains the reference that equipment and second service registration equipment are registered in application about first service
Configuration parameter realizes that first network equipment merges the old network equipment and to be switched destination network device, to answer
Service subscription person and service publisher register equipment and described the with the first service respectively by first network equipment
Two service registration equipment are attached communication.Those skilled in the art will be understood that service subscription person's kimonos of above-mentioned foundation application
The first description connecting that business publisher registers equipment and second service registration equipment with first service respectively is only for example, other
The service subscription person and service publisher that the foundation that is existing or being likely to occur from now on is applied register with first service respectively
Equipment and second service registration equipment first connection be such as applicable to the application, should also be included in the application protection scope with
It is interior, and be incorporated herein by reference.
In one preferred embodiment of the application, in the step S11 of Fig. 3:
The application includes the application about first service note about the reference configuration parameter of first service registration equipment
The communication mode of volume equipment;
The application includes the application about second service note about the reference configuration parameter of second service registration equipment
The communication mode of volume equipment.To which the communication mode and second service of equipment can be registered in subsequent step based on first service
The communication mode for registering equipment realizes that the service subscription person for establishing application and service publisher register equipment with first service respectively
With the first connection of second service registration equipment.
The application one is more preferably in embodiment, in the step S11:
It is described application about first service registration equipment reference configuration parameter further include the application service publisher
Information exchange system between service subscriber;
It is described application about second service registration equipment reference configuration parameter further include the application service publisher
Information exchange system between service subscriber.It is described to realize between the service publisher of application and service subscriber
Information exchange system may include the communication protocol and code encoding/decoding mode serviced between publisher and service subscriber.
Those skilled in the art will be understood that the description of above-mentioned reference configuration parameter is only for example, other are existing or from now on
The reference configuration parameter being likely to occur such as is applicable to the application, should also be included within the application protection scope, and herein with
Way of reference is incorporated herein.
As shown in figure 4, in one preferred embodiment of the application, the step S12 of Fig. 3 includes:
Step S121 establishes the service of the application according to application about the reference configuration parameter of first service registration equipment
Subscriber and service publisher connect with the first of first service registration equipment;
Step S122 establishes the service of the application according to application about the reference configuration parameter of second service registration equipment
Subscriber and service publisher connect with the first of second service registration equipment.Specifically, since first service registration is set
It is standby different with the second service registration reference configuration parameter of equipment, so being registered respectively with a service registration equipment and second service
Equipment will establish respectively connection according to corresponding reference configuration parameter when establishing the first connection.
The application one is more preferably in embodiment, in above-mentioned steps S122, the service subscription person and service publisher of application with
The connection status of the first connection of the second service registration equipment and the service subscription person of the application and service publisher and institute
The connection status for stating the first connection of first service registration equipment is identical, i.e., if the service subscription person of some application and service hair
Cloth person and the first service establishing for equipment of registration connects, then the service subscription person of the application and service publisher with it is described
Second service registration equipment also establishes connection, if the service subscription person of some application and service publisher and the first service
Registration equipment does not establish connection, then the service subscription person of the application and service publisher and the second service register equipment
Also connection is not established, subsequent step, which may be implemented, in the present embodiment all to be ordered using the service of the application of first service registration equipment
Reader and service publisher are switched to second service registration equipment.
In one preferred embodiment of the application, include: before the step S2 of Fig. 2
The first network equipment is established with second network equipment second connect;
Correspondingly, step S2 includes:
Registration equipment handoff parameter provided by second network equipment is obtained according to second connection.Specifically,
Second network equipment can be the configuration equipment of a to be switched destination network device, after establishing the second connection, second
The communication with first network equipment can be realized in the network equipment, registers so that second network equipment can be sent to first network equipment
Equipment handoff parameter, to control the service subscription person of application and service what publisher connect with the first of first service registration equipment
On-off.
In one preferred embodiment of the application, the registration equipment handoff parameter in step S2 includes the system of all applications
One handoff parameter or the unified handoff parameter of certain applications.Correspondingly, first network equipment can be answered according to all in step S3
Unified handoff parameter disconnects the service subscription person and service publisher and the first of first service registration equipment of application
Connection, i.e., all applications connecting originally with first service registration equipment are all disconnected with first service registration equipment,
This scheme is suitable for for the service subscription person of all applications and service publisher being all switched to from an old network equipment
The scene of one destination network device;In addition, first network equipment can also be according to the judgement of the unified handoff parameter of certain applications
The no service subscription person for disconnecting application and service publisher connect with the first of first service registration equipment, i.e. first network
Application where equipment judges it according to the unified handoff parameter of the certain applications received is disconnected with first service registration equipment
It opens connection and is also to maintain connection, this scheme is suitable for the service subscription person of certain applications and services publisher only needing to use the
Two service registration equipment, and the service subscription person and service publisher of another part application need to register using first service simultaneously
The scene of equipment and second service registration equipment, or suitable for the service subscription person of all applications and service publisher is whole
The network equipment old from one is switched to before a destination network device, and the field that verification of correctness is done in several applications is individually switched
Scape.Those skilled in the art will be understood that the description of above-mentioned registration equipment handoff parameter is only for example, other are existing or from now on
The registration equipment handoff parameter being likely to occur such as is applicable to the application, should also be included within the application protection scope, and
This is incorporated herein by reference.
In one preferred embodiment of the application, the registration equipment handoff parameter in step S2 include service subscription person's
It registers equipment handoff parameter and services the registration equipment handoff parameter of publisher.Correspondingly, as shown in figure 5, step S3 includes:
Step S31 disconnects service subscription person and the institute of application according to the registration equipment handoff parameter of the service subscription person
State the first connection of first service registration equipment;
Step S32 disconnects service publisher and the institute of application according to the registration equipment handoff parameter of the service publisher
State the first connection of first service registration equipment.Here, service subscription person connect with the first of first service registration equipment
It disconnects in advance, service publisher disconnects after being connected to the first of first service registration equipment, it is ensured that service is ordered
Reader can also register in first service before being switched to second service registration equipment and find all service publishers in equipment, no
Then, if service publisher first disconnects with first service registration equipment, just without service publication in first service registration equipment
The information of person, and service subscription person still connects first service registration equipment at this time, still can register equipment from first service
Service publisher is looked for, is as a result exactly that can not find service publisher in first service registration equipment.
According to the another side of the application, the application also provides a kind of switch at the second network equipment end for auxiliary and services note
The method of volume equipment, comprising:
Registration equipment handoff parameter is sent to first network equipment.
In one preferred embodiment of the application, sending registration equipment handoff parameter to first network equipment includes:
The registration equipment handoff parameter of the service subscription person of corresponding application is sent to first network equipment;
The registration equipment handoff parameter of the service publisher of corresponding application is sent to first network equipment.To realize service
Subscriber and service publisher respectively with the first on-off connecting of the first registration service equipment.
In one preferred embodiment of the application, the registration equipment handoff parameter includes the unified handoff parameter of all applications
Or the unified handoff parameter of certain applications.To which subsequent first network equipment can be according to the unified handoff parameter of all applications
The service subscription person and service publisher and the first service for disconnecting application register the first of equipment and connect, i.e., it is all originally with
All applications of first service registration equipment connection are all disconnected with first service registration equipment, this scheme is suitable for institute
There is the service subscription person of application and services the field that publisher is all switched to a destination network device from an old network equipment
Scape;In addition, first network equipment can also judge whether that the service for disconnecting application is ordered according to the unified handoff parameter of certain applications
Reader and service publisher connect with the first of first service registration equipment, i.e., first network equipment is according to the portion received
Application where dividing the unified handoff parameter of application to judge it is to disconnect also to be to maintain with first service registration equipment to connect,
This scheme is suitable for the service subscription person of certain applications and service publisher only needs to register equipment using second service, and another
The service subscription person and service publisher of a part application are needed while being registered using first service registration equipment and second service
The scene of equipment, or suitable for by the service subscription person of all applications and service publisher all from an old network equipment
It is switched to the family of a destination network device, the scene that verification of correctness is done in several applications is individually switched.
As shown in fig. 6, also being provided according to the another side of the application a kind of for switching the first network of service registration equipment
Equipment 100, comprising:
First device 1, service subscription person and service publisher for establishing application register equipment with first service respectively
With the first connection of second service registration equipment;
Second device 2 registers equipment handoff parameter for obtaining provided by second network equipment;
3rd device 3 controls the on-off of first connection according to the registration equipment handoff parameter.
The first network equipment includes providing infrastructural support for the service of application, realizes the service tune of transparence
With telecommunication, cluster is fault-tolerant, the equipment of service registration and discovery feature, such as distributed far call frame.Described
First service registers equipment and second service to register equipment include as the service registration of the first network equipment and searching equipment,
Address of service is notified more with aggregated service end address list, the life cycle of aware services publisher and subscriber for managing
New equipment, such as service register center.Second network equipment is in addition to having the publication for providing perdurable data and ordering
The service of readding can be changed outside the function of application and the behavior serviced by the configuration content of second network equipment of change, dynamic, be gone back
Have the function of providing registration equipment handoff parameter.The registration equipment handoff parameter can be global configuration rule or part
Configuration rule, the respectively switching to all registration service equipment of application or certain applications.Those skilled in the art should be able to manage
It solves above-mentioned to the first network equipment, first service registration equipment, second service registration equipment, second network equipment and registration
The description of equipment handoff parameter is only for example, other it is existing or be likely to occur from now on to the first network equipment, first
Service registration equipment, second service registration equipment, second network equipment and registration equipment handoff parameter are such as applicable to the application,
It should also be included within the application protection scope, and be incorporated herein by reference.
The core concept of the application is first network equipment while merging the old network equipment and to be switched target network
Equipment can support that the first service of the old network equipment registers equipment and the second service registration of destination network device is set simultaneously
It is standby, the service subscription person and service publisher of the subsequent registration equipment handoff parameter control application provided according to second network equipment
The first on-off connecting of equipment and second service registration equipment is registered with first service.Because all application clusters can all pass through
First network equipment subscription registration equipment handoff parameter, and dynamic comes into force, it thus can be real in the case where not restarting service
Existing the whole network service subscription person switches service registration equipment, and subscription service and the whole network service publisher realize single registration service again
Device configuration, to greatly shorten period and the human input of service registration equipment switching.
The method that the application first network equipment end is used to switch service registration equipment, can not change applied business generation
Under the premise of code, realizes the whole network synchronism switching when first service registration equipment knows second service registration equipment operation, avoid each
Server resets and resource input when application cluster independently switches, smooth offline first service register equipment, and shorten the first clothes
The switching cycle of the offline and second service registration equipment of business registration equipment.
As shown in fig. 7, in one preferred embodiment of the application, the first device 1 includes:
First unit 11 is matched for obtaining using the reference for registering equipment and second service registration equipment about first service
Set parameter;
Second unit 12, for establishing service subscription person and the service publication of the application according to the reference configuration parameter
Person registers equipment and the first of second service registration equipment with the first service respectively and connect.
Here, first network equipment obtains the reference that equipment and second service registration equipment are registered in application about first service
Configuration parameter realizes that first network equipment merges the old network equipment and to be switched destination network device, to answer
Service subscription person and service publisher register equipment and described the with the first service respectively by first network equipment
Two service registration equipment are attached communication.Those skilled in the art will be understood that service subscription person's kimonos of above-mentioned foundation application
The first description connecting that business publisher registers equipment and second service registration equipment with first service respectively is only for example, other
The service subscription person and service publisher that the foundation that is existing or being likely to occur from now on is applied register with first service respectively
Equipment and second service registration equipment first connection be such as applicable to the application, should also be included in the application protection scope with
It is interior, and be incorporated herein by reference.
For the application one more preferably in embodiment, the application that the first unit obtains registers equipment about first service
Reference configuration parameter include it is described application about first service registration equipment communication mode, it is described application about second service
The reference configuration parameter of registration equipment includes communication mode of the application about second service registration equipment.So that subsequent can
The clothes for establishing application are realized with the communication mode of communication mode and second service registration equipment based on first service registration equipment
Business subscriber and service publisher register equipment and the first of second service registration equipment with first service respectively and connect.
For the application one more preferably in embodiment, the application that the first unit obtains registers equipment about first service
Reference configuration parameter further include the application service publisher and service subscriber between information exchange system, it is described to answer
With about second service registration equipment reference configuration parameter further include the application service publisher and service subscriber it
Between information exchange system.To realize between the service publisher of application and service subscriber, the information exchange system can
Including service publisher and service the communication protocol and code encoding/decoding mode between subscriber.
Those skilled in the art will be understood that the description of above-mentioned reference configuration parameter is only for example, other are existing or from now on
The reference configuration parameter being likely to occur such as is applicable to the application, should also be included within the application protection scope, and herein with
Way of reference is incorporated herein.
As shown in figure 8, in one preferred embodiment of the application, the second unit 12, comprising:
2nd 1 unit 121, described in being established according to application about the reference configuration parameter of first service registration equipment
The service subscription person and service publisher of application connect with the first of first service registration equipment;
Two or two unit 122, described in being established according to application about the reference configuration parameter of second service registration equipment
The service subscription person and service publisher of application connect with the first of second service registration equipment.Specifically, due to first
The reference configuration parameter of service registration equipment and second service registration equipment is different, thus respectively with a service registration equipment and the
Two service registration equipment will establish respectively connection according to corresponding reference configuration parameter when establishing the first connection.
The application one is more preferably in embodiment, the connection status for the first connection that Unit the two or two is established and described the
The connection status for the first connection that Unit 21 are established is identical, i.e., if the service subscription person of some application and service publisher
It is connect with the first service establishing for equipment of registration, then the service subscription person of the application and service publisher and described second
Service registration equipment also establishes connection, if the service subscription person of some application and service publisher and the first service are registered
Equipment does not establish connection, then the service subscription person of the application and service publisher and the second service register equipment also not
Connection is established, service subscription person's kimonos of the subsequent application that equipment will be all registered using first service may be implemented in the present embodiment
Business publisher is switched to second service registration equipment.
In one preferred embodiment of the application, the second device is also used to establish the first network equipment and second
Second connection of the network equipment, and registration equipment switching provided by second network equipment is obtained according to second connection
Parameter.Specifically, second network equipment can be the configuration equipment of a to be switched destination network device, second is established
After connection, the communication with first network equipment is can be realized in second network equipment, so that second network equipment can be to first network
Equipment sends registration equipment handoff parameter, registers equipment to control the service subscription person applied and service publisher and first service
First connection on-off.
In one preferred embodiment of the application, the registration equipment handoff parameter that the second device obtains includes all
The unified handoff parameter of application or the unified handoff parameter of certain applications.Correspondingly, the 3rd device, for being answered according to all
Unified handoff parameter disconnects the service subscription person and service publisher and the first of first service registration equipment of application
Connection, i.e., all applications connecting originally with first service registration equipment are all disconnected with first service registration equipment,
This scheme is suitable for for the service subscription person of all applications and service publisher being all switched to from an old network equipment
The scene of one destination network device.Or the 3rd device, for being judged whether according to the unified handoff parameter of certain applications
The service subscription person and service publisher for disconnecting application connect with the first of first service registration equipment, i.e., first network is set
Application where the standby unified handoff parameter according to the certain applications received judges it is disconnected with first service registration equipment
Connection is also to maintain connection, this scheme is suitable for the service subscription person of certain applications and service publisher only needs using second
Service registration equipment, and the service subscription person and service publisher of another part application need to set using first service registration simultaneously
The scene of standby and second service registration equipment, or suitable for by the service subscription person of all applications and service publisher all from
One old network equipment is switched to before a destination network device, and the scene that verification of correctness is done in several applications is individually switched.
Those skilled in the art will be understood that the description of above-mentioned registration equipment handoff parameter is only for example, other are existing or from now on may
The registration equipment handoff parameter of appearance is such as applicable to the application, should also be included within the application protection scope, and herein with
Way of reference is incorporated herein.
As shown in figure 9, the registration equipment that the second device obtains switches ginseng in one preferred embodiment of the application
Number includes the registration equipment handoff parameter of service subscription person and the registration equipment handoff parameter of service publisher.Correspondingly, described
3rd device 3, comprising:
Third unit 31, for disconnecting the service subscription of application according to the registration equipment handoff parameter of the service subscription person
Person connect with the first of first service registration equipment;
4th unit 32, the service for disconnecting application according to the registration equipment handoff parameter of the service publisher are issued
Person connect with the first of first service registration equipment.Here, the of service subscription person and first service registration equipment
One connection disconnects in advance, and service publisher disconnects after being connected to the first of first service registration equipment, it is ensured that
Service subscription person can also register in first service before being switched to second service registration equipment and find all service hairs in equipment
Otherwise cloth person if service publisher first disconnects with first service registration equipment, does not just take in first service registration equipment
The information of business publisher, and service subscription person still connects first service registration equipment at this time, still can infuse from first service
Volume equipment looks for service publisher, is as a result exactly that can not find service publisher in first service registration equipment.
It is also provided according to the another side of the application a kind of for assisting second network equipment of switching service registration equipment, use
Equipment handoff parameter is registered in sending to first network equipment.
In one preferred embodiment of the application, second network equipment is used to send corresponding application to first network equipment
Service subscription person registration equipment handoff parameter, and send to first network equipment the registration of the service publisher of corresponding application
Equipment handoff parameter.To the person that realizes service subscription and service what publisher connect with the first of the first registration service equipment respectively
On-off
In one preferred embodiment of the application, the registration equipment that second network equipment is used to push to the network equipment is cut
Changing parameter includes the unified handoff parameter of all applications or the unified handoff parameter of certain applications.To which subsequent first network is set
The standby service subscription person that application can be disconnected according to the unified handoff parameter of all applications and service publisher and first clothes
First connection of business registration equipment, i.e., all applications connecting originally with first service registration equipment are all infused with first service
Volume equipment disconnect, this scheme be suitable for by the service subscription person of all applications and service publisher all from one always
The network equipment is switched to the scene of a destination network device;In addition, first network equipment can also be according to the unification of certain applications
Handoff parameter judges whether to disconnect the first of the service subscription person of application and service publisher and first service registration equipment
It connects, i.e., the application where first network equipment judges it according to the unified handoff parameter of the certain applications received is and first
Service registration equipment, which disconnects, is also to maintain connection, this scheme is suitable for service subscription person and the service publication of certain applications
Person only needs to register equipment using second service, and the service subscription person and service publisher of another part application need while making
Register the scene of equipment and second service registration equipment with first service, or suitable for by the service subscription person of all applications and
Service publisher is all switched to the family of a destination network device from an old network equipment, and several applications are individually switched and do just
The scene of true property verifying.
It is further illustrated below in conjunction with specific Application Example described herein for switching service registration equipment
Method, equipment and system.
It is respectively AppA, AppB and AppC there are three application in a specific Application Example with reference to Figure 10, wherein
AppA is that the supplier ProviderA, AppB of service A is to service the supplier that the supplier ProviderB, AppC of B are service C
ProviderC, meanwhile, AppA is to service the subscriber ConsumerC that the subscriber ConsumerB, AppB of B are service C.This three
A application is needed from an old upgrading network equipment to a destination network device, and the old network equipment described here is one old
Distributed far call frame Framework1, destination network device are the far call frames of a target distribution formula
Framework2.The service registration equipment of Framework1 is that first service registers equipment Reg1, the service note of Framework2
Volume equipment is that second service registers equipment Reg2, and second network equipment of Framework2 is configuration center Config2.First net
Network equipment is the fusion frame Framework2+ for merging Framework1 and Framework2.Referring next to Figure 11, escalation process
Middle service subscription person and the service publisher's difference established using fusion frame Framework2+ using AppA, AppB and AppC
Register equipment Reg1 and second service registration equipment Reg2 with first service first connect.2 are continued to refer to figure 1, frame is merged
Framework2+ and configuration center Config2 establish the second connection, based on second connection fusion frame
Framework2+ obtains the registration equipment handoff parameter of service subscription person provided by configuration center Config2, and according to service
The registration equipment handoff parameter of subscriber disconnects the connection with first service registration equipment Reg1, at this moment as can see from Figure 8
All Consumer are not connected with Reg1, turn finally to Figure 13, and fusion frame Framework2+ obtains configuration center
The registration equipment handoff parameter of ISP provided by Config2, and switched according to the registration equipment of ISP and joined
Number disconnects the connection with first service registration equipment Reg1, at this moment can see that all Provider are changed to Reg2 from Figure 13
Single registration, the connection with Reg1 disconnect, and present Reg1 is not connected with any application, can fall below, so that registration center has switched
At.The core of this application embodiment be first using need be upgraded to while merging melting for Framework1 and Framework2
Frame Framework2+ is closed, can support two kinds of first service registration equipment Reg1 and second service registration equipment Reg2 simultaneously, most
After cut away first service registration equipment Reg1, all services with second service register equipment Reg2, first service register equipment
Reg1 is offline.Here, the replacement of service framework, directly cannot replace with Framework2 by Framework1, need to be upgraded to
Framework2+ merges Framework1 and Framework2, and making to apply can directly rise in the case where not changing service code
Grade arrives Framework2+.Framework2+ needs to realize the double registration center's publications of service publisher simultaneously.
In conclusion the application can realize that first service registers equipment under the premise of not changing applied business code
Know the whole network synchronism switching when second service registration equipment operation, server resets and money when each application cluster being avoided independently to switch
Source investment, smooth offline first service register equipment, and the offline and second service registration for shortening first service registration equipment is set
Standby switching cycle.
Further, application is obtained by first network equipment to set about first service registration equipment and second service registration
Standby reference configuration parameter realizes that first network equipment melts the old network equipment and to be switched destination network device
It closes, so that the service subscription person of application and service publisher register equipment with the first service respectively by first network equipment
Communication is attached with second service registration equipment.
It further, include unified handoff parameter or the certain applications of all applications by the registration equipment handoff parameter
Unified handoff parameter, can meet by the service subscription person of all applications and service publisher all from an old network equipment
It is switched to the scene of a destination network device or the service subscription person of certain applications and service publisher only needs using second
Service registration equipment, and the service subscription person and service publisher of another part application need to set using first service registration simultaneously
The scene of standby and second service registration equipment, or the service subscription person of all applications and service publisher is all old from one
The network equipment be switched to before a destination network device, the demand that the scene of verification of correctness is done in several applications is individually switched.
Further, the first of equipment is registered with the first service by service subscription person connect disconnection in advance, service
The first of publisher and first service registration equipment disconnects after being connected to, it is ensured that service subscription person is being switched to the
It can also be registered in first service before two service registration equipment and find all service publishers in equipment.
Obviously, those skilled in the art can carry out various modification and variations without departing from the essence of the application to the application
Mind and range.In this way, if these modifications and variations of the application belong to the range of the claim of this application and its equivalent technologies
Within, then the application is also intended to include these modifications and variations.
It should be noted that the application can be carried out in the assembly of software and/or software and hardware, for example, can adopt
With specific integrated circuit (ASIC), general purpose computer or any other realized similar to hardware device.In one embodiment
In, the software program of the application can be executed to implement the above steps or functions by processor.Similarly, the application
Software program (including relevant data structure) can be stored in computer readable recording medium, for example, RAM memory,
Magnetic or optical driver or floppy disc and similar devices.In addition, hardware can be used to realize in some steps or function of the application, example
Such as, as the circuit cooperated with processor thereby executing each step or function.
In addition, a part of the application can be applied to computer program product, such as computer program instructions, when its quilt
When computer executes, by the operation of the computer, it can call or provide according to the present processes and/or technical solution.
And the program instruction of the present processes is called, it is possibly stored in fixed or moveable recording medium, and/or pass through
Broadcast or the data flow in other signal-bearing mediums and transmitted, and/or be stored according to described program instruction operation
In the working storage of computer equipment.Here, including a device according to one embodiment of the application, which includes using
Memory in storage computer program instructions and processor for executing program instructions, wherein when the computer program refers to
When enabling by processor execution, method and/or skill of the device operation based on aforementioned multiple embodiments according to the application are triggered
Art scheme.
It is obvious to a person skilled in the art that the application is not limited to the details of above-mentioned exemplary embodiment, Er Qie
In the case where without departing substantially from spirit herein or essential characteristic, the application can be realized in other specific forms.Therefore, no matter
From the point of view of which point, the present embodiments are to be considered as illustrative and not restrictive, and scope of the present application is by appended power
Benefit requires rather than above description limits, it is intended that all by what is fallen within the meaning and scope of the equivalent elements of the claims
Variation is included in the application.Any reference signs in the claims should not be construed as limiting the involved claims.This
Outside, it is clear that one word of " comprising " does not exclude other units or steps, and odd number is not excluded for plural number.That states in device claim is multiple
Unit or device can also be implemented through software or hardware by a unit or device.The first, the second equal words are used to table
Show title, and does not indicate any particular order.
Claims (31)
1. a kind of method for being used to switch service registration equipment in first network equipment end, wherein the described method includes:
Equipment is registered with first service respectively by the service subscription person and service publisher for establishing application and second service registers equipment
First connection;
It obtains and registers equipment handoff parameter provided by second network equipment;
The on-off of first connection is controlled according to the registration equipment handoff parameter.
2. the service subscription person and service publisher that the method for claim 1, wherein establish application take with first respectively
Equipment is registered in business and second service is registered the first of equipment and connected and includes:
Obtain the reference configuration parameter that equipment and second service registration equipment are registered in application about first service;
The service subscription person of the application is established according to the reference configuration parameter and service publisher takes with described first respectively
First connection of business registration equipment and second service registration equipment.
3. method according to claim 2, wherein obtain application and set about first service registration equipment and second service registration
In standby reference configuration parameter:
The application includes that described apply sets about first service registration about the reference configuration parameter of first service registration equipment
Standby communication mode;
The application includes that described apply sets about second service registration about the reference configuration parameter of second service registration equipment
Standby communication mode.
4. method as claimed in claim 3, wherein obtain application and set about first service registration equipment and second service registration
In standby reference configuration parameter:
It is described application about first service registration equipment reference configuration parameter further include the application service publisher's kimonos
Information exchange system between business subscriber;
It is described application about second service registration equipment reference configuration parameter further include the application service publisher's kimonos
Information exchange system between business subscriber.
5. method according to claim 2, wherein establish the service subscription person of the application according to the reference configuration parameter
It registers equipment with the first service respectively with service publisher and the second service is registered the first of equipment and connect and includes:
Service subscription person and the service of the application are established about the reference configuration parameter of first service registration equipment according to application
Publisher connect with the first of first service registration equipment;
Service subscription person and the service of the application are established about the reference configuration parameter of second service registration equipment according to application
Publisher connect with the first of second service registration equipment.
6. method as claimed in claim 5, wherein the reference configuration parameter according to application about second service registration equipment is built
The service subscription person that stands the application and service publisher and the second service are registered the first of equipment and are connect:
The service subscription person of application and service publisher and the first connection status connecting of second service registration equipment and
The service subscription person and service publisher of the application are identical as the connection status of the first connection of first service registration equipment.
Equipment handoff parameter is registered provided by second network equipment 7. the method for claim 1, wherein obtaining
The step of before include:
The first network equipment is established with second network equipment second connect;
Wherein, obtaining registration equipment handoff parameter provided by second network equipment includes:
Registration equipment handoff parameter provided by second network equipment is obtained according to second connection.
8. the method for claim 1, wherein the registration equipment handoff parameter includes the unified switching ginseng of all applications
Several or certain applications unified handoff parameters.
9. method according to claim 8, wherein control the logical of first connection according to the registration equipment handoff parameter
It is disconnected to include:
The service subscription person of application is disconnected according to the unified handoff parameter of all applications and services publisher and the first service
Register the first connection of equipment.
10. method according to claim 8, wherein control first connection according to the registration equipment handoff parameter
On-off includes:
According to the unified handoff parameter of certain applications judge whether disconnect application service subscription person and service publisher with it is described
First service registers the first connection of equipment.
11. method as described in any one of claim 1 to 10, wherein the registration equipment handoff parameter includes service subscription
The registration equipment handoff parameter of person and the registration equipment handoff parameter of service publisher.
12. method as claimed in claim 11, wherein control first connection according to the registration equipment handoff parameter
On-off includes:
The service subscription person of application is disconnected according to the registration equipment handoff parameter of the service subscription person and the first service is infused
First connection of volume equipment;
The service publisher of application is disconnected according to the registration equipment handoff parameter of the service publisher and the first service is infused
First connection of volume equipment.
13. a kind of method for being used to assist switching service registration equipment at the second network equipment end, wherein include:
Registration equipment handoff parameter is sent to first network equipment, so that the first network equipment is cut according to the registration equipment
Change the on-off of the connection of state modulator first;First connection is by the service subscription person that applies and services publisher respectively with first
Service registration equipment and second service registration equipment are established.
14. method as claimed in claim 13, wherein sending registration equipment handoff parameter to first network equipment includes:
The registration equipment handoff parameter of the service subscription person of corresponding application is sent to first network equipment;
The registration equipment handoff parameter of the service publisher of corresponding application is sent to first network equipment.
15. method according to claim 13 or 14, wherein the registration equipment handoff parameter includes the unification of all applications
Handoff parameter or the unified handoff parameter of certain applications.
16. a kind of for switching the first network equipment of service registration equipment, wherein include:
First device, service subscription person and service publisher for establishing application register equipment and second with first service respectively
First connection of service registration equipment;
Second device registers equipment handoff parameter for obtaining provided by second network equipment;
3rd device controls the on-off of first connection according to the registration equipment handoff parameter.
17. first network equipment as claimed in claim 16, wherein the first device includes:
First unit, for obtaining using the reference configuration ginseng for registering equipment and second service registration equipment about first service
Number;
Second unit, for establishing service subscription person and the service publisher's difference of the application according to the reference configuration parameter
Register equipment and second service registration equipment with the first service first connect.
18. first network equipment as claimed in claim 17, wherein the application that the first unit obtains is about first
The reference configuration parameter of service registration equipment includes communication mode of the application about first service registration equipment, the application
Reference configuration parameter about second service registration equipment includes communication mode of the application about second service registration equipment.
19. first network equipment as claimed in claim 18, wherein the application that the first unit obtains is about first
The reference configuration parameter of service registration equipment further includes that the service publisher of the application and the information serviced between subscriber are handed over
Change mode, the application about the reference configuration parameter of second service registration equipment further include the application service publisher and
Information exchange system between service subscription person.
20. first network equipment as claimed in claim 17, wherein the second unit, comprising:
Unit the 2nd 1, for establishing the clothes of the application about the reference configuration parameter of first service registration equipment according to application
Business subscriber and service publisher connect with the first of first service registration equipment;
Unit the two or two, for establishing the clothes of the application about the reference configuration parameter of second service registration equipment according to application
Business subscriber and service publisher connect with the first of second service registration equipment.
21. first network equipment as claimed in claim 20, wherein the connection for the first connection that Unit the two or two is established
State is identical as the connection status of the first connection that Unit the 2nd 1 is established.
22. first network equipment as claimed in claim 16, wherein the second device is also used to establish first net
Network equipment is connect with the second of second network equipment, and is obtained provided by second network equipment according to second connection
Register equipment handoff parameter.
23. first network equipment as claimed in claim 16, wherein the registration equipment switching that the second device obtains
Parameter includes the unified handoff parameter of all applications or the unified handoff parameter of certain applications.
24. first network equipment as claimed in claim 23, wherein the 3rd device, for the system according to all applications
One handoff parameter disconnects the service subscription person of application and service publisher connect with the first of first service registration equipment.
25. first network equipment as claimed in claim 24, wherein the 3rd device, for the system according to certain applications
One handoff parameter judges whether that disconnecting the service subscription person of application and service publisher and the first service registers the of equipment
One connection.
26. such as the described in any item first network equipment of claim 16 to 25, wherein the note that the second device obtains
The registration equipment handoff parameter of the volume equipment handoff parameter person that includes service subscription and the registration equipment handoff parameter for servicing publisher.
27. first network equipment as claimed in claim 26, wherein the 3rd device, comprising:
Third unit, for disconnecting service subscription person and the institute of application according to the registration equipment handoff parameter of the service subscription person
State the first connection of first service registration equipment;
Unit the 4th, for disconnecting service publisher and the institute of application according to the registration equipment handoff parameter of the service publisher
State the first connection of first service registration equipment.
28. a kind of for assisting second network equipment of switching service registration equipment, wherein for being sent to first network equipment
Equipment handoff parameter is registered, so that the first network equipment is according to the logical of the first connection of the registration equipment handoff parameter control
It is disconnected;First connection registers equipment and second service with first service respectively by the service subscription person applied and service publisher
Equipment is registered to establish.
29. second network equipment as claimed in claim 28, wherein for sending the clothes of corresponding application to first network equipment
The registration equipment handoff parameter of business subscriber, and the corresponding registration equipment for servicing publisher applied is sent to first network equipment
Handoff parameter.
30. second network equipment as claimed in claim 28, wherein the registration equipment for pushing to the network equipment switches ginseng
Number includes the unified handoff parameter of all applications or the unified handoff parameter of certain applications.
31. a kind of service registration equipment switching system, wherein including the described in any item first networks of such as claim 16 to 27
Equipment and such as described in any item second network equipments of claim 28 or 30.
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 CN105763582A (en) | 2016-07-13 |
CN105763582B true 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) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106100952A (en) * | 2016-08-24 | 2016-11-09 | 杭州索浪信息技术有限公司 | A kind of intelligent switch of changeable network |
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 |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
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 |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20110093127A1 (en) * | 2009-10-16 | 2011-04-21 | David L. Kaplan | Distributed energy resources manager |
-
2014
- 2014-12-16 CN CN201410784985.1A patent/CN105763582B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
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 |
Also Published As
Publication number | Publication date |
---|---|
CN105763582A (en) | 2016-07-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10298457B2 (en) | Synchronization of configuration file of virtual application distribution chassis | |
Kong et al. | Edge computing for internet of everything: A survey | |
US10554646B2 (en) | Providing domain-joined remote applications in a cloud environment | |
CN113115241B (en) | Industrial Internet system based on industrial brain | |
CN107464151B (en) | Order data processing method and device for high-concurrency service | |
CN102821150B (en) | Based on application management method and the Cloud Server of cloud service | |
CN111343241B (en) | Graph data updating method, device and system | |
CN106856438B (en) | Network service instantiation method, device and NFV system | |
CN106453539B (en) | A kind of method and system of processing Node registry notice | |
CN105763582B (en) | For switching the method, equipment and system of service registration equipment | |
US20120096136A1 (en) | Method and apparatus for sharing contents using information of group change in content oriented network environment | |
CN103491156A (en) | Method and system for enabling circles and groups to be synchronous based on converged communication | |
CN111181765A (en) | Task processing method and device | |
CN104639557A (en) | Method and system for establishing PCEP (Path Computation Element Communication Protocol) session and equipment | |
CN103023897B (en) | A kind of synchronous service management system and method | |
CN114885020A (en) | Data transmission system and method | |
US11290318B2 (en) | Disaster recovery of cloud resources | |
CN104486215A (en) | Message transmitting method and equipment | |
CN109101367A (en) | The management method and device of component in cloud computing system | |
CN106462421B (en) | Telecommunication device and method for updating software in a telecommunication device | |
CN109413118A (en) | A kind of method, apparatus that realizing session synchronization and storage medium, program product | |
CN110661857B (en) | Data synchronization method and device | |
Zhu | A survey on mobile edge platform with blockchain | |
KR20200111032A (en) | Method and apparatus for trusted reality service | |
CN109495591A (en) | Access method of servicing, apparatus and system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |