CN115022318B - Message publishing method and system based on micro-service architecture - Google Patents

Message publishing method and system based on micro-service architecture Download PDF

Info

Publication number
CN115022318B
CN115022318B CN202210598672.1A CN202210598672A CN115022318B CN 115022318 B CN115022318 B CN 115022318B CN 202210598672 A CN202210598672 A CN 202210598672A CN 115022318 B CN115022318 B CN 115022318B
Authority
CN
China
Prior art keywords
message
service
data
center
node
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202210598672.1A
Other languages
Chinese (zh)
Other versions
CN115022318A (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.)
Beijing Yunyou Interactive Network Technology Co ltd
Online Tuyoo Beijing Technology Co ltd
Original Assignee
Beijing Yunyou Interactive Network Technology Co ltd
Online Tuyoo Beijing 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 Beijing Yunyou Interactive Network Technology Co ltd, Online Tuyoo Beijing Technology Co ltd filed Critical Beijing Yunyou Interactive Network Technology Co ltd
Priority to CN202210598672.1A priority Critical patent/CN115022318B/en
Publication of CN115022318A publication Critical patent/CN115022318A/en
Application granted granted Critical
Publication of CN115022318B publication Critical patent/CN115022318B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/141Setup of application sessions
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/50Reducing energy consumption in communication networks in wire-line communication networks, e.g. low power modes or reduced link rate

Abstract

The application provides a message publishing method and system based on a micro-service architecture, wherein the method comprises the steps of setting a distributed message center, setting message nodes in a message service, and monitoring and registering the message center with subscription requirements on the message nodes in the message service; the micro-service sends the generated message data to a message center, and the message center carries out corresponding processing according to the type of the message data; when the message center monitors a preset event on the message node, message data is acquired from the message node, and the acquired message data is further sent to a client which is connected with the message center. By the method of the embodiment of the application, the business logic of the micro-service is decoupled from the message processing, and various delivery modes of the message are realized by using the message center. Compared with the prior art, the method has the advantages that the development difficulty is reduced and the development efficiency of projects is improved by using buses or message queues.

Description

Message publishing method and system based on micro-service architecture
Technical Field
The present application relates to the field of computer technologies, and in particular, to a method and system for publishing a message based on a micro-service architecture, a computing device, and a computer readable storage medium.
Background
Micro-services are a style of software architecture that combines complex large-scale applications in a modular fashion based on small functional blocks that focus on single responsibilities and functions. Among these, messaging is an important technology that must be considered in a micro-service architecture. Under the existing micro-service architecture, the message transmission scheme mostly adopts a bus and message queue mode, and the development efficiency of the mode is low, so that a great deal of effort of a developer is required to be consumed when the problems of repeated consumption of messages, message accumulation, message loss and the like are solved.
Disclosure of Invention
In view of the above, embodiments of the present application provide a method and a system for publishing a message based on a micro-service architecture, a computing device and a computer readable storage medium, so as to solve the technical defects existing in the prior art.
According to a first aspect of an embodiment of the present application, there is provided a method for publishing a message based on a micro service architecture, including:
setting a distributed message center comprising a plurality of nodes;
setting a Zookeeper message service, and setting a message node in the Zookeeper message service;
monitoring and registering a message center with subscription requirements for the message nodes in a Zookeeper message service;
the micro-service receives a task request, generates message data according to the task request, and sends the message data to a first message center;
the first message center issues message data to the message node;
when other message centers monitor the preset event of the message node, the message data is acquired from the message node, and then the acquired message data is sent to a client which is connected with the message center.
According to a second aspect of an embodiment of the present application, there is provided a micro service architecture-based message publishing system, including:
message nodes deployed in a Zookeeper message service;
the micro service unit is used for receiving the task request execution service logic of the client and generating message data;
the distributed message center is used for receiving the message data generated by the micro-service unit and sending the message data to the message node;
the distributed message center also comprises a monitor, which is used for monitoring the message nodes subscribed by the message center; when the monitor monitors a preset event of the message node, acquiring message data from the message node and then sending the message data to a client which establishes connection with the message center;
the Zookeeper message service also comprises a monitor registration unit for registering the monitor.
According to a third aspect of embodiments of the present application, there is provided a computing device comprising a memory, a processor and computer instructions stored on the memory and executable on the processor, the processor implementing the steps of the micro-service architecture based message distribution method when executing the instructions.
According to a fourth aspect of embodiments of the present application, there is provided a computer readable storage medium storing computer instructions which, when executed by a processor, implement the steps of the micro-service architecture based message publishing method.
In the embodiment of the application, in order to realize various types of message notification in a micro-service architecture, a distributed message center is arranged in the micro-service architecture, and a link with a client is established; when a new message is generated, the message queue is not used any more and is sent to a message center, and the message center realizes a corresponding message sending function according to the type of the message; further, in order to notify the message to all clients of the micro service, the message center sends the message data to the message service realized by the Zookeeper, the node of the Zookeeper is utilized to store the message data, meanwhile, the monitoring and notification mechanism of the Zookeeper is utilized to realize the monitoring of the new message, and when the data change occurs, the distributed message center acquires the specific content of the message according to the notification sent by the Zookeeper, and then notifies all clients. By the method of the embodiment of the application, not only the business logic of the micro-service is decoupled from the message processing, but also various delivery modes of the message are creatively realized by using the message center. Compared with the prior art, the method has the advantages that the development difficulty is reduced and the development efficiency of projects is improved by using buses or message queues; the message touch function is further realized, a Websocket protocol is used between the micro-service and the client, the message is ensured to be received by the client, and a complete, efficient and concise message release system is realized.
Drawings
Fig. 1 is a schematic diagram of a system architecture of a message publishing method based on a micro service architecture according to an embodiment of the present application;
FIG. 2 is a flow chart of a message publishing method based on a micro-service architecture according to an embodiment of the present application;
Detailed Description
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present application. The present application may be embodied in many other forms than those herein described, and those skilled in the art will readily appreciate that the present application may be similarly embodied without departing from the spirit or essential characteristics thereof, and therefore the present application is not limited to the specific embodiments disclosed below.
The terminology used in the one or more embodiments of the application is for the purpose of describing particular embodiments only and is not intended to be limiting of the one or more embodiments of the application. As used in one or more embodiments of the application and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used in one or more embodiments of the present application refers to and encompasses any or all possible combinations of one or more of the associated listed items.
It should be understood that, although the terms first, second, etc. may be used in one or more embodiments of the application to describe various information, these information should not be limited by these terms. These terms are only used to distinguish one type of information from another. For example, a first may also be referred to as a second, and similarly, a second may also be referred to as a first, without departing from the scope of one or more embodiments of the application. The word "if" as used herein may be interpreted as "responsive to a determination" depending on the context.
In the present application, a message publishing method and system, a computing device and a computer readable storage medium based on a micro-service architecture are provided, and the following embodiments are described in detail one by one.
The following describes exemplary applications of the message processing device provided by the embodiments of the present application, where the devices involved in the message publishing method and system provided by the embodiments of the present application may be various types of user terminals such as notebook computers, tablet computers, desktop computers, set-top boxes, mobile devices (for example, mobile phones, portable music players, personal digital assistants, dedicated message devices, and portable game devices), and may also be servers.
Referring to fig. 1, fig. 1 is a schematic diagram of an architecture of a message publishing method based on a micro service architecture according to an embodiment of the present application, in fig. 1, a client 200 is connected to a gateway device 400 through a network 300, the gateway device 400 is connected to a distributed message center 500 and a micro service cluster 600, and the distributed message center 500 is connected to a message service server 700. Wherein the network 300 may be a wide area network or a local area network, or a combination of both.
In practical applications, the client 200 may be various types of user terminals such as a smart phone, a tablet computer, a notebook computer, and the like, and may also be a desktop computer, a media player, a game console, a television, or a combination of any two or more of these data processing devices; gateway device 400, distributed message center 500, micro service cluster 600, and message service server 700 may be based on separate physical servers, may be based on a server cluster or distributed system of multiple physical servers, and may be based on cloud servers providing basic cloud computing services.
In some embodiments, as shown in FIG. 1, an application on a client 200 sends a task request to a gateway device 400 over a network 300. The gateway device 400 receives the task request sent by the client, determines the micro service corresponding to the task request and the target server corresponding to the micro service, and forwards the task request to the target server; the target server corresponding to the micro-service processes the task carried in the task request and issues the related message generated by executing the task logic to the distributed message center 500; the distributed message center 500 processes the message according to the type of the message, and further forwards the required message data to the message server 700; the message service server 700 receives message data and notifies other distributed message centers subscribed to the message, and the message centers acquire the subscribed message data and then return the subscribed message data to the client 200 connected thereto through the gateway apparatus 400.
Next, referring to fig. 2, fig. 2 shows a flowchart of a message publishing method based on a micro service architecture according to an embodiment of the present application, including steps 202 to 210.
Step 202: setting a distributed message center comprising a plurality of nodes; and setting a Zookeeper message service in which message nodes are set.
In this step, a distributed message center including a plurality of nodes is set in the micro-service architecture, and the distributed message center establishes network links with a plurality of clients respectively, so as to implement transmission and reception of messages.
Meanwhile, a message service is implemented using a Zookeeper, and any software having the same function as the Zookeeper may be used to implement the message service. At least one message node is arranged in the Zookeeper message service, and the message node is used for receiving and storing message data sent by the distributed message center.
Step 204: a plurality of message centers with subscription requirements for the message nodes are monitored and registered in a Zookeeper.
In one possible implementation, each message center is both a publisher and a subscriber of a message.
All message centers with subscription requirements on the message nodes are monitored and registered in a Zookeeper message service, so that the monitoring of the message nodes is realized.
Further, when the message center monitors and registers on the Zookeeper message service, the message center with the subscription requirement on the message node is registered in a monitor list of the Zookeeper message service, so as to complete the monitoring of the message center on a preset path of the message node needing to be subscribed. For example, a listener is created in the message center 502-504 that has a subscription requirement for the message node 702, and registered in a listener list of the Zookeeper message service to effect listening to a preset path\event on the message node.
Further, when the message center monitors a preset path of a message node to be subscribed, monitoring a preset event on the preset path; the preset event includes, but is not limited to, a change of data of a preset path or a change of data of a child node under the preset path.
When a preset event occurs in the Zookeeper message service, monitoring is triggered, and an event notification is sent to a message center which monitors the event.
Step 206: the micro-service receives the task request, generates message data according to the task request, and sends the message data to the first message center.
In this step, the client accesses, through the gateway, the micro services provided by each server in the micro service system to which the application belongs, in which the gateway device may also be referred to as an API gateway. In practical application, the task request carries routing metadata for indicating routing information, and the API gateway obtains a target micro-service to be accessed by the task request and a service instance corresponding to the target micro-service through the routing metadata, so as to determine a micro-service server capable of processing the task request.
In one possible implementation, the gateway device is implemented by springcloud gateway, implementing the load balancing function of the client task request.
Further, after the micro-service receives the task request sent by the client, the service logic is executed according to the task information in the request.
Meanwhile, the micro service generates related message data according to a process of executing the business logic, and transmits the message data to one of message centers connected with the micro service. For example, the micro service 604 generates a contract approval process according to the request of the user, and when the approval process is generated, the relevant user in the micro service can be notified, and the micro service 604 can uniformly send the relevant message of the approval process to the message center 504 connected with the relevant user in a mail mode or the like to remind the relevant user.
Specifically, the micro service 604 sends message data to the message center 504 via inter-service calls.
Step 208: the first message center publishes the message data to the message nodes.
In one possible implementation, the message center publishes the received message data to a message node of the Zookeeper message service.
Further, when the Zookeeper message service receives the message data sent by the message center, the message data is stored in a preset path on the message node.
Further, when the message node of the Zookeeper message service finishes receiving the message data, a corresponding event is generated. For example, when the message data is saved to the path \events, a NodeDataChanged event is generated.
In another possible implementation, after receiving the message data, the message center first performs type judgment on the message data, and performs different processing according to different message types. For example, when the type of the message is mail type, the message center directly processes the message to finish sending the mail without notifying the message node; when the type of the message is a communication tool message, the message center forwards the message to a communication service; when the type of the message is a broadcast type, the message center publishes message data to a Zookeeper message service.
Those skilled in the art will appreciate that the message types described above are exemplary only and not exhaustive, and that those skilled in the art may set different message types and may take different processing manners for different message types according to actual needs.
Step 210: when other message centers monitor the preset event of the message node, the message data is acquired from the message node, and then the acquired message data is sent to the client which establishes connection with the message center.
In an embodiment of the application, each message center is both a publisher and a subscriber of a message.
In step 204, the monitoring registration of the plurality of distributed message centers in the message service has been completed, i.e. the message center has realized monitoring of events on the preset path of the subscribed message nodes. Thus, when a message node receives message data and triggers a corresponding event, the message service triggers interception, sending a notification to the distributed message nodes subscribed to the message node.
For example, the micro service 602 publishes the generated message data to the message center 502 connected thereto, and the message is a broadcast message, which needs to be notified to all clients of the micro service 602. Thus, the message center 502 sends the message data to the message node\event path of the Zookeeper, generates a node data change event, and the Zookeeper monitors the occurrence of the event and sends a notification to all message centers registered for event monitoring under the path. When the message center receives the notification, it further obtains message data from the pre-set path of the subscribed message node 702.
Further, the message center generates a message based on the acquired message data, and notifies all clients connected to the micro service 602 of the message through the gateway device, thereby completing the delivery of the message.
Further, the message notification is sent based on websocket protocol; if the client side confirms the received message, the message is indicated to be reached, and the occurrence of the message is completed; if the message is not reached, the message center uniformly and repeatedly sends message data when the client logs in, so that the loss of the message is avoided.
In the above embodiment of the present application, in order to implement various types of message notification in the micro-service architecture, a distributed message center is set in the micro-service architecture, and a link with a client is established; when a new message is generated, the message queue is not used any more and is sent to a message center, and the message center realizes a corresponding message sending function according to the type of the message; further, in order to notify the message to all clients, the message center sends the message data to the message service realized by the Zookeeper, the node of the Zookeeper is utilized to store the message data, and meanwhile, the monitoring and notification mechanism of the Zookeeper is used to realize the monitoring of new messages, so that the distributed message center monitors the change event of the message node in the Zookeeper, and when the data change occurs, the specific content of the message is obtained according to the notification sent by the Zookeeper, and then the message is notified to all clients. By the method of the embodiment of the application, the business logic of the micro-service is decoupled from the message processing, a distributed message center is creatively arranged, and various delivery modes of the message are realized; compared with the prior art, the method has the advantages that the development difficulty is reduced and the development efficiency of projects is improved by using buses or message queues; on the basis, the message touch function is further realized, and a Websocket protocol is used between a message center and a client, so that the message is ensured to be received by the client, and a complete, efficient and concise message release system is realized.
Corresponding to the method embodiment, the application also provides an embodiment of a message publishing system based on a micro-service architecture, which comprises the following steps:
message nodes deployed in a Zookeeper message service;
the micro service unit is used for receiving the task request execution service logic of the client and generating message data;
the distributed message center is used for receiving the message data generated by the micro-service unit and sending the message data to the message node;
the distributed message center also comprises a monitor, which is used for monitoring the message nodes subscribed by the message center; when the monitor monitors a preset event of the message node, acquiring message data from the message node and then sending the message data to a client which establishes connection with the message center;
the Zookeeper message service also comprises a monitor registration unit for registering the monitor.
The above is an exemplary scheme of a message publishing system based on a micro-service architecture in this embodiment. It should be noted that, the technical solution of the system and the technical solution of the message publishing method based on the micro-service architecture belong to the same concept, and details of the technical solution of the system, which are not described in detail, can be referred to the description of the technical solution of the message publishing method based on the micro-service architecture.
In an embodiment of the present application, there is further provided a computing device including a memory, a processor, and computer instructions stored on the memory and executable on the processor, where the processor implements the steps of the message publishing method based on a microservice architecture when executing the instructions.
The foregoing is a schematic illustration of a computing device of this embodiment. It should be noted that, the technical solution of the computing device and the technical solution of the message publishing method based on the micro-service architecture belong to the same concept, and details of the technical solution of the computing device, which are not described in detail, can be referred to the description of the technical solution of the message publishing method based on the micro-service architecture.
An embodiment of the present application also provides a computer-readable storage medium storing computer instructions that, when executed by a processor, implement the steps of a message publishing method based on a micro-service architecture as described above.
The above is an exemplary version of a computer-readable storage medium of the present embodiment. It should be noted that, the technical solution of the storage medium and the technical solution of the message publishing method based on the micro-service architecture belong to the same concept, and details of the technical solution of the storage medium which are not described in detail can be referred to the description of the technical solution of the message publishing method based on the micro-service architecture.
The foregoing describes certain embodiments of the present application. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims can be performed in a different order than in the embodiments and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
The computer instructions include computer program code that may be in source code form, object code form, executable file or some intermediate form, etc. The computer readable medium may include: any entity or system capable of carrying the computer program code, a recording medium, a U disk, a removable hard disk, a magnetic disk, an optical disk, a computer Memory, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), an electrical carrier signal, a telecommunications signal, a software distribution medium, and so forth. It should be noted that the computer readable medium contains content that can be appropriately scaled according to the requirements of jurisdictions in which such content is subject to legislation and patent practice, such as in certain jurisdictions in which such content is subject to legislation and patent practice, the computer readable medium does not include electrical carrier signals and telecommunication signals.
It should be noted that, for the sake of simplicity of description, the foregoing method embodiments are all expressed as a series of combinations of actions, but it should be understood by those skilled in the art that the present application is not limited by the order of actions described, as some steps may be performed in other order or simultaneously in accordance with the present application. Further, those skilled in the art will appreciate that the embodiments described in the specification are all preferred embodiments, and that the acts and modules referred to are not necessarily all required for the present application.
In the foregoing embodiments, the descriptions of the embodiments are emphasized, and for parts of one embodiment that are not described in detail, reference may be made to the related descriptions of other embodiments.
The preferred embodiments of the application disclosed above are intended only to assist in the explanation of the application. Alternative embodiments are not intended to be exhaustive or to limit the application to the precise form disclosed. Obviously, many modifications and variations are possible in light of the above teaching. The embodiments were chosen and described in order to best explain the principles of the application and the practical application, to thereby enable others skilled in the art to best understand and utilize the application. The application is limited only by the claims and the full scope and equivalents thereof.

Claims (10)

1. A message publishing method based on a micro-service architecture, comprising:
setting a distributed message center comprising a plurality of nodes;
setting a Zookeeper message service, and setting a message node in the Zookeeper message service;
monitoring and registering a message center with subscription requirements for the message nodes in a Zookeeper message service;
the micro-service receives a task request, generates message data according to the task request, and sends the message data to a first message center; the first message center is a node of the distributed message center;
the first message center issues message data to the message node;
when other message centers monitor the preset event of the message node, the message data is acquired from the message node, and then the acquired message data is sent to a client which is connected with the message center.
2. The method of claim 1, wherein the message center is both a publisher and a subscriber of a message.
3. The method of claim 1, wherein the listening registration of a message center having a subscription requirement for the message node in a Zookeeper message service comprises:
creating a monitor in a message center with subscription requirements for the message nodes, and registering the monitor in a monitor list of a Zookeeper message service;
and the monitor monitors the preset path of the message node.
4. The method of claim 1, wherein a message center publishing the message data to the message node comprises:
and updating the data under the preset path of the message node according to the content of the message data.
5. The method of claim 1, wherein obtaining message data from the message node when other message centers monitor a preset event of the message node comprises:
and when the message center monitors a data change event of a preset path under the message node, receiving message data sent by a Zookeeper message service.
6. The method of claim 5, wherein the data change event of the preset path under the message node includes, but is not limited to:
and changing the data under the preset path or the child node data under the preset path.
7. The method of claim 1, wherein the sending the acquired message data to a client having established a connection with the message center comprises:
message data is sent based on websocket protocol;
if the client side successfully receives and confirms the received message, the message touch is completed; and if the message is not reached, uniformly and repeatedly sending message data when the client logs in.
8. A micro-service architecture-based message publishing system, comprising:
message nodes deployed in a Zookeeper message service;
the micro service unit is used for receiving the task request execution service logic of the client and generating message data;
the distributed message center is used for receiving the message data generated by the micro-service unit and sending the message data to the message node;
the distributed message center also comprises a monitor, which is used for monitoring the message nodes subscribed by the message center; when the monitor monitors a preset event of the message node, acquiring message data from the message node and then sending the message data to a client which establishes connection with the message center;
the Zookeeper message service also comprises a monitor registration unit for registering the monitor.
9. A computing device comprising a memory, a processor, and computer instructions stored on the memory and executable on the processor, wherein the processor, when executing the instructions, implements the steps of the method of any of claims 1-7.
10. A computer readable storage medium storing computer instructions which, when executed by a processor, implement the steps of the method of any one of claims 1 to 7.
CN202210598672.1A 2022-05-30 2022-05-30 Message publishing method and system based on micro-service architecture Active CN115022318B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210598672.1A CN115022318B (en) 2022-05-30 2022-05-30 Message publishing method and system based on micro-service architecture

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210598672.1A CN115022318B (en) 2022-05-30 2022-05-30 Message publishing method and system based on micro-service architecture

Publications (2)

Publication Number Publication Date
CN115022318A CN115022318A (en) 2022-09-06
CN115022318B true CN115022318B (en) 2023-08-29

Family

ID=83071502

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210598672.1A Active CN115022318B (en) 2022-05-30 2022-05-30 Message publishing method and system based on micro-service architecture

Country Status (1)

Country Link
CN (1) CN115022318B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115834691B (en) * 2023-02-13 2023-06-30 美云智数科技有限公司 Distributed publishing and subscribing method and device, electronic equipment and storage medium
CN116662022B (en) * 2023-08-02 2024-02-20 苏州浪潮智能科技有限公司 Distributed message processing method, system, device, communication equipment and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109714188A (en) * 2018-11-02 2019-05-03 中国平安人寿保险股份有限公司 Configuration data management method, equipment and storage medium based on Zookeeper
CN110162405A (en) * 2019-05-31 2019-08-23 福建南威软件有限公司 A kind of method and system of automated service discovery and load balancing
CN111813576A (en) * 2020-07-08 2020-10-23 北京思特奇信息技术股份有限公司 Business service management method and system based on micro-service
CN112527472A (en) * 2020-11-18 2021-03-19 北京邮电大学 Distributed transaction processing system and method based on microservice
CN112732456A (en) * 2020-12-15 2021-04-30 京东数字科技控股股份有限公司 Micro-service calling method and device, electronic equipment and storage medium
CN113138995A (en) * 2021-05-13 2021-07-20 中国工商银行股份有限公司 Update notification method and device in micro-service cluster
CN113794597A (en) * 2021-09-15 2021-12-14 中国联合网络通信集团有限公司 Alarm information processing method, system, electronic device and storage medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3543853A1 (en) * 2018-03-20 2019-09-25 Siemens Healthcare GmbH Providing microservice information

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109714188A (en) * 2018-11-02 2019-05-03 中国平安人寿保险股份有限公司 Configuration data management method, equipment and storage medium based on Zookeeper
CN110162405A (en) * 2019-05-31 2019-08-23 福建南威软件有限公司 A kind of method and system of automated service discovery and load balancing
CN111813576A (en) * 2020-07-08 2020-10-23 北京思特奇信息技术股份有限公司 Business service management method and system based on micro-service
CN112527472A (en) * 2020-11-18 2021-03-19 北京邮电大学 Distributed transaction processing system and method based on microservice
CN112732456A (en) * 2020-12-15 2021-04-30 京东数字科技控股股份有限公司 Micro-service calling method and device, electronic equipment and storage medium
CN113138995A (en) * 2021-05-13 2021-07-20 中国工商银行股份有限公司 Update notification method and device in micro-service cluster
CN113794597A (en) * 2021-09-15 2021-12-14 中国联合网络通信集团有限公司 Alarm information processing method, system, electronic device and storage medium

Also Published As

Publication number Publication date
CN115022318A (en) 2022-09-06

Similar Documents

Publication Publication Date Title
CN115022318B (en) Message publishing method and system based on micro-service architecture
CN108449410B (en) Message management method, system and related device in cloud platform
US9985917B2 (en) Managing notification messages
US10454795B1 (en) Intermediate batch service for serverless computing environment metrics
CN111711663A (en) Processing method and device for publishing and subscribing services and electronic equipment
CN107888787B (en) Method and device for processing media access request
US10063663B2 (en) Subscribing to multiple resources through a common connection
CN111163130A (en) Network service system and data transmission method thereof
US8832215B2 (en) Load-balancing in replication engine of directory server
CN111200606A (en) Deep learning model task processing method, system, server and storage medium
EP2172900A1 (en) Community generation support system, community generation support method, and community generation support program
US10498617B1 (en) System, method, and computer program for highly available and scalable application monitoring
CN113612825A (en) Internet of things message middleware server cluster expansion method and system
WO2023159879A1 (en) Message processing method and system, storage medium, and electronic device
CN106408793B (en) A kind of Service Component sharing method and system suitable for ATM business
CN114885020A (en) Data transmission system and method
CN104539450A (en) Website operation activity processing system, method and device
CN110855764A (en) Network traffic scheduling method and device and electronic equipment
CN111726280A (en) Instant message transmission method and device, electronic equipment and storage medium
CN110995890A (en) Domain name request scheduling method and device
CN114531946A (en) Data pushing method, data pushing system and computer program product
US11490247B2 (en) Bulk data processing system
CN114978702B (en) Account management method, platform and system, computing device and readable storage medium
Fernando Designing Enterprise Platforms with Event-Driven Architecture Patterns
CN116954934A (en) Message processing method, device, equipment, system and readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant