CN110134455A - A kind of application management system and method - Google Patents

A kind of application management system and method Download PDF

Info

Publication number
CN110134455A
CN110134455A CN201910295567.9A CN201910295567A CN110134455A CN 110134455 A CN110134455 A CN 110134455A CN 201910295567 A CN201910295567 A CN 201910295567A CN 110134455 A CN110134455 A CN 110134455A
Authority
CN
China
Prior art keywords
application
server
micro services
target application
target
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
Application number
CN201910295567.9A
Other languages
Chinese (zh)
Inventor
吴再扬
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Ping An Medical Health Technology Service Co Ltd
Original Assignee
Ping An Medical and Healthcare Management Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ping An Medical and Healthcare Management Co Ltd filed Critical Ping An Medical and Healthcare Management Co Ltd
Priority to CN201910295567.9A priority Critical patent/CN110134455A/en
Publication of CN110134455A publication Critical patent/CN110134455A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation
    • G06F8/63Image based installation; Cloning; Build to order
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • G06F2009/45562Creating, deleting, cloning virtual machine instances
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • G06F2009/4557Distribution of virtual machine instances; Migration and load balancing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • G06F2009/45595Network integration; Enabling network access in virtual machine instances

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The embodiment of the invention provides a kind of application management system and methods, wherein the application management system includes micro services application server, registration center's server;The micro services application server is connect with registration center's server;The micro services application server passes through the functional unit configured and creates Container Management cluster, the micro services application server is used at least one the Container Management unit created by the Container Management cluster management, and at least one micro services application in the deployment of each Container Management unit;Registration center's server, for recording the access address applied from least one micro services described in micro services application server acquisition to be managed collectively;The access address, the access for realizing at least one described micro services using mutual access and/or applications to the target application in the application of at least one described micro services.Using the present invention, application management efficiency can be improved.

Description

A kind of application management system and method
Technical field
The present invention relates to field of computer technology more particularly to a kind of application management systems and method.
Background technique
It, can be by constructing monomer applications, to realize the building of corresponding product line or project according to the demand of business event. Wherein, monomer applications refer to that a filing contains the functional application program of institute.Since the module that monomer applications include is non- Chang Duo, so that it is higher for the management complexity of application, reduce application management efficiency.
Summary of the invention
The embodiment of the invention provides a kind of application management system and methods, and the efficiency of management of application can be improved.
In a first aspect, the application management system includes: in incognito the embodiment of the invention provides a kind of application management system Business application server, registration center's server;The micro services application server is connect with registration center's server;
The functional component of micro services application server configuration, the micro services application server pass through the functional group Part creates Container Management cluster, and the micro services application server is used for through Container Management cluster management creation at least One Container Management unit, and at least one micro services application in the deployment of each Container Management unit;Wherein, it is described at least One micro services application is to develop to generate based on specified development frame;
Registration center's server, for record from the micro services application server obtain described at least one is micro- The access address being served by is to be managed collectively;The access address, for realizing at least one described micro services application Access of the mutual access and/or applications to the target application in the application of at least one described micro services.
Optionally, the application management system further includes configuration center server;The configuration center server with it is described Micro services application server establishes connection, and the configuration center server is applied for recording at least one described micro services The configuration information relied on when operation.
Optionally, the application management system further includes link monitoring central server;The link monitoring center service Device and the micro services application server establish connection, the link monitoring central server, for monitoring at least one in incognito Mutual recalls information is applied in business.
Optionally, the application management system further includes log Cloud Server;The log Cloud Server and it is described in incognito Business application server establishes connection, the log Cloud Server, the day generated for recording at least one micro services application Will information.
Optionally, the application management system further includes database server, the database server and it is described in incognito Business application server establishes connection, and the database server applies relevant industry at least one described micro services for storing Business data.
Optionally, the micro services application server further includes the routing module of the specified development frame;
The routing module, for obtaining when receiving access request of the applications to the target application The access address of the target application read from registration center's server, and the access address of the target application is returned The applications are back to, so that the applications access the target application by the access address of the target application.
Optionally, the micro services application server further includes the routing module of the specified development frame;The routing Module includes Load Balance Unit, and it is multiple for running the specified containers administrative unit of the target application;Wherein:
The routing module, for obtaining from institute when receiving access request of the applications to the target application The access address of the target application of registration center's server reading is stated, and sends the access address of the target application to The Load Balance Unit;
The Load Balance Unit, for using load balancing, according to the access address of the target application by institute State the target container administrative unit that access request is forwarded in multiple specified containers administrative units.
Optionally, the routing module is also used to when receiving access request of the applications to the application, identification Whether the applications have the access authority to the target application, and determine that the applications have to the target When the access authority of application, triggering executes the access of the target application for obtaining and reading from registration center's server The operation of address.
Optionally, the Container Management cluster include management node and at least one from node, the target application is logical Cross following manner deployment:
The management node obtains the configuration file of target application, and generates mirror according to the configuration file of the target application As file;The image file includes the target application;The management node instruction is appointed to be held from node creation target Device administrative unit, and the image file is disposed in the target container administrative unit;The management node defines applications To the access address of the target application, so that the applications access the target application by the access address;Institute State it is appointed run the target application from node, and the access address of the target application is write by the target application Registration center.
Optionally, it is described it is appointed from node be the management node according to it is described at least one from the resource benefit of node With rate, from least one described idle node for being filtered out from node.
Second aspect, the embodiment of the invention provides a kind of application management methods, are applied to micro services application server, institute The functional component of micro services application server configuration is stated, the micro services application server constructs appearance by the functional unit Device manages cluster, the Container Management cluster include management node and at least one from node, which comprises
The management node obtains the configuration file of target application, and generates mirror according to the configuration file of the target application As file;
The management node instruction is appointed to create target container administrative unit from node, and in the target container pipe It manages unit and disposes the image file;
The management node defines applications to the access address of the target application, so that the applications pass through The access address of the target application accesses the target application;
It is described it is appointed run the target application from node, and by the target application by the visit of the target application Ask that registration center's server is write in address.
In conclusion at least one container tube that micro services application server can be created by Container Management cluster management Manage unit, and at least one micro services application in the deployment of each Container Management unit;Registration center's server can recorde The access address that at least one micro services obtained from the micro services application server are applied is to be managed collectively, to mention The efficiency of management of height application.
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 configuration diagram of application management system provided in an embodiment of the present invention;
Fig. 2 is the configuration diagram of another application management system provided in an embodiment of the present invention;
Fig. 3 is a kind of flow diagram of application management method provided in an embodiment of the present invention;
Fig. 4 is the flow diagram of another application management method provided in an embodiment of the present invention.
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 is described.
Referring to Fig. 1, being a kind of configuration diagram of application management system provided in an embodiment of the present invention.Wherein, described Application management system includes: micro services application server 10, registration center's server 20;The micro services application server 10 with The information server 20 connects.
The micro services application server 10 is configured with functional unit, and the micro services application server 10 passes through the function Energy component creates Container Management cluster, and the micro services application server 10 is used to create by the Container Management cluster management At least one Container Management unit, and each Container Management unit deployment at least one micro services application;Wherein, institute Stating at least one micro services application is to develop to generate based on specified development frame.
Wherein, which can be one or more Container Management units, for example, this at least one A Container Management unit may include Container Management unit 1, or, can also include Container Management unit 2, Container Management unit 3. Each Container Management unit deploys at least one micro services application.For example, deploying micro services application in Container Management unit 1 1, micro services apply 2.Micro services are deployed using 1, micro services using 2 in Container Management unit 2.Container Management unit 3 is disposed Micro services apply 3.Specifically, at least one micro services application of each Container Management unit deployment is to be deployed in each container In the container that administrative unit includes.
Registration center's server 20, for recording from described in the micro services application server 10 acquisition at least one The access address of a micro services application is to be managed collectively;The access address, for realizing at least one described micro services Access using mutual access and/or applications to the target application in the application of at least one described micro services.Its In, which can be any one or more applications in micro services application.
In one embodiment, the access address of at least one micro services application, can be at least one described in working as Micro services application at runtime, is uploaded to registration center's server 20 by least one described micro services application.
In one embodiment, the Container Management cluster may include at least one management node and at least one from section Point.Wherein, the management node is used to be responsible for the management function of Container Management cluster, it is described from node for manage it is described from The Container Management unit of node creation, and at least one micro services disposed in the Container Management unit created from node Using.Or, described can be also used for executing the task dispatching task issued by host node from node.
In one embodiment, when the Container Management cluster include management node and at least one from node when, it is described Target application can be disposes in the following manner: the management node obtains the configuration file of target application, and according to institute The configuration file for stating target application generates image file;The image file includes the target application;The management node refers to Show appointed from node creation target container administrative unit and literary in the target container administrative unit deployment mirror image Part;The management node defines applications to the access address of the target application, so that the applications are described in Access address accesses the target application;It is described appointed from the node operation target application, and by the target application The access address of the target application is write into registration center.That is, the access address of the target application is determined by management node Justice, and registration center's server is write by target application.
In one embodiment, the operation that above-mentioned management node executes can be with partial replacement according to the demand of different scenes For the appointed operation performed by the node, the configuration file that such as management node obtains target application, and according to The configuration file of the target application generates image file, could alternatively be the appointed configuration that target application is obtained from node File, and image file is generated according to the configuration file of the target application.The embodiment of the present invention passes through appointed from node The operation is executed, can be effectively improved using deployment efficiency.
In one embodiment, the management node according to the configuration file of the target application generate image file it Afterwards, the management node can also store the image file to mirror image warehouse, so as to when needing to dispose the image file, from The mirror image warehouse obtains the image file.
In one embodiment, the management node instruction is appointed creates target container administrative unit, tool from node Body are as follows: the management node instruction is appointed to configure target container management list according to preset deployment descriptor file from node Member.Wherein, which may include following any one or more information: for the target container administrative unit point The processing capacity parameter for the central processing unit matched, for the target container administrative unit distribution memory data volume, import institute State the mark of the image file, the copy amount of setting, environmental variance of target container administrative unit.
In one embodiment, when at least one from node be it is multiple from node when, the management node is also used to from more It is a that the minimum idle node of resource utilization is filtered out from node, and using the idle node as by described appointed from section Point.That is, it is described it is appointed from node be the management node according to it is described at least one from the resource utilization of node, from institute State at least one idle node filtered out from node.For example, this at least one from node include from node 1, from node 2, From node 3, then this appointed can be the resource utilization filtered out from node from these three the minimum free time from node Node.
In one embodiment, when it is described at least one from node be it is multiple from node when, the management node can be with Meet the node of resource requirement from multiple filter out from node according to preset deployment descriptor file, and is accorded with according to the resource The resource utilization of the node of conjunction demand, the node China for meeting demand from the resource filter out idle node, will be described Idle node is as appointed from node.That is, it is described it is appointed from node be the management node according to preset deployment Description file meets the node of resource requirement from multiple filter out from node, and meets according to the resource money of the node of demand Source utilization rate meets the idle node filtered out in the node of demand from the resource.
In one embodiment, which can also connect with appointment codes library, described if GIT code library connects Management node generates new image file, the new mirror image when monitoring the target application in the appointment codes library and being modified File includes the modified target application, and the management node instruction target creates new Container Management unit from node, The management node defines applications to the access address of the modified target application, so as to the applications The modified target application is accessed by the access address of the target application;The target is from described in node operation The modified target application, and by the modified target application by the modified target application Access address writes registration center's server 20.Wherein, which can be to be aforementioned appointed from node from node, can also be with It is not aforementioned appointed from node.
In one embodiment, which can also include reverse proxy module, the reverse proxy Module is used to provide the described the portal service of Container Management cluster, and applications is allowed to pass through the reverse proxy module. For example, the reverse proxy module can be Ngnix.
In application management system shown in FIG. 1, micro services application server can be created by Container Management cluster management At least one Container Management unit, and each Container Management unit deployment at least one micro services application;In registration Central server can recorde from the micro services application server obtain at least one micro services apply access address with into Row unified management, to improve the efficiency of management of application.
In an application scenarios, with functional unit for Kubernetes associated component, Container Management cluster is Kubernetes cluster, for Container Management unit is pod, development frame is specified to be Spring Cloud development frame, briefly A kind of application management system that 1 embodiment of explanatory diagram provides.Wherein, which includes;Micro services application server 10, registration center's server 20.The micro services application server 10 is connect with registration center's server 20.
Micro services application server 10 is configured with Kubernetes associated component, and the micro services application server 10 is by being somebody's turn to do Kubernetes associated component creates Kubernetes cluster.The micro services application server 10 passes through the Kubernetes cluster Manage at least one pod of creation, and at least one micro services application in each pod deployment.Each pod includes at least one At least one micro services application of a container, each pod deployment is deployed in the container that each pod includes.Each portion pod At least one micro services application of administration is to develop to generate based on Spring Cloud development frame.
Registration center's server 20 can recorde at least one that each pod obtained from micro services application server 10 is disposed The access address of a micro services application is to be managed collectively, access address, for realizing at least one micro services application phase The access of access and/or applications to the target application at least one micro services application between mutually.For example, this is at least It includes resource management service, order placement service, service of goods, repository service that one micro services, which is applied,.Registration center's server 20 is remembered Recorded from micro services application server 10 obtain source control service, order placement service, service of goods, repository service access address To be managed collectively.
Based on application management system shown in FIG. 1, the embodiment of the invention also provides another application management systems.It please join Fig. 2 is read, for the configuration diagram for another application management system that framework shown in FIG. 1 of the embodiment of the present invention provides.The application Management system may include: micro services application server 10, registration center's server 20, can also include configuration center server 30, link monitoring central server 40, log Cloud Server 50, database server 60.Micro services application server 10 can be with It is built respectively with registration center server 20, link monitoring central server 30, log Cloud Server 40, database server 50. Vertical connection.
Wherein, configuration center server 30 is relied at runtime for recording at least one micro services application Configuration information.Such as, which may include some metadata informations such as port, the version number of micro services application.By matching Set central server 30 record configuration information, can in order to which configuration information is issued to corresponding micro services application, consequently facilitating The maintenance and operation of corresponding micro services application.
Wherein, link monitoring central server 40 is believed for monitoring at least one micro services using mutual calling Breath.Such as, which may include call number, calls success or failure, frequent allocating time section.It is taken by chain Lu Zhizheng Device 40 of being engaged in monitors recalls information, can be in order to grasping the call relation between micro services.
Wherein, log Cloud Server 50, the log information generated for recording at least one micro services application.The day Will information can check log information by log Cloud Server record log information in order to be managed collectively, and can be effectively The loss for avoiding log information is conducive to grasp the abnormal conditions of micro services application in the process of running by log information.
Wherein, database server 60 applies relevant business datum at least one described micro services for storing.Example Such as, if it includes order placement service that at least one micro services, which are applied, business datum relevant to the order placement service may include ordering Single information.
In one embodiment, configuration center server 30 is that the optional equipment of the application management system and/or link are supervised Control central server 40 is the optional equipment of the application management system and/or log Cloud Server 50 is the application management system Optional equipment and/or database server 60 are the optional equipment of the application management system.
In one embodiment, micro services application server 10 further includes the routing module of the specified development frame;Institute Routing module is stated, for obtaining from the registration when receiving access request of the applications to the target application The access address for the target application that central server 20 is read, and the access address of the target application is back to described Applications, so that the applications access the target application by the access address of the target application.
In one embodiment, the routing module includes Load Balance Unit, runs the specified appearance of the target application Device administrative unit is multiple;Wherein: the routing module, for being asked to the access of the target application receiving applications When asking, the access address of the target application read from registration center's server 20 is obtained, and by the target application Access address be sent to the Load Balance Unit;The Load Balance Unit, for using load balancing, according to institute The access request is forwarded to target container management in multiple specified containers administrative units by the access address for stating target application Unit.Specifically, the access address of the target application is also multiple, the load when the specified containers administrative unit is multiple Balanced unit can choose target access address using load balancing from multiple access address, and by the access request It is forwarded to the corresponding Container Management unit of destination address in multiple specified containers unit.
In one embodiment, the routing module is also used to ask the access of the application receiving applications It when asking, identifies whether the applications have the access authority to the target application, and determines that the applications have When to the access authority of the target application, triggering executes the mesh for obtaining and reading from registration center's server 20 Mark the operation of the access address of application.
Front teaches access of the applications to target application, can be realized by routing module.For at least one Micro services apply mutual access, can not be realized, can also be realized by routing module by routing module.
For the first situation, it includes that the first application and second are applied that at least one described micro services, which are applied, and described first Using the access address that can inquire second application from registration center's server 20, and the access applied by described second Address access second application.
For second situation, it includes the first application and the second application, the routing that at least one described micro services, which are applied, Module, for obtaining and being taken from the registration center when receiving access request of first application to second application The access address for second application that business device is read, and the access address that described second applies is back to described first and is answered With so that the access address that first application is applied by described second accesses second application.
In one embodiment, the routing module includes Load Balance Unit, and run second application first is held Device administrative unit is multiple;Wherein: the routing module, for receive first application to it is described second application access ask When asking, the access address for second application read from registration center's server is obtained, and described second is applied Access address is sent to the Load Balance Unit;The Load Balance Unit, for using load balancing, according to described The access request is forwarded to the management list of the second container in multiple the first container administrative units by the access address of the second application Member.Specifically, when the first container administrative unit be it is multiple when, this second application access address be also it is multiple, the load is equal Weighing apparatus unit can choose specified access address using load balancing from multiple access address, and the access request is turned It is sent in multiple the first container unit and specifies the corresponding second container administrative unit in address.
In application management system shown in Fig. 2, micro services application server can be created by Container Management cluster management At least one Container Management unit, and each Container Management unit deployment at least one micro services application;In registration Central server can recorde from the micro services application server obtain at least one micro services apply access address with into Row unified management, and can also by configuration center server 30, link monitoring central server 40, log Cloud Server 50, The realization of database server 60 is shared out the work and help one another, to improve the efficiency of management to application.
In an application scenarios, with functional unit for Kubernetes associated component, Container Management cluster is Kubernetes cluster, Container Management unit is pod, specified development frame is Spring Cloud development frame, specified exploitation For the routing module of framework is Spring Cloud Zuul, Load Balance Unit is Spring Cloud Ribbon, briefly A kind of application management system that 2 embodiment of explanatory diagram provides.The application management system includes;Micro services application server 10, note Volume central server 20.The micro services application server 10 is connect with registration center's server 20.
Micro services application server 10 is configured with Kubernetes associated component, and the micro services application server 10 is by being somebody's turn to do Kubernetes associated component creates Kubernetes cluster.The micro services application server 10 passes through the Kubernetes cluster Manage at least one pod of creation, and at least one micro services application in each pod deployment.Each pod includes at least one At least one micro services application of a container, each pod deployment is deployed in the container that each pod includes.Each portion pod At least one micro services application of administration is to develop to generate based on Spring Cloud development frame.
Registration center's server 20 can recorde at least one that each pod obtained from micro services application server 10 is disposed The access address of a micro services application is to be managed collectively, access address, for realizing at least one micro services application phase The access of access and/or applications to the target application at least one micro services application between mutually.
Wherein, which may include Spring Cloud Zuul.Spring Cloud Zuul can To obtain and be read from registration center's server when receiving access request of the applications to the target application The target application access address, and the access address of the target application is back to the applications, with toilet It states applications and the target application is accessed by the access address of the target application.
In another application scenarios, Spring Cloud Zuul includes Spring Cloud Ribbon, runs the mesh The specified pod of mark application is multiple;Spring Cloud Zuul can receive visit of the applications to the target application When asking request, the access address of the target application read from registration center's server 20 is obtained, and by the target The access address of application is sent to Spring Cloud Ribbon;Spring Cloud Ribbon can use load balancing plan Slightly, the target pod being forwarded to the access request according to the access address of the target application in multiple pod.
In another application scenarios, it includes the first application and the second application that at least one described micro services, which are applied, and described the One application can inquire the access address of second application, and the visit applied by described second from registration center's server 20 Ask address access second application.
In another application scenarios, it includes the first application and the second application, Spring that at least one described micro services, which are applied, Cloud Zuul is obtained and is taken from the registration center when receiving access request of first application to second application The access address for second application that business device 20 is read, and the access address that described second applies is back to described first and is answered With so that the access address that first application is applied by described second accesses second application.
In another application scenarios, Spring Cloud Zuul includes Spring Cloud Ribbon, runs described the The first container pod of two applications is multiple;Spring Cloud Zuul is receiving visit of first application to second application When asking request, the access address for second application read from registration center's server 20 is obtained, and described second is applied Access address send Spring Cloud Ribbon;Spring Cloud Ribbon uses load balancing, according to institute The access request is forwarded to the 2nd pod in multiple first pod by the access address for stating the second application.
Referring to Fig. 3, being a kind of flow diagram of application management method provided in an embodiment of the present invention.Wherein, the party Method can be applied to micro services application server 10 described in Fig. 1.The micro services application server 10 is configured with functional unit, The micro services application server 10 constructs Container Management cluster by the functional unit, and the Container Management cluster includes pipe Manage node and at least one from node.Specifically, this method may comprise steps of:
S301, the management node obtain the configuration file of target application, and according to the configuration file of the target application Generate image file.
Wherein, which includes the target application.The configuration file may include the mark of target application, can be with The information such as the start-up parameter including target application, such as the start-up parameter can be access network, running environment.
In one embodiment, the management node generates image file, packet according to the configuration file of the target application Include: the mark for the target application that the management node includes according to the configuration file of the target application obtains the target Using, and generate the image file including the target application.
It in one embodiment, can after which generates image file according to the configuration file of the target application Storing the image file to mirror image warehouse, to obtain the mirror from the mirror image warehouse when needing to dispose the image file As file.
In one embodiment, after which generates image file according to the configuration file of the target application, also The image file can be deposited in into local data base, to be obtained from the local data base when needing to dispose the image file Take the image file.
S302, management node instruction are appointed from node creation target container administrative unit, and in the target Container Management unit disposes the image file.
In the embodiment of the present invention, management node can indicate it is appointed from node create target container administrative unit, and The image file is disposed in the target container administrative unit.
In one embodiment, the management node instruction is appointed creates target container administrative unit from node, can Target container management list is configured according to preset deployment descriptor file from node to include: that the management node instruction is appointed Member.Wherein, which may include following any one or more information: for the target container administrative unit point The processing capacity parameter for the central processing unit matched, for the target container administrative unit distribution memory data volume, import institute State the mark of the image file, the copy amount of setting, environmental variance of target container administrative unit.For example, the processing energy Force parameter may include dominant frequency and nucleus number.
In one embodiment, when at least one from node be it is multiple from node when, management node instruction is designated Slave node creation target container administrative unit before, the management node can filter out the utilization of resources from multiple from node The minimum idle node of rate, and using the idle node as by described appointed from node.That is, described appointed from node The management node according to it is described at least one from the resource utilization of node, from it is described at least one filtered out from node Idle node.
In one embodiment, when it is described at least one from node be it is multiple from node when, the management node indicates quilt Before specified slave node creation target container administrative unit, the management node can also be according to preset deployment descriptor file Meet the node of resource requirement from multiple filter out from node, and meets according to the resource utilization of resources of the node of demand Rate, the node China for meeting demand from the resource filter out idle node, using the idle node as it is appointed from Node.That is, it is described it is appointed from node be the management node according to preset deployment descriptor file from multiple from node The node for meeting resource requirement is filtered out, and meets according to the resource resource utilization of the node of demand, is met from the resource The idle node filtered out in the node of demand.
S303, the management node define applications to the access address of the target application, so that the outside is answered The target application is accessed with by the access address of the target application;
S304, it is described it is appointed run the target application from node, and the target is answered by the target application Access address writes registration center's server.
In the embodiment of the present invention, this is specified can to run the target application from node, and by the target application by the mesh The access address of mark application writes registration center's server, so that registration center's server records the access address of the target application To be managed collectively.
In one embodiment, which can connect with appointment codes library, if GIT code library connects, the management Node can also generate new image file, the new mirror when monitoring the target application in the appointment codes library and being modified As file includes the modified target application, management node instruction target creates new Container Management unit from node, should Management node defines applications to the access address of the modified target application, so that the applications pass through the access Address accesses the modified target application;The target runs the modified target application from node, and by the modification The access address of the modified target application is write registration center's server by the target application afterwards.Wherein, the target It can be aforementioned appointed from node from node, can not also be aforementioned appointed from node.
As it can be seen that management node can generate mirror according to the configuration file of the target application of acquisition in embodiment shown in Fig. 3 As file;The management node can indicate it is appointed from node creation target container administrative unit in the target container pipe It manages unit and disposes the image file;The management node can define applications to the access address of the target application, with Toilet states applications and accesses the target application by the access address;This is appointed can to run the mesh from node Mark application, and the access address of the target application is write into registration center's server by the target application, improve the portion of application Affix one's name to efficiency.
Referring to Fig. 4, for the flow diagram of another application management method provided in an embodiment of the present invention.Wherein, should Method can be applied in micro services application server 10 described in Fig. 1.The micro services application server 10 configures functional Component, the micro services application server 10 construct Container Management cluster, the Container Management cluster by the functional unit Including management node and at least one from node.The micro services application server further includes routing module.Specifically, this method It may comprise steps of:
S401, the management node obtain the configuration file of target application, and according to the configuration file of the target application Generate image file.
S402, management node instruction are appointed from node creation target container administrative unit, and in the target Container Management unit disposes the image file.
S403, the management node define applications to the access address of the target application, so that the outside is answered The target application is accessed with by the access address of the target application;
S404, it is described it is appointed run the target application from node, and the target is answered by the target application Access address writes registration center's server.
Wherein, step S401-S404 can be found in the step S301-S304 in Fig. 3 embodiment, and the embodiment of the present invention is herein not It repeats.
S405, the routing module are obtained when receiving access request of the applications to the target application The access address of the target application read from registration center's server, and the access address of the target application is returned The applications are back to, so that the applications access the target application by the access address of the target application.
In the embodiment of the present invention, routing module can read the address of the target application from registration center.And it can connect When receiving access request of the applications to the target application, the target application read from registration center's server is obtained Access address, the access address of the target application is back to the applications, so that the applications are answered by the target Access address accesses the target application.
In one embodiment, the routing module includes Load Balance Unit, runs the specified appearance of the target application Device administrative unit is multiple;The routing module can also receive applications to the access request of the target application When, obtain the access address of the target application read from registration center's server, and by the visit of the target application Ask that address is sent to the Load Balance Unit;The Load Balance Unit, for using load balancing, according to the mesh The access request is forwarded to the target container administrative unit in multiple specified containers administrative units by the access address of mark application. Specifically, the access address of the target application is also multiple, the load balancing list when the specified containers administrative unit is multiple Member can choose target access address using load balancing from multiple access address, and the access request is forwarded to The corresponding Container Management unit of destination address in multiple specified containers unit.
In one embodiment, the routing module can also receive applications to the access request of the application When, identify whether the applications have an access authority to the target application, and determine that the applications have pair When the access authority of the target application, triggering executes the acquisition and answers from the target that registration center's server is read The operation of access address.
As it can be seen that management node can generate mirror according to the configuration file of the target application of acquisition in embodiment shown in Fig. 4 As file, and can indicate appointed to create target container administrative unit from node to dispose in the target container administrative unit The image file;The management node can define applications to the access address of the target application;This is appointed from node The target application can be run, and the access address of the target application is write into registration center's server by the target application;Road By module when receiving access request of the applications to the target application, what acquisition was read from registration center's server The access address of the target application, and the access address of the target application is back to the applications, so as to the applications By the access address of the target application target application is accessed, to facilitate the calling that applications apply micro services Journey.So that calling process is more safe and reliable.

Claims (10)

1. a kind of application management system, which is characterized in that the application management system includes: micro services application server, registration Central server;The micro services application server is connect with registration center's server;
The functional component of micro services application server configuration, the micro services application server are created by the functional unit Container Management cluster is built, the micro services application server is used at least one created by the Container Management cluster management Container Management unit, and at least one micro services application in the deployment of each Container Management unit;Wherein, it is described at least one Micro services application is to develop to generate based on specified development frame;
Registration center's server, for recording from least one micro services described in micro services application server acquisition The access address of application is to be managed collectively;The access address, it is mutual for realizing the application of at least one described micro services Between access and/or applications at least one described micro services apply in target application access.
2. application management system according to claim 1, which is characterized in that the application management system further includes in configuration Central server;The configuration center server and the micro services application server establish connection, the configuration center server, The configuration information relied at runtime for recording at least one micro services application.
3. application management system according to claim 1, which is characterized in that the application management system further includes link prison Control central server;The link monitoring central server and the micro services application server establish connection, the link prison Central server is controlled, for monitoring at least one micro services using mutual recalls information.
4. application management system according to claim 1, which is characterized in that the application management system further includes log cloud Server;The log Cloud Server and the micro services application server establish connection, the log Cloud Server, for remembering Record the log information that at least one micro services application generates.
5. application management system according to claim 1, which is characterized in that the application management system further includes database Server, the database server and the micro services application server establish connection, and the database server is for depositing Storage applies relevant business datum at least one described micro services.
6. application management system according to claim 1, which is characterized in that the micro services application server further includes institute State the routing module of specified development frame;
The routing module, for obtaining from institute when receiving access request of the applications to the target application The access address of the target application of registration center's server reading is stated, and the access address of the target application is back to The applications, so that the applications access the target application by the access address of the target application.
7. application management system according to claim 1, which is characterized in that the micro services application server further includes institute State the routing module of specified development frame;The routing module includes Load Balance Unit, runs the specified of the target application Container Management unit is multiple;Wherein:
The routing module, for obtaining from the note when receiving access request of the applications to the target application The access address for the target application that volume central server is read, and send the access address of the target application to described Load Balance Unit;
The Load Balance Unit, for using load balancing, according to the access address of the target application by the visit Ask the target container administrative unit that request is forwarded in multiple specified containers administrative units.
8. application management system according to claim 6 or 7, which is characterized in that the routing module is also used to receiving When to applications to the access request of the application, identify whether the applications have the access to the target application Permission, and when determining that the applications have the access authority to the target application, triggering executes described obtain from described The operation of the access address for the target application that registration center's server is read.
9. application management system according to claim 1, which is characterized in that the Container Management cluster includes management node With at least one from node, the target application is disposed in the following manner:
The management node obtains the configuration file of target application, and generates mirror image text according to the configuration file of the target application Part;The image file includes the target application;The management node instruction is appointed to create target container pipe from node Unit is managed, and disposes the image file in the target container administrative unit;The management node defines applications to institute The access address of target application is stated, so that the applications access the target application by the access address;The quilt Specified slave node runs the target application, and the access address of the target application is write registration by the target application Center.
10. a kind of application management method, which is characterized in that be applied to micro services application server, the micro services application service Device is configured with functional unit, and the micro services application server constructs Container Management cluster by the functional unit, described Container Management cluster include management node and at least one from node, which comprises
The management node obtains the configuration file of target application, and generates mirror image text according to the configuration file of the target application Part;
The management node instruction is appointed to create target container administrative unit from node, and manages list in the target container Member disposes the image file;
The management node defines applications to the access address of the target application, so that the applications are described in The access address of target application accesses the target application;
It is described it is appointed run the target application from node, and by the target application by the access of the target application Write registration center's server in location.
CN201910295567.9A 2019-04-12 2019-04-12 A kind of application management system and method Pending CN110134455A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910295567.9A CN110134455A (en) 2019-04-12 2019-04-12 A kind of application management system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910295567.9A CN110134455A (en) 2019-04-12 2019-04-12 A kind of application management system and method

Publications (1)

Publication Number Publication Date
CN110134455A true CN110134455A (en) 2019-08-16

Family

ID=67569783

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910295567.9A Pending CN110134455A (en) 2019-04-12 2019-04-12 A kind of application management system and method

Country Status (1)

Country Link
CN (1) CN110134455A (en)

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110532101A (en) * 2019-09-03 2019-12-03 中国联合网络通信集团有限公司 The deployment system and method for micro services cluster
CN110912972A (en) * 2019-11-07 2020-03-24 北京浪潮数据技术有限公司 Service processing method, system, electronic equipment and readable storage medium
CN111090823A (en) * 2019-12-23 2020-05-01 广州市百果园信息技术有限公司 Integration platform of page application and application access method, device and equipment
CN111158872A (en) * 2019-12-16 2020-05-15 北京明朝万达科技股份有限公司 Method and device for submitting and guarding spark task
CN111200595A (en) * 2019-12-20 2020-05-26 北京淇瑀信息科技有限公司 Authority management method and device for accessing container and electronic equipment
CN111371840A (en) * 2020-02-14 2020-07-03 平安科技(深圳)有限公司 Micro-service deployment method, device, computer equipment and storage medium
CN111459611A (en) * 2020-03-27 2020-07-28 新浪网技术(中国)有限公司 Mirror image pulling method and device for Kubernetes system
CN111641706A (en) * 2020-05-28 2020-09-08 深圳壹账通智能科技有限公司 Micro service system creating method and device, electronic equipment and storage medium
CN111966451A (en) * 2020-07-24 2020-11-20 苏州浪潮智能科技有限公司 Data extraction method, system, equipment and medium
CN112311894A (en) * 2020-11-12 2021-02-02 北京沃东天骏信息技术有限公司 Method, apparatus, electronic device, and computer-readable medium for generating information
CN112637126A (en) * 2020-11-23 2021-04-09 北京中电普华信息技术有限公司 Service registration method and Pod
CN113157339A (en) * 2021-04-23 2021-07-23 东云睿连(武汉)计算技术有限公司 Application service expansion method, system, storage medium and device based on OSB
CN113225394A (en) * 2021-04-30 2021-08-06 中核武汉核电运行技术股份有限公司 API gateway management system based on container cluster
CN113572689A (en) * 2021-09-24 2021-10-29 深圳市信润富联数字科技有限公司 Microservice gateway management method, system, device, readable storage medium and product
CN113590347A (en) * 2021-07-09 2021-11-02 平安国际智慧城市科技股份有限公司 Remote task regulation and control method, device, equipment and storage medium
CN115086412A (en) * 2021-03-16 2022-09-20 易保网络技术(上海)有限公司 Micro-service development method, system, computer equipment and medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106790595A (en) * 2016-12-29 2017-05-31 上海理想信息产业(集团)有限公司 A kind of Docker containers active load balancer and method
CN108418862A (en) * 2018-01-31 2018-08-17 金蝶软件(中国)有限公司 Micro services management method and system based on artificial intelligence service cloud platform
CN108958927A (en) * 2018-05-31 2018-12-07 康键信息技术(深圳)有限公司 Dispositions method, device, computer equipment and the storage medium of container application

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106790595A (en) * 2016-12-29 2017-05-31 上海理想信息产业(集团)有限公司 A kind of Docker containers active load balancer and method
CN108418862A (en) * 2018-01-31 2018-08-17 金蝶软件(中国)有限公司 Micro services management method and system based on artificial intelligence service cloud platform
CN108958927A (en) * 2018-05-31 2018-12-07 康键信息技术(深圳)有限公司 Dispositions method, device, computer equipment and the storage medium of container application

Cited By (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110532101A (en) * 2019-09-03 2019-12-03 中国联合网络通信集团有限公司 The deployment system and method for micro services cluster
CN110912972A (en) * 2019-11-07 2020-03-24 北京浪潮数据技术有限公司 Service processing method, system, electronic equipment and readable storage medium
CN111158872A (en) * 2019-12-16 2020-05-15 北京明朝万达科技股份有限公司 Method and device for submitting and guarding spark task
CN111200595B (en) * 2019-12-20 2022-04-29 北京淇瑀信息科技有限公司 Authority management method and device for accessing container and electronic equipment
CN111200595A (en) * 2019-12-20 2020-05-26 北京淇瑀信息科技有限公司 Authority management method and device for accessing container and electronic equipment
CN111090823A (en) * 2019-12-23 2020-05-01 广州市百果园信息技术有限公司 Integration platform of page application and application access method, device and equipment
CN111090823B (en) * 2019-12-23 2024-02-09 广州市百果园信息技术有限公司 Page application integration system, application access method, device and equipment
CN111371840A (en) * 2020-02-14 2020-07-03 平安科技(深圳)有限公司 Micro-service deployment method, device, computer equipment and storage medium
CN111459611A (en) * 2020-03-27 2020-07-28 新浪网技术(中国)有限公司 Mirror image pulling method and device for Kubernetes system
CN111641706A (en) * 2020-05-28 2020-09-08 深圳壹账通智能科技有限公司 Micro service system creating method and device, electronic equipment and storage medium
CN111966451A (en) * 2020-07-24 2020-11-20 苏州浪潮智能科技有限公司 Data extraction method, system, equipment and medium
CN111966451B (en) * 2020-07-24 2023-01-06 苏州浪潮智能科技有限公司 Data extraction method, system, equipment and medium
CN112311894A (en) * 2020-11-12 2021-02-02 北京沃东天骏信息技术有限公司 Method, apparatus, electronic device, and computer-readable medium for generating information
CN112637126A (en) * 2020-11-23 2021-04-09 北京中电普华信息技术有限公司 Service registration method and Pod
CN112637126B (en) * 2020-11-23 2023-04-07 北京中电普华信息技术有限公司 Service registration method and Pod
CN115086412A (en) * 2021-03-16 2022-09-20 易保网络技术(上海)有限公司 Micro-service development method, system, computer equipment and medium
CN113157339A (en) * 2021-04-23 2021-07-23 东云睿连(武汉)计算技术有限公司 Application service expansion method, system, storage medium and device based on OSB
CN113225394B (en) * 2021-04-30 2022-07-15 中核武汉核电运行技术股份有限公司 API gateway management system based on container cluster
CN113225394A (en) * 2021-04-30 2021-08-06 中核武汉核电运行技术股份有限公司 API gateway management system based on container cluster
CN113590347A (en) * 2021-07-09 2021-11-02 平安国际智慧城市科技股份有限公司 Remote task regulation and control method, device, equipment and storage medium
CN113572689A (en) * 2021-09-24 2021-10-29 深圳市信润富联数字科技有限公司 Microservice gateway management method, system, device, readable storage medium and product

Similar Documents

Publication Publication Date Title
CN110134455A (en) A kind of application management system and method
CN107766205B (en) A kind of monitoring system and method towards the tracking of micro services calling process
CN113176875B (en) Resource sharing service platform architecture based on micro-service
CN100530133C (en) Method and system for managing work load in network environment
CN104618693B (en) A kind of monitor video based on cloud computing handles task management method and system online
CN101621405B (en) Distributed type management monitoring system, monitoring method and establishing method thereof
CN100578455C (en) Resource functionality verification before use by a grid job submitted to a grid environment
US20180227369A1 (en) Converged service computing platform
US20120239620A1 (en) Method and system for synchronization mechanism on multi-server reservation system
CN103019791B (en) Software dispositions method and software deployment system
WO2023142054A1 (en) Container microservice-oriented performance monitoring and alarm method and alarm system
CN103634369B (en) Data-sharing systems and method based on cloud computing
CN107329991B (en) A kind of list access to web page and methods of exhibiting and its system
CN105897805A (en) Method and device for cross-layer scheduling of resources of data center with multi-layer architecture
CN108243012B (en) Charging application processing system, method and device in OCS (online charging System)
CN103218220A (en) Dynamic pluggable component based-Internet of things middleware system
CN104769607B (en) Using predefined inquiry come filtered view
US9805083B1 (en) Method and computer program product for allowing a software application to interact with a product
US10091066B2 (en) Integration method and system
CN106920158A (en) Order real-time monitoring system based on Storm and Kafka technologies
CN112199353A (en) Data processing method and electric power customer service platform
CN102197390B (en) Providing functionality to client services by implementing and binding contracts
US11153161B2 (en) Internet of things structure with a 3D adaption matrix
CN102790788A (en) Grid resource management system
CN108696559A (en) Method for stream processing and device

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
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20220602

Address after: 518000 China Aviation Center 2901, No. 1018, Huafu Road, Huahang community, Huaqiang North Street, Futian District, Shenzhen, Guangdong Province

Applicant after: Shenzhen Ping An medical and Health Technology Service Co.,Ltd.

Address before: Room 12G, Block H, 666 Beijing East Road, Huangpu District, Shanghai 200000

Applicant before: PING AN MEDICAL AND HEALTHCARE MANAGEMENT Co.,Ltd.