CN114116259A - Message queue-based real-time message pushing method, system, device and medium - Google Patents

Message queue-based real-time message pushing method, system, device and medium Download PDF

Info

Publication number
CN114116259A
CN114116259A CN202111402707.1A CN202111402707A CN114116259A CN 114116259 A CN114116259 A CN 114116259A CN 202111402707 A CN202111402707 A CN 202111402707A CN 114116259 A CN114116259 A CN 114116259A
Authority
CN
China
Prior art keywords
service
message queue
message
queue
theme
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111402707.1A
Other languages
Chinese (zh)
Inventor
石志伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Inspur Software Co Ltd
Original Assignee
Inspur Software 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 Inspur Software Co Ltd filed Critical Inspur Software Co Ltd
Priority to CN202111402707.1A priority Critical patent/CN114116259A/en
Publication of CN114116259A publication Critical patent/CN114116259A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/546Message passing systems or structures, e.g. queues
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation; Time management
    • G06Q10/103Workflow collaboration or project management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/10Services
    • G06Q50/26Government or public services
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2209/00Indexing scheme relating to G06F9/00
    • G06F2209/54Indexing scheme relating to G06F9/54
    • G06F2209/545Gui
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2209/00Indexing scheme relating to G06F9/00
    • G06F2209/54Indexing scheme relating to G06F9/54
    • G06F2209/548Queue
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2209/00Indexing scheme relating to G06F9/00
    • G06F2209/54Indexing scheme relating to G06F9/54
    • G06F2209/549Remote execution

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Theoretical Computer Science (AREA)
  • Strategic Management (AREA)
  • Human Resources & Organizations (AREA)
  • Tourism & Hospitality (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Marketing (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Software Systems (AREA)
  • Economics (AREA)
  • General Business, Economics & Management (AREA)
  • Development Economics (AREA)
  • Educational Administration (AREA)
  • Primary Health Care (AREA)
  • Data Mining & Analysis (AREA)
  • Health & Medical Sciences (AREA)
  • Operations Research (AREA)
  • Quality & Reliability (AREA)
  • General Health & Medical Sciences (AREA)
  • General Engineering & Computer Science (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a message queue-based real-time message pushing method, a message queue-based real-time message pushing system, a message queue-based real-time message pushing device and a message queue-based real-time message pushing medium, belongs to the technical field of service system message pushing, and aims to solve the technical problem of how to realize real-time pushing of unified to-be-handled and unified notification announcement real-time messages. The method comprises the following steps: configuring a producer client for a service system generating service messages, and configuring a consumer client for a service system consuming the service messages as a consuming system; the service system calls a message queue through a producer client, defines a queue theme based on a message queue service and pushes the theme, and the consumption system calls the message queue through a subscription client and subscribes the theme based on the message queue service; the business system produces and pushes the message to the corresponding theme based on the message queue service, and pushes the theme to the corresponding consumption system based on the message queue service, and the consumption system processes the business through the business logic and generates a business processing result.

Description

Message queue-based real-time message pushing method, system, device and medium
Technical Field
The invention relates to the technical field of message pushing of a service system, in particular to a message queue-based message real-time pushing method, a message queue-based message real-time pushing system, a message queue-based message real-time pushing device and a message queue-based message real-time pushing medium.
Background
On one hand, one or some service systems are used as a producer of the message to push a message to be handled and a notice announcement, on the other hand, one or some service systems are used as a consumer of the message to receive the message in time and handle the message, the service systems are correlated, the service systems are used as the producer of the message to push the message and possibly used as the consumer of the message to handle the service, and the service systems are correlated and message transmission is various. On the other hand, pending messages and notification announcements with different service attributes, which need to be transmitted between service systems, are numerous, and are inconvenient for timely transmitting real-time messages.
How to perform unified management on the real-time messages of the unified to-do and unified notification announcement types in the market supervision industry to realize the real-time pushing of the real-time messages of the unified to-do and unified notification announcement types is a technical problem to be solved.
Disclosure of Invention
The technical task of the present invention is to provide a message queue-based real-time message pushing method, system, device and medium to solve the technical problem of how to implement real-time pushing of unified pending and unified notification announcement real-time messages.
In a first aspect, the present invention provides a message queue-based real-time message pushing method, which implements real-time pushing of service messages between service systems based on a message queue service, and comprises the following steps:
configuring a producer client for a service system generating service messages, and configuring a consumer client for the service system consuming the service messages as a consuming system, wherein the producer client and a subscription client are used as interfaces to access a unified message management center and call a message queue;
the service system calls a message queue through a producer client, defines a queue theme based on a message queue service and pushes the theme, and the consumption system calls the message queue through a subscription client and subscribes the theme based on the message queue service;
the service system calls the message queue through the producer client, generates messages based on the message queue service and pushes the messages to the corresponding subjects, and pushes the subjects to the corresponding consumption system based on the message queue service, and the consumption system processes the service through the service logic and generates a service processing result.
Preferably, defining a queue theme and pushing the theme based on the message queue service includes:
the business system defines a queue theme based on the message queue and forms queue information and theme information;
the business system configures business attributes for the theme based on business requirements, packages the theme information and the business attributes and pushes the theme based on message queue service.
Preferably, when the service system configures service attributes for a topic based on service requirements, the topic is configured into a one-to-many subscription mode, where the one-to-many subscription mode is: one business topic supports a plurality of consumption system subscriptions and can be pushed to a plurality of consumption systems subscribing to the topic through a message queue.
Preferably, the service system calls the message queue through the production client, defines a queue theme based on a subscription publishing model of the message queue and pushes the theme, and the consumption system calls the message queue through the subscription client and subscribes the theme based on the subscription publishing model of the message queue;
the service system calls the message queue through the producer client, the message production service based on the message queue produces the message and pushes the message to the corresponding theme, the transmission service based on the message queue pushes the theme to the corresponding consumption system, and the consumption service based on the message queue of the consumption system processes the service through the service logic and generates the service processing result.
In a second aspect, the message queue-based real-time message pushing system of the present invention is configured to implement real-time pushing of messages between service systems by using the message queue-based message real-time pushing method according to any one of the first aspect, and the system includes:
the unified message management center is configured with a message queue and used for providing message queue service;
the business system is used for producing messages and consuming messages, and the business system consuming the business messages is used as a consuming system;
the production client is integrated in a service system for generating service messages and used for calling a message queue as an interface;
the subscription client is integrated in the consumption system and used for calling the message queue as an interface;
the service system is used for calling the message queue through the producer client, defining a queue theme based on the message queue service and pushing the theme, and the consumption system is used for calling the message queue through the subscription client and subscribing the theme based on the message queue service;
the service system is used for calling the message queue through the producer client, producing messages based on the message queue service and pushing the messages to the corresponding subjects, and pushing the subjects to the corresponding consumption system based on the message queue service, and the consumption system is used for processing services through service logic and generating service processing results.
Preferably, defining a queue theme and pushing the theme based on the message queue service includes:
the business system is used for defining a queue theme based on the message queue and forming queue information and theme information;
the business system is used for configuring business attributes for the theme based on business requirements, packaging the theme information and the business attributes and then pushing the theme based on message queue service.
Preferably, when the service system configures service attributes for a topic based on service requirements, the topic is configured into a one-to-many subscription mode, where the one-to-many subscription mode is: one business topic supports a plurality of consumption system subscriptions and can be pushed to a plurality of consumption systems subscribing to the topic through a message queue.
Preferably, the service system is used for calling the message queue through the production client, defining a queue theme based on a subscription publishing model of the message queue and pushing the theme, and the consumption system is used for calling the message queue through the subscription client and subscribing the theme based on the subscription publishing model of the message queue;
the service system is used for calling the message queue through the producer client, producing the message based on the message production service of the message queue, pushing the message to the corresponding theme, pushing the theme to the corresponding consumption system based on the transfer service of the message queue, and the consumption system is used for processing the service and generating the service processing result based on the consumption service of the message queue through the service logic.
In a third aspect, the apparatus of the present invention comprises: at least one memory and at least one processor;
the at least one memory to store a machine readable program;
the at least one processor is configured to invoke the machine-readable program to perform the method of any of the first aspects.
In a fourth aspect, the medium of the present invention is a computer-readable medium having stored thereon computer instructions, which, when executed by a processor, cause the processor to perform the method of any of the first aspects.
The message queue-based real-time message pushing method, the message queue-based real-time message pushing system, the message queue-based real-time message pushing device and the message queue-based real-time message pushing medium have the following advantages:
1. in the market supervision industry, the backlogs of related services can be gathered in real time, so that the effect of unifying the backlogs is achieved;
2. the data can be exchanged between the service systems in real time, for example, after the completion of the handling of the to-be-handled service in the unified to-be-handled service, the to-be-handled data is pushed in real time through the message queue, and the unified to-be-handled module is informed that the to-be-handled service is finished and the to-be-handled state needs to be updated;
3. the method can realize the real-time pushing synchronization of the instant messages, can meet the requirement that under a distributed deployment architecture, all systems synchronize the service state and the message of service processing, and if one service system performs certain operation and needs to change the state of the data of the other service system, the method can push the state in real time, thereby realizing the real-time change of the service data state of the other system.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed for the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on the drawings without creative efforts.
The invention is further described below with reference to the accompanying drawings.
Fig. 1 is a working schematic block diagram of a message queue-based message real-time pushing method according to embodiment 1;
fig. 2 is a working block diagram of a subscription and publication mode of a unified message management center in the message queue-based real-time message pushing method according to embodiment 1.
Detailed Description
The present invention is further described in the following with reference to the drawings and the specific embodiments so that those skilled in the art can better understand the present invention and can implement the present invention, but the embodiments are not to be construed as limiting the present invention, and the embodiments and the technical features of the embodiments can be combined with each other without conflict.
The embodiment of the invention provides a message queue-based real-time message pushing method, a message queue-based real-time message pushing system, a message queue-based real-time message pushing device and a message queue-based real-time message pushing medium, which are used for solving the technical problem of how to realize real-time pushing of unified to-do and unified notification announcement real-time messages.
Example 1:
the invention relates to a message real-time pushing method based on a message queue, which realizes the real-time pushing of service messages between service systems based on message queue service and comprises the following steps:
s100, configuring a producer client for a service system generating service messages, and configuring a consumer client for the service system consuming the service messages as a consumption system, wherein the producer client and a subscription client are used as interfaces to access a unified message management center and call a message queue;
s200, a service system calls a message queue through a producer client, defines a queue theme based on a message queue service and pushes the theme, and a consumption system calls the message queue through a subscription client and subscribes the theme based on the message queue service;
s300, the service system calls the message queue through the producer client, generates messages and pushes the messages to the corresponding subjects based on the message queue service, pushes the subjects to the corresponding consumption system based on the message queue service, and the consumption system processes the service through service logic and generates a service processing result.
The message queue is a container for storing messages in the process of transmitting the messages, the decoupling of a service system can be realized through a message queue technology, the currently common message queue container comprises a RockettMQ, a Kafka and the like, and the message production and consumption under multiple scenes are realized through a queue model, a publish-subscribe model and the like provided by the message queue container.
The message production can be that a plurality of sources correspond to a queue model, also can be that a source corresponds to a plurality of queue models, thereby realize the message production under different scenes.
The message consumption can realize the multi-head receiving of one message through a publish-subscribe model.
In the subscription-publishing model, the to-do and messages generated by the producer client are published to a subscription-publishing container, all consumers can subscribe the to-do and messages in the container in full, and the acquired to-do and messages are logically processed according to the requirements of respective service systems, so that the real-time sharing of the unified to-do and unified messages is realized.
In this embodiment, defining a queue theme and pushing the theme based on the message queue service includes: the service system defines a queue theme based on the message queue to form queue information and theme information; the service system configures service attributes for the theme based on the service requirements, packages the theme information and the service attributes and then pushes the theme based on the message queue service. In specific implementation, when the service system configures service attributes for the topics based on service requirements, the topics are configured into a one-to-many subscription mode, where the one-to-many subscription mode is: one business topic supports a plurality of consumption system subscriptions and can be pushed to a plurality of consumption systems subscribing to the topic through a message queue. That is, when the business system producing the message is defining the theme, the business attribute is configured for the theme, so that the business message of the theme can be consumed by a plurality of business systems.
Through the message queue service, the basic functions of queuing, publishing-subscribing and the like can be realized, including the links of production, transmission, subscription, consumption and the like of the message, and the reliable transmission of the message can be realized through the basic message queue service.
In the embodiment, a business system calls a message queue through a production client, defines a queue theme based on a subscription publishing model of the message queue and pushes the theme, and a consumption system calls the message queue through a subscription client and subscribes the theme based on the subscription publishing model of the message queue;
the service system calls the message queue through the producer client, the message production service based on the message queue produces the message and pushes the message to the corresponding theme, the transmission service based on the message queue pushes the theme to the corresponding consumption system, and the consumption service based on the message queue of the consumption system processes the service through the service logic and generates the service processing result.
In the market supervision industry, the backlogs of related services can be gathered in real time by the method, so that the effect of unifying the backlogs is achieved.
The method can also realize the real-time exchange of data among the systems, for example, after the completion of the handling of the to-be-handled service in the unified to-be-handled service, the to-be-handled data is pushed in real time through the message queue, the unified to-be-handled module is informed that the to-be-handled service is finished and the to-be-handled state needs to be updated.
The method can realize the real-time pushing synchronization of the instant messages, can meet the requirement that under a distributed deployment architecture, all systems synchronize the service state and the message of service processing, if one service system carries out certain operation and needs to change the state of the data of the other service system, the method can push the state in real time, thereby realizing the real-time change of the service data state of the other system.
Example 2:
the message queue-based real-time message pushing system is used for realizing the real-time pushing of messages between service systems by the message queue-based real-time message pushing method disclosed in the embodiment 1. The system comprises a unified message management center, a service system, a production client and a subscription client, wherein the unified message management center is configured with a message queue and used for providing message queue service; the service system is used for producing messages and consuming messages, and the service system for consuming the service messages is used as a consuming system; the production client is integrated in a service system for producing service messages and used for calling a message queue as an interface; the subscription client is integrated in the consumption system and used as an interface to call the message queue; the service system is used for calling the message queue through the producer client, defining a queue theme based on the message queue service and pushing the theme, and the consumption system is used for calling the message queue through the subscription client and subscribing the theme based on the message queue service; the service system is used for calling the message queue through the producer client, producing messages based on the message queue service and pushing the messages to the corresponding subjects, and pushing the subjects to the corresponding consumption system based on the message queue service, and the consumption system is used for processing services through service logic and generating service processing results.
Defining a queue theme and pushing the theme based on the message queue service, comprising: the business system is used for defining a queue theme based on the message queue and forming queue information and theme information; the business system is used for configuring business attributes for the theme based on business requirements, packaging the theme information and the business attributes and then pushing the theme based on the message queue service.
When the business system configures business attributes for the theme based on business requirements, the theme is configured into a one-to-many subscription mode, and the one-to-many subscription mode is as follows: one business topic supports a plurality of consumption system subscriptions and can be pushed to a plurality of consumption systems subscribing to the topic through a message queue.
The service system is used for calling the message queue through the production client, defining a queue theme based on a subscription publishing model of the message queue and pushing the theme, and the consumption system is used for calling the message queue through the subscription client and subscribing the theme based on the subscription publishing model of the message queue;
through the message queue service, the basic functions of queuing, publishing-subscribing and the like can be realized, including the links of production, transmission, subscription, consumption and the like of the message, and the reliable transmission of the message can be realized through the basic message queue service.
The service system is used for calling the message queue through the producer client, producing the message based on the message production service of the message queue, pushing the message to the corresponding theme, pushing the theme to the corresponding consumption system based on the transfer service of the message queue, and the consumption system is used for processing the service and generating the service processing result based on the consumption service of the message queue through the service logic.
Example 3:
the apparatus of the present invention comprises: at least one memory and at least one processor; at least one memory for storing a machine readable program; at least one processor for invoking the machine readable program to perform the method disclosed in embodiment 1.
Example 4:
the medium of the present invention is a computer readable medium, on which computer instructions are stored, which, when executed by a processor, cause the processor to perform the method disclosed in embodiment 1. Specifically, a system or an apparatus equipped with a storage medium on which software program codes that realize the functions of any of the above-described embodiments are stored may be provided, and a computer (or a CPU or MPU) of the system or the apparatus is caused to read out and execute the program codes stored in the storage medium.
In this case, the program code itself read from the storage medium can realize the functions of any of the above-described embodiments, and thus the program code and the storage medium storing the program code constitute a part of the present invention.
Examples of the storage medium for supplying the program code include a floppy disk, a hard disk, a magneto-optical disk, an optical disk (e.g., CD-ROM, CD-R, CD-RW, DVD-ROM, DVD-RAM, DVD-RW, DVD + RW), a magnetic tape, a nonvolatile memory card, and a ROM. Alternatively, the program code may be downloaded from a server computer via a communications network.
Further, it should be clear that the functions of any one of the above-described embodiments may be implemented not only by executing the program code read out by the computer, but also by causing an operating system or the like operating on the computer to perform a part or all of the actual operations based on instructions of the program code.
Further, it is to be understood that the program code read out from the storage medium is written to a memory provided in an expansion board inserted into the computer or to a memory provided in an expansion unit connected to the computer, and then causes a CPU or the like mounted on the expansion board or the expansion unit to perform part or all of the actual operations based on instructions of the program code, thereby realizing the functions of any of the above-described embodiments.
It should be noted that not all steps and modules in the above flows and system structure diagrams are necessary, and some steps or modules may be omitted according to actual needs. The execution order of the steps is not fixed and can be adjusted as required. The system structure described in the above embodiments may be a physical structure or a logical structure, that is, some modules may be implemented by the same physical entity, or some modules may be implemented by a plurality of physical entities, or some components in a plurality of independent devices may be implemented together.
In the above embodiments, the hardware unit may be implemented mechanically or electrically. For example, a hardware element may comprise permanently dedicated circuitry or logic (such as a dedicated processor, FPGA or ASIC) to perform the corresponding operations. The hardware elements may also comprise programmable logic or circuitry, such as a general purpose processor or other programmable processor, that may be temporarily configured by software to perform the corresponding operations. The specific implementation (mechanical, or dedicated permanent, or temporarily set) may be determined based on cost and time considerations.
While the invention has been shown and described in detail in the drawings and in the preferred embodiments, it is not intended to limit the invention to the embodiments disclosed, and it will be apparent to those skilled in the art that various combinations of the code auditing means in the various embodiments described above may be used to obtain further embodiments of the invention, which are also within the scope of the invention.

Claims (10)

1. The message queue based real-time message pushing method is characterized in that the real-time pushing of service messages between service systems is realized based on message queue service, and the method comprises the following steps:
configuring a producer client for a service system generating service messages, and configuring a subscription client for the service system consuming the service messages as a consumption system, wherein the producer client and the subscription client are used as interfaces to access a unified message management center and call a message queue;
the service system calls a message queue through a producer client, defines a queue theme based on a message queue service and pushes the theme, and the consumption system calls the message queue through a subscription client and subscribes the theme based on the message queue service;
the service system calls the message queue through the producer client, generates messages based on the message queue service and pushes the messages to the corresponding subjects, and pushes the subjects to the corresponding consumption system based on the message queue service, and the consumption system processes the service through the service logic and generates a service processing result.
2. The message queue-based message real-time pushing method of claim 1, wherein the message queue-based service defines a queue topic and pushes the topic, and comprises:
the business system defines a queue theme based on the message queue and forms queue information and theme information;
the business system configures business attributes for the theme based on business requirements, packages the theme information and the business attributes and pushes the theme based on message queue service.
3. The message queue-based message real-time pushing method according to claim 2, wherein when the business system configures business attributes for a topic based on business requirements, the topic is configured into a one-to-many subscription mode, and the one-to-many subscription mode is as follows: one business topic supports a plurality of consumption system subscriptions and can be pushed to a plurality of consumption systems subscribing to the topic through a message queue.
4. The message queue-based message real-time pushing method according to any one of claims 1-3, characterized in that the business system calls the message queue through the production client, defines the queue topic and pushes the topic based on the subscription and publication model of the message queue, the consumption system calls the message queue through the subscription client, subscribes the topic based on the subscription and publication model of the message queue;
the service system calls the message queue through the producer client, the message production service based on the message queue produces the message and pushes the message to the corresponding theme, the transmission service based on the message queue pushes the theme to the corresponding consumption system, and the consumption service based on the message queue of the consumption system processes the service through the service logic and generates the service processing result.
5. Message queue-based real-time message pushing system, for implementing real-time pushing of messages between service systems by the message queue-based real-time message pushing method according to any one of claims 1 to 4, the system comprising:
the unified message management center is configured with a message queue and used for providing message queue service;
the business system is used for producing messages and consuming messages, and the business system consuming the business messages is used as a consuming system;
the production client is integrated in a service system for generating service messages and used for calling a message queue as an interface;
the subscription client is integrated in the consumption system and used for calling the message queue as an interface;
the service system is used for calling the message queue through the producer client, defining a queue theme based on the message queue service and pushing the theme, and the consumption system is used for calling the message queue through the subscription client and subscribing the theme based on the message queue service;
the service system is used for calling the message queue through the producer client, producing messages based on the message queue service and pushing the messages to the corresponding subjects, and pushing the subjects to the corresponding consumption system based on the message queue service, and the consumption system is used for processing services through service logic and generating service processing results.
6. The message queue-based real-time message pushing system according to claim 5, wherein the message queue-based service defines a queue topic and pushes the topic, and comprises:
the business system is used for defining a queue theme based on the message queue and forming queue information and theme information;
the business system is used for configuring business attributes for the theme based on business requirements, packaging the theme information and the business attributes and then pushing the theme based on message queue service.
7. The real-time message pushing system based on message queue as claimed in claim 5, wherein when the business system configures the business attribute for the topic based on the business requirement, the topic is configured into a one-to-many subscription mode, and the one-to-many subscription mode is: one business topic supports a plurality of consumption system subscriptions and can be pushed to a plurality of consumption systems subscribing to the topic through a message queue.
8. The real-time message pushing system based on the message queue as claimed in any one of claims 5 to 7, wherein the business system is configured to invoke the message queue through the production client, define the queue topic based on the subscription publishing model of the message queue and push the topic, and the consumption system is configured to invoke the message queue through the subscription client, subscribe the topic based on the subscription publishing model of the message queue;
the service system is used for calling the message queue through the producer client, producing the message based on the message production service of the message queue, pushing the message to the corresponding theme, pushing the theme to the corresponding consumption system based on the transfer service of the message queue, and the consumption system is used for processing the service and generating the service processing result based on the consumption service of the message queue through the service logic.
9. An apparatus, comprising: at least one memory and at least one processor;
the at least one memory to store a machine readable program;
the at least one processor, configured to invoke the machine readable program to perform the method of any of claims 1 to 4.
10. A medium being a computer readable medium having stored thereon computer instructions which, when executed by a processor, cause the processor to perform the method of any of claims 1 to 4.
CN202111402707.1A 2021-11-24 2021-11-24 Message queue-based real-time message pushing method, system, device and medium Pending CN114116259A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111402707.1A CN114116259A (en) 2021-11-24 2021-11-24 Message queue-based real-time message pushing method, system, device and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111402707.1A CN114116259A (en) 2021-11-24 2021-11-24 Message queue-based real-time message pushing method, system, device and medium

Publications (1)

Publication Number Publication Date
CN114116259A true CN114116259A (en) 2022-03-01

Family

ID=80371734

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111402707.1A Pending CN114116259A (en) 2021-11-24 2021-11-24 Message queue-based real-time message pushing method, system, device and medium

Country Status (1)

Country Link
CN (1) CN114116259A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114661720A (en) * 2022-03-28 2022-06-24 浪潮卓数大数据产业发展有限公司 Method and system for distributing data according to authority based on message queue
CN115665191A (en) * 2022-10-09 2023-01-31 浪潮云信息技术股份公司 User information synchronization method and system based on cloud storage system
CN117370457A (en) * 2023-09-26 2024-01-09 浪潮智慧科技有限公司 Multithreading data real-time synchronization method, equipment and medium

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114661720A (en) * 2022-03-28 2022-06-24 浪潮卓数大数据产业发展有限公司 Method and system for distributing data according to authority based on message queue
CN115665191A (en) * 2022-10-09 2023-01-31 浪潮云信息技术股份公司 User information synchronization method and system based on cloud storage system
CN117370457A (en) * 2023-09-26 2024-01-09 浪潮智慧科技有限公司 Multithreading data real-time synchronization method, equipment and medium

Similar Documents

Publication Publication Date Title
CN114116259A (en) Message queue-based real-time message pushing method, system, device and medium
CN106250543B (en) A kind of automated data inquiry synchronous storage method
CN111737329A (en) Unified data acquisition platform for rail transit
US20160165011A1 (en) Request and response decoupling via pluggable transports in a service oriented pipeline architecture for a request response message exchange pattern
CN110688236B (en) Information touch method, system and terminal equipment
CN112069265A (en) Configuration data synchronization method, service data system, computer system and medium
CN111970363B (en) Data processing method and device based on Internet of things
CN102790781A (en) Middleware, M2M (machine-to-machine) system with industrial application middleware and application method of system
CN110704465B (en) Method, device and storage medium for processing service work list
US20100011374A1 (en) Open framework system for heterogeneous computing and service integration
CN107133160B (en) Server and client
CN110417760A (en) The mutual operation method and middleware of marginal layer in industry internet
CN116382943A (en) Sequential message processing method, bus system, computer device, and storage medium
CN112527523A (en) Distributed message transmission method and system for high-performance computing multiple clouds
CN116389552A (en) Heterogeneous data transmission system based on publish-subscribe model
CN103701720A (en) Communication method with Socket server and online transaction management system
CN111460038A (en) Quasi-real-time data synchronization method and device
CN111698233A (en) Message processing method and device
CN111277983A (en) RFID middleware, publish-subscribe system and data transmission method
CN114064328A (en) Message queue cluster migration method and device
CN114710571A (en) Data packet processing system
CN113743879A (en) Automatic rule processing method, system and related equipment
CN113111109A (en) Interface warehousing analysis access method of data source
CN109683875B (en) Application framework system of MVC (model view controller) pattern in distributed environment and method thereof
CN112764945B (en) Message center service middleware system

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