CN115955506A - Micro-service publishing method, device, system and computer readable storage medium - Google Patents

Micro-service publishing method, device, system and computer readable storage medium Download PDF

Info

Publication number
CN115955506A
CN115955506A CN202211091371.6A CN202211091371A CN115955506A CN 115955506 A CN115955506 A CN 115955506A CN 202211091371 A CN202211091371 A CN 202211091371A CN 115955506 A CN115955506 A CN 115955506A
Authority
CN
China
Prior art keywords
service
micro
target
client
microservice
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202211091371.6A
Other languages
Chinese (zh)
Other versions
CN115955506B (en
Inventor
邓平
莫高勇
吴学斌
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhongke Yungu Technology Co Ltd
Original Assignee
Zhongke Yungu Technology 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 Zhongke Yungu Technology Co Ltd filed Critical Zhongke Yungu Technology Co Ltd
Priority to CN202211091371.6A priority Critical patent/CN115955506B/en
Publication of CN115955506A publication Critical patent/CN115955506A/en
Application granted granted Critical
Publication of CN115955506B publication Critical patent/CN115955506B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The application discloses a micro-service publishing method, a device and a system and a computer readable storage medium, wherein the method is applied to a micro-service publishing system, and the micro-service publishing system comprises a management terminal and at least one client terminal; the management terminal responds to a micro-service issuing instruction which is generated on a management interface and aims at a target client, and sends a micro-service issuing request to the client corresponding to the target client, wherein the micro-service issuing request comprises file storage information of the target micro-service to be issued; and after receiving the micro-service release request, the client acquires a target micro-service file according to the file storage information of the target micro-service and executes service release operation based on the target micro-service file. Therefore, service release to different clients can be managed in a unified mode, one-key release of micro services can be achieved, resource consumption is reduced, and the operation is simple and convenient.

Description

微服务发布方法、装置、系统及计算机可读存储介质Microservice publishing method, device, system, and computer-readable storage medium

技术领域technical field

本发明涉及微服务技术领域,特别是涉及一种微服务发布方法、装置、系统及计算机可读存储介质。The present invention relates to the technical field of microservices, in particular to a microservice publishing method, device, system and computer-readable storage medium.

背景技术Background technique

微服务架构根据业务功能进行拆分,将相同的业务功能放在一个微服务工程里,降低服务的耦合,方便开发人员开发和维护。微服务发布方式通常可分为两种:一种是通过人为手动上传本地生成的微服务文件至服务器,并通过命令行启停微服务;另一种是消耗额外资源部署一套服务发布工具,基于代码仓库分支,拉取最新代码,执行一系列的服务发布中间过程,如代码规范、代码漏洞扫描、单元测试等,接着执行编译打包命令得到目标文件,然后执行相应的服务启动命令,备份目标文件等等,最终完成服务发布。The microservice architecture is split according to business functions, and the same business functions are placed in a microservice project to reduce service coupling and facilitate development and maintenance by developers. Microservice publishing methods can generally be divided into two types: one is to manually upload locally generated microservice files to the server, and start and stop microservices through the command line; the other is to deploy a set of service publishing tools that consume additional resources. Based on the code warehouse branch, pull the latest code, execute a series of service publishing intermediate processes, such as code specification, code vulnerability scanning, unit testing, etc., then execute the compilation and packaging command to obtain the target file, and then execute the corresponding service startup command to back up the target files, etc., and finally complete the service release.

然而,由于许多小的项目可能是基于一个较大型项目的部分功能单独部署一套服务,可能是在云环境上,或者客户公司服务器上,服务器资源往往比较有限,仅仅够部署应用服务,且代码仓库是在内网服务器,这时服务的发布,往往是专门的开发人员或者运维人员通过命令行执行命令部署的,服务的版本不方便查看,版本回滚操作不直观,容易误操作。并且,从大型项目中孵化出的一些小项目,往往开发人员也少,如果部署人员和开发人员分开,则每次发一个版本的环节增多,沟通成本增多,降低效率。此外,如果完全让开发人员自己操作,则对开发人员要求更高,且权限不好控制,出现错误的可能性提高。因此,现有的微服务发布方式存在资源消耗高、操作复杂等问题。However, since many small projects may deploy a set of services independently based on some functions of a larger project, it may be on a cloud environment or on a client company server. Server resources are often limited, only enough to deploy application services, and the code The warehouse is an intranet server. At this time, the release of the service is often deployed by a dedicated developer or operation and maintenance personnel through the command line. The service version is inconvenient to view, and the version rollback operation is not intuitive and easy to misuse. In addition, some small projects hatched from large-scale projects often have fewer developers. If the deployment personnel and developers are separated, there will be more links to release one version at a time, increasing communication costs and reducing efficiency. In addition, if the developers are completely allowed to operate by themselves, the requirements for the developers will be higher, and the permissions will not be well controlled, and the possibility of errors will increase. Therefore, the existing microservice publishing methods have problems such as high resource consumption and complicated operations.

发明内容Contents of the invention

本申请的目的在于提供一种微服务发布方法、装置、系统及计算机可读存储介质,可统一管理对不同客户的服务发布,并实现微服务的一键发布,降低了资源消耗,且操作简单便捷。The purpose of this application is to provide a microservice publishing method, device, system and computer-readable storage medium, which can uniformly manage service publishing to different customers, and realize one-click publishing of microservices, which reduces resource consumption and is easy to operate convenient.

为达到上述目的:To achieve the above purpose:

第一方面,本申请实施例提供了一种微服务发布方法,应用于微服务发布系统,所述微服务发布系统包括管理端和至少一客户端,所述方法包括以下步骤:In the first aspect, the embodiment of the present application provides a microservice publishing method, which is applied to a microservice publishing system, the microservice publishing system includes a management terminal and at least one client, and the method includes the following steps:

所述管理端响应于在管理界面生成的针对目标客户的微服务发布指令,向所述目标客户对应的客户端发送微服务发布请求,所述微服务发布请求包括待发布的目标微服务的文件存储信息;The management terminal sends a microservice publishing request to the client corresponding to the target customer in response to the microservice publishing instruction for the target customer generated on the management interface, and the microservice publishing request includes the file of the target microservice to be published store information;

所述客户端在接收所述微服务发布请求后,根据所述目标微服务的文件存储信息获取目标微服务文件,并基于所述目标微服务文件执行服务发布操作。After receiving the microservice publishing request, the client acquires the target microservice file according to the file storage information of the target microservice, and executes a service publishing operation based on the target microservice file.

可选地,所述管理端响应于在管理界面生成的针对目标客户的微服务发布指令之前,还包括:Optionally, the management terminal further includes:

所述管理端获取用户登录信息,根据所述用户登录信息在所述管理界面显示所述用户具有操作权限的服务操作事项。The management terminal acquires user login information, and displays service operation items for which the user has operation authority on the management interface according to the user login information.

可选地,所述客户端接收所述微服务发布请求之前,还包括:Optionally, before the client receives the microservice release request, it may further include:

所述客户端接收所述管理端发送的所述目标微服务文件,并基于所述管理端预先下发的密钥对进行权限验证,若验证通过,则存储所述目标微服务文件,以及将所述目标微服务文件的文件存储信息向所述管理端发送;The client receives the target microservice file sent by the management terminal, and performs authority verification based on the key pair issued by the management terminal in advance. If the verification is passed, the target microservice file is stored, and the Sending the file storage information of the target microservice file to the management terminal;

所述管理端接收并记录所述目标微服务文件的文件存储信息。The management terminal receives and records the file storage information of the target microservice file.

可选地,所述方法还包括:Optionally, the method also includes:

所述客户端执行针对所述目标微服务进行服务发布的前置操作和/或后置操作;所述前置操作包括以下至少一种:备份所述目标微服务对应的当前微服务文件、停止所述目标微服务、清空缓存数据;所述后置操作包括以下至少一种:输出服务发布提醒消息;刷新缓存数据。The client executes a pre-operation and/or a post-operation for publishing a service for the target microservice; the pre-operation includes at least one of the following: backing up the current microservice file corresponding to the target microservice, stopping The target microservice clears cached data; the post-operation includes at least one of the following: outputting a service release reminder message; refreshing cached data.

可选地,所述方法还包括:Optionally, the method also includes:

所述管理端周期性向所述客户端发送心跳包,并根据心跳包接收情况对所述客户端进行异常检测。The management terminal periodically sends a heartbeat packet to the client, and performs abnormal detection on the client according to the receiving situation of the heartbeat packet.

第二方面,本申请实施例提供了一种微服务发布方法,应用于管理端,所述方法包括:In the second aspect, the embodiment of the present application provides a microservice publishing method, which is applied to the management end, and the method includes:

响应于在管理界面生成的针对目标客户的微服务发布指令;Responsive to microservice publishing instructions for target customers generated at the management interface;

向所述目标客户对应的客户端发送微服务发布请求,所述微服务发布请求包括待发布的目标微服务的文件存储信息。Sending a microservice publishing request to the client corresponding to the target client, where the microservice publishing request includes file storage information of the target microservice to be published.

可选地,所述方法还包括:获取用户登录信息,根据所述用户登录信息在所述管理界面显示所述用户具有操作权限的服务操作事项。Optionally, the method further includes: acquiring user login information, and displaying service operation items for which the user has operation authority on the management interface according to the user login information.

可选地,所述方法还包括:Optionally, the method also includes:

向所述客户端发送所述目标微服务文件;sending the target microservice file to the client;

接收并记录所述客户端发送的所述目标微服务文件的文件存储信息。receiving and recording the file storage information of the target microservice file sent by the client.

可选地,所述方法还包括:Optionally, the method also includes:

周期性向所述客户端发送心跳包,并根据心跳响应包接收情况对所述客户端进行异常检测。Periodically send heartbeat packets to the client, and perform anomaly detection on the client according to the reception of the heartbeat response packet.

第三方面,本申请实施例提供了一种微服务发布方法,应用于客户端,所述方法包括:In the third aspect, the embodiment of the present application provides a method for publishing a microservice, which is applied to a client, and the method includes:

接收管理端发送的微服务发布请求;所述微服务发布请求包括待发布的目标微服务的文件存储信息;receiving a microservice publishing request sent by the management terminal; the microservice publishing request includes file storage information of the target microservice to be published;

根据所述目标微服务的文件存储信息获取目标微服务文件,并基于所述目标微服务文件执行服务发布操作。A target microservice file is acquired according to the file storage information of the target microservice, and a service publishing operation is performed based on the target microservice file.

可选地,所述方法还包括:Optionally, the method also includes:

接收所述管理端发送的所述目标微服务文件,并基于所述管理端预先下发的密钥对进行权限验证,若验证通过,则存储所述目标微服务文件,以及将所述目标微服务文件的文件存储信息向所述管理端发送。receiving the target microservice file sent by the management terminal, and performing permission verification based on the key pair issued by the management terminal in advance; if the verification is passed, storing the target microservice file, and The file storage information of the service file is sent to the management terminal.

可选地,所述方法还包括:Optionally, the method also includes:

执行针对所述目标微服务进行服务发布的前置操作和/或后置操作;所述前置操作包括以下至少一种:备份所述目标微服务对应的当前微服务文件、停止所述目标微服务、清空缓存数据;所述后置操作包括以下至少一种:输出服务发布提醒消息;刷新缓存数据。Executing pre-operations and/or post-operations for publishing services for the target microservice; the pre-operations include at least one of the following: backing up the current microservice file corresponding to the target microservice, stopping the target microservice Serving, clearing cached data; the post-operation includes at least one of the following: outputting a service release reminder message; refreshing cached data.

第四方面,本申请实施例提供一种微服务发布系统,包括管理端和至少一客户端;其中,所述管理端和所述客户端分别用于执行第二方面和第三方面中任一项所述的对应的微服务发布方法。In the fourth aspect, the embodiment of the present application provides a microservice publishing system, including a management terminal and at least one client; wherein, the management terminal and the client are respectively used to execute any one of the second aspect and the third aspect The corresponding microservice publishing method described in item.

第五方面,本申请实施例提供一种微服务发布装置,包括:处理器和存储有计算机程序的存储器,在所述处理器运行所述计算机程序时,实现上述微服务发布方法的步骤。In a fifth aspect, the embodiment of the present application provides a microservice publishing device, including: a processor and a memory storing a computer program, and when the processor runs the computer program, the steps of the above microservice publishing method are realized.

第六方面,本申请实施例提供一种计算机可读存储介质,所述计算机可读存储介质中存储有计算机程序,所述计算机程序被处理器执行时实现上述微服务发布方法的步骤。In a sixth aspect, the embodiment of the present application provides a computer-readable storage medium, where a computer program is stored in the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the above microservice publishing method are implemented.

本申请实施例提供的微服务发布方法、装置、系统及计算机可读存储介质,所述方法应用于微服务发布系统,所述微服务发布系统包括管理端和至少一客户端;所述管理端响应于在管理界面生成的针对目标客户的微服务发布指令,向所述目标客户对应的客户端发送微服务发布请求,所述微服务发布请求包括待发布的目标微服务的文件存储信息;所述客户端在接收所述微服务发布请求后,根据所述目标微服务的文件存储信息获取目标微服务文件,并基于所述目标微服务文件执行服务发布操作。如此,可统一管理对不同客户的服务发布,并可实现微服务的一键发布,降低了资源消耗,且操作简单便捷。The microservice publishing method, device, system, and computer-readable storage medium provided by the embodiments of the present application, the method is applied to a microservice publishing system, and the microservice publishing system includes a management terminal and at least one client; the management terminal In response to the microservice publishing instruction for the target customer generated on the management interface, sending a microservice publishing request to the client corresponding to the target customer, the microservice publishing request includes file storage information of the target microservice to be published; After receiving the microservice publishing request, the client acquires the target microservice file according to the file storage information of the target microservice, and executes a service publishing operation based on the target microservice file. In this way, service publishing to different customers can be managed in a unified manner, and one-click publishing of microservices can be realized, resource consumption is reduced, and the operation is simple and convenient.

附图说明Description of drawings

图1为本发明实施例提供的微服务发布方法的流程示意图一;FIG. 1 is a first schematic flow diagram of a microservice publishing method provided by an embodiment of the present invention;

图2为本发明实施例提供的微服务发布方法的流程示意图二;FIG. 2 is a second schematic flow diagram of a microservice publishing method provided by an embodiment of the present invention;

图3为本发明实施例提供的微服务发布方法的流程示意图三;FIG. 3 is a third schematic flow diagram of a microservice publishing method provided by an embodiment of the present invention;

图4为本发明实施例提供的微服务发布系统的架构示意图;FIG. 4 is a schematic diagram of the architecture of the microservice publishing system provided by the embodiment of the present invention;

图5为本发明实施例中用户权限体系示意图;Fig. 5 is a schematic diagram of the user authority system in the embodiment of the present invention;

图6为本发明实施例提供的微服务发布装置的结构示意图。FIG. 6 is a schematic structural diagram of a microservice publishing device provided by an embodiment of the present invention.

具体实施方式Detailed ways

这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本申请相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本申请的一些方面相一致的装置和方法的例子。Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with aspects of the present application as recited in the appended claims.

需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素,此外,本申请不同实施例中具有同样命名的部件、特征、要素可能具有相同含义,也可能具有不同含义,其具体含义需以其在该具体实施例中的解释或者进一步结合该具体实施例中上下文进行确定。It should be noted that, in this document, the term "comprising", "comprising" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article or apparatus comprising a set of elements includes not only those elements, It also includes other elements not expressly listed, or elements inherent in the process, method, article, or device. Without further limitations, an element defined by the phrase "comprising a..." does not exclude the existence of other identical elements in the process, method, article, or device that includes the element. In addition, different implementations of the present application Components, features, and elements with the same name in the example may have the same meaning, or may have different meanings, and the specific meaning shall be determined based on the explanation in the specific embodiment or further combined with the context in the specific embodiment.

应当理解,尽管在本文可能采用术语第一、第二、第三等来描述各种信息,但这些信息不应限于这些术语。这些术语仅用来将同一类型的信息彼此区分开。例如,在不脱离本文范围的情况下,第一信息也可以被称为第二信息,类似地,第二信息也可以被称为第一信息。取决于语境,如在此所使用的词语"如果"可以被解释成为"在……时"或"当……时"或"响应于确定"。再者,如同在本文中所使用的,单数形式“一”、“一个”和“该”旨在也包括复数形式,除非上下文中有相反的指示。应当进一步理解,术语“包含”、“包括”表明存在所述的特征、步骤、操作、元件、组件、项目、种类、和/或组,但不排除一个或多个其他特征、步骤、操作、元件、组件、项目、种类、和/或组的存在、出现或添加。此处使用的术语“或”和“和/或”被解释为包括性的,或意味着任一个或任何组合。因此,“A、B或C”或者“A、B和/或C”意味着“以下任一个:A;B;C;A和B;A和C;B和C;A、B和C”。仅当元件、功能、步骤或操作的组合在某些方式下内在地互相排斥时,才会出现该定义的例外。It should be understood that although the terms first, second, third, etc. may be used herein to describe various information, the information should not be limited to these terms. These terms are only used to distinguish information of the same type from one another. For example, without departing from the scope of this document, first information may also be called second information, and similarly, second information may also be called first information. Depending on the context, the word "if" as used herein may be interpreted as "at" or "when" or "in response to a determination". Furthermore, as used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context indicates otherwise. It should be further understood that the terms "comprising", "comprising" indicate the presence of stated features, steps, operations, elements, components, items, species, and/or groups, but do not exclude one or more other features, steps, operations, The existence, occurrence or addition of an element, component, item, species, and/or group. The terms "or" and "and/or" as used herein are to be construed as inclusive, or to mean either one or any combination. Thus, "A, B or C" or "A, B and/or C" means "any of the following: A; B; C; A and B; A and C; B and C; A, B and C" . Exceptions to this definition will only arise when combinations of elements, functions, steps or operations are inherently mutually exclusive in some way.

应该理解的是,虽然本申请实施例中的流程图中的各个步骤按照箭头的指示依次显示,但是这些步骤并不是必然按照箭头指示的顺序依次执行。除非本文中有明确的说明,这些步骤的执行并没有严格的顺序限制,其可以以其他的顺序执行。而且,图中的至少一部分步骤可以包括多个子步骤或者多个阶段,这些子步骤或者阶段并不必然是在同一时刻执行完成,而是可以在不同的时刻执行,其执行顺序也不必然是依次进行,而是可以与其他步骤或者其他步骤的子步骤或者阶段的至少一部分轮流或者交替地执行。It should be understood that although the various steps in the flow chart in the embodiment of the present application are displayed sequentially as indicated by the arrows, these steps are not necessarily executed sequentially in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some of the steps in the figure may include multiple sub-steps or multiple stages, these sub-steps or stages are not necessarily executed at the same time, but may be executed at different times, and the execution order is not necessarily sequential Instead, it may be performed alternately or alternately with at least a part of other steps or sub-steps or stages of other steps.

需要说明的是,在本文中,采用了诸如S101、S102等步骤代号,其目的是为了更清楚简要地表述相应内容,不构成顺序上的实质性限制,本领域技术人员在具体实施时,可能会先执行S102后执行S101等,但这些均应在本申请的保护范围之内。It should be noted that, in this article, step codes such as S101 and S102 are used, the purpose of which is to express the corresponding content more clearly and concisely, and does not constitute a substantive limitation on the order. Those skilled in the art may, during specific implementation, S102 will be executed first, followed by S101, etc., but these should be within the protection scope of this application.

应当理解,此处所描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。It should be understood that the specific embodiments described here are only used to explain the present application, and are not intended to limit the present application.

在后续的描述中,使用用于表示元件的诸如“模块”、“部件”或者“单元”的后缀仅为了有利于本申请的说明,其本身没有特定的意义。因此,“模块”、“部件”或者“单元”可以混合地使用。In the following description, the use of suffixes such as 'module', 'part' or 'unit' for denoting elements is only for facilitating the description of the present application and has no specific meaning by itself. Therefore, 'module', 'part' or 'unit' may be mixedly used.

参阅图1,为本申请实施例提供的一种微服务发布方法,应用于微服务发布系统,所述微服务发布系统包括管理端和至少一客户端;本申请实施例提供的微服务发布方法包括:Referring to Fig. 1, a microservice publishing method provided by the embodiment of the present application is applied to a microservice publishing system, and the microservice publishing system includes a management terminal and at least one client; the microservice publishing method provided by the embodiment of the present application include:

步骤S101:管理端响应于在管理界面生成的针对目标客户的微服务发布指令,向所述目标客户对应的客户端发送微服务发布请求,所述微服务发布请求包括待发布的目标微服务的文件存储信息。Step S101: The management terminal sends a microservice publishing request to the client corresponding to the target customer in response to the microservice publishing instruction for the target customer generated on the management interface, and the microservice publishing request includes the target microservice to be published Files store information.

可选地,所述管理端可以为管理人员或技术人员使用的电脑或者其他智能终端,所述管理端可提供并显示有一管理界面,通过该管理界面可对不同客户对应的微服务进行管理,如发布微服务、删除微服务等。所述客户端可以为客户侧的电脑或者其他智能终端。可以理解地,基于不同客户的需求,可将从大型项目中孵化出的小项目以微服务方式相应部署至对应客户,同时,可针对部署至客户的项目数量和微服务数量,在管理界面显示相应的菜单。例如,若客户A有两个项目,且每个项目有两个微服务,则可在客户菜单中显示客户A信息,并在客户A的项目菜单中显示上述两个微服务。需要说明的是,所述管理界面可提供对不同客户的不同微服务的操作菜单,该操作菜单可包括发布(也可为修改)、删除等服务操作事项。当用户在管理界面输入操作以选择对目标客户的某一微服务进行发布时,所述管理端获取在管理界面生成的针对目标客户的微服务发布指令,并向所述目标客户对应的客户端发送微服务发布请求,所述微服务发布请求包括待发布的目标微服务的文件存储信息。可选地,所述目标客户为待发布的微服务所属的客户,所述管理端可以根据所述目标客户的名称等标识信息以及各客户端在管理端的注册地址,确定所述目标客户对应的客户端的注册地址,进而向所述目标客户对应的客户端发送微服务发布请求。需要说明的是,本实施例中的微服务发布也可称为服务发布。Optionally, the management terminal can be a computer or other intelligent terminal used by managers or technicians, and the management terminal can provide and display a management interface through which microservices corresponding to different customers can be managed, Such as publishing microservices, deleting microservices, etc. The client can be a computer or other intelligent terminal on the client side. Understandably, based on the needs of different customers, small projects hatched from large projects can be deployed to corresponding customers in the form of microservices. At the same time, the number of projects and microservices deployed to customers can be displayed on the management interface corresponding menu. For example, if customer A has two projects, and each project has two microservices, the information of customer A can be displayed in the customer menu, and the above two microservices can be displayed in the project menu of customer A. It should be noted that the management interface may provide an operation menu for different microservices of different customers, and the operation menu may include service operation items such as publishing (or modifying), deleting, and the like. When the user enters an operation on the management interface to choose to publish a certain microservice of the target customer, the management terminal obtains the microservice release instruction for the target customer generated on the management interface, and sends the instruction to the client corresponding to the target customer Sending a microservice publishing request, where the microservice publishing request includes file storage information of the target microservice to be published. Optionally, the target client is the client to which the micro-service to be released belongs, and the management terminal can determine the target client’s corresponding The registration address of the client, and then send a microservice publishing request to the client corresponding to the target client. It should be noted that the publishing of microservices in this embodiment may also be called publishing of services.

在一实施方式中,所述管理端响应于在管理界面生成的针对目标客户的微服务发布指令之前,还包括:所述管理端获取用户登录信息,根据所述用户登录信息在所述管理界面显示所述用户具有操作权限的服务操作事项。可以理解地,针对不同用户可设置不同的操作权限,该操作权限可按照客户、项目、服务、操作进行分类,如果分配的是客户权限,则对该客户下所有服务、所有的操作都具有权限。例如,一些用户只能管理客户A下所有服务,而另一些用户只能管理客户B下所有服务,或者,一些用户只能管理客户A的项目C,而另一些用户只能管理客户A的项目D;或者,一些用户只能查看微服务,另一些用户只能发布微服务。可选地,所述管理端在获取用户登录信息后,可根据所述用户登录信息确定所述用户的操作权限,进而在所述管理界面显示所述用户具有操作权限的服务操作事项。例如,假设根据用户登录信息确定所述用户只具有对客户A的操作权限,则在所述管理界面可只显示对客户A的服务操作事项,如发布、删除等操作事项。如此,根据用户的操作权限确定管理界面显示的服务操作事项,提高了管理的安全性,进一步降低了资源消耗。In one embodiment, before the management terminal responds to microservices generated on the management interface to issue instructions for target customers, the management terminal further includes: the management terminal obtains user login information, and according to the user login information, the management interface Display the service operation items for which the user has operation authority. Understandably, different operation permissions can be set for different users. The operation permissions can be classified according to customer, project, service, and operation. If the customer permission is assigned, all services and all operations under the customer have permission . For example, some users can only manage all services under customer A, while others can only manage all services under customer B, or, some users can only manage project C of customer A, while others can only manage projects of customer A D; Or, some users can only view microservices, and other users can only publish microservices. Optionally, after obtaining the user login information, the management terminal may determine the user's operation authority according to the user login information, and then display the service operation items for which the user has operation authority on the management interface. For example, if it is determined according to the user login information that the user only has the operation authority for customer A, then only the service operation items for customer A, such as publishing and deleting, can be displayed on the management interface. In this way, the service operation items displayed on the management interface are determined according to the user's operation authority, which improves management security and further reduces resource consumption.

在一实施方式中,所述客户端接收所述微服务发布请求之前,还包括:In an embodiment, before the client receives the microservice release request, it further includes:

所述客户端接收所述管理端发送的所述目标微服务文件,并基于所述管理端预先下发的密钥对进行权限验证,若验证通过,则存储所述目标微服务文件,以及将所述目标微服务文件的文件存储信息向所述管理端发送;The client receives the target microservice file sent by the management terminal, and performs authority verification based on the key pair issued by the management terminal in advance. If the verification is passed, the target microservice file is stored, and the Sending the file storage information of the target microservice file to the management terminal;

所述管理端记录所述目标微服务文件的文件存储信息。The management end records the file storage information of the target microservice file.

可选地,所述管理端在确定待发布的目标微服务对应的文件即目标微服务文件后,可先将所述目标微服务文件向所述目标客户对应的客户端发送,相应的,所述客户端接收所述管理端发送的所述目标微服务文件,并基于所述管理端预先下发的密钥对进行权限验证,若验证通过,则存储所述目标微服务文件,以及将所述目标微服务文件的文件存储信息向所述管理端发送。可选地,所述目标微服务文件是所述管理端加密后发送的,所述客户端使用所述密钥对对所述目标微服务文件进行权限验证,若验证通过,则解密所述目标微服务文件,并按照所述目标微服务所属的项目、服务名称、接收时间以及备注等存储所述目标微服务文件。所述密钥对是客户端向管理端注册时,由管理端按照预设规则下发给客户端的。可选地,所述客户端可将所述目标微服务文件存储在本地磁盘,也可将所述目标微服务文件存储至NFS文件服务器、AWS服务器等对象存储服务器,也就是说,所述目标微服务文件的存放地址和存放方式可以依据实际情况进行设置。同时,所述文件存储信息可包括但不限于所述目标微服务所属的项目、服务名称、接收时间、备注、存放地址、存放方式等。所述管理端接收到所述客户端发送的所述目标微服务文件的文件存储信息后,记录所述目标微服务文件的文件存储信息,以在后续需要发布所述目标微服务时将所述文件存储信息告知所述客户端,同时实现由所述管理端统一进行信息管理。如此,客户端在权限验证通过后,存储目标微服务文件,并向管理端上传对应的文件存储信息,提高了微服务发布的安全性,且提高了信息管理的便捷性。Optionally, after the management terminal determines the file corresponding to the target microservice to be published, that is, the target microservice file, it can first send the target microservice file to the client corresponding to the target client, and correspondingly, the The client receives the target microservice file sent by the management terminal, and performs authority verification based on the key pair issued by the management terminal in advance. If the verification is passed, the target microservice file is stored, and the Send the file storage information of the target microservice file to the management terminal. Optionally, the target microservice file is encrypted and sent by the management terminal, and the client uses the key pair to verify the authority of the target microservice file, and if the verification is passed, the target microservice file is decrypted. Microservice file, and store the target microservice file according to the project to which the target microservice belongs, service name, receiving time, and remarks. The key pair is issued by the management terminal to the client according to preset rules when the client registers with the management terminal. Optionally, the client may store the target microservice file in a local disk, or store the target microservice file in an object storage server such as an NFS file server or an AWS server, that is, the target The storage address and storage method of microservice files can be set according to the actual situation. Meanwhile, the file storage information may include but not limited to the project to which the target microservice belongs, service name, receiving time, notes, storage address, storage method, etc. After the management end receives the file storage information of the target microservice file sent by the client, it records the file storage information of the target microservice file, so that when the target microservice needs to be published later, the The file storage information is notified to the client, and at the same time, unified information management is implemented by the management terminal. In this way, after the authority verification is passed, the client stores the target microservice file and uploads the corresponding file storage information to the management terminal, which improves the security of microservice release and improves the convenience of information management.

步骤S102:客户端在接收所述微服务发布请求后,根据所述目标微服务的文件存储信息获取目标微服务文件,并基于所述目标微服务文件执行服务发布操作。Step S102: After receiving the microservice publishing request, the client acquires the target microservice file according to the file storage information of the target microservice, and executes a service publishing operation based on the target microservice file.

可选地,所述客户端在接收到所述管理端发送的所述微服务发布请求后,根据所述微服务发布请求中所述目标微服务的文件存储信息可获取所述目标微服务文件,并基于所述目标微服务文件执行服务发布操作,从而实现发布所述目标微服务。Optionally, after receiving the microservice release request sent by the management end, the client can obtain the target microservice file according to the file storage information of the target microservice in the microservice release request , and perform a service publishing operation based on the target microservice file, so as to realize publishing the target microservice.

综上,上述实施例提供的微服务发布方法中,通过管理端能够统一管理不同客户,每个客户侧仅需部署微服务即可达到管理服务发布效果,大大降低了资源成本,即可统一管理对不同客户的服务发布,并可实现微服务的一键发布,降低了资源消耗,且操作简单便捷。To sum up, in the microservice release method provided by the above embodiment, different clients can be managed uniformly through the management terminal, and each client only needs to deploy microservices to achieve the effect of management service release, which greatly reduces resource costs and enables unified management Publish the services of different customers, and realize the one-click release of microservices, which reduces resource consumption and is easy and convenient to operate.

在一实施方式中,所述方法还包括:In one embodiment, the method also includes:

所述客户端执行针对所述目标微服务进行服务发布的前置操作和/或后置操作;所述前置操作包括以下至少一种:备份所述目标微服务对应的当前微服务文件、停止所述目标微服务、清空缓存数据;所述后置操作包括以下至少一种:输出服务发布提醒消息;刷新缓存数据。The client executes a pre-operation and/or a post-operation for publishing a service for the target microservice; the pre-operation includes at least one of the following: backing up the current microservice file corresponding to the target microservice, stopping The target microservice clears cached data; the post-operation includes at least one of the following: outputting a service release reminder message; refreshing cached data.

可选地,所述客户端在基于所述目标微服务文件执行服务发布操作之前,可执行针对所述目标微服务进行服务发布的前置操作,如备份所述目标微服务对应的当前微服务文件、停止所述目标微服务、清空缓存数据等。而所述客户端在基于所述目标微服务文件执行服务发布操作之后,可执行针对所述目标微服务进行服务发布的后置操作,如输出服务发布提醒消息;刷新缓存数据等。可选地,所述备份所述目标微服务对应的当前微服务文件是为了确保后续能够实现历史服务版本回滚,即所述管理端在基于所述目标微服务文件执行服务发布操作后,若后续需要重新使用所述目标微服务对应的当前微服务文件进行服务发布,则可通过备份的所述目标微服务对应的当前微服务文件实现相应操作。如此,通过执行针对所述目标微服务进行服务发布的前置操作和/或后置操作,提高了微服务发布的便捷性。Optionally, before the client executes the service publishing operation based on the target microservice file, it may perform a pre-operation of service publishing for the target microservice, such as backing up the current microservice corresponding to the target microservice files, stop said target microservice, clear cached data, etc. After the client executes the service release operation based on the target microservice file, it can perform post-operations for service release for the target microservice, such as outputting a service release reminder message, refreshing cached data, and so on. Optionally, the purpose of backing up the current microservice file corresponding to the target microservice is to ensure that the historical service version rollback can be realized later, that is, after the management terminal executes the service release operation based on the target microservice file, if If the current microservice file corresponding to the target microservice needs to be reused for service publication later, the corresponding operation can be realized through the backed up current microservice file corresponding to the target microservice. In this way, by performing the pre-operation and/or post-operation of service publishing for the target microservice, the convenience of microservice publishing is improved.

在一实施方式中,所述方法还包括:In one embodiment, the method also includes:

所述管理端周期性向所述客户端发送心跳包,并根据心跳包接收情况对所述客户端进行异常检测。The management terminal periodically sends a heartbeat packet to the client, and performs abnormal detection on the client according to the receiving situation of the heartbeat packet.

可选地,为了维护健康客户列表,同时在存在异常时可提前预警,所述管理端可基于所述客户端的注册地址周期性向所述客户端发送心跳包,并根据心跳包接收情况对所述客户端进行异常检测。可选地,所述心跳包接收情况可包括是否接收到客户端反馈的心跳响应包、以及接收到客户端反馈的心跳响应包的间隔时长是否满足预设时长要求等。可选地,在检测到所述客户端异常时,可输出报警信息,以及时通知用户处理。如此,提高了对不同客户的微服务进行管理的便捷性和及时性。Optionally, in order to maintain a list of healthy clients and give an early warning when there is an abnormality, the management end may periodically send a heartbeat packet to the client based on the registered address of the client, and send a heartbeat packet to the client according to the receiving situation of the heartbeat packet. The client performs anomaly detection. Optionally, the condition of receiving the heartbeat packet may include whether the heartbeat response packet fed back by the client is received, and whether the interval between receiving the heartbeat response packet fed back by the client meets the preset duration requirement, and the like. Optionally, when an abnormality of the client is detected, an alarm message may be output to notify the user to handle it in time. In this way, the convenience and timeliness of managing microservices of different customers are improved.

参阅图2,为本申请实施例提供的一种微服务发布方法,该微服务发布方法可以由本申请实施例提供的一种微服务发布装置来执行,该微服务发布装置可以采用软件和/或硬件的方式来实现,本实施例中以该微服务发布装置为管理端为例,本实施例提供的微服务发布方法包括:Referring to Fig. 2, it is a microservice publishing method provided by the embodiment of the present application. The microservice publishing method can be executed by a microservice publishing device provided in the embodiment of the present application. The microservice publishing device can use software and/or In this embodiment, the microservice publishing device is used as the management terminal as an example. The microservice publishing method provided in this embodiment includes:

步骤S201:响应于在管理界面生成的针对目标客户的微服务发布指令。Step S201: issuing instructions in response to microservices for target customers generated on the management interface.

可选地,所述管理端可以为管理人员或技术人员使用的电脑或者其他智能终端,所述管理端可提供并显示有一管理界面,通过该管理界面可对不同客户对应的微服务进行管理,如发布微服务、删除微服务等。基于不同客户的需求,可将从大型项目中孵化出的小项目以微服务方式相应部署至对应客户,同时,可针对部署至客户的项目数量和微服务数量,在管理界面显示相应的菜单。例如,若客户A有两个项目,且每个项目有两个微服务,则可在客户菜单中显示客户A信息,并在客户A的项目菜单中显示上述两个微服务。需要说明的是,所述管理界面可提供对不同客户的不同微服务的操作菜单,该操作菜单可包括发布(也可为修改)、删除等服务操作事项。当用户在管理界面输入操作以选择对目标客户的某一微服务进行发布时,所述管理端获取在管理界面生成的针对目标客户的微服务发布指令。Optionally, the management terminal can be a computer or other intelligent terminal used by managers or technicians, and the management terminal can provide and display a management interface through which microservices corresponding to different customers can be managed, Such as publishing microservices, deleting microservices, etc. Based on the needs of different customers, small projects hatched from large projects can be deployed to corresponding customers in the form of microservices. At the same time, corresponding menus can be displayed on the management interface for the number of projects and microservices deployed to customers. For example, if customer A has two projects, and each project has two microservices, the information of customer A can be displayed in the customer menu, and the above two microservices can be displayed in the project menu of customer A. It should be noted that the management interface may provide an operation menu for different microservices of different customers, and the operation menu may include service operation items such as publishing (or modifying), deleting, and the like. When the user inputs an operation on the management interface to choose to publish a certain microservice of the target customer, the management terminal obtains the microservice publishing instruction for the target customer generated on the management interface.

在一实施方式中,所述方法还包括:获取用户登录信息,根据所述用户登录信息在所述管理界面显示所述用户具有操作权限的服务操作事项。可以理解地,针对不同用户可设置不同的操作权限,该操作权限可按照客户、项目、服务、操作进行分类,如果分配的是客户权限,则对该客户下所有服务、所有的操作都具有权限。例如,一些用户只能管理客户A下所有服务,而另一些用户只能管理客户B下所有服务,或者,一些用户只能管理客户A的项目C,而另一些用户只能管理客户A的项目D;或者,一些用户只能查看微服务,另一些用户只能发布微服务。可选地,所述管理端在获取用户登录信息后,可根据所述用户登录信息确定所述用户的操作权限,进而在所述管理界面显示所述用户具有操作权限的服务操作事项。例如,假设根据用户登录信息确定所述用户只具有对客户A的操作权限,则在所述管理界面可只显示对客户A的服务操作事项,如发布、删除等操作事项。如此,根据用户的操作权限确定管理界面显示的服务操作事项,提高了管理的安全性,进一步降低了资源消耗。In an embodiment, the method further includes: acquiring user login information, and displaying service operation items for which the user has operation authority on the management interface according to the user login information. Understandably, different operation permissions can be set for different users. The operation permissions can be classified according to customer, project, service, and operation. If the customer permission is assigned, all services and all operations under the customer have permission . For example, some users can only manage all services under customer A, while others can only manage all services under customer B, or, some users can only manage project C of customer A, while others can only manage projects of customer A D; Or, some users can only view microservices, and other users can only publish microservices. Optionally, after obtaining the user login information, the management terminal may determine the user's operation authority according to the user login information, and then display the service operation items for which the user has operation authority on the management interface. For example, if it is determined according to the user login information that the user only has the operation authority for customer A, then only the service operation items for customer A, such as publishing and deleting, can be displayed on the management interface. In this way, the service operation items displayed on the management interface are determined according to the user's operation authority, which improves management security and further reduces resource consumption.

在一实施方式中,所述方法还包括:In one embodiment, the method also includes:

向所述客户端发送所述目标微服务文件;sending the target microservice file to the client;

接收并记录所述客户端发送的所述目标微服务文件的文件存储信息。receiving and recording the file storage information of the target microservice file sent by the client.

可选地,所述管理端在确定待发布的目标微服务对应的文件即目标微服务文件后,可先将所述目标微服务文件向所述目标客户对应的客户端发送。所述管理端接收到所述客户端发送的所述目标微服务文件的文件存储信息后,记录所述目标微服务文件的文件存储信息,以在后续需要发布所述目标微服务时将所述文件存储信息告知所述客户端,同时实现由所述管理端统一进行信息管理。所述文件存储信息可包括但不限于所述目标微服务所属的项目、服务名称、接收时间、备注、存放地址、存放方式等。如此,提高了信息管理的便捷性。Optionally, after the management terminal determines the file corresponding to the target microservice to be published, that is, the target microservice file, it may first send the target microservice file to the client corresponding to the target client. After the management end receives the file storage information of the target microservice file sent by the client, it records the file storage information of the target microservice file, so that when the target microservice needs to be published later, the The file storage information is notified to the client, and at the same time, unified information management is implemented by the management terminal. The file storage information may include, but is not limited to, the project to which the target microservice belongs, service name, receiving time, remarks, storage address, storage method, and the like. In this way, the convenience of information management is improved.

步骤S202:向所述目标客户对应的客户端发送微服务发布请求,所述微服务发布请求包括待发布的目标微服务的文件存储信息。Step S202: Sending a microservice publishing request to the client corresponding to the target client, the microservice publishing request including file storage information of the target microservice to be published.

可选地,管理端向所述目标客户对应的客户端发送微服务发布请求,所述微服务发布请求包括待发布的目标微服务的文件存储信息。可选地,所述目标客户为待发布的微服务所属的客户,所述管理端可以根据所述目标客户的名称等标识信息以及各客户端在管理端的注册地址,确定所述目标客户对应的客户端的注册地址,进而向所述目标客户对应的客户端发送微服务发布请求。Optionally, the management end sends a microservice publishing request to the client corresponding to the target client, and the microservice publishing request includes file storage information of the target microservice to be published. Optionally, the target client is the client to which the micro-service to be released belongs, and the management terminal can determine the target client’s corresponding The registration address of the client, and then send a microservice publishing request to the client corresponding to the target client.

综上,上述实施例提供的微服务发布方法中,通过管理端能够统一管理不同客户,每个客户侧仅需部署微服务即可达到管理服务发布效果,大大降低了资源成本,即可统一管理对不同客户的服务发布,并可实现微服务的一键发布,降低了资源消耗,且操作简单便捷。To sum up, in the microservice release method provided by the above embodiment, different clients can be managed uniformly through the management terminal, and each client only needs to deploy microservices to achieve the effect of management service release, which greatly reduces resource costs and enables unified management Publish the services of different customers, and realize the one-click release of microservices, which reduces resource consumption and is easy and convenient to operate.

在一实施方式中,所述方法还包括:In one embodiment, the method also includes:

周期性向所述客户端发送心跳包,并根据心跳包接收情况对所述客户端进行异常检测。Sending heartbeat packets to the client periodically, and performing anomaly detection on the client according to the reception of the heartbeat packets.

可选地,为了维护健康客户列表,同时在存在异常时可提前预警,所述管理端可基于所述客户端的注册地址周期性向所述客户端发送心跳包,并根据心跳包接收情况对所述客户端进行异常检测。可选地,所述心跳包接收情况可包括是否接收到心跳响应包、以及接收到心跳响应包的间隔时长是否满足预设时长要求等。可选地,在检测到所述客户端异常时,可输出报警信息,以及时通知用户处理。如此,提高了对不同客户的微服务进行管理的便捷性和及时性。Optionally, in order to maintain a list of healthy clients and give an early warning when there is an abnormality, the management end may periodically send a heartbeat packet to the client based on the registered address of the client, and send a heartbeat packet to the client according to the receiving situation of the heartbeat packet. The client performs anomaly detection. Optionally, the condition of receiving the heartbeat packet may include whether a heartbeat response packet is received, and whether the interval between receiving the heartbeat response packet satisfies a preset duration requirement, and the like. Optionally, when an abnormality of the client is detected, an alarm message may be output to notify the user to handle it in time. In this way, the convenience and timeliness of managing microservices of different customers are improved.

参阅图3,为本申请实施例提供的一种微服务发布方法,该微服务发布方法可以由本申请实施例提供的一种微服务发布装置来执行,该微服务发布装置可以采用软件和/或硬件的方式来实现,本实施例中以该微服务发布装置为客户端为例,本实施例提供的微服务发布方法包括:Referring to Fig. 3, it is a microservice publishing method provided by the embodiment of the present application. The microservice publishing method can be executed by a microservice publishing device provided in the embodiment of the present application. The microservice publishing device can use software and/or In this embodiment, the microservice publishing device is used as a client as an example. The microservice publishing method provided in this embodiment includes:

步骤S301:接收管理端发送的微服务发布请求;所述微服务发布请求包括待发布的目标微服务的文件存储信息。Step S301: Receive the microservice publishing request sent by the management terminal; the microservice publishing request includes the file storage information of the target microservice to be published.

可选地,所述客户端可以为客户侧的电脑或者其他智能终端。Optionally, the client may be a computer or other intelligent terminal on the client side.

在一实施方式中,所述方法还包括:In one embodiment, the method also includes:

接收所述管理端发送的所述目标微服务文件,并基于所述管理端预先下发的密钥对进行权限验证,若验证通过,则存储所述目标微服务文件,以及将所述目标微服务文件的文件存储信息向所述管理端发送。receiving the target microservice file sent by the management terminal, and performing permission verification based on the key pair issued by the management terminal in advance; if the verification is passed, storing the target microservice file, and The file storage information of the service file is sent to the management terminal.

可选地,所述管理端在确定待发布的目标微服务对应的文件即目标微服务文件后,可先将所述目标微服务文件向所述目标客户对应的客户端发送,相应的,所述客户端接收所述管理端发送的所述目标微服务文件,并基于所述管理端预先下发的密钥对进行权限验证,若验证通过,则存储所述目标微服务文件,以及将所述目标微服务文件的文件存储信息向所述管理端发送。可选地,所述目标微服务文件是所述管理端加密后发送的,所述客户端使用所述密钥对对所述目标微服务文件进行权限验证,若验证通过,则解密所述目标微服务文件,并按照所述目标微服务所属的项目、服务名称、接收时间以及备注等存储所述目标微服务文件。所述密钥对是客户端向管理端注册时,由管理端按照预设规则下发给客户端的。可选地,所述客户端可将所述目标微服务文件存储在本地磁盘,也可将所述目标微服务文件存储至NFS文件服务器、AWS服务器等对象存储服务器,也就是说,所述目标微服务文件的存放地址和存放方式可以依据实际情况进行设置。同时,所述文件存储信息可包括但不限于所述目标微服务所属的项目、服务名称、接收时间、备注、存放地址、存放方式等。如此,客户端在权限验证通过后,存储目标微服务文件,并向管理端上传对应的文件存储信息,提高了微服务发布的安全性,且提高了信息管理的便捷性。Optionally, after the management terminal determines the file corresponding to the target microservice to be published, that is, the target microservice file, it can first send the target microservice file to the client corresponding to the target client, and correspondingly, the The client receives the target microservice file sent by the management terminal, and performs authority verification based on the key pair issued by the management terminal in advance. If the verification is passed, the target microservice file is stored, and the Send the file storage information of the target microservice file to the management terminal. Optionally, the target microservice file is encrypted and sent by the management terminal, and the client uses the key pair to verify the authority of the target microservice file, and if the verification is passed, the target microservice file is decrypted. Microservice file, and store the target microservice file according to the project to which the target microservice belongs, service name, receiving time, and remarks. The key pair is issued by the management terminal to the client according to preset rules when the client registers with the management terminal. Optionally, the client may store the target microservice file in a local disk, or store the target microservice file in an object storage server such as an NFS file server or an AWS server, that is, the target The storage address and storage method of microservice files can be set according to the actual situation. Meanwhile, the file storage information may include but not limited to the project to which the target microservice belongs, service name, receiving time, notes, storage address, storage method, etc. In this way, after the authority verification is passed, the client stores the target microservice file and uploads the corresponding file storage information to the management terminal, which improves the security of microservice release and improves the convenience of information management.

步骤S302:根据所述目标微服务的文件存储信息获取目标微服务文件,并基于所述目标微服务文件执行服务发布操作。Step S302: Obtain the target microservice file according to the file storage information of the target microservice, and perform a service publishing operation based on the target microservice file.

可选地,所述客户端在接收到所述管理端发送的所述微服务发布请求后,根据所述微服务发布请求中所述目标微服务的文件存储信息可获取所述目标微服务文件,并基于所述目标微服务文件执行服务发布操作,从而实现发布所述目标微服务。Optionally, after receiving the microservice release request sent by the management end, the client can obtain the target microservice file according to the file storage information of the target microservice in the microservice release request , and perform a service publishing operation based on the target microservice file, so as to realize publishing the target microservice.

综上,上述实施例提供的微服务发布方法中,通过管理端能够统一管理不同客户,每个客户侧仅需部署微服务即可达到管理服务发布效果,大大降低了资源成本,即可统一管理对不同客户的服务发布,并可实现微服务的一键发布,降低了资源消耗,且操作简单便捷。To sum up, in the microservice release method provided by the above embodiment, different clients can be managed uniformly through the management terminal, and each client only needs to deploy microservices to achieve the effect of management service release, which greatly reduces resource costs and enables unified management Publish the services of different customers, and realize the one-click release of microservices, which reduces resource consumption and is easy and convenient to operate.

在一实施方式中,所述方法还包括:In one embodiment, the method also includes:

执行针对所述目标微服务进行服务发布的前置操作和/或后置操作;所述前置操作包括以下至少一种:备份所述目标微服务对应的当前微服务文件、停止所述目标微服务、清空缓存数据;所述后置操作包括以下至少一种:输出服务发布提醒消息;刷新缓存数据。Executing pre-operations and/or post-operations for publishing services for the target microservice; the pre-operations include at least one of the following: backing up the current microservice file corresponding to the target microservice, stopping the target microservice Serving, clearing cached data; the post-operation includes at least one of the following: outputting a service release reminder message; refreshing cached data.

可选地,所述客户端在基于所述目标微服务文件执行服务发布操作之前,可执行针对所述目标微服务进行服务发布的前置操作,如备份所述目标微服务对应的当前微服务文件、停止所述目标微服务、清空缓存数据等。而所述客户端在基于所述目标微服务文件执行服务发布操作之后,可执行针对所述目标微服务进行服务发布的后置操作,如输出服务发布提醒消息;刷新缓存数据等。可选地,所述备份所述目标微服务对应的当前微服务文件是为了确保后续能够实现历史服务版本回滚,即所述管理端在基于所述目标微服务文件执行服务发布操作后,若后续需要重新使用所述目标微服务对应的当前微服务文件进行服务发布,则可通过备份的所述目标微服务对应的当前微服务文件实现相应操作。如此,通过执行针对所述目标微服务进行服务发布的前置操作和/或后置操作,提高了微服务发布的便捷性。Optionally, before the client executes the service publishing operation based on the target microservice file, it may perform a pre-operation of service publishing for the target microservice, such as backing up the current microservice corresponding to the target microservice files, stop said target microservice, clear cached data, etc. After the client executes the service release operation based on the target microservice file, it can perform post-operations for service release for the target microservice, such as outputting a service release reminder message, refreshing cached data, and so on. Optionally, the purpose of backing up the current microservice file corresponding to the target microservice is to ensure that the historical service version rollback can be realized later, that is, after the management terminal executes the service release operation based on the target microservice file, if If the current microservice file corresponding to the target microservice needs to be reused for service publication later, the corresponding operation can be realized through the backed up current microservice file corresponding to the target microservice. In this way, by performing the pre-operation and/or post-operation of service publishing for the target microservice, the convenience of microservice publishing is improved.

基于前述实施例相同的发明构思,本申请实施例还提供一种微服务发布系统,包括管理端和至少一客户端;其中,所述管理端和所述客户端分别用于执行前述实施例所述的对应的微服务发布方法。Based on the same inventive concept as the foregoing embodiments, this embodiment of the present application also provides a microservice publishing system, including a management terminal and at least one client; wherein, the management terminal and the client are respectively used to implement the The corresponding microservice publishing method described above.

基于前述实施例相同的发明构思,下面通过一具体示例对前述实施例进行详细说明。Based on the same inventive concept as the foregoing embodiments, the foregoing embodiments will be described in detail below through a specific example.

参阅图4,为本实施例提供的微服务发布系统的整体架构图,主要包含两个模块:管理端,提供给服务发布者统一的管理平台,此平台部署在公司内部,部署节点可扩展,负责统一与客户节点通信,服务发布者统一权限管控,包括菜单权限、数据权限、操作权限等;客户端,负责接收管理节点调度,接收服务文件,执行服务文件备份存储、服务发布、历史服务版本回滚,监听服务发布事件执行服务发布前置操作和服务发布后置操作。其中,不同客户n对应客户节点n,n为正整数。Referring to Figure 4, the overall architecture diagram of the micro-service publishing system provided in this embodiment mainly includes two modules: the management terminal, which provides a unified management platform for service publishers. This platform is deployed within the company, and the deployment nodes can be expanded. Responsible for unified communication with customer nodes, unified authority control of service publishers, including menu authority, data authority, operation authority, etc.; client, responsible for receiving management node scheduling, receiving service files, performing service file backup storage, service publishing, and historical service versions Rollback, listen to service release events, perform service release pre-operations and service release post-operations. Wherein, different clients n correspond to client nodes n, and n is a positive integer.

其中,管理节点部署及主要功能实现包括:Among them, the deployment of management nodes and the realization of main functions include:

管理节点是部署在本公司内部的,管理节点可单节点部署,也可根据客户节点数量,增加向服务注册中心注册服务节点,由统一网关代理,达到横向扩展的目的。The management node is deployed inside the company. The management node can be deployed on a single node, or according to the number of customer nodes, add service nodes registered with the service registration center, and be represented by the unified gateway to achieve the purpose of horizontal expansion.

管理节点维护客户节点心跳,通过客户节点注册地址,定期发送心跳包给客户节点,维护健康节点列表,如有异常,可提前预警。通过服务发布人员操作,将信息传递给对应的客户节点,客户节点响应对应的操作事件,做出处理。The management node maintains the heartbeat of the customer node, regularly sends the heartbeat packet to the customer node through the registration address of the customer node, maintains the list of healthy nodes, and can give an early warning if there is any abnormality. Through the operation of the service publisher, the information is transmitted to the corresponding client node, and the client node responds to the corresponding operation event and makes a processing.

参阅图5,为用户权限体系示意图,从上到下分别是客户、项目、服务、操作类型,按照树形结构归类,最大权限可以按照客户分配权限。如果分配的是客户权限,则客户下所有的服务,所有的操作都有权限。最小权限可以按照某一个客户某一个服务具体的操作进行分配权限。Refer to Figure 5, which is a schematic diagram of the user authority system. From top to bottom, there are customers, projects, services, and operation types, which are classified according to the tree structure. The maximum authority can be assigned according to the customer. If the customer permission is assigned, all services and operations under the customer have permission. The minimum authority can be assigned according to the specific operation of a certain service of a certain customer.

客户节点部署及主要功能实现包括:Customer node deployment and main function realization include:

客户节点是部署在客户公司的,主要功能是接收服务文件,备份服务文件,执行服务发布、服务回滚操作,响应操作事件。The customer node is deployed in the customer company, and its main functions are to receive service files, back up service files, perform service publishing, service rollback operations, and respond to operational events.

服务文件从管理节点通过Restful API接口调用传递到客户节点,客户节点通过预先颁发的秘钥对,进行权限验证,验证通过了,将服务文件按照项目按照服务名称、时间及备注等信息进行存储,存放地址可根据客户情况存储于本地磁盘,或者NFS文件服务器,Aws S3和华为obs等对象存储服务器,并返回结果至管理节点由管理节点记录管理。The service file is transferred from the management node to the customer node through the Restful API interface call. The customer node performs authority verification through the pre-issued key pair. After the verification is passed, the service file is stored according to the service name, time and notes according to the project. The storage address can be stored on the local disk or NFS file server, AWS S3, Huawei obs and other object storage servers according to the customer's situation, and the result will be returned to the management node for record management by the management node.

服务发布和回滚是根据管理节点请求参数中的文件地址,客户端节点找到目标文件,然后执行定制的服务发布操作,如Java服务则执行相应的启动命令,静态资源则将其存放到指定的代理目录等等。也可根据客户需求,定制服务发布前置操作和后置操作,清空Redis缓存,刷新CDN缓存,发送服务发布消息提醒等等。Service release and rollback are based on the file address in the request parameter of the management node, the client node finds the target file, and then executes the customized service release operation, such as the Java service executes the corresponding start command, and the static resource is stored in the specified Proxy directories and more. According to customer needs, you can customize the pre-operation and post-operation of service release, clear the Redis cache, refresh the CDN cache, send service release message reminders, etc.

综上,本实施例提供的微服务发布方法中,统一管理给客户部署的项目服务发布方案,管理节点可采用分布式部署,客户节点可视资源情况单节点部署或分布式部署,客户节点和管理节点可采用Restful API接口通信,实现如下效果:1)一个管理服务可统一管理不同客户项目节点,客户项目节点仅仅需要部署一个微服务即可达到管理服务发布效果,大大降低资源成本;2)服务发布表现效果快速简单的一键发布、一键回滚、权限控制、操作监管审计;3)统一的管理服务基于发布事件可定制化不同客户服务发布的特殊需求。也就是说,使用统一管理的低资源消耗的微服务发布方法,可以降低客户服务器资源要求,并对多个客户项目达到统一管理目的,基于存储的服务文件可以快速发布和回滚历史版本服务。To sum up, in the microservice release method provided by this embodiment, the project service release plan deployed to customers is managed in a unified manner. The management nodes can adopt distributed deployment, and the customer nodes can deploy single-node or distributed deployment depending on the resource situation. Customer nodes and The management node can use Restful API interface communication to achieve the following effects: 1) A management service can manage different customer project nodes in a unified manner, and the customer project node only needs to deploy a microservice to achieve the effect of management service release, greatly reducing resource costs; 2) The performance of service publishing is fast and simple, with one-click release, one-click rollback, authority control, and operation supervision and audit; 3) Unified management services can be customized to meet the special needs of different customer service releases based on release events. That is to say, using the microservice release method with unified management and low resource consumption can reduce the resource requirements of the client server and achieve the purpose of unified management for multiple client projects. The service files based on storage can quickly release and roll back historical version services.

基于前述实施例相同的发明构思,本发明实施例提供了一种微服务发布装置,如图6所示,该装置包括:处理器310和存储有计算机程序的存储器311;其中,图6中示意的处理器310并非用于指代处理器310的个数为一个,而是仅用于指代处理器310相对其他器件的位置关系,在实际应用中,处理器310的个数可以为一个或多个;同样,图6中示意的存储器311也是同样的含义,即仅用于指代存储器311相对其他器件的位置关系,在实际应用中,存储器311的个数可以为一个或多个。在所述处理器310运行所述计算机程序时,实现应用于上述装置的所述微服务发布方法。Based on the same inventive concept as the foregoing embodiments, the embodiment of the present invention provides a microservice publishing device, as shown in FIG. 6 , the device includes: a processor 310 and a memory 311 storing computer programs; The processor 310 is not used to refer to the number of the processor 310 as one, but only used to refer to the positional relationship of the processor 310 relative to other devices. In practical applications, the number of the processor 310 can be one or Multiple; similarly, the memory 311 illustrated in FIG. 6 also has the same meaning, that is, it is only used to refer to the positional relationship of the memory 311 relative to other devices. In practical applications, the number of the memory 311 can be one or more. When the processor 310 runs the computer program, the microservice publishing method applied to the above-mentioned device is realized.

该装置还可包括:至少一个网络接口312。该装置中的各个组件通过总线系统313耦合在一起。可理解,总线系统313用于实现这些组件之间的连接通信。总线系统313除包括数据总线之外,还包括电源总线、控制总线和状态信号总线。但是为了清楚说明起见,在图6中将各种总线都标为总线系统313。The device may further include: at least one network interface 312 . The various components in the device are coupled together via a bus system 313 . It can be understood that the bus system 313 is used to realize connection and communication between these components. In addition to the data bus, the bus system 313 also includes a power bus, a control bus and a status signal bus. However, the various buses are labeled bus system 313 in FIG. 6 for clarity of illustration.

其中,存储器311可以是易失性存储器或非易失性存储器,也可包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(ROM,Read Only Memory)、可编程只读存储器(PROM,Programmable Read-Only Memory)、可擦除可编程只读存储器(EPROM,Erasable Programmable Read-Only Memory)、电可擦除可编程只读存储器(EEPROM,Electrically Erasable Programmable Read-Only Memory)、磁性随机存取存储器(FRAM,ferromagnetic random access memory)、快闪存储器(Flash Memory)、磁表面存储器、光盘、或只读光盘(CD-ROM,Compact Disc Read-Only Memory);磁表面存储器可以是磁盘存储器或磁带存储器。易失性存储器可以是随机存取存储器(RAM,Random AccessMemory),其用作外部高速缓存。通过示例性但不是限制性说明,许多形式的RAM可用,例如静态随机存取存储器(SRAM,Static Random Access Memory)、同步静态随机存取存储器(SSRAM,Synchronous Static Random Access Memory)、动态随机存取存储器(DRAM,Dynamic Random Access Memory)、同步动态随机存取存储器(SDRAM,SynchronousDynamic Random Access Memory)、双倍数据速率同步动态随机存取存储器(DDRSDRAM,Double Data Rate Synchronous Dynamic Random Access Memory)、增强型同步动态随机存取存储器(ESDRAM,Enhanced Synchronous Dynamic Random Access Memory)、同步连接动态随机存取存储器(SLDRAM,SyncLink Dynamic Random Access Memory)、直接内存总线随机存取存储器(DRRAM,Direct Rambus Random Access Memory)。本发明实施例描述的存储器311旨在包括但不限于这些和任意其它适合类型的存储器。Wherein, the memory 311 may be a volatile memory or a non-volatile memory, and may also include both volatile and non-volatile memories. Among them, the non-volatile memory can be read-only memory (ROM, Read Only Memory), programmable read-only memory (PROM, Programmable Read-Only Memory), erasable programmable read-only memory (EPROM, Erasable Programmable Read-Only Memory) Only Memory), Electrically Erasable Programmable Read-Only Memory (EEPROM, Electrically Erasable Programmable Read-Only Memory), Magnetic Random Access Memory (FRAM, ferromagnetic random access memory), Flash Memory (Flash Memory), Magnetic Surface Memory , CD, or CD-ROM (Compact Disc Read-Only Memory); magnetic surface storage can be disk storage or tape storage. The volatile memory may be random access memory (RAM, Random Access Memory), which is used as an external cache. By way of illustration and not limitation, many forms of RAM are available, such as Static Random Access Memory (SRAM, Static Random Access Memory), Synchronous Static Random Access Memory (SSRAM, Synchronous Static Random Access Memory), Dynamic Random Access Memory Memory (DRAM, Dynamic Random Access Memory), Synchronous Dynamic Random Access Memory (SDRAM, Synchronous Dynamic Random Access Memory), Double Data Rate Synchronous Dynamic Random Access Memory (DDRSDRAM, Double Data Rate Synchronous Dynamic Random Access Memory), Enhanced Synchronous Dynamic Random Access Memory (ESDRAM, Enhanced Synchronous Dynamic Random Access Memory), Synchronous Connection Dynamic Random Access Memory (SLDRAM, SyncLink Dynamic Random Access Memory), Direct Memory Bus Random Access Memory (DRRAM, Direct Rambus Random Access Memory) . The memory 311 described in the embodiment of the present invention is intended to include but not limited to these and any other suitable types of memory.

本发明实施例中的存储器311用于存储各种类型的数据以支持该装置的操作。这些数据的示例包括:用于在该装置上操作的任何计算机程序,如操作系统和应用程序;联系人数据;电话簿数据;消息;图片;视频等。其中,操作系统包含各种系统程序,例如框架层、核心库层、驱动层等,用于实现各种基础业务以及处理基于硬件的任务。应用程序可以包含各种应用程序,例如媒体播放器(Media Player)、浏览器(Browser)等,用于实现各种应用业务。这里,实现本发明实施例方法的程序可以包含在应用程序中。The memory 311 in the embodiment of the present invention is used to store various types of data to support the operation of the device. Examples of such data include: any computer programs used to operate on the device, such as operating systems and applications; contacts data; phonebook data; messages; pictures; videos, etc. Among them, the operating system includes various system programs, such as framework layer, core library layer, driver layer, etc., for realizing various basic services and processing tasks based on hardware. The application program may include various application programs, such as a media player (Media Player), a browser (Browser), etc., for implementing various application services. Here, the program for realizing the method of the embodiment of the present invention may be included in the application program.

基于前述实施例相同的发明构思,本实施例还提供了一种计算机存储介质,所述计算机存储介质中存储有计算机程序,计算机存储介质可以是磁性随机存取存储器(FRAM,ferromagnetic random access memory)、只读存储器(ROM,Read Only Memory)、可编程只读存储器(PROM,Programmable Read-Only Memory)、可擦除可编程只读存储器(EPROM,Erasable Programmable Read-Only Memory)、电可擦除可编程只读存储器(EEPROM,Electrically Erasable Programmable Read-Only Memory)、快闪存储器(FlashMemory)、磁表面存储器、光盘、或只读光盘(CD-ROM,Compact Disc Read-Only Memory)等存储器;也可以是包括上述存储器之一或任意组合的各种设备,如移动电话、计算机、平板设备、个人数字助理等。所述计算机存储介质中存储的计算机程序被处理器运行时,实现应用于上述装置的所述微服务发布方法。所述计算机程序被处理器执行时实现的具体步骤流程请参考图1-3所示实施例的描述,在此不再赘述。Based on the same inventive concept of the foregoing embodiments, the present embodiment also provides a computer storage medium in which a computer program is stored, and the computer storage medium may be a magnetic random access memory (FRAM, ferromagnetic random access memory) , Read-Only Memory (ROM, Read Only Memory), Programmable Read-Only Memory (PROM, Programmable Read-Only Memory), Erasable Programmable Read-Only Memory (EPROM, Erasable Programmable Read-Only Memory), Electrically Erasable Programmable read-only memory (EEPROM, Electrically Erasable Programmable Read-Only Memory), flash memory (FlashMemory), magnetic surface memory, optical disc, or memory such as CD-ROM (Compact Disc Read-Only Memory); also It may be various devices including one or any combination of the above-mentioned memories, such as mobile phones, computers, tablet devices, personal digital assistants, and the like. When the computer program stored in the computer storage medium is run by the processor, the microservice publishing method applied to the above-mentioned device is realized. Please refer to the description of the embodiment shown in FIGS. 1-3 for the specific steps and procedures implemented when the computer program is executed by the processor, and details are not repeated here.

以上所述实施例的各技术特征可以进行任意的组合,为使描述简洁,未对上述实施例中的各个技术特征所有可能的组合都进行描述,然而,只要这些技术特征的组合不存在矛盾,都应当认为是本说明书记载的范围。The technical features of the above-mentioned embodiments can be combined arbitrarily. To make the description concise, all possible combinations of the technical features in the above-mentioned embodiments are not described. However, as long as there is no contradiction in the combination of these technical features, should be considered as within the scope of this specification.

在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,除了包含所列的那些要素,而且还可包含没有明确列出的其他要素。As used herein, the terms "comprises", "comprises" or any other variation thereof are intended to cover a non-exclusive inclusion of elements other than those listed and also other elements not expressly listed.

以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以所述权利要求的保护范围为准。The above is only a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Anyone skilled in the art can easily think of changes or substitutions within the technical scope disclosed in the present invention. Should be covered within the protection scope of the present invention. Therefore, the protection scope of the present invention should be determined by the protection scope of the claims.

Claims (10)

1. A micro-service release method is characterized in that the method is applied to a micro-service release system, and the micro-service release system comprises a management end and at least one client end; the method comprises the following steps:
the management terminal responds to a micro-service issuing instruction which is generated on a management interface and aims at a target client, and sends a micro-service issuing request to the client corresponding to the target client, wherein the micro-service issuing request comprises file storage information of the target micro-service to be issued;
and after receiving the micro-service release request, the client acquires a target micro-service file according to the file storage information of the target micro-service, and executes service release operation based on the target micro-service file.
2. The method of claim 1, wherein the managing end responds to the micro-service for the target client issuing the instruction generated in the management interface, and further comprising:
and the management terminal acquires user login information and displays service operation items with operation authority of the user on the management interface according to the user login information.
3. The method of claim 1, wherein before the client receives the microservice publishing request, the method further comprises:
the client receives the target micro service file sent by the management terminal, carries out authority verification based on a key pair issued by the management terminal in advance, stores the target micro service file if the verification is passed, and sends file storage information of the target micro service file to the management terminal;
and the management terminal receives and records the file storage information of the target micro-service file.
4. The method according to any one of claims 1 to 3, further comprising:
the client executes the preposed operation and/or the postpositive operation of service release aiming at the target micro service; the pre-operation comprises at least one of: backing up a current micro service file corresponding to the target micro service, stopping the target micro service and emptying cache data; the post-operation comprises at least one of: the output service issues a reminding message; and refreshing the cached data.
5. The method according to any one of claims 1 to 3, further comprising:
and the management terminal periodically sends heartbeat packets to the client terminal and carries out abnormity detection on the client terminal according to the receiving condition of the heartbeat packets.
6. A micro-service publishing method is applied to a management end, and is characterized by comprising the following steps:
issuing an instruction in response to the micro-service for the target customer generated at the management interface;
and sending a micro-service publishing request to a client corresponding to the target client, wherein the micro-service publishing request comprises file storage information of the target micro-service to be published.
7. A micro-service issuing method is applied to a client, and is characterized by comprising the following steps:
receiving a micro-service release request sent by a management end; the micro-service publishing request comprises file storage information of a target micro-service to be published;
and acquiring a target micro-service file according to the file storage information of the target micro-service, and executing service release operation based on the target micro-service file.
8. A micro-service release system is characterized by comprising a management end and at least one client end; wherein the management end and the client end are respectively used for executing the corresponding micro-service publishing method of any one of claims 1-7.
9. A microservice publishing device, comprising: a processor and a memory storing a computer program which, when executed by the processor, implement the steps of the microservice publishing method of any of claims 1 to 7.
10. A computer-readable storage medium, characterized in that a computer program is stored which, when being executed by a processor, carries out the steps of the microservice publishing method according to any one of claims 1 to 7.
CN202211091371.6A 2022-09-07 2022-09-07 Micro-service issuing method, device and system and computer readable storage medium Active CN115955506B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211091371.6A CN115955506B (en) 2022-09-07 2022-09-07 Micro-service issuing method, device and system and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211091371.6A CN115955506B (en) 2022-09-07 2022-09-07 Micro-service issuing method, device and system and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN115955506A true CN115955506A (en) 2023-04-11
CN115955506B CN115955506B (en) 2024-12-24

Family

ID=87281439

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211091371.6A Active CN115955506B (en) 2022-09-07 2022-09-07 Micro-service issuing method, device and system and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN115955506B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020253347A1 (en) * 2019-06-17 2020-12-24 深圳前海微众银行股份有限公司 Container cluster management method, device and system
CN112751916A (en) * 2020-12-28 2021-05-04 中国科学院软件研究所 Data publishing-subscribing method and system for micro-service governance
US20210248205A1 (en) * 2020-02-07 2021-08-12 Citrix Systems, Inc. Technology agnostic ui microservices
CN114064054A (en) * 2021-11-23 2022-02-18 金蝶蝶金云计算有限公司 Micro-service publishing method, device, equipment and storage medium
CN114398061A (en) * 2022-01-14 2022-04-26 中国建设银行股份有限公司 Publishing method, device, equipment and storage medium
CN114968276A (en) * 2021-02-22 2022-08-30 腾讯科技(深圳)有限公司 Application program deployment method and device, computer equipment and storage medium
CN114968286A (en) * 2022-06-14 2022-08-30 中国电信股份有限公司 Microservice publishing method, device, storage medium and electronic device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020253347A1 (en) * 2019-06-17 2020-12-24 深圳前海微众银行股份有限公司 Container cluster management method, device and system
US20210248205A1 (en) * 2020-02-07 2021-08-12 Citrix Systems, Inc. Technology agnostic ui microservices
CN112751916A (en) * 2020-12-28 2021-05-04 中国科学院软件研究所 Data publishing-subscribing method and system for micro-service governance
CN114968276A (en) * 2021-02-22 2022-08-30 腾讯科技(深圳)有限公司 Application program deployment method and device, computer equipment and storage medium
CN114064054A (en) * 2021-11-23 2022-02-18 金蝶蝶金云计算有限公司 Micro-service publishing method, device, equipment and storage medium
CN114398061A (en) * 2022-01-14 2022-04-26 中国建设银行股份有限公司 Publishing method, device, equipment and storage medium
CN114968286A (en) * 2022-06-14 2022-08-30 中国电信股份有限公司 Microservice publishing method, device, storage medium and electronic device

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
FERNANDO H. L. BUZATO等: ""Efficient Resources Utilization by Different Microservices Deployment Models"", 《IEEE》, 29 November 2018 (2018-11-29) *
屈艺华: ""基于动态权重的微服务负载均衡研究与实现"", 《中国优秀硕士学位论文全文数据库 信息科技辑》, 15 March 2022 (2022-03-15) *

Also Published As

Publication number Publication date
CN115955506B (en) 2024-12-24

Similar Documents

Publication Publication Date Title
EP4047487B1 (en) File storage method, terminal, and storage medium
JP6216886B2 (en) Technology for managing unsynchronized content items on unlinked devices
US8645672B2 (en) Configuring a computer system for a software package installation
CN108196915B (en) Code processing method and device based on application container engine and storage medium
CA2605120C (en) Method and system for hosting and executing a component application
US9253265B2 (en) Hot pluggable extensions for access management system
CN104572357A (en) Backup and recovery method for HDFS (Hadoop distributed filesystem)
US20170193034A1 (en) Object data updating method and apparatus in an object storage system
JP6266588B2 (en) Synchronizing local and remote data
JP2009508235A (en) Data distribution method for mobile devices
CN103036986A (en) Update notification provided on distributed application object
CN109522751B (en) Access right control method and device, electronic equipment and computer readable medium
US20200389402A1 (en) Augmenting functionality in distributed systems with payload headers
CN102323884A (en) Web service container and method for issuing multiple Web services
US11226979B2 (en) Data system with asynchronous batch processing
CN114003439B (en) Data backup method, device, equipment and storage medium
US20170206121A1 (en) Monitoring components in a service framework
JP2007193793A (en) System, method and program for communication with database client user
CN111338834B (en) Data storage method and device
CN112615929A (en) Method and equipment for pushing messages
CN114661594A (en) A method, apparatus, medium and program product for automated testing
CN115955506A (en) Micro-service publishing method, device, system and computer readable storage medium
US10956413B2 (en) Action set translation
US9059992B2 (en) Distributed mobile enterprise application platform
US10728323B2 (en) Method and apparatus for operating infrastructure layer in cloud computing architecture

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
GR01 Patent grant
GR01 Patent grant