CN105407161B - Application service management method, system and application service find method, system - Google Patents
Application service management method, system and application service find method, system Download PDFInfo
- Publication number
- CN105407161B CN105407161B CN201510855548.9A CN201510855548A CN105407161B CN 105407161 B CN105407161 B CN 105407161B CN 201510855548 A CN201510855548 A CN 201510855548A CN 105407161 B CN105407161 B CN 105407161B
- Authority
- CN
- China
- Prior art keywords
- application service
- node
- registration table
- changed
- changes
- 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
- 238000000034 method Methods 0.000 title claims abstract description 223
- 238000007726 management method Methods 0.000 title claims abstract description 26
- 238000012508 change request Methods 0.000 claims abstract description 45
- 238000012545 processing Methods 0.000 claims abstract description 37
- 238000012986 modification Methods 0.000 claims abstract description 25
- 230000004048 modification Effects 0.000 claims abstract description 25
- 230000008859 change Effects 0.000 claims description 129
- 238000004891 communication Methods 0.000 claims description 12
- 238000012790 confirmation Methods 0.000 claims description 10
- 238000012544 monitoring process Methods 0.000 claims description 10
- 230000005540 biological transmission Effects 0.000 claims description 5
- 238000003860 storage Methods 0.000 claims description 5
- 230000008569 process Effects 0.000 description 12
- 238000010586 diagram Methods 0.000 description 7
- 238000009826 distribution Methods 0.000 description 5
- 238000004364 calculation method Methods 0.000 description 4
- 230000001419 dependent effect Effects 0.000 description 3
- 238000012217 deletion Methods 0.000 description 2
- 230000037430 deletion Effects 0.000 description 2
- 238000004458 analytical method Methods 0.000 description 1
- 230000008901 benefit Effects 0.000 description 1
- 238000000151 deposition Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 235000013399 edible fruits Nutrition 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000010354 integration Effects 0.000 description 1
- 238000002360 preparation method Methods 0.000 description 1
- 238000007670 refining Methods 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/51—Discovery or management thereof, e.g. service location protocol [SLP] or web services
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
- Stored Programmes (AREA)
Abstract
Application service management method provided in an embodiment of the present invention, system and application service find method, system, registrar can provide the application service registration table change request for carrying changed content that method, apparatus uploads according to the application service received, in the case where the application service, which provides method, apparatus, the permission changed to the application service registration table, processing is changed to the application service registration table according to the changed content, and according to the application service registration table that changes that treated, Notification of Changes is sent using method, apparatus to the application service.Since the present invention can be when application service registration table changes, Notification of Changes is sent using method, apparatus to application service in time, therefore the present invention can make application service using method, apparatus in time, automatic discovery application service modification information, reduce the workload that application service uses method, apparatus, saves the computing resource that application service uses method, apparatus.
Description
Technical field
The present invention relates to application service management fields, more particularly to application service management method, system and application service
It was found that method, system.
Background technique
With being widely used for network english teaching, it can find that application service and its modification information are concerned in time.
When new demand servicing it is online or it is existing service change when, service user be intended to find the online information of new demand servicing in time
With application service modification information, to take corresponding measure.
Currently, usually application service is registered to " general to solve the problems, such as above-mentioned timely discovery application service information
Description, discovery and integrated service (UDDI, Universal Description Discovery and Integration) " note
On volume table, new demand servicing is actively discovered by Keywords matching by service user, or by various algorithms come active analysis service
Which change has occurred.
This mode that application service information is actively discovered by servicing user, increases the operating quantity of user, more
It is cumbersome.
Summary of the invention
The embodiment of the present invention is designed to provide application service management method, system and application service discovery method, is
System sends Notification of Changes using method, apparatus to application service by registrar after answering web services registry to change, with
Make application service user in time, automatic discovery application service modification information.
In order to achieve the above objectives, the embodiment of the invention discloses a kind of application service management methods, are applied to registration service
In device, the registrar is provided method, apparatus and application service with application service and is connected using method, apparatus, the method packet
Include following steps:
It receives the application service and the application service registration table change request that method, apparatus uploads is provided, the change request is taken
With the changed content changed to the application service registration table;
In the case where the application service, which provides method, apparatus, the permission changed to the application service registration table,
Processing is changed to the application service registration table according to the changed content, and provides method, apparatus hair to the application service
Send change receipt;
According to the application service registration table that changes that treated, Xiang Suoshu application service is sent using method, apparatus to be become
More notify.
Preferably, the application service registration table is tree, and the application service registration table includes root node and extremely
A few subtree;The root node of each subtree is the child node of the root node of the application service registration table, Mei Gesuo
The depth for stating subtree is 3, in each subtree: the node that gradient is 1 is node corresponding with application service provider, rank
Degree is that the corresponding node of system is realized in application service for 2 node, and the node that gradient is 3 is the corresponding node of application service;Appoint
The application service that one application service provider provides realizes that the corresponding node of system is the corresponding section of application service provider
The child node of point, any application service realize that the corresponding node of application service that system provides is that system is realized in the application service
The child node of corresponding node;
There is the description information of the corresponding application service of the node on the node that the gradient is 3.
It is preferably, described that processing is changed to the application service registration table according to the changed content, comprising:
According to the changed content at least one of subtree described at least one of described application service registration table
Node changes processing.
Preferably, it is described according to the changed content in subtree described at least one of described application service registration table
At least one node change processing, comprising:
Change type and change object are obtained from the changed content, the change object is node;
When the change type is to delete, the change object is judged with the presence or absence of descendant nodes, if it is present will
All descendant nodes of the change object and the change object are deleted, and according to deletion result to the father Zu Jiedian of the change object
It is updated;
It is according to the increase position in the changed content and corresponding with position is increased when the change type is to increase
Nodal information establishes the new node with the nodal information at the increase position, according to the node of increased node
Information is updated the father Zu Jiedian of the node;
When the change type is modification, the change object is carried out according to the modification information in the changed content
Modification, and the descendant nodes and father Zu Jiedian of the change object are updated according to modification result.
Preferably, the Notification of Changes includes: change type, the store path for having changed node, has changed node change
The description information of front and back.
Preferably, the basis application service registration table that changes that treated, Xiang Suoshu application service use
Method, apparatus sends Notification of Changes, comprising:
The monitoring sent according to the application service using method, apparatus is requested at least the one of the application service registration table
A node is monitored;
After monitored node changes, obtains the change type of the node changed, changed node
Store path, changed node before changing after description information;
By the change type of the node changed, the store path for having changed node, changed node before changing after
Description information be sent to the application service as Notification of Changes and use method, apparatus.
Preferably, the application service management method further include:
Receive asking for the lookup application service similar with the first application service that the application service is sent using method, apparatus
Seek information;
The each subtree gradient of the application service registration table is traversed as the 3 corresponding application service of each node, and according to
The description information of the corresponding application service of node calculates the goodness of fit of each application service Yu first application service;
The application service that the goodness of fit is more than threshold value is determined as application service similar with first application service and is led to
Know that the application service uses method, apparatus.
A kind of application service management system is applied in registrar, and the registrar and application service provide
Method, apparatus is connected with application service using method, apparatus, the system comprises: change request receiving module, change request processing mould
Block and Notification of Changes sending module,
The change request receiving module provides the application service registration that method, apparatus uploads for receiving the application service
Table change request, the change request carry the changed content changed to the application service registration table;
The change request processing module has for providing method, apparatus in the application service to application service registration
In the case where the permission that table changes, processing is changed to the application service registration table according to the changed content, and
Method, apparatus, which is provided, to the application service sends change receipt;
The Notification of Changes sending module, for according to the application service registration table that changes that treated, to institute
It states application service and sends Notification of Changes using method, apparatus.
A kind of application service discovery method is applied to application service using in method, apparatus, and the application service user sets
It is standby to be connect with registrar, the method includes the steps:
Receive the Notification of Changes that the registrar is sent;Wherein, the Notification of Changes is that the registrar exists
After receiving the application service registration table change request that the application service provides method, apparatus upload, in the application service provider
In the case that equipment has the permission changed to the application service registration table, according in the change of the change request carrying
Hold and processing changed to the application service registration table, and is provided after method, apparatus sends and change receipt to the application service,
According to the application service registration table that changes that treated, Xiang Suoshu application service is logical using the change that method, apparatus is sent
Know;
When the Notification of Changes be the application service modified using method, apparatus the second application service currently in use or
When the notice of deletion, the corresponding application service of each node that each subtree gradient of the application service registration table is 3 is traversed, and
Calculate the goodness of fit of each application service Yu second application service;
Each application service that the goodness of fit is more than threshold value is determined as application service similar with second application service;
Obtain the description information of determining similar application service.
Preferably, the application service finds method further include:
The similar application service is connected according to the communications protocol carried in the description information;
After being successfully connected with the similar application service, call the similar application service, if return value and
It is expected that return value matches, then confirmation is verified;Otherwise, confirmation verifying does not pass through.
A kind of application service discovery system is applied to application service using in method, apparatus, and the application service user sets
It is standby to be connect with registrar, the system comprises: Notification of Changes receiving module, application service discovery module, application service are true
Cover half block and description information obtain module,
The Notification of Changes receiving module, the Notification of Changes sent for receiving the registrar, wherein the change
More notice is that the registrar is asked in the application service registration table change for receiving the application service offer method, apparatus upload
After asking, in the case where the application service, which provides method, apparatus, the permission changed to the application service registration table, root
Processing changed to the application service registration table according to the changed content that the change request carries, and to the application service
It provides after method, apparatus sends change receipt, according to the application service registration table that changes that treated, is taken to the application
The Notification of Changes make sure with method, apparatus transmission;
The application service discovery module, for being made for the application service using method, apparatus when the Notification of Changes
When the notice that the second application service is modified or deleted, traversing each subtree gradient of the application service registration table is 3
The corresponding application service of each node, and calculate the goodness of fit of each application service Yu second application service;
The application service determining module, each application service for being more than threshold value for the goodness of fit are determined as and described second
The similar application service of application service;
The description information obtains module, for obtaining the description information of determining similar application service.
Application service management method, system and application service provided in an embodiment of the present invention find method, system, Ke Yigen
The change request that method, apparatus is sent and the changed content that change request carries are provided according to application service, is provided in the application service
In the case that method, apparatus has the permission changed to the application service registration table, according to the changed content to the application
Web services registry changes processing, and according to the application service registration table that changes that treated, takes to the application
It make sures and sends Notification of Changes with method, apparatus.Since the present invention can be when application service registration table changes, in time to application
Service sends Notification of Changes using method, apparatus, thus the present invention can make application service using method, apparatus in time, automatic discovery answers
Reduce the workload that application service uses method, apparatus to take counter-measure according to modification information with service variation information,
The computing resource that application service uses method, apparatus is saved, the application risk of application service user is reduced and uses difficulty.
Certainly, it implements any of the products of the present invention or method must be not necessarily required to reach all the above advantage simultaneously.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with
It obtains other drawings based on these drawings.
Fig. 1 is a kind of connection schematic diagram of application service relevant device provided in an embodiment of the present invention;
Fig. 2 is a kind of flow chart of application service management method provided in an embodiment of the present invention;
Fig. 3 is the flow chart of another application service management method provided in an embodiment of the present invention;
Fig. 4 is the flow chart of another application service management method provided in an embodiment of the present invention;
Fig. 5 is a kind of structural schematic diagram of application service management system provided in an embodiment of the present invention;
Fig. 6 is the structural schematic diagram of another application service management system provided in an embodiment of the present invention;
Fig. 7 is the structural schematic diagram of another application service management system provided in an embodiment of the present invention;
Fig. 8 is the flow chart that a kind of application service provided in an embodiment of the present invention finds method;
Fig. 9 is the flow chart that another application service provided in an embodiment of the present invention finds method;
Figure 10 is the structural schematic diagram that a kind of application service provided in an embodiment of the present invention finds system;
Figure 11 is the structural schematic diagram that another application service provided in an embodiment of the present invention finds system.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall within the protection scope of the present invention.
Fig. 1 is a kind of connection schematic diagram of application service relevant device provided in an embodiment of the present invention, in the application service
It may include: that registrar 1, application service offer method, apparatus 2 and application service use method, apparatus 3 in management framework,
In, registrar 1 is provided method, apparatus 2 and application service with application service respectively and is connected using method, apparatus 3;
Specifically, registrar 1 and application service provide method, apparatus 2 and application service can be using method, apparatus 3 it is logical
It crosses communications protocol wireless connection and is also possible to wired connection;
Specifically, registrar 1, can be used for receiving application service and provides the application service change that method, apparatus 2 is sent
Content is simultaneously written in the application service registration table being stored in registrar;It can be used for monitoring application service registration table
Change, and after application service registration table changes to application service using method, apparatus 3 send Notification of Changes;It can also use
In searching optimal application service using method, apparatus to application service.Preferably, registrar 1 can be individual server,
It is also possible to the cluster being made of multiple servers;When registrar 1 is the cluster being made of multiple servers, can wrap
Include: a primary server and multiple dependent servers, each dependent server are connect with primary server, and each server
The data of upper storage are identical, and it is synchronous with data that primary server is responsible for writing service, can be in affiliated service after primary server failure
New primary server is re-elected in device.Application service is provided method, apparatus 2 or application service and can connect and take office using method, apparatus 3
It anticipates a dependent server.
Specifically, application service provides method, apparatus 2, can be used for sending the change for carrying changed content to registrar
Request;It can be used for directly registering application service into registrar.
Specifically, application service uses method, apparatus 3, it can be used for receiving the application service registration table of registrar transmission
The Notification of Changes changed, and taken appropriate measures according to the content of Notification of Changes;It can be used for registrar
The request of discovery best applications service is sent, so that registrar searches best applications service for it, and receives registration service
It was found that best applications service description information;It can be also used for actively discovering the best applications clothes of application service registration table storage
Business.
In practical applications, application service, which provides method, apparatus 2 and application service, can pass through client using method, apparatus 3
It is connected to registrar 1, needs to access registration service using method, apparatus 3 when application service provides method, apparatus 2 and application service
When device 1, username and password is inputted by the login interface in client and is accessed, when the username and password of input is
When the password of registrar administrator distribution, then success is accessed, it is otherwise unsuccessful.Certainly, in the entitled registrar of user
When the user name of administrator's distribution, password is also possible to agree to provide method, apparatus 2 by application service through registrar administrator
Or application service uses the modified password of method, apparatus 3.
The embodiment of the invention provides a kind of application service management method and system, are applied in registrar, this hair
Bright embodiment additionally provides a kind of application service discovery method and system, is applied to application service and uses in method, apparatus.Divide below
It is not illustrated, first corresponds to be illustrated for the scheme in registrar.
As shown in Fig. 2, a kind of application service management method provided in an embodiment of the present invention, is applied in registrar,
The registrar is provided method, apparatus and application service with application service and is connected using method, apparatus, and this method may include:
S100, the application service registration table change request that the application service offer method, apparatus uploads, the change are received
Request carries the changed content changed to the application service registration table;
Application service registration table is established in advance by registrar for storing the registration table of application service information, is answered
It can be tree with web services registry, the application service registration table includes root node and at least one subtree;Every height
The root node of tree is the child node of the root node of application service registration table, the depth of each subtree all can be 3, each subtree
In:
The node that gradient is 1 is node corresponding with application service provider, and the node that gradient is 2 is that application service is realized
The corresponding node of system, the node that gradient is 3 are the corresponding node of application service;The application that any application service provider provides
The corresponding node of service realization system is the child node of the corresponding node of application service provider, and any application service is realized
The corresponding node of application service that system provides is the child node that the corresponding node of system is realized in the application service.
Specifically, in the tree-shaped application service registration table, for each node of each subtree have one it is unique
Identify the store path of the node.
Specifically, application service provider can be O&M or the group of development and application service in application service registration table
It knits, the hierarchical structure that can also be woven in company by the group further refines.One application service provider can provide more sets
System is realized in application service, and application service realizes that system refers to and provides the specific system of a certain application service, an application service
System can provide a variety of application services.Specifically, in the application service registration table a certain application service realize system starting or
When closing, application service belonging to the application service realization system can also be correspondingly added or removed.
Wherein, the description information that can store the corresponding application service provider of the node on the node that gradient is 1, is answered
It may include: using title, the address, provided application service realization system for taking provider with the description information of service provider
The catalogue etc. of system.
Wherein, it can store the description information that system is realized in the corresponding application service of the node on the node that gradient is 2,
It may include: title, the catalogue of provided application service etc. that system is realized in application service.
Wherein, can there be the description information of the corresponding application service of the node on the node that gradient is 3, may include:
The essential information of application service: the title of application service, the address of application service, application service port numbers, answer
With the communications protocol of service, the type of application service;
Application service inputs parameter list, including parameter type, title and explanation;
Application service output parameter list, including parameter type, title and explanation;
Application service quality: the maximum query rate (Query Per Second, QPS) per second including support, pot life;
Preferably, the description information of application service can also include: application service test data, including input value and output
Value.
It is understood that when the hierarchical structure by company using web services registry to further refining, application service
Subtree in registration table can be the subtree that depth is 4, and the node that wherein gradient is 1 is application service provider parent company, rank
Degree is application service provider cause group for 2 node, and the node that gradient is 3 is that system, the section that gradient is 4 are realized in application service
Point is application service.Such as:
The node that gradient is 1 are as follows: iqiyi.com company;The node that gradient is 2 are as follows: iqiyi.com Beijing Company;Gradient is 3
Node are as follows: search advertisements portion;The node that gradient is 4 are as follows: data retrieval service, data more new demand servicing, data query service.
Specifically, the application service registration table change request that application service provides method, apparatus upload can be authentication and ask
It asks, is also possible to the change sent after authentication passes through request, the change to application web services registry that change request carries
More content, which can be, deletes in tree-shaped application service registration table or increases a node, or infuses to tree-shaped application service
The information that a certain node in volume table is stored is modified.
Specifically, registrar can be Apache's Administrator system (Apache Zookeeper).
S200, the feelings that method, apparatus has the permission changed to the application service registration table are provided in the application service
Under condition, processing is changed to the application service registration table according to the changed content, and to the application service provider
Equipment sends change receipt;
Registrar is changed to using web services registry judging that a certain application service provides method, apparatus and whether has
Permission when, on the one hand can be carried out by authentication, i.e., by verifying application service provider access registrar
User name whether be that the username and password of registrar administrator distribution determines;On the other hand it can also be tested in identity
After card passes through, in the case where application service provider sends change request, further by providing method, apparatus to application service
Mailbox sends identifying code and is verified.
Certainly, when carrying out authentication, in the case where user name is registrar administrator distribution, password can be
The initial password of administrator's distribution is also possible to after registrar administrator agrees to by application service provider's apparatus modifications
Password.
Further, when the username and password when application service provider accesses registrar is verified, and/or
After mailbox identifying code is verified, it can think that application service provider has permission and changed to using web services registry
Processing.
Specifically, " processing is changed to the application service registration table according to the changed content " in step S200,
Include:
At least one node in subtree described at least one of application web services registry is carried out according to changed content
Exception processes.
Specifically, according to changed content at least one of subtree described at least one of application web services registry section
Point carries out exception processes, comprising:
Change type and change object are obtained from the changed content, the change object is node;
When change type is to delete, the change object is judged with the presence or absence of descendant nodes, if it is present by the change
All descendant nodes of object and the change object are deleted, and are carried out more according to result is deleted to the father Zu Jiedian of the change object
Newly;
When change type is to increase, according to the increase position in the changed content and node corresponding with position is increased is believed
Breath establishes the new node with node description information increasing, according to the description information of increased node to the section at position
The father Zu Jiedian of point is updated;
When change type is modification, modified according to the modification information in changed content to the change object, and
The descendant nodes and father Zu Jiedian of the change object are updated according to modification result.Modification information in changed content can be with
It is some or all of the description information of node to be modified content.
Since the child node of above-mentioned tree-shaped application service registration table can inherit the feature of father Zu Jiedian, father node is also relied on son
The variation of Sun Jiedian, such as: when the title to application service provider is modified, the corresponding sub- section of application service provider
Point --- system and Sun Jiedian are realized in application service --- title of the application service provider in the description information of application service
Also can change;When increasing or deleting an application service, the application clothes of system storage are realized in father node --- application service
The catalogue of business can change, and therefore, increase or delete a certain node in application service registration table, or carry out to a certain node
When modification, copes with his father ancestral node or descendant nodes are updated.
S300, according to the application service registration table that changes that treated, Xiang Suoshu application service uses method, apparatus
Send Notification of Changes.
Wherein, the Notification of Changes may include: change type, the store path for having changed node, change node change
The more description information of front and back.
Wherein, as shown in figure 3, step S300 may include:
S310, the monitoring sent according to the application service using method, apparatus are requested to the application service registration table extremely
A few node is monitored;
Specifically, registrar can be according to application service user facility registration on a certain or certain several node
Monitor monitors the node, and when the node changes, registrar will trigger the monitor to be made to application service
Notice is sent with side.In practical application, which can be configured as once according to application service using the requirement of method, apparatus
Property, it is also possible to permanent.When the monitor is disposable, if application service is needed again using method, apparatus
It monitors the change of the node, registers the monitor to registrar again.It is this that method, apparatus is used according to application service
Demand carry out the monitoring of application service registration table mode flexibility it is good, be easy to use side use.
S320, after monitored node changes, the change type for the node that acquisition has been changed has changed section
Point store path, changed node before changing after description information;
Specifically, registrar can use method, apparatus by application service after monitored node changes
The monitor for being registered in the node obtains the change type of the node changed, the store path for having changed node, has become
More node before changing after description information.
S330, by the change type of the node changed, the store path for having changed node, changed node change
The description information of front and back is sent to the application service as Notification of Changes and uses method, apparatus.
Fig. 4 is the flow chart of another application service management method provided in an embodiment of the present invention, is applied to registration service
Device, this method may include steps of:
S100, the application service registration table change request that the application service offer method, apparatus uploads, the change are received
Request carries the changed content changed to the application service registration table;
S200, the feelings that method, apparatus has the permission changed to the application service registration table are provided in the application service
Under condition, processing is changed to the application service registration table according to the changed content, and to the application service provider
Equipment sends change receipt;
S300, according to the application service registration table that changes that treated, Xiang Suoshu application service uses method, apparatus
Send Notification of Changes;
S400, the lookup application service similar with the first application service that the application service uses method, apparatus to send is received
Solicited message;
Specifically, the first application service can be the application service that application service is being currently used using method, apparatus,
It can be the optimal application service that application service is wanted to look up according to demand using method, apparatus.
The corresponding application service of each node that S500, the traversal each subtree gradient of application service registration table are 3, and
The goodness of fit of each application service Yu first application service is calculated according to the description information of the corresponding application service of node;
Specifically, it is 3 to all gradients of the application each subtree of web services registry that breadth first algorithm, which may be used herein,
Node traversed;It is identical with the first application service to calculate it for the corresponding application service of node for being 3 to each gradient
Degree.
The calculating of the goodness of fit some or all of can be used in application service description information content and be counted as parameter
It calculates, such as: type, communications protocol, input parameter, output parameter of application service etc.;It when necessary, can also be according to application service
The request of user, which limits application service similar with the first application service, should meet minimum quality requirement, which wants
A certain or certain several parameter the minimum requirements that can be in application service description information is asked, such as: some application services make
With side require similar with the first application service application service QPS have to be larger than 100 and/or pot life have to be larger than
99% etc..
A kind of alternative goodness of fit calculation is provided below:
The weight of the relevant parameter in application service description information is set, and sets the initial goodness of fit equal to 1;
Calculate coincideing at least one parameter identical parameters corresponding with first application service of current application service
Degree: when the value of a certain parameter is identical as the value of the identical parameters of the first application service, the corresponding goodness of fit of the parameter=initial
The goodness of fit × parameter weight;Otherwise, the corresponding goodness of fit=0 of the parameter;
To the summation of the goodnesses of fit of calculated all parameters, the final goodness of fit be equal to it is described and.
Preferably, when the application service similar with the first application service of application service user equipment requirement should meet it is minimum
Quality requirement when, goodness of fit calculation can be with are as follows:
It determines the parameter and its value for having minimum quality requirement, and sets the initial goodness of fit equal to 1;
It is corresponding with first application service in the value of a certain parameter for having minimum quality requirement of current application service
Have the value of the parameter of minimum quality requirement it is equal when, the goodness of fit=1,;Otherwise, the goodness of fit=0;
The product for calculating the goodness of fit of the initial goodness of fit and all parameters for having minimum quality requirement, when the product is 1, then
Current application service is application service similar with the second application service;Otherwise dissimilar.
It is understood that can be when calculating the goodness of fit, " application service user equipment requirement and the first application are taken
Similar application service of being engaged in should meet minimum quality requirement " a kind of this mode, it can also be the folded of this mode and other modes
Add, i.e., when the goodness of fit calculated in different ways, which is all satisfied, to be required, which is only similar with the second application service
Application service.
S600, the application service that the goodness of fit is more than threshold value is determined as application service similar with first application service
And the application service is notified to use method, apparatus.
In practical application, since the execution sequence of step S400-S600 is not by the limit of the execution sequence of step S100-S300
System, therefore the present invention is not construed as limiting the execution sequence of step S400-S600 and step S100-S300.
A kind of application service management method provided in an embodiment of the present invention can provide method, apparatus according to application service and send
Change request and change request carry changed content, the application service provide method, apparatus have to the application service infuse
In the case where the permission that volume table changes, processing is changed to the application service registration table according to the changed content,
And according to the application service registration table that changes that treated, it is logical that Xiang Suoshu application service using method, apparatus sends change
Know.Since the present invention can send change using method, apparatus to application service in time when application service registration table changes
Notice, thus the present invention can make application service using method, apparatus in time, automatic discovery application service modification information, thus according to
Modification information takes counter-measure, reduces the workload that application service uses method, apparatus, saves application service user and set
Standby computing resource reduces the application risk of application service user and uses difficulty.
Corresponding to embodiment of the method shown in Fig. 2, as shown in figure 5, the present invention also provides a kind of application service management systems
System is applied in registrar, and the registrar and application service provide method, apparatus and application service and use method, apparatus
It is connected, which may include: that change request receiving module 100, change request processing module 200 and Notification of Changes send mould
Block 300,
Request receiving module 100 is changed, provides the application service registration that method, apparatus uploads for receiving the application service
Table change request, the change request carry the changed content changed to the application service registration table;
Request processing module 200 is changed, is had for providing method, apparatus in the application service to application service registration
In the case where the permission that table changes, processing is changed to the application service registration table according to the changed content, and
Method, apparatus, which is provided, to the application service sends change receipt;
Wherein, the application service registration table can be tree, the application service registration table include root node and
At least one subtree;The root node of each subtree is the child node of the root node of the application service registration table, each
The depth of the subtree is 3, in each subtree:
The node that gradient is 1 is node corresponding with application service provider, and the node that gradient is 2 is that application service is realized
The corresponding node of system, the node that gradient is 3 are the corresponding node of application service;The application that any application service provider provides
The corresponding node of service realization system is the child node of the corresponding node of application service provider, and any application service is realized
The corresponding node of application service that system provides is the child node that the corresponding node of system is realized in the application service;
There is the description information of the corresponding application service of the node on the node that the gradient is 3.
Wherein, as shown in fig. 6, change request processing module 200 may include: change permission judging submodule 210, change
Submodule 220 and change receipt sending submodule 230 are handled,
Permission judging submodule 210 is changed, for judging that the application service provides whether method, apparatus has to the application
The permission that web services registry changes;
Exception processes submodule 220, for according to the changed content at least one in the application service registration table
At least one node in a subtree changes processing;
Receipt sending submodule 230 is changed, sends change receipt for providing method, apparatus to the application service.
Further, exception processes submodule 220 may include: acquisition submodule, the first exception processes submodule, the second change
Submodule and third exception processes submodule are more handled,
Acquisition submodule, for obtaining change type from the changed content and changing object, the change object is
Node;
First exception processes submodule, for judging whether the change object is deposited when the change type is to delete
In descendant nodes, if it is present all descendant nodes of the change object and the change object are deleted, and tied according to deleting
Fruit is updated the father Zu Jiedian of the change object;
Second exception processes submodule is used for when the change type is to increase, according to the increasing in the changed content
Add position and nodal information corresponding with position is increased, establishes the new section with the nodal information at the increase position
Point is updated according to father Zu Jiedian of the nodal information of increased node to the node;
Third exception processes submodule is used for when the change type is modification, according to repairing in the changed content
Breath is converted to modify to the change object, and according to modification result to the descendant nodes of the change object and father Zu Jiedian into
Row updates.
Notification of Changes sending module 300, for according to change that treated the application service registration table, Xiang Suoshu
Application service sends Notification of Changes using method, apparatus.
Specifically, Notification of Changes may include: change type, the store path for having changed node, change node change
The description information of front and back.
Wherein, as shown in fig. 6, Notification of Changes sending module 300 includes: monitoring submodule 310, change result acquisition submodule
Block 320 and Notification of Changes sending submodule 330,
Monitor submodule 310, the monitoring for being sent according to the application service using method, apparatus is requested to the application
At least one node of web services registry is monitored;
Result acquisition submodule 320 is changed, for obtaining the section changed after monitored node changes
Point change type, changed node store path, changed node before changing after description information;
Notification of Changes sending submodule 330, for by the change type of the node changed, changed depositing for node
Description information after storing up path, having changed node before changing is sent to the application service as Notification of Changes and uses method, apparatus.
As shown in fig. 7, corresponding to embodiment of the method shown in Fig. 4, the present invention also provides another application service managements
System, the system may include: change request receiving module 100, change request processing module 200 and Notification of Changes sending module
300, search request receiving module 400, application service searching module 500 and result confirmation module 600,
Request receiving module 100 is changed, provides the application service registration that method, apparatus uploads for receiving the application service
Table change request, the change request carry the changed content changed to the application service registration table;
Request processing module 200 is changed, is had for providing method, apparatus in the application service to application service registration
In the case where the permission that table changes, processing is changed to the application service registration table according to the changed content, and
Method, apparatus, which is provided, to the application service sends change receipt;
Notification of Changes sending module 300, for according to change that treated the application service registration table, Xiang Suoshu
Application service sends Notification of Changes using method, apparatus;
Search request receiving module 400 is answered for receiving the lookup that the application service is sent using method, apparatus with first
With the solicited message for servicing similar application service;
Application service searching module 500, each section for being 3 for traversing each subtree gradient of the application service registration table
The corresponding application service of point, and each application service is calculated according to the description information of the corresponding application service of node and is answered with described first
With the goodness of fit of service;
As a result confirmation module 600, the application service for being more than threshold value for the goodness of fit are determined as taking with first application
It is engaged in similar application service and notifying the application service using method, apparatus.
A kind of application service management system provided in an embodiment of the present invention is applied to registrar, can be according to application
The changed content that the change request and change request that service provider equipment is sent carry, provides method, apparatus in the application service
In the case where having the permission changed to the application service registration table, the application service is infused according to the changed content
Volume table changes processing, and according to change that treated the application service registration table, Xiang Suoshu application service use
Method, apparatus sends Notification of Changes.Since the present invention can make to application service in time when application service registration table changes
With method, apparatus send Notification of Changes, therefore the present invention can make application service using method, apparatus in time, find application service automatically
Modification information reduces the workload that application service uses method, apparatus, saves to take counter-measure according to modification information
Application service uses the computing resource of method, apparatus, reduces the application risk of application service user and uses difficulty.
It is illustrated below to applied to application service using the application service discovery method in method, apparatus:
As shown in figure 8, a kind of flow chart of application service discovery method provided in an embodiment of the present invention, is applied to application clothes
It make sures in method, apparatus, the application service is connect using method, apparatus with registrar, and this method may include:
S010, the Notification of Changes that the registrar is sent is received;Wherein, the Notification of Changes is the registration service
Device mentions after receiving the application service and providing the application service registration table change request that method, apparatus uploads in the application service
In the case where having the permission changed to the application service registration table for method, apparatus, according to the change of the change request carrying
More content changes processing to the application service registration table, and provides method, apparatus to the application service and send change receipt
Afterwards, according to change that treated the application service registration table, the change that Xiang Suoshu application service uses method, apparatus to send
Notice;
S020, when the Notification of Changes is that the application service is repaired using method, apparatus the second application service currently in use
Change or delete notice when, traverse each node corresponding application clothes that each subtree gradient of the application service registration table is 3
Business, and calculate the goodness of fit of each application service Yu second application service;
Specifically, also can be used here breadth first algorithm to application each subtree of web services registry all gradients be
3 node is traversed;It is identical with the second application service to calculate it for the corresponding application service of node for being 3 to each gradient
Degree.
The calculating of the goodness of fit some or all of can be used in application service description information content and be counted as parameter
It calculates, such as: type, communications protocol, input parameter, output parameter of application service etc.;It when necessary, can also be according to application service
The request of user, which limits application service similar with the second application service, should meet minimum quality requirement, which wants
A certain or certain several parameter the minimum requirements that can be in application service description information is asked, such as: some application services make
With side require similar with the second application service application service QPS have to be larger than 100 and/or pot life have to be larger than
99% etc..
A kind of alternative goodness of fit calculation is provided below:
The weight of the relevant parameter in application service description information is set, and sets the initial goodness of fit equal to 1;
Calculate the goodness of fit of at least one parameter identical parameters corresponding with the second application service of current application service: when
When the value of a certain parameter is identical as the value of the identical parameters of the second application service, the corresponding goodness of fit of the parameter=initial goodness of fit
The weight of × the parameter;Otherwise, the corresponding goodness of fit=0 of the parameter;
To the summation of the goodnesses of fit of calculated all parameters, the final goodness of fit be equal to it is described and.
Preferably, when the application service similar with the second application service of application service user equipment requirement should meet it is minimum
Quality requirement when, goodness of fit calculation can be with are as follows:
It determines the parameter and its value for having minimum quality requirement, and sets the initial goodness of fit equal to 1;
It is corresponding with second application service in the value of a certain parameter for having minimum quality requirement of current application service
Have the value of the parameter of minimum quality requirement it is equal when, the goodness of fit=1,;Otherwise, the goodness of fit=0;
The product for calculating the goodness of fit of the initial goodness of fit and all parameters for having minimum quality requirement, when the product is 1, then
Current application service is application service similar with the second application service;It is dissimilar when the product is 0.
It is understood that can be when calculating the goodness of fit, " application service user equipment requirement and the second application are taken
Similar application service of being engaged in should meet minimum quality requirement " a kind of this mode, it can also be the folded of this mode and other modes
Add, i.e., when the goodness of fit calculated in different ways, which is all satisfied, to be required, which is only similar with the second application service
Application service.
S030, each application service that the goodness of fit is more than threshold value is determined as application clothes similar with second application service
Business;
Below with " application service similar with the second application service of application service user equipment requirement should meet minimum
Illustrate for quality requirement ":
Determine the parameter 1 for having minimum quality requirement are as follows: the type of application service, value are as follows: social and communication service;Have minimum
The parameter 2 of quality requirement are as follows: communications protocol, value are as follows: HTTP;The initial goodness of fit=1;
If the value of the type of current application service are as follows: social network-i i-platform, the value of communications protocol are as follows: Thrift RPC;
The then goodness of fit=1 × 0 × 0=0;
Then current application service and the second application service are dissimilar.
S040, the description information for obtaining determining similar application service.
As shown in figure 9, on the basis of embodiment shown in Fig. 8, another kind application service provided in an embodiment of the present invention
It was found that method, can also include:
S050, the similar application service is connected according to the communications protocol carried in the description information;
Specifically, being reconnected after waiting preset time, if connection is unsuccessful until success.
S060, after being successfully connected with the similar application service, the similar application service is called, if returned
Value and expected return value match, then confirmation is verified;Otherwise, confirmation verifying does not pass through.
It is understood that illustrating that application service is using the similar services that method, apparatus is found if being verified
The service can be used normally using method, apparatus in the application service met the requirements, application service, when in use, can pass through acquisition
The application service description information in communications protocol connect the service, to use;If verifying does not pass through, illustrate to apply
Service is not to be able to satisfy requirement using the similar services that method, apparatus is found, and application service can be adopted using method, apparatus
The application service met the requirements is searched in registrar again with the method for the different calculating goodnesses of fit.
A kind of application service provided in an embodiment of the present invention finds method, is applied to application service and uses method, apparatus, when answering
The Notification of Changes that the registrar received with service using method, apparatus is sent is that application service is used using method, apparatus
The second application service be modified or deleted notice when, can with each subtree gradient of traversal applications web services registry be 3 it is every
The corresponding application service of one node, and the goodness of fit of each application service Yu the second application service is calculated, it is more than threshold value by the goodness of fit
Each application service be determined as application service similar with the second application service, and obtain retouching for determining similar application service
State information.Due to the present invention can when application service is modified or deleted using method, apparatus application service currently in use, and
When receive registrar transmission Notification of Changes, and in time find it is similar with the application service being currently modified or deleted
Application service, to reduce the application risk of application service user and use difficulty.
As shown in Figure 10, embodiment of the method shown in Fig. 8 is corresponded to, the present invention also provides a kind of application service discoveries to be
System, which may include: Notification of Changes receiving module 010, application service discovery module 020, application service determining module 030
Module 040 is obtained with description information,
Notification of Changes receiving module 010, the Notification of Changes sent for receiving the registrar, wherein the change
More notice is that the registrar is asked in the application service registration table change for receiving the application service offer method, apparatus upload
After asking, in the case where the application service, which provides method, apparatus, the permission changed to the application service registration table, root
Processing changed to the application service registration table according to the changed content that the change request carries, and to the application service
It provides after method, apparatus sends change receipt, according to the application service registration table that changes that treated, is taken to the application
The Notification of Changes make sure with method, apparatus transmission;
Application service discovery module 020, for being made for the application service using method, apparatus when the Notification of Changes
When the notice that the second application service is modified or deleted, traversing each subtree gradient of the application service registration table is 3
The corresponding application service of each node, and calculate the goodness of fit of each application service Yu second application service;
Application service determining module 030, each application service for being more than threshold value for the goodness of fit are determined as and described second
The similar application service of application service;
Description information obtains module 040, for obtaining the description information of determining similar application service.
As shown in figure 11, embodiment of the method shown in Fig. 9 is corresponded to, it is described on the basis of embodiment shown in Fig. 10
System can also include: application service link block 050 and application service authentication module 060,
Application service link block 050, for described similar according to the communications protocol connection carried in the description information
Application service;
Application service authentication module 060, for calling described similar after being successfully connected with the similar application service
Application service, if return value and expected return value match, confirmation is verified;Otherwise, confirmation verifying does not pass through.
For device embodiment, since it is substantially similar to the method embodiment, related so being described relatively simple
Place illustrates referring to the part of embodiment of the method.
It should be noted that, in this document, relational terms such as first and second and the like are used merely to a reality
Body or operation are distinguished with another entity or operation, are deposited without necessarily requiring or implying between these entities or operation
In any actual relationship or order or sequence.Moreover, the terms "include", "comprise" or its any other variant are intended to
Non-exclusive inclusion, so that the process, method, article or equipment including a series of elements is not only wanted including those
Element, but also including other elements that are not explicitly listed, or further include for this process, method, article or equipment
Intrinsic element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that
There is also other identical elements in process, method, article or equipment including the element.
Each embodiment in this specification is all made of relevant mode and describes, same and similar portion between each embodiment
Dividing may refer to each other, and each embodiment focuses on the differences from other embodiments.Especially for system reality
For applying example, since it is substantially similar to the method embodiment, so being described relatively simple, related place is referring to embodiment of the method
Part explanation.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the scope of the present invention.It is all
Any modification, equivalent replacement, improvement and so within the spirit and principles in the present invention, are all contained in protection scope of the present invention
It is interior.
Claims (8)
1. a kind of application service management method, which is characterized in that be applied in registrar, the registrar and application
Service provider equipment is connected with application service using method, apparatus, the method includes the steps:
It receives the application service and the application service registration table change request that method, apparatus uploads is provided, the change request carries
The changed content that the application service registration table is changed;
In the case where the application service, which provides method, apparatus, the permission changed to the application service registration table, according to
The changed content changes processing to the application service registration table, and provides method, apparatus to the application service and send and become
More receipt;
According to the application service registration table that changes that treated, it is logical that Xiang Suoshu application service using method, apparatus sends change
Know;
The application service registration table is tree, and the application service registration table includes root node and at least one subtree;
The root node of each subtree is the child node of the root node of the application service registration table, the depth of each subtree
It is 3, in each subtree: the node that gradient is 1 is node corresponding with application service provider, the node that gradient is 2
The corresponding node of system is realized for application service, and the node that gradient is 3 is the corresponding node of application service;Any application service mentions
The application service that supplier provides realizes that the corresponding node of system is the child node of the corresponding node of application service provider, appoints
One application service realizes that the corresponding node of application service that system provides is that the corresponding node of system is realized in the application service
Child node;
There is the description information of the corresponding application service of the node on the node that the gradient is 3;
The basis changes that treated the application service registration table, Xiang Suoshu application service is sent using method, apparatus to be become
More notify, comprising:
At least one section for monitoring request to the application service registration table sent according to the application service using method, apparatus
Point is monitored;
After monitored node changes, obtains the change type of the node changed, changed the storage of node
Path, changed node before changing after description information;
By the change type of the node changed, the store path for having changed node, changed node before changing after retouch
It states information and is sent to the application service as Notification of Changes and use method, apparatus.
2. the method according to claim 1, wherein described infuse the application service according to the changed content
Volume table changes processing, comprising:
According to the changed content at least one node in subtree described at least one of described application service registration table
Change processing.
3. according to the method described in claim 2, it is characterized in that, described infuse the application service according to the changed content
At least one node in subtree described at least one of volume table changes processing, comprising:
Change type and change object are obtained from the changed content, the change object is node;
When the change type is to delete, the change object is judged with the presence or absence of descendant nodes, if it is present by the change
All descendant nodes of more object and the change object are deleted, and are carried out according to result is deleted to the father Zu Jiedian of the change object
It updates;
When the change type is to increase, according in the changed content increase position and with increase the corresponding node in position
Information establishes the new node with the nodal information at the increase position, according to the nodal information of increased node
The father Zu Jiedian of the node is updated;
When the change type is modification, the change object is repaired according to the modification information in the changed content
Change, and the descendant nodes and father Zu Jiedian of the change object are updated according to modification result.
4. described in any item methods according to claim 1~3, which is characterized in that further include:
The request for receiving the lookup application service similar with the first application service that the application service is sent using method, apparatus is believed
Breath;
The corresponding application service of each node that each subtree gradient of the application service registration table is 3 is traversed, and according to node
The description information of corresponding application service calculates the goodness of fit of each application service Yu first application service;
The application service that the goodness of fit is more than threshold value is determined as application service similar with first application service and notifies institute
It states application service and uses method, apparatus.
5. a kind of application service management system, which is characterized in that be applied in registrar, the registrar and application
Service provider equipment is connected with application service using method, apparatus, the system comprises: change request receiving module, change are asked
Processing module and Notification of Changes sending module are asked,
The change request receiving module provides the application service registration table change that method, apparatus uploads for receiving the application service
It more requests, the change request carries the changed content changed to the application service registration table;
The change request processing module, for the application service provide method, apparatus have to the application service registration table into
In the case where the permission of row change, processing is changed to the application service registration table according to the changed content, and to institute
It states application service and method, apparatus transmission change receipt is provided;
The Notification of Changes sending module, for being answered to described according to the application service registration table that changes that treated
Notification of Changes is sent using method, apparatus with service;
The application service registration table is tree, and the application service registration table includes root node and at least one subtree;
The root node of each subtree is the child node of the root node of the application service registration table, the depth of each subtree
It is 3, in each subtree: the node that gradient is 1 is node corresponding with application service provider, the node that gradient is 2
The corresponding node of system is realized for application service, and the node that gradient is 3 is the corresponding node of application service;Any application service mentions
The application service that supplier provides realizes that the corresponding node of system is the child node of the corresponding node of application service provider, appoints
One application service realizes that the corresponding node of application service that system provides is that the corresponding node of system is realized in the application service
Child node;
There is the description information of the corresponding application service of the node on the node that the gradient is 3;
The Notification of Changes sending module, is specifically used for:
At least one section for monitoring request to the application service registration table sent according to the application service using method, apparatus
Point is monitored;
After monitored node changes, obtains the change type of the node changed, changed the storage of node
Path, changed node before changing after description information;
By the change type of the node changed, the store path for having changed node, changed node before changing after retouch
It states information and is sent to the application service as Notification of Changes and use method, apparatus.
6. a kind of application service finds method, which is characterized in that it is applied to application service and uses in method, apparatus, the application service
It is connect using method, apparatus with registrar, the method includes the steps:
Receive the Notification of Changes that the registrar is sent;Wherein, the Notification of Changes is that the registrar is receiving
After the application service provides the application service registration table change request that method, apparatus uploads, method, apparatus is provided in the application service
In the case where having the permission changed to the application service registration table, according to the changed content pair of the change request carrying
The application service registration table changes processing, and provides after method, apparatus sends change receipt to the application service, according to
Change that treated the application service registration table, the Notification of Changes that Xiang Suoshu application service uses method, apparatus to send, institute
Stating application service registration table is tree, and the application service registration table includes root node and at least one subtree;Each institute
State subtree root node be the application service registration table root node child node, the depth of each subtree is 3,
In each subtree: the node that gradient is 1 is node corresponding with application service provider, and the node that gradient is 2 is application
The corresponding node of realization system is serviced, the node that gradient is 3 is the corresponding node of application service;Any application service provider mentions
The application service of confession realizes that the corresponding node of system is the child node of the corresponding node of application service provider, any application
The corresponding node of application service that service realization system provides is the child node that the corresponding node of system is realized in the application service;
There is the description information of the corresponding application service of the node on the node that the gradient is 3;After the basis changes processing
The application service registration table, Xiang Suoshu application service using method, apparatus send Notification of Changes, comprising: according to the application take
The monitoring request sent with method, apparatus of make suring monitors at least one node of the application service registration table;When monitored
Node change after, obtain changed the node change type, changed node store path, changed section
Description information after putting before changing;By the change type of the node changed, the store path for having changed node, change
Node before changing after description information be sent to the application service as Notification of Changes and use method, apparatus;
When the Notification of Changes is modified or deleted for the application service using method, apparatus the second application service currently in use
Notice when, traverse the corresponding application service of each node that each subtree gradient of the application service registration table is 3, and calculate
The goodness of fit of each application service and second application service;
Each application service that the goodness of fit is more than threshold value is determined as application service similar with second application service;
Obtain the description information of determining similar application service.
7. according to the method described in claim 6, it is characterized in that, the method also includes:
According to the communications protocol connection carried in the description information of identified similar application service the similar application clothes
Business;
After being successfully connected with the similar application service, the similar application service is called, if return value and expection
Return value matches, then confirmation is verified;Otherwise, confirmation verifying does not pass through.
8. a kind of application service finds system, which is characterized in that it is applied to application service and uses in method, apparatus, the application service
It is connect using method, apparatus with registrar, the system comprises: Notification of Changes receiving module, is answered at application service discovery module
Module is obtained with service determining module and description information,
The Notification of Changes receiving module, the Notification of Changes sent for receiving the registrar, wherein the change is logical
Know to be the registrar after receiving the application service and the application service registration table change request that method, apparatus uploads is provided,
In the case where the application service, which provides method, apparatus, the permission changed to the application service registration table, according to described
The changed content that change request carries changes processing to the application service registration table, and to the application service provider
After equipment sends change receipt, according to the application service registration table that changes that treated, Xiang Suoshu application service is used
The Notification of Changes that method, apparatus is sent, the application service registration table are tree, and the application service registration table includes root section
Point and at least one subtree;The root node of each subtree is the child node of the root node of the application service registration table,
The depth of each subtree is 3, in each subtree: the node that gradient is 1 is corresponding with application service provider
Node, the node that gradient is 2 are that the corresponding node of system is realized in application service, and the node that gradient is 3 is that application service is corresponding
Node;The application service that any application service provider provides realizes that the corresponding node of system is application service provider couple
The child node for the node answered, any application service realize that the corresponding node of application service that system provides is application service reality
The child node of the existing corresponding node of system;There is the description letter of the corresponding application service of the node on the node that the gradient is 3
Breath;The basis changes that treated the application service registration table, Xiang Suoshu application service is sent using method, apparatus to be become
It more notifies, comprising: the monitoring sent according to the application service using method, apparatus is requested to the application service registration table extremely
A few node is monitored;After monitored node changes, the change type for the node that acquisition has been changed,
Description information after changing the store path of node, having changed node before changing;By the change type of the node changed,
Description information after having changed the store path of node, having changed node before changing is sent to the application clothes as Notification of Changes
It make sures and uses method, apparatus;
The application service discovery module, for being that the application service is currently in use using method, apparatus when the Notification of Changes
When the notice that the second application service is modified or deleted, traverse each subtree gradient of the application service registration table be 3 it is each
The corresponding application service of node, and calculate the goodness of fit of each application service Yu second application service;
The application service determining module, each application service for being more than threshold value for the goodness of fit are determined as and second application
Service similar application service;
The description information obtains module, for obtaining the description information of determining similar application service.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510855548.9A CN105407161B (en) | 2015-11-30 | 2015-11-30 | Application service management method, system and application service find method, system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510855548.9A CN105407161B (en) | 2015-11-30 | 2015-11-30 | Application service management method, system and application service find method, system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105407161A CN105407161A (en) | 2016-03-16 |
CN105407161B true CN105407161B (en) | 2019-06-14 |
Family
ID=55472406
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510855548.9A Active CN105407161B (en) | 2015-11-30 | 2015-11-30 | Application service management method, system and application service find method, system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105407161B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108491468A (en) * | 2018-03-07 | 2018-09-04 | 阿里巴巴集团控股有限公司 | A kind of document processing method, device and server |
CN113326108B (en) * | 2020-02-28 | 2025-02-21 | 北京沃东天骏信息技术有限公司 | A method and device for managing application services |
CN112597473B (en) * | 2020-11-17 | 2024-02-09 | 深圳市世强元件网络有限公司 | B2B service security authentication method, device and server based on corporate official email |
WO2024031481A1 (en) * | 2022-08-10 | 2024-02-15 | Nokia Technologies Oy | Service enhancement of device and applications thereof |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101000634A (en) * | 2007-01-05 | 2007-07-18 | 北京握奇数据系统有限公司 | Method for realizing arbitrary catalog applied management to telecommunication smart card |
CN103051721A (en) * | 2012-12-26 | 2013-04-17 | 华为技术有限公司 | Event notification method and device |
EP2765508A4 (en) * | 2011-11-22 | 2014-09-03 | Huawei Tech Co Ltd | INSTALLATION METHOD AND INSTALLATION DEVICE FOR APPLICATION SOFTWARE |
CN104808983A (en) * | 2015-03-19 | 2015-07-29 | 深圳市梦域科技有限公司 | Application program push method and server |
CN104935454A (en) * | 2014-03-18 | 2015-09-23 | 安讯士有限公司 | Capability monitoring in a service oriented architecture |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103051551B (en) * | 2011-10-13 | 2017-12-19 | 中兴通讯股份有限公司 | A kind of distributed system and its automatic maintenance method |
-
2015
- 2015-11-30 CN CN201510855548.9A patent/CN105407161B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101000634A (en) * | 2007-01-05 | 2007-07-18 | 北京握奇数据系统有限公司 | Method for realizing arbitrary catalog applied management to telecommunication smart card |
EP2765508A4 (en) * | 2011-11-22 | 2014-09-03 | Huawei Tech Co Ltd | INSTALLATION METHOD AND INSTALLATION DEVICE FOR APPLICATION SOFTWARE |
CN103051721A (en) * | 2012-12-26 | 2013-04-17 | 华为技术有限公司 | Event notification method and device |
CN104935454A (en) * | 2014-03-18 | 2015-09-23 | 安讯士有限公司 | Capability monitoring in a service oriented architecture |
CN104808983A (en) * | 2015-03-19 | 2015-07-29 | 深圳市梦域科技有限公司 | Application program push method and server |
Also Published As
Publication number | Publication date |
---|---|
CN105407161A (en) | 2016-03-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6911189B2 (en) | Methods, devices, and computer program products for generating communication channels shared with the outside world. | |
CN108322471B (en) | Multi-tenant identity and data security management cloud service | |
US9594840B2 (en) | System and method for managing information flow between members of an online social network | |
CN112514429B (en) | Apparatus and method for analyzing assisted UE registration to support load balancing within and between network slices | |
CN105407161B (en) | Application service management method, system and application service find method, system | |
US20240406084A1 (en) | Network entities for supporting analytics generation | |
CN104796326B (en) | A kind of group creating method and device of enterprise IM | |
US9495711B2 (en) | Invite abuse prevention | |
CN106097107A (en) | For social graph data analysis to determine the internuncial system and method in community | |
US20100043050A1 (en) | Federating policies from multiple policy providers | |
CN106814975A (en) | A kind of memory management method and its system for polymorphic type storage device | |
CN110611660B (en) | Enterprise-level multi-domain-name login integration method | |
CN111614760A (en) | Method and device for balanced distribution access of Internet of things equipment | |
CN110071964A (en) | File synchronisation method, device, file sharing network, file are total to system and storage medium | |
US20230164216A1 (en) | Peer-to-peer software distribution | |
EP2891124A1 (en) | Sharing social network feeds via proxy relationships | |
US8055665B2 (en) | Sorted search in a distributed directory environment using a proxy server | |
Lin et al. | P2P-iSN: A peer-to-peer architecture for heterogeneous social networks | |
US20140365520A1 (en) | User directory system for a hub-based system federating disparate unified communications systems | |
CN108307678A (en) | Method and system for permitting or disapproving connection request | |
Humski et al. | Building implicit corporate social networks: The case of a multinational company | |
CN106230625A (en) | A kind of method and device in dynamic creation territory in SolrCloud cluster | |
US20130104215A1 (en) | System and method for managing network devices | |
KR102340976B1 (en) | Deep learning-based customized content provision system using web service user experience | |
US9536199B1 (en) | Recommendations based on device usage |
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 |