CN108282368A - A kind of micro services management system, method and computer storage media - Google Patents
A kind of micro services management system, method and computer storage media Download PDFInfo
- Publication number
- CN108282368A CN108282368A CN201810069878.9A CN201810069878A CN108282368A CN 108282368 A CN108282368 A CN 108282368A CN 201810069878 A CN201810069878 A CN 201810069878A CN 108282368 A CN108282368 A CN 108282368A
- Authority
- CN
- China
- Prior art keywords
- service
- micro services
- instance
- service instance
- center
- 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.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/50—Network service management, e.g. ensuring proper service fulfilment according to agreements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/06—Management of faults, events, alarms or notifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/06—Management of faults, events, alarms or notifications
- H04L41/0677—Localisation of faults
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/06—Management of faults, events, alarms or notifications
- H04L41/069—Management of faults, events, alarms or notifications using logs of notifications; Post-processing of notifications
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer And Data Communications (AREA)
Abstract
The present invention proposes a kind of micro services management system, method and computer storage media, including service register center and service management center:The service register center registers with the Service Instance of micro services;The service management center obtains the service list and the state for updating Service Instance in the service list that the Service Instance is formed from the service register center every preset time;When the Service Instance of the micro services is abnormal, the Service Instance sends warning message to the service management center;The service management center updates the state of exception service example in the service list according to the warning message.Address of service unified monitoring and management are not only reduced O&M cost and quick response business demand, while improving the efficiency of safety and orientation problem by the present invention.
Description
Technical field
The present invention relates to micro services technical field, more particularly to a kind of micro services management system, method and computer storage
Medium.
Background technology
After Technical Architecture is transformed into micro services by traditional monomer applications, operation system is split into even thousands of for hundreds of
A micro services, each micro services include independent configuration, and independent operation container starts as an independent service.In incognito
After businessization, the function either module of each feature has the micro services composition cluster of one group of said function, passes through load balancing
Technology provides reliable and stable service.
Each micro services carry the container that service is started and run, single micro services startup and dispose it is fairly simple, still
Under the cluster environment of business application system, each business application system is split into as hundreds of even thousands of micro services.With
The quantity for micro services increases, and the monitoring and management to service state just become very difficult.If micro services break down, fortune
Dimension personnel can not quick orientation problem.Under conventional conditions, the monitoring and management of micro services state are generally by manually remotely stepping on
Record server is checked.It is huge due to micro services quantity, under the efficiency checked is at a fairly low, and the ability of operation maintenance personnel is wanted
Ask relatively high, telnet server operation command, if accidentally operating can also cause that maloperation can be caused, just because of
O&M quality cannot ensure in this way.
Invention content
For the defects in the prior art, the present invention proposes a kind of micro services management system, method and computer storage
Address of service unified monitoring and management are not only reduced O&M cost and ensure that the quality of O&M, while making O&M people by medium
Member can improve the efficiency of orientation problem with quick response business demand while increasing safety.
According to embodiment of the present invention, a kind of micro services management system, including service register center kimonos are provided
Be engaged in administrative center:
The service register center registers with the Service Instance of micro services;
The service management center obtains what the Service Instance was formed every preset time from the service register center
Service list and the state for updating Service Instance in the service list;
When the Service Instance of the micro services is abnormal, the Service Instance sends warning message to the service and manages
Reason center;
The service management center updates the state of exception service example in the service list according to the warning message.
In above-mentioned micro services management system, the input that the service management center is additionally operable to response user is operated to institute
It states service list and carries out predetermined registration operation.
In above-mentioned micro services management system, the predetermined registration operation for the update Service Instance state, check institute
State Service Instance, delete in micro services, update configuration information described in micro services, undercarriage described in the Service Instance, restocking one
Kind is a variety of.
Further include service provider in above-mentioned micro services management system, the corresponding micro services of the service provider
Including multiple Service Instances:
The service provider is used to information on services of the micro services containing Service Instance be registered to the service registration
Center and the fresh information for sending the information on services to the service register center every another preset time.
In above-mentioned micro services management system, the state of the Service Instance is idle, occupancy and exception.
In above-mentioned micro services management system, the service management center is also stored with the corresponding service of the micro services
Example list and the error log generated by the warning message.
Another embodiment of the present invention provides a kind of micro services management method, is applied to service register center and service is managed
Reason center, the micro services management method include:
The service list of the Service Instance formation is obtained from the service register center and update should every preset time
The state of Service Instance in service list;
When the Service Instance of the micro services is abnormal, the warning message that the Service Instance is sent is received;
The state of exception service example in the service list is updated according to the warning message.
In above-mentioned micro services management method, further include:
The input operation for responding user carries out predetermined registration operation to the service list.
In above-mentioned micro services management method, the predetermined registration operation for the update Service Instance state, check institute
State Service Instance, delete in micro services, update configuration information described in micro services, undercarriage described in the Service Instance, restocking one
Kind is a variety of.
Readable machine storage medium is calculated the present invention also provides a kind of, computer is stored in the computer readable storage medium
Program, the computer program controls the computer readable storage medium when running makes computer hold above-mentioned micro services management
Method.
Micro services management system, method and computer storage media of the present invention at least provide following technique effect:Service ground
Location is managed collectively, and reduces O&M cost, improves O&M quality, ensures system or service invariant operation;Operation maintenance personnel does not have to long-range
Login service device, has prevented maloperation, improves safety.
Description of the drawings
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below will be to needed in the embodiment attached
Figure is briefly described, it should be understood that the following drawings illustrates only certain embodiments of the present invention, therefore is not construed as pair
The restriction of range for those of ordinary skill in the art without creative efforts, can also be according to this
A little attached drawings obtain other relevant attached drawings.
Fig. 1 is the structural schematic diagram that a kind of micro services that the embodiment of the present invention proposes manage system.
Fig. 2 is a kind of flow diagram for micro services management method that first embodiment of the invention proposes.
Fig. 3 is a kind of flow diagram for micro services management method that second embodiment of the invention proposes.
Main element symbol description:
10- micro services manage system;11- service providers;12- service register centers;13- service management centers.
Specific implementation mode
Hereinafter, the various embodiments of the disclosure will be described more fully.The disclosure can have various embodiments, and
It can adjust and change wherein.It should be understood, however, that:There is no the various embodiments of the disclosure are limited to spy disclosed herein
Determine the intention of embodiment, but the disclosure should be interpreted as in the spirit and scope for covering the various embodiments for falling into the disclosure
All adjustment, equivalent and/or alternative.
Hereinafter, disclosed in the term " comprising " that can be used in the various embodiments of the disclosure or " may include " instruction
Function, operation or the presence of element, and do not limit the increase of one or more functions, operation or element.In addition, such as existing
Used in the various embodiments of the disclosure, term " comprising ", " having " and its cognate are meant only to indicate special characteristic, number
Word, step, operation, the combination of element, component or aforementioned item, and be understood not to exclude first one or more other
Feature, number, step, operation, the combination of element, component or aforementioned item presence or increase one or more features, number,
Step, the possibility of operation, the combination of element, component or aforementioned item.
In the various embodiments of the disclosure, it includes listing file names with to state "or" or " at least one of A or/and B "
Any combinations of word or all combinations.For example, statement " A or B " or " at least one of A or/and B " may include A, may include
B may include A and B both.
The statement (" first ", " second " etc.) used in the various embodiments of the disclosure can be modified in various implementations
Various constituent element in example, but respective sets can not be limited into element.For example, presented above be not intended to limit the suitable of the element
Sequence and/or importance.The purpose presented above for being only used for differentiating an element and other elements.For example, the first user fills
It sets and indicates different user device with second user device, although the two is all user apparatus.For example, not departing from each of the disclosure
In the case of the range of kind embodiment, first element is referred to alternatively as second element, and similarly, second element is also referred to as first
Element.
It should be noted that:It, can be by the first composition member if a constituent element ' attach ' to another constituent element by description
Part is directly connected to the second constituent element, and " connection " third can be formed between the first constituent element and the second constituent element
Element.On the contrary, when a constituent element " being directly connected to " is arrived another constituent element, it will be appreciated that in the first constituent element
And second third constituent element is not present between constituent element.
The term " user " used in the various embodiments of the disclosure, which may indicate that, to be used the people of electronic device or uses electricity
The device (for example, artificial intelligence electronic device) of sub-device.
The term used in the various embodiments of the disclosure is used only for the purpose of describing specific embodiments and not anticipates
In the various embodiments of the limitation disclosure.As used herein, singulative is intended to also include plural form, unless context is clear
Chu it is indicated otherwise.Unless otherwise defined, otherwise all terms (including technical terms and scientific terms) used herein have
There is meaning identical with the various normally understood meanings of embodiment one skilled in the art of the disclosure.The term
(term such as limited in the dictionary generally used) is to be interpreted as having and situational meaning in the related technical field
Identical meaning and the meaning that Utopian meaning or too formal will be interpreted as having, unless in the various of the disclosure
It is clearly defined in embodiment.
Embodiment 1
Fig. 1 is the structural schematic diagram that a kind of micro services that the embodiment of the present invention proposes manage system.The micro services management system
System 10 includes service provider 11, service register center 12 and service management center 13, wherein the service provider 11 corresponds to
Micro services include multiple Service Instances.
Information on services of the micro services containing Service Instance is registered to the service register center 12 by service provider 11
And the fresh information of the information on services is sent to the service register center 12 every another preset time.
Service provider 11 submits the service letter containing Service Instance of oneself when starting to service register center 12
Breath, wherein the information on services includes:Service provider title, the micro services title of offer, service provider provide in incognito
It is engaged in corresponding several Service Instances, the IP address of Service Instance, port etc..The service register center 12 is according to the fresh information
Update the information on services of the 11 corresponding micro services of service provider.
For example, the micro services provided with a service provider in the present embodiment are said to manage system to micro services
It is bright, can also include multiple service providers in other embodiments of the invention.Service provider " KFC " provides micro-
Service corresponding " areas A KFC ", " areas B KFC ", " areas C KFC ", " areas D KFC ", " areas E KFC " 5 services are real
Example, the information on services containing Service Instance for the micro services that service provider " KFC " is provided it are registered in service registration
The heart, such as service provider title " KFC ", Service Instance title " areas A KFC ", " areas B KFC ", " agree moral in the areas C
Base ", " areas D KFC ", " areas E KFC ", the IP address etc. of Service Instance.
Service provider updates the state of the Service Instance for the micro services that it is provided every 30s to service register center timing
Information, wherein the status information includes idle, occupancy and exception.
Service register center 12 registers with the Service Instance of micro services.
Service register center 12 registers with the service letter containing Service Instance of 11 provided micro services of the service provider
It ceases and stores.
In the present embodiment, the service provider 11 is sent more every a preset time to the service register center 12
New information, the fresh information include Service Instance status information etc., and the service register center 12 is according to the fresh information
Timing updates the information on services of the corresponding micro services of the service provider, obtains Service Instance last state in time, reduces management
The probability of error.
In addition, in other embodiments of the invention, the service of the corresponding micro services of the service provider can also be worked as
When example state changes, the service provider sends fresh information, the service to the service register center immediately
Registration center updates the state of the Service Instance of the micro services according to the fresh information, avoids service provider to service registration
Center submits invalid update to ask, i.e. any change does not occur for the state of the Service Instance of the provided micro services of service provider
When change, the number that fresh information is sent to service register center is reduced, in the Service Instance of the provided micro services of service provider
State when frequently changing, increase the number that fresh information is sent to service register center, service provider is sent on demand
Update request avoids system congestion and improves the real-time effectiveness of information.
For example, Service Instance " areas A KFC " state is become " occupying " from " idle ", Service Instance is every 30s to service
Registration center sends the fresh information of the Service Instance, and service register center changes the service of the micro services according to the fresh information
Information.Alternatively, when Service Instance " areas A KFC " state is become " occupying " from " idle ", Service Instance is to service register center
The fresh information of the Service Instance is sent, service register center changes the shape of the Service Instance of the micro services according to the fresh information
State.
Service management center 13 obtains what the Service Instance was formed every preset time from the service register center 12
Service list and the state for updating Service Instance in the service list;When the Service Instance of the micro services is abnormal, institute
It states Service Instance and sends warning message to the service management center 13, service management center 13 should according to warning message update
The state of exception service example in service list.
The service management center 13 obtains all micro services and the service of the micro services from the service register center 12
It is added in database after the service list that example is formed, and checks the available service in the service list and clothes currently in use
Business updates the information on services that micro services are corresponded in the database according to the available service and currently in use service, while every
Preset time obtains the state updating information of micro services corresponding with service example from the service register center 12, is believed according to the update
Breath timing updates the state of each Service Instance in the service list.Meanwhile the service management center 13 can also be from service
Registration center 12 obtains the information on services containing Service Instance of the micro services of new registration and the micro services is added to service management
In central database, the micro services corresponding with service example state is updated according to fresh information in future time.
When the corresponding Service Instance of micro services is abnormal, Service Instance sends warning message to service management center
13, the service management center 13 updates the information on services of micro services and each service in its service list according to the warning message
The state of example, the abnormal Service Instance of positioning, it is abnormal quickly to investigate service in time.
For example, service management center obtains " KFC ", " Startbuck ", " resistance to from the service register center " Baidu map "
Gram " etc. micro services information on services formed service list after be added to database, service provider " KFC " provides micro-
Service corresponding " areas A KFC ", " areas B KFC ", " areas C KFC ", " areas D KFC ", " areas E KFC " 5 services are real
Example, if the state of Service Instance is sent when changing, Service Instance sends the fresh information of the Service Instance to service register center,
Service register center changes the state of the Service Instance of the micro services according to the fresh information, and service management center is every 10s master
Trend service register center obtains the fresh information of the micro services, and updates the data the micro services pair in library according to the fresh information
The state for the Service Instance answered.
If the corresponding Service Instance of micro services " areas A KFC " that service provider " KFC " provides " agrees moral in the areas B
Base ", " areas C KFC ", " areas D KFC ", " areas E KFC " occur it is abnormal, such as on a different server, server it is disconnected
When the problems such as electricity or system crash causes the Service Instance to be unable to normal use, which sends warning message extremely
Service management center, service management center according to the warning message update the data service provider in library " KFC " provide it is micro-
Service corresponding Service Instance " areas A KFC ", " areas B KFC ", " areas C KFC ", " areas D KFC ", " areas E KFC "
State.
The service management center 13 is also stored with the corresponding Service Instance list of the micro services and by the warning letter
Cease the error log generated.
For example, service management center will " areas A KFC " corresponding by micro services, " areas B KFC ", " areas C KFC ",
The warning letter that the Service Instances such as " areas D KFC ", " areas E KFC " generate Service Instance list and sent by exception service example
The error log that breath generates is stored in local memory, according to the error log and example list, can quickly be investigated out different
Normal Service Instance.
The input operation that the service management center 13 is additionally operable to response user carries out predetermined registration operation to the service list.
The predetermined registration operation is the state for updating the Service Instance, checks the Service Instance, deletes the service in fact
It is one or more in micro services, update configuration information described in micro services, undercarriage described in example, restocking.
For example, operation maintenance personnel can also check the micro services and its correspondence of storage in the database by service management center
Service Instance, need externally provide service micro services restocking, by need not externally provide service micro services undercarriage, will
There is abnormal or automatic offline Service Instance to delete from example list etc..
Embodiment 2
Fig. 2 is a kind of flow diagram for micro services management method that first embodiment of the invention proposes.The micro services pipe
Reason method is applied to service register center, service management center.
Step S110 obtains the service list that the Service Instance is formed from the service register center every preset time
And update the state of Service Instance in the service list.
Upon start up, the information on services containing Service Instance of the micro services is registered to the clothes by the service provider
Be engaged in registration center, wherein the information on services includes:Service provider title, the micro services title of offer, service provider institute
The corresponding several Service Instances of micro services, the IP address of Service Instance, the state of Service Instance, port etc., the service are provided
The state of example includes idle, occupancy and abnormal isotype.Being sent to the service register center every another preset time should
Service the fresh information of corresponding with service example state.
In the present embodiment, service management center obtains the information on services of micro services from service register center and generates service row
The information on services of micro services in the service list and the corresponding Service Instance of micro services are added to service management center number by table
According to the available service and service currently in use in library, checked in service list, pass through the available service and clothes currently in use
Business updates the state of micro services information and Service Instance in the database.
In other embodiments of the invention, the state of the Service Instance of the corresponding micro services of the service provider can also be worked as
When changing, the service provider to the service register center send fresh information, the service register center according to
The fresh information updates the state of the Service Instance of the micro services, and service provider sends update request, system is avoided to gather around on demand
Real-time effectiveness that is stifled and improving information.
Every preset time, service management center is obtained from the service register center by way of active obtaining and is serviced
The fresh information of list simultaneously updates the information on services of the micro services and the shape of corresponding each Service Instance according to the fresh information
State.Wherein, the fresh information of service list further include in the current preset time micro services of new registration containing Service Instance
Information on services, service management center add the information on services including its corresponding Service Instance of the micro services of the new registration to number
According in library.
Step S120 receives the warning that the Service Instance is sent when the Service Instance of the micro services is abnormal
Information.
When the corresponding Service Instance of micro services is abnormal, for example, for example on a different server, server power-off,
When the problems such as system crash or automatically offline Service Instance, causes the Service Instance to be unable to normal use, the exception service example
Warning message is sent to service management center, service management center updates the data the micro services information in library according to the warning message
And the state of Service Instance, the abnormal Service Instance of positioning, it is abnormal quickly to investigate service in time.
Service management center is also stored with the corresponding Service Instance list of the micro services and is generated by the warning message
Error log.According to the Service Instance list and error log quick positioning question, ensure the quality of O&M.
Step S130 updates the state of exception service example in the service list according to the warning message.
The micro services management method further includes responding the input operation of user to service list progress predetermined registration operation.
The predetermined registration operation is the state for updating the Service Instance, checks the Service Instance, deletes the service in fact
It is one or more in micro services, update configuration information described in micro services, undercarriage described in example, restocking.
For example, operation maintenance personnel can also check the micro services and its correspondence of storage in the database by service management center
Service Instance, need externally provide service micro services restocking, by need not externally provide service micro services undercarriage, will
There is abnormal or automatic offline Service Instance to delete from example list, update configuration information etc., quick response business
Demand.
Embodiment 3
Fig. 3 is a kind of flow diagram for micro services management method that second embodiment of the invention proposes.The micro services pipe
Reason method is applied to service register center, service management center.
Step S210, service register center register with the information on services of micro services.
Upon start up, the information on services of the micro services is registered to the service register center by the service provider,
Wherein, the information on services includes:Service provider title, the micro services title of offer, the provided micro services of service provider
Corresponding several Service Instances, the IP address of Service Instance, the state of Service Instance, port etc., the state of the Service Instance
Including idle, occupancy and abnormal isotype.
Step S220 obtains the service list that the information on services is formed and storage.
In the present embodiment, service management center obtains the information on services of micro services from service register center and generates service row
The information on services of micro services in the service list and the corresponding Service Instance of micro services are added to service management center number by table
According in library.
Step S230 submits update request.
In the present embodiment, every a preset time, such as the service is sent to the service register center every 30s and corresponded to
The fresh information of Service Instance state.In other embodiments of the invention, the corresponding micro services of the service provider can also be worked as
Information on services when changing, the service provider sends fresh information to the service register center.
Step S240 obtains the fresh information of micro services.
It checks the available service in service list and service currently in use, passes through the available service and clothes currently in use
Business updates the state of micro services information and Service Instance in the database.
Every preset time, service management center is obtained from the service register center by way of active obtaining and is serviced
The fresh information of list, wherein the fresh information of service list further includes the clothes of the micro services of new registration in the current preset time
Business information.
Whether step S250, service list information are consistent with fresh information.
Judge whether the fresh information obtained and service list information are consistent, if consistent be back to step S240, continues every
The fresh information of service list is obtained from service register center every preset time;If inconsistent advance to step S270, according to this
Fresh information updates service management center database information.
Step S260, Service Instance occur abnormal.
If Service Instance abnormal state, i.e. Service Instance on a different server, server power-off, system crash or
The problems such as automatic offline, causes the Service Instance that cannot just be often used, and Service Instance is sent in warning message to service management
The heart.
Step S270 updates the information on services that micro services are corresponded in service list.
The micro services are updated according to the warning message obtained in the fresh information and step S270 obtained in step S240
The state of information on services and corresponding each Service Instance.Wherein, the fresh information of service list further include new registration in incognito
The information on services of business, service management center add the information on services for including its corresponding Service Instance of the micro services of the new registration
Into database.
Step S280 carries out predetermined registration operation to the service list.
Information on services and corresponding Service Instance to the micro services in service list in service management center database into
Row predetermined registration operation, wherein predetermined registration operation may include:Operation maintenance personnel can also be checked by service management center is stored in database
In micro services and its corresponding Service Instance state, needing externally to provide the micro services restocking of service, will not need pair
The outer micro services undercarriage for providing service deletes appearance exception or automatic offline Service Instance, more from example list
New configuration information etc., quick response business demand.
The present invention also provides a kind of computer storage media, computer journey is stored in the computer readable storage medium
Sequence, the computer program controls the computer readable storage medium when running makes computer execute micro services described above
Management method.
With this, the present invention proposes a kind of micro services management system, method and computer storage media, and address of service is united
One management, reduces O&M cost, improves O&M quality, ensures system or service invariant operation;Operation maintenance personnel does not have to Telnet
Server has prevented maloperation, improves safety;Operation maintenance personnel can be by error log and micro services example list, soon
The investigation of speed goes out exception service, timely responds to business demand, improves the efficiency of orientation problem.
In several embodiments provided herein, it should be understood that disclosed system and method can also pass through
Other modes are realized.System embodiment described above is only schematical, for example, the flow chart in attached drawing and structure
Figure shows the system frame in the cards of the system of multiple embodiments according to the present invention, method and computer program product
Structure, function and operation.In this regard, each box in flowchart or block diagram can represent a module, section or code
A part, the part of the module, section or code includes one or more for implementing the specified logical function
Executable instruction.It should also be noted that in the realization method as replacement, the function of being marked in box can also be to be different from
The sequence marked in attached drawing occurs.For example, two continuous boxes can essentially be basically executed in parallel, they are sometimes
It can execute in the opposite order, this is depended on the functions involved.It is also noted that in structure chart and/or flow chart
The combination of each box and the box in structure chart and/or flow chart can use the special of function or action as defined in executing
Hardware based system realize, or can realize using a combination of dedicated hardware and computer instructions.
In addition, each function module or unit in each embodiment of the present invention can integrate and to form an independence
Part, can also be modules individualism, can also two or more modules be integrated to form an independent part.
It, can be with if the function is realized and when sold or used as an independent product in the form of software function module
It is stored in a computer read/write memory medium.Based on this understanding, technical scheme of the present invention is substantially in other words
The part of the part that contributes to existing technology or the technical solution can be expressed in the form of software products, the meter
Calculation machine software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be intelligence
Can mobile phone, personal computer, server or network equipment etc.) execute each embodiment the method for the present invention whole or
Part steps.And storage medium above-mentioned includes:USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory),
Random access memory (RAM, Random Access Memory), magnetic disc or CD etc. are various can to store program code
Medium.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any
Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain
Lid is within protection scope of the present invention.
Claims (10)
1. a kind of micro services manage system, which is characterized in that including service register center and service management center:
The service register center registers with the Service Instance of micro services;
The service management center obtains the service that the Service Instance is formed from the service register center every preset time
List and the state for updating Service Instance in the service list;
When the Service Instance of the micro services is abnormal, the Service Instance is sent in warning message to the service management
The heart;
The service management center updates the state of exception service example in the service list according to the warning message.
2. micro services according to claim 1 manage system, which is characterized in that the service management center is additionally operable to respond
The input operation of user carries out predetermined registration operation to the service list.
3. micro services according to claim 2 manage system, which is characterized in that the predetermined registration operation is to update the service
The state of example checks the Service Instance, deletes micro services described in micro services, undercarriage described in the Service Instance, restocking, more
It is one or more in new configuration information.
4. micro services according to claim 1 manage system, which is characterized in that further include service provider, the service
The corresponding micro services of provider include multiple Service Instances:
The service provider is used to information on services of the micro services containing Service Instance be registered to the service register center
And the fresh information of the information on services is sent to the service register center every another preset time.
5. micro services according to claim 1 manage system, which is characterized in that the state of the Service Instance be it is idle,
It occupies and abnormal.
6. micro services according to claim 1 manage system, which is characterized in that the service management center also stores
The error log stated the Service Instance list of micro services and generated by the warning message.
7. a kind of micro services management method, which is characterized in that be applied to service register center and service management center, it is described in incognito
Business management method include:
The service list and update the service that the Service Instance is formed are obtained from the service register center every preset time
The state of Service Instance in list;
When the Service Instance of the micro services is abnormal, the warning message that the Service Instance is sent is received;
The state of exception service example in the service list is updated according to the warning message.
8. micro services management method according to claim 7, which is characterized in that further include:
The input operation for responding user carries out predetermined registration operation to the service list.
9. micro services management method according to claim 8, which is characterized in that the predetermined registration operation is to update the service
The state of example checks the Service Instance, deletes micro services described in micro services, undercarriage described in the Service Instance, restocking, more
It is one or more in new configuration information.
10. a kind of computer readable storage medium, which is characterized in that be stored with computer journey in the computer readable storage medium
Sequence, the computer program controls the computer readable storage medium when running make computer perform claim require to appoint in 7-9
Micro services management method described in meaning one.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810069878.9A CN108282368A (en) | 2018-01-24 | 2018-01-24 | A kind of micro services management system, method and computer storage media |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810069878.9A CN108282368A (en) | 2018-01-24 | 2018-01-24 | A kind of micro services management system, method and computer storage media |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108282368A true CN108282368A (en) | 2018-07-13 |
Family
ID=62805071
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810069878.9A Pending CN108282368A (en) | 2018-01-24 | 2018-01-24 | A kind of micro services management system, method and computer storage media |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108282368A (en) |
Cited By (21)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109062599A (en) * | 2018-09-11 | 2018-12-21 | 郑州云海信息技术有限公司 | The management method and device of code update under micro services framework |
CN109412835A (en) * | 2018-09-11 | 2019-03-01 | 广东神马搜索科技有限公司 | Distributed system and data managing method and device, calculate equipment at storage medium |
CN109474685A (en) * | 2018-11-16 | 2019-03-15 | 中国银行股份有限公司 | Service monitoring method and system under a kind of framework based on micro services |
CN109547570A (en) * | 2018-12-29 | 2019-03-29 | 深圳云天励飞技术有限公司 | Service registration method, apparatus, registration center's management equipment and storage medium |
CN109739665A (en) * | 2019-01-04 | 2019-05-10 | 上海银赛计算机科技有限公司 | Interface managerial method, device, server and storage medium |
CN109743367A (en) * | 2018-12-24 | 2019-05-10 | 青岛海信智能商用系统股份有限公司 | Service processing method, device, electronic equipment and readable storage medium storing program for executing |
CN109873736A (en) * | 2019-01-18 | 2019-06-11 | 苏宁易购集团股份有限公司 | A kind of micro services monitoring method and system |
CN109992384A (en) * | 2019-03-18 | 2019-07-09 | 北京方鸿智能科技有限公司 | System and method are coordinated in service registration discovery |
CN110489139A (en) * | 2019-07-03 | 2019-11-22 | 平安科技(深圳)有限公司 | A kind of real-time data processing method and its relevant device based on micro services |
CN110602193A (en) * | 2019-08-29 | 2019-12-20 | 微梦创科网络科技(中国)有限公司 | Service discovery method and system |
CN110941482A (en) * | 2019-10-23 | 2020-03-31 | 湖北九州云仓科技发展有限公司 | Micro-service and big data scheduling method |
CN111083210A (en) * | 2019-12-05 | 2020-04-28 | 浩云科技股份有限公司 | Streaming media service scheduling method and system |
CN111190756A (en) * | 2019-11-18 | 2020-05-22 | 中山大学 | Root cause positioning algorithm based on call chain data |
CN111475372A (en) * | 2020-03-10 | 2020-07-31 | 中国平安人寿保险股份有限公司 | Method, device, equipment and storage medium for monitoring service instance of microservice |
CN112311869A (en) * | 2020-10-28 | 2021-02-02 | 苏州万店掌网络科技有限公司 | Multi-type micro-service registration center management system and method |
CN112540895A (en) * | 2019-09-20 | 2021-03-23 | 北京国双科技有限公司 | Micro-service management method, device and equipment |
CN112579118A (en) * | 2019-09-30 | 2021-03-30 | 北京国双科技有限公司 | Method, device, system, medium and equipment for updating configuration information of microservice |
CN113391820A (en) * | 2021-06-16 | 2021-09-14 | 浙江百应科技有限公司 | High-performance micro-service registration calling system and method |
CN113778807A (en) * | 2021-09-17 | 2021-12-10 | 中国农业银行股份有限公司 | Method and system for acquiring micro-service application running data |
CN114944986A (en) * | 2022-07-01 | 2022-08-26 | 中国邮政储蓄银行股份有限公司 | Service isolation method and device and micro-service system |
CN114944986B (en) * | 2022-07-01 | 2024-05-28 | 中国邮政储蓄银行股份有限公司 | Service isolation method, device and micro-service system |
Citations (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN202383482U (en) * | 2011-10-25 | 2012-08-15 | 北京致达赛都科技有限公司 | Machine room dynamic analysis system |
CN105141452A (en) * | 2015-08-07 | 2015-12-09 | 北京思特奇信息技术股份有限公司 | High-performance service system and method based on CXF |
CN105844801A (en) * | 2016-01-26 | 2016-08-10 | 乐卡汽车智能科技(北京)有限公司 | Charging pile state monitoring method, device, charging pile and server |
CN105871607A (en) * | 2016-03-29 | 2016-08-17 | 联想(北京)有限公司 | Information processing method and service platform |
CN105872110A (en) * | 2016-06-17 | 2016-08-17 | 深圳纽博时代科技有限公司 | Cloud platform service management method and cloud platform service management device |
CN106227605A (en) * | 2016-07-26 | 2016-12-14 | 北京北森云计算股份有限公司 | The dynamic micro services expansion method of a kind of multilingual cloud compiling and device |
CN106506605A (en) * | 2016-10-14 | 2017-03-15 | 华南理工大学 | A kind of SaaS application construction methods based on micro services framework |
CN106533929A (en) * | 2016-12-30 | 2017-03-22 | 北京中电普华信息技术有限公司 | Micro-service development platform, generation method, deployment method and device |
CN106559488A (en) * | 2016-11-24 | 2017-04-05 | 天津市普迅电力信息技术有限公司 | A kind of method of the electrical network geographical information space service for setting up tenant's driving |
CN106610836A (en) * | 2016-12-23 | 2017-05-03 | 国网信息通信产业集团有限公司 | Micro-service operation management tool |
CN106686094A (en) * | 2016-12-30 | 2017-05-17 | 郑州云海信息技术有限公司 | Micro-service architecture |
CN107094171A (en) * | 2017-03-30 | 2017-08-25 | 聚好看科技股份有限公司 | Load-balancing method and device |
CN107102847A (en) * | 2016-02-23 | 2017-08-29 | 中国水电工程顾问集团有限公司 | Software development methodology, apparatus and system based on micro services |
US20170289307A1 (en) * | 2016-03-29 | 2017-10-05 | Amazon Technologies, Inc. | System Interaction Monitoring And Component Scaling |
-
2018
- 2018-01-24 CN CN201810069878.9A patent/CN108282368A/en active Pending
Patent Citations (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN202383482U (en) * | 2011-10-25 | 2012-08-15 | 北京致达赛都科技有限公司 | Machine room dynamic analysis system |
CN105141452A (en) * | 2015-08-07 | 2015-12-09 | 北京思特奇信息技术股份有限公司 | High-performance service system and method based on CXF |
CN105844801A (en) * | 2016-01-26 | 2016-08-10 | 乐卡汽车智能科技(北京)有限公司 | Charging pile state monitoring method, device, charging pile and server |
CN107102847A (en) * | 2016-02-23 | 2017-08-29 | 中国水电工程顾问集团有限公司 | Software development methodology, apparatus and system based on micro services |
CN105871607A (en) * | 2016-03-29 | 2016-08-17 | 联想(北京)有限公司 | Information processing method and service platform |
US20170289307A1 (en) * | 2016-03-29 | 2017-10-05 | Amazon Technologies, Inc. | System Interaction Monitoring And Component Scaling |
CN105872110A (en) * | 2016-06-17 | 2016-08-17 | 深圳纽博时代科技有限公司 | Cloud platform service management method and cloud platform service management device |
CN106227605A (en) * | 2016-07-26 | 2016-12-14 | 北京北森云计算股份有限公司 | The dynamic micro services expansion method of a kind of multilingual cloud compiling and device |
CN106506605A (en) * | 2016-10-14 | 2017-03-15 | 华南理工大学 | A kind of SaaS application construction methods based on micro services framework |
CN106559488A (en) * | 2016-11-24 | 2017-04-05 | 天津市普迅电力信息技术有限公司 | A kind of method of the electrical network geographical information space service for setting up tenant's driving |
CN106610836A (en) * | 2016-12-23 | 2017-05-03 | 国网信息通信产业集团有限公司 | Micro-service operation management tool |
CN106686094A (en) * | 2016-12-30 | 2017-05-17 | 郑州云海信息技术有限公司 | Micro-service architecture |
CN106533929A (en) * | 2016-12-30 | 2017-03-22 | 北京中电普华信息技术有限公司 | Micro-service development platform, generation method, deployment method and device |
CN107094171A (en) * | 2017-03-30 | 2017-08-25 | 聚好看科技股份有限公司 | Load-balancing method and device |
Cited By (27)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109412835A (en) * | 2018-09-11 | 2019-03-01 | 广东神马搜索科技有限公司 | Distributed system and data managing method and device, calculate equipment at storage medium |
CN109062599A (en) * | 2018-09-11 | 2018-12-21 | 郑州云海信息技术有限公司 | The management method and device of code update under micro services framework |
CN109412835B (en) * | 2018-09-11 | 2021-12-03 | 阿里巴巴(中国)有限公司 | Distributed system, data management method and device, storage medium and computing equipment |
CN109062599B (en) * | 2018-09-11 | 2021-11-26 | 郑州云海信息技术有限公司 | Management method and device for code update under micro-service architecture |
CN109474685A (en) * | 2018-11-16 | 2019-03-15 | 中国银行股份有限公司 | Service monitoring method and system under a kind of framework based on micro services |
CN109743367B (en) * | 2018-12-24 | 2021-08-17 | 青岛海信智能商用系统股份有限公司 | Service processing method and device, electronic equipment and readable storage medium |
CN109743367A (en) * | 2018-12-24 | 2019-05-10 | 青岛海信智能商用系统股份有限公司 | Service processing method, device, electronic equipment and readable storage medium storing program for executing |
CN109547570A (en) * | 2018-12-29 | 2019-03-29 | 深圳云天励飞技术有限公司 | Service registration method, apparatus, registration center's management equipment and storage medium |
CN109739665A (en) * | 2019-01-04 | 2019-05-10 | 上海银赛计算机科技有限公司 | Interface managerial method, device, server and storage medium |
CN109873736A (en) * | 2019-01-18 | 2019-06-11 | 苏宁易购集团股份有限公司 | A kind of micro services monitoring method and system |
CN109992384B (en) * | 2019-03-18 | 2020-07-14 | 北京方鸿智能科技有限公司 | Service registration discovery coordination system and method thereof |
CN109992384A (en) * | 2019-03-18 | 2019-07-09 | 北京方鸿智能科技有限公司 | System and method are coordinated in service registration discovery |
CN110489139A (en) * | 2019-07-03 | 2019-11-22 | 平安科技(深圳)有限公司 | A kind of real-time data processing method and its relevant device based on micro services |
CN110602193A (en) * | 2019-08-29 | 2019-12-20 | 微梦创科网络科技(中国)有限公司 | Service discovery method and system |
CN112540895A (en) * | 2019-09-20 | 2021-03-23 | 北京国双科技有限公司 | Micro-service management method, device and equipment |
CN112579118A (en) * | 2019-09-30 | 2021-03-30 | 北京国双科技有限公司 | Method, device, system, medium and equipment for updating configuration information of microservice |
CN110941482A (en) * | 2019-10-23 | 2020-03-31 | 湖北九州云仓科技发展有限公司 | Micro-service and big data scheduling method |
CN111190756A (en) * | 2019-11-18 | 2020-05-22 | 中山大学 | Root cause positioning algorithm based on call chain data |
CN111190756B (en) * | 2019-11-18 | 2023-04-28 | 中山大学 | Root cause positioning algorithm based on call chain data |
CN111083210A (en) * | 2019-12-05 | 2020-04-28 | 浩云科技股份有限公司 | Streaming media service scheduling method and system |
CN111475372A (en) * | 2020-03-10 | 2020-07-31 | 中国平安人寿保险股份有限公司 | Method, device, equipment and storage medium for monitoring service instance of microservice |
CN112311869A (en) * | 2020-10-28 | 2021-02-02 | 苏州万店掌网络科技有限公司 | Multi-type micro-service registration center management system and method |
CN113391820A (en) * | 2021-06-16 | 2021-09-14 | 浙江百应科技有限公司 | High-performance micro-service registration calling system and method |
CN113778807A (en) * | 2021-09-17 | 2021-12-10 | 中国农业银行股份有限公司 | Method and system for acquiring micro-service application running data |
CN113778807B (en) * | 2021-09-17 | 2024-02-23 | 中国农业银行股份有限公司 | Method and system for acquiring running data of micro-service application |
CN114944986A (en) * | 2022-07-01 | 2022-08-26 | 中国邮政储蓄银行股份有限公司 | Service isolation method and device and micro-service system |
CN114944986B (en) * | 2022-07-01 | 2024-05-28 | 中国邮政储蓄银行股份有限公司 | Service isolation method, device and micro-service system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108282368A (en) | A kind of micro services management system, method and computer storage media | |
EP1810450B1 (en) | Method and system for monitoring server events in a node configuration by using direct communication between servers | |
CN112511339A (en) | Container monitoring alarm method, system, equipment and storage medium based on multiple clusters | |
US20070156706A1 (en) | Apparatus, system, and method for monitoring the usage of computers and groups of computers | |
EP2049985A2 (en) | Systems and methods for generating dynamic relationship-based content personalized for members of a web-based social network | |
US9118727B2 (en) | Methods, systems, and computer program products for providing metadata subscription services | |
CN104885407A (en) | Network function virtualisation NFV fault management apparatus, device, and method | |
US6965751B2 (en) | Role managed collaborative learning support system and method | |
CN109639818B (en) | Service discovery method and device under cloud environment, server and storage medium | |
US8751711B2 (en) | Storage topology manager | |
CN110365762A (en) | Service processing method, device, equipment and storage medium | |
US20090254652A1 (en) | Resource correlation prediction | |
US20130205019A1 (en) | Systems and methods for managing api interactions | |
CN105930249B (en) | Using monitoring method and device | |
CN114265703A (en) | Cross-region computing power scheduling method, system and equipment for cloud server | |
CN105493444A (en) | Fault management apparatus, device and method for network function virtualization (nfv) | |
TW200534128A (en) | System and method for logging event of telecommunications devices | |
CN109388668B (en) | Method for exchanging data between engineering tools of engineering system and engineering system | |
CN110851186A (en) | Network equipment restarting method and device, electronic equipment and readable storage medium | |
CN106790477B (en) | System and method for realizing cloud classroom cluster | |
CN115185641A (en) | Cloud native asset discovery method and system | |
CN109491615A (en) | A kind of arbitration system based on cluster storage system | |
CN108428203A (en) | Training registration management method, application server and computer readable storage medium | |
CN108418863A (en) | Management method, SDN controllers and the storage medium of controller cluster | |
CN115460081B (en) | Disaster recovery control method, device, system, equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180713 |