CN116170502A - Message service system, method and message service platform - Google Patents
Message service system, method and message service platform Download PDFInfo
- Publication number
- CN116170502A CN116170502A CN202310003258.6A CN202310003258A CN116170502A CN 116170502 A CN116170502 A CN 116170502A CN 202310003258 A CN202310003258 A CN 202310003258A CN 116170502 A CN116170502 A CN 116170502A
- Authority
- CN
- China
- Prior art keywords
- theme
- service
- consumed
- message
- target
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 41
- 230000005540 biological transmission Effects 0.000 claims abstract description 12
- 238000012545 processing Methods 0.000 claims description 10
- 238000013507 mapping Methods 0.000 description 8
- 230000008569 process Effects 0.000 description 5
- 230000009471 action Effects 0.000 description 3
- 238000004891 communication Methods 0.000 description 3
- 230000005012 migration Effects 0.000 description 2
- 238000013508 migration Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 230000010354 integration Effects 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 230000003319 supportive effect Effects 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/2866—Architectures; Arrangements
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention provides a message service system, a message service method and a message service platform, wherein the message service system comprises: theme client, consumption client and message service platform; the message service platform comprises a plurality of message middleware; the theme client is used for generating a theme to be consumed, which needs to be subjected to data transmission; the message service platform is used for distributing corresponding target consumption groups and target message middleware to the subjects to be consumed; the message service platform is also used for calling the target message middleware to transmit the corresponding data of the theme to be consumed to the consumption client corresponding to the target consumption group; the consuming client is used for receiving corresponding data of the theme to be consumed from the theme client through the target message middleware. The invention realizes intelligent dynamic analysis of the theme and the application characteristics of the consumer group client by the message service platform, and distributes corresponding message middleware to the theme client to execute data transmission by utilizing the application characteristics so as to realize the maximum resource utilization rate and service stability.
Description
Technical Field
The present invention relates to the field of network information technologies, and in particular, to a message service system, a message service method, and a message service platform.
Background
Message middleware is a supportive service that provides synchronous or asynchronous, reliable message transmission to application systems in a network environment based on queue and message delivery techniques. The message middleware utilizes an efficient and reliable message passing mechanism for platform-independent data communication and for integration of the distributed system based on the data communication. By providing a messaging and message queuing model, it can extend inter-process communication in a distributed environment, playing a critical role for client applications.
Along with the increase of the types of clients and the increase of the complexity of service application scenes, all the existing topics and consumption groups are uniformly configured in the same message middleware cluster, and certain special scene clients influence the upper limit of the cluster throughput and possibly influence the stability of the cluster, so that the resource consumption of a physical machine is huge and the resource utilization rate is not high.
Disclosure of Invention
Therefore, the invention provides a message service system, a message service method and a message service platform, which manage a plurality of message middleware by constructing the message service platform based on a Zookeeper cluster, and distribute corresponding message middleware to a theme client to execute data transmission by utilizing the characteristics of a service scene corresponding to the theme, so as to realize the maximum resource utilization rate and service stability.
In order to achieve the above purpose, the invention adopts the following technical scheme:
according to a first aspect of the present invention there is provided a message service system, the system comprising: at least one theme client, at least one consumer client, and a message service platform; the message service platform comprises a plurality of message middleware; wherein,,
the theme client is used for generating a theme to be consumed, which needs to be subjected to data transmission;
the message service platform is used for distributing corresponding target consumption groups and target message middleware to the to-be-consumed theme;
the message service platform is also used for calling the target message middleware to transmit the corresponding data of the theme to be consumed to the consumption client corresponding to the target consumption group;
the consumption client is used for receiving corresponding data of the theme to be consumed from the theme client through the target message middleware.
Further, the message service platform is further configured to:
determining a target consumption group corresponding to the theme to be consumed according to a first preset rule matched with the service type corresponding to the theme to be consumed; the method comprises the steps of,
and distributing target message middleware for the theme to be consumed according to a second preset rule matched with the service characteristics corresponding to the theme to be consumed.
Further, the message service platform is further configured to:
before determining a target consumption group corresponding to the to-be-consumed theme, determining a service type corresponding to the to-be-consumed theme;
wherein the service type comprises at least one of order service, bill service, material service, financial service and fee-dispatching service.
Further, the message service platform is further configured to:
before distributing a target message middleware for the theme to be consumed, determining the service characteristics corresponding to the theme to be consumed;
wherein the service features include at least one of a sensitive service, a timely service, a short connection service, a timing service, and a large message body service.
Further, the message service platform is a data processing end based on a Zookeeper cluster;
the message middleware includes at least one of a RocketMQ cluster, a Kafka cluster, a RabbitMQ cluster, an ActiveMQ cluster, an EDAS cluster, an ARMS cluster, a PUTS cluster, and an ARS cluster.
According to a second aspect of the present invention, there is provided a message service method, the method comprising:
the theme client generates a theme to be consumed, which needs to be subjected to data transmission;
the message service platform distributes corresponding target consumption groups and target message middleware to the to-be-consumed theme;
the message service platform calls the target message middleware to transmit the corresponding data of the theme to be consumed to the consumption client corresponding to the target consumption group;
and the consumption client receives corresponding data of the theme to be consumed from the theme client through the target message middleware.
Further, the message service platform allocates a corresponding target consumption group and a target message middleware to the to-be-consumed theme, including:
the message service platform determines a target consumption group corresponding to the topic to be consumed according to a first preset rule matched with the service type corresponding to the topic to be consumed; the method comprises the steps of,
and distributing target message middleware for the theme to be consumed according to a second preset rule matched with the service characteristics corresponding to the theme to be consumed.
Further, before the message service platform determines the target consumption group corresponding to the to-be-consumed theme according to the first preset rule matched with the service type corresponding to the to-be-consumed theme, the method further includes:
determining the service type corresponding to the theme to be consumed;
wherein the service type comprises at least one of order service, bill service, material service, financial service and fee-dispatching service.
Further, before the target message middleware is allocated to the topic to be consumed according to the second preset rule matched with the service characteristics corresponding to the topic to be consumed, the method further includes:
determining the business characteristics corresponding to the theme to be consumed;
wherein the service features include at least one of a sensitive service, a timely service, a short connection service, a timing service, and a large message body service.
According to a third aspect of the present invention, there is provided a message service platform, which is a data processing end based on a Zookeeper cluster, including a plurality of message middleware;
the message service platform is used for:
determining the service type and service characteristics corresponding to the theme to be consumed;
determining a target consumption group corresponding to the theme to be consumed according to a first preset rule matched with the service type corresponding to the theme to be consumed; the method comprises the steps of,
distributing target message middleware for the theme to be consumed according to a second preset rule matched with the service characteristics corresponding to the theme to be consumed;
and calling the target message middleware to transmit the corresponding data of the theme to be consumed to the consumption client corresponding to the target consumption group.
The invention adopts the technical proposal and has at least the following beneficial effects:
according to the scheme of the invention, a message service system is provided, which comprises: at least one theme client, at least one consumer client, and a message service platform; the message service platform comprises a plurality of message middleware; the theme client is used for generating a theme to be consumed, which needs to be subjected to data transmission; the message service platform is used for distributing corresponding target consumption groups and target message middleware to the to-be-consumed theme; the message service platform is also used for calling the target message middleware to transmit the corresponding data of the theme to be consumed to the consumption client corresponding to the target consumption group; the consumption client is used for receiving corresponding data of the theme to be consumed from the theme client through the target message middleware. Therefore, the message service platform intelligently and dynamically analyzes the application characteristics of the theme and the consumer group client to form the theme and consumer group image storage and the message service platform based on the zookeeper cluster, and the message service platform performs cluster planning and automatic migration or online distribution aiming at the message middleware according to the theme and the consumer group image so as to furthest improve the resource utilization rate and service stability of the physical machine.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the invention as claimed.
Drawings
In order to more clearly illustrate the embodiments of the invention or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described, it being obvious that the drawings in the following description are only some embodiments of the invention, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic diagram of a message service system according to an embodiment of the present invention;
fig. 2 is a flow chart illustrating a message service method according to an embodiment of the present invention.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
It is noted that relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising … …" does not exclude the presence of other like elements in a process, method, article or apparatus that comprises the element.
An embodiment of the present invention provides a message service system, as shown in fig. 1, where the message service system includes a message service platform 110, and the message service platform 110 may be connected to at least one theme client 120 and at least one consumption client 130; message service platform 110 may include a plurality of message middleware 140 for invocation.
The theme client 120 is configured to generate a theme to be consumed that needs to be transmitted with data; the to-be-consumed theme may be used to characterize a set of configuration topics of the to-be-transmitted data generated by the theme client 120, and may include a plurality of to-be-transmitted data. The consumption group is located on one or more consumption clients 130, and the consumption clients 130 are configured to receive corresponding data of the topic to be consumed from the topic client 120, and perform subsequent consumption processing for the group of data.
The message service platform 110 provided by the embodiment of the invention is a data processing end based on a Zookeeper cluster, and the Zookeeper cluster comprises a plurality of message middleware 140, so that the plurality of message middleware 140 can be managed and called. Further, the message service platform 110 bears logic for data distribution between topics and consumption groups, and can distribute corresponding target consumption groups and target message middleware 140 to the topic to be consumed.
Message middleware 140 in embodiments of the present invention may be a RocketMQ cluster, a Kafka cluster, a RabbitMQ cluster, an ActiveMQ cluster, an EDAS cluster, an ARMS cluster, a PUTS cluster, an ARS cluster, or the like. It can be appreciated that each message middleware 140 in the embodiment of the present invention has different data transmission characteristics, and the resource utilization rate can be improved as much as possible by performing targeted call on the message middleware 140 according to the different characteristics of the message middleware 140.
Specifically, the message service platform 110 may be further configured to determine a target consumption group corresponding to the topic to be consumed according to a first preset rule matched with the service type corresponding to the topic to be consumed.
It can be appreciated that, before determining the target consumption group corresponding to the to-be-consumed topic, the message service platform 110 needs to determine the service type corresponding to the to-be-consumed topic. Specifically, the corresponding service types may be determined according to the service scenario of the theme client 120 or the theme to be consumed, for example, the service types corresponding to the theme to be consumed generated by some theme clients 120 are fixed, and the service scenario of some theme to be consumed is fixed. The service types may include order service, waybill service, material service, financial service, charge-giving service, and the like.
The first preset rule in the embodiment of the invention is a mapping relation of corresponding target consumption groups which are matched in advance according to different service types of the theme to be consumed. For example, if the topic to be consumed is an order service, the data corresponding to the topic to be consumed is order related data, such as shoppers, purchasers, order commodities, order time, shopping amount, etc., and the target consumption group corresponding to the topic to be consumed may be a consumption group corresponding to e-commerce platform financial statistics and order user consumption statistics. For another example, if the to-be-consumed theme is a bill service, the to-be-consumed theme corresponding data is bill related data, such as shipping information, receiving information, item category, item quantity, and the like, and the target consumption group corresponding to the to-be-consumed theme may be a consumption group corresponding to the shipping platform.
It should be noted that, the service type and the mapping relationship of the topic to be consumed corresponding to the target consumption group in the first preset rule set in the embodiment of the present invention may also be set according to actual requirements, which is not limited by the present invention.
Further, the message service platform 110 may be further configured to allocate a target message middleware for the topic to be consumed according to a second preset rule matched with the service feature corresponding to the topic to be consumed.
It will be appreciated that the message service platform 110 may determine the business characteristics corresponding to the topic to be consumed before distributing the target message middleware for the topic to be consumed. Specifically, the service characteristics corresponding to the to-be-consumed theme may be determined according to the characteristics of the theme client 120 and the consuming client 130 and the service scenario of the to-be-consumed theme, for example, some theme clients 120 and the consuming client 130 have special connection characteristics, and some services corresponding to the to-be-consumed theme are sensitive and need special treatment. The service features include sensitive service, timely service, short connection service, timing service, large message body service, etc.
The second preset rule in the embodiment of the invention is a mapping relationship of corresponding target message middleware which is matched in advance according to different service characteristics of the theme to be consumed. For example, some topics to be consumed have large corresponding data volume, and message middleware 140 with higher matching stability is required; for another example, if some subjects to be consumed are sensitive services, message middleware 140 with high confidentiality needs to be matched; as another example, some subject clients 120 generate fixed short connection traffic, which may require assignment of specific message middleware 140 to conserve physical machine resources.
It should be noted that, the service characteristics set forth in the embodiment of the present invention and the mapping relationship between the to-be-consumed theme and the target message middleware in the second preset rule may also be set according to actual requirements, which is not limited by the present invention.
Further, the message service platform 110 is further configured to invoke the distributed target message middleware to transmit the corresponding data of the topic to be consumed to the consumption client 130 corresponding to the distributed target consumption group, where the consumption client 130 is configured to receive, through the target message middleware, the corresponding data of the topic to be consumed from the topic client 120, and perform subsequent processing on the corresponding data.
The embodiment of the invention provides a message service system, which comprises: at least one theme client, at least one consumer client, and a message service platform; the message service platform comprises a plurality of message middleware; the theme client is used for generating a theme to be consumed, which needs to be subjected to data transmission; the message service platform is used for distributing corresponding target consumption groups and target message middleware to the subjects to be consumed; the message service platform is also used for calling the target message middleware to transmit the corresponding data of the theme to be consumed to the consumption client corresponding to the target consumption group; the consuming client is used for receiving corresponding data of the theme to be consumed from the theme client through the target message middleware. Therefore, the message service platform intelligently and dynamically analyzes the application characteristics of the theme and the consumer group client to form the theme and consumer group image storage and the message service platform based on the zookeeper cluster, and the message service platform performs cluster planning and automatic migration or online distribution aiming at the message middleware according to the theme and the consumer group image so as to furthest improve the resource utilization rate and service stability of the physical machine.
In order to further explain the corresponding functions of the message service system described in the foregoing embodiments, the embodiment of the present invention further provides a message service method, as shown in fig. 2, which may include the following steps S201 to S204:
in step S201, the theme client generates a theme to be consumed that needs to be transmitted.
The theme to be consumed in the embodiment of the invention can be used for representing the configuration topic of a group of data to be transmitted generated by the theme client and can comprise a plurality of data to be transmitted.
Step S202, the message service platform distributes corresponding target consumption groups and target message middleware to the subjects to be consumed.
The message service platform in the embodiments of the present invention assumes the logic of data distribution between the topic and the consumer group.
Specifically, the message service platform allocates a corresponding target consumption group and a target message middleware to the topic to be consumed, and may include: the message service platform determines a target consumption group corresponding to the topic to be consumed according to a first preset rule matched with the service type corresponding to the topic to be consumed; and distributing the target message middleware for the theme to be consumed according to a second preset rule matched with the service characteristics corresponding to the theme to be consumed.
Further, before the message service platform determines the target consumption group corresponding to the to-be-consumed theme according to the first preset rule matched with the service type corresponding to the to-be-consumed theme, the service type corresponding to the to-be-consumed theme may also be determined.
Specifically, the corresponding service types may be determined according to the service scenarios of the theme client or the theme to be consumed, for example, the service types corresponding to the theme to be consumed produced by some theme clients are fixed, and the service scenarios of some theme to be consumed are fixed. The service types may include order service, waybill service, material service, financial service, charge-giving service, and the like.
The first preset rule in the embodiment of the invention is a mapping relation of corresponding target consumption groups which are matched in advance according to different service types of the theme to be consumed. For example, if the topic to be consumed is an order service, the data corresponding to the topic to be consumed is order related data, such as shoppers, purchasers, order commodities, order time, shopping amount, etc., and the target consumption group corresponding to the topic to be consumed may be a consumption group corresponding to e-commerce platform financial statistics and order user consumption statistics. For another example, if the to-be-consumed theme is a bill service, the to-be-consumed theme corresponding data is bill related data, such as shipping information, receiving information, item category, item quantity, and the like, and the target consumption group corresponding to the to-be-consumed theme may be a consumption group corresponding to the shipping platform.
It should be noted that, the service type and the mapping relationship of the topic to be consumed corresponding to the target consumption group in the first preset rule set in the embodiment of the present invention may also be set according to actual requirements, which is not limited by the present invention.
Further, before the target message middleware is allocated to the theme to be consumed according to the second preset rule matched with the service characteristics corresponding to the theme to be consumed, the service characteristics corresponding to the theme to be consumed can be determined.
Specifically, the service characteristics corresponding to the theme to be consumed can be determined according to the characteristics of the theme client, the consuming client and the service scene of the theme to be consumed, for example, special connection characteristics are provided between some theme clients and the consuming client, and some services corresponding to the theme to be consumed are sensitive and need special treatment. The service features include sensitive service, timely service, short connection service, timing service, large message body service, etc.
The second preset rule in the embodiment of the invention is a mapping relation of the corresponding target message middleware which is matched in advance according to different service characteristics of the theme to be consumed. For example, some topics to be consumed have large corresponding data volume, and message middleware with higher matching stability is required; for another example, if some subjects to be consumed are sensitive services, message middleware with high confidentiality needs to be matched; as another example, some subject clients generate fixed short connection traffic, which needs to be assigned specific message middleware to save physical machine resources.
It should be noted that, the service characteristics set forth in the embodiment of the present invention and the mapping relationship between the to-be-consumed theme and the target message middleware in the second preset rule may also be set according to actual requirements, which is not limited by the present invention.
In step S203, the message service platform invokes the target message middleware to transmit the corresponding data of the to-be-consumed theme to the consuming client corresponding to the target consuming group.
In step S204, the consuming client receives, through the target message middleware, the corresponding data of the topic to be consumed from the topic client.
The consumption group in the embodiment of the invention can be located on one or more consumption clients, and the consumption clients are used for receiving corresponding data of the theme to be consumed from the theme clients and executing subsequent consumption processing for the group of data.
According to the message service method provided by the invention, the message service platform based on the Zookeeper cluster is constructed to manage a plurality of message middleware, and the corresponding message middleware is distributed to the theme client to execute data transmission by utilizing the characteristics of the business scene corresponding to the theme, so that the maximum resource utilization rate and service stability are realized.
Based on the embodiment of the system shown in fig. 1 and the method shown in fig. 2, the embodiment of the invention also provides a message service platform, wherein the message service platform is a data processing end based on a Zookeeper cluster and comprises a plurality of message middleware, and the message middleware can be a RocketMQ cluster, a Kafka cluster, a RabbitMQ cluster, an ActiveMQ cluster, an EDAS cluster, an ARMS cluster, a PUTS cluster, an ARS cluster and the like;
the message service platform is used for:
determining the service type and service characteristics corresponding to the theme to be consumed;
determining a target consumption group corresponding to the theme to be consumed according to a first preset rule matched with the service type corresponding to the theme to be consumed; the method comprises the steps of,
distributing target message middleware for the theme to be consumed according to a second preset rule matched with the service characteristics corresponding to the theme to be consumed;
and calling the target message middleware to transmit the corresponding data of the theme to be consumed to the consumption client corresponding to the target consumption group.
It should be noted that, other corresponding descriptions of each functional module related to the message service platform provided by the embodiment of the present invention may refer to corresponding descriptions in the system shown in fig. 1, and are not repeated herein.
It will be clear to those skilled in the art that the specific working processes of the above-described systems, devices, modules and units may refer to the corresponding processes in the foregoing method embodiments, and for brevity, the description is omitted here.
In addition, each functional unit in the embodiments of the present invention may be physically independent, two or more functional units may be integrated together, or all functional units may be integrated in one processing unit. The integrated functional units may be implemented in hardware or in software or firmware.
Those of ordinary skill in the art will appreciate that: the integrated functional units, if implemented in software and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in essence or in whole or in part in the form of a software product stored in a storage medium, comprising instructions for causing a computing device (e.g., a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in the embodiments of the present invention when the instructions are executed. And the aforementioned storage medium includes: a usb disk, a removable hard disk, a read-only memory (ROM), a random-access memory (RAM), a magnetic disk, or an optical disk, etc.
Alternatively, all or part of the steps of implementing the foregoing method embodiments may be implemented by hardware (such as a personal computer, a server, or a computing device such as a network device) associated with program instructions, where the program instructions may be stored on a computer-readable storage medium, and where the program instructions, when executed by a processor of the computing device, perform all or part of the steps of the method according to the embodiments of the present invention.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present invention, and not for limiting the same; although the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some or all technical features thereof can be replaced by others within the spirit and principle of the present invention; such modifications and substitutions do not depart from the scope of the invention.
Claims (10)
1. A message service system, the system comprising: at least one theme client, at least one consumer client, and a message service platform; the message service platform comprises a plurality of message middleware; wherein,,
the theme client is used for generating a theme to be consumed, which needs to be subjected to data transmission;
the message service platform is used for distributing corresponding target consumption groups and target message middleware to the to-be-consumed theme;
the message service platform is also used for calling the target message middleware to transmit the corresponding data of the theme to be consumed to the consumption client corresponding to the target consumption group;
the consumption client is used for receiving corresponding data of the theme to be consumed from the theme client through the target message middleware.
2. The system of claim 1, wherein the message service platform is further configured to:
determining a target consumption group corresponding to the theme to be consumed according to a first preset rule matched with the service type corresponding to the theme to be consumed; the method comprises the steps of,
and distributing target message middleware for the theme to be consumed according to a second preset rule matched with the service characteristics corresponding to the theme to be consumed.
3. The system of claim 2, wherein the message service platform is further configured to:
before determining a target consumption group corresponding to the to-be-consumed theme, determining a service type corresponding to the to-be-consumed theme;
wherein the service type comprises at least one of order service, bill service, material service, financial service and fee-dispatching service.
4. The system of claim 2, wherein the message service platform is further configured to:
before distributing a target message middleware for the theme to be consumed, determining the service characteristics corresponding to the theme to be consumed;
wherein the service features include at least one of a sensitive service, a timely service, a short connection service, a timing service, and a large message body service.
5. The system according to any one of claims 1 to 4, wherein the message service platform is a Zookeeper cluster-based data processing terminal;
the message middleware includes at least one of a RocketMQ cluster, a Kafka cluster, a RabbitMQ cluster, an ActiveMQ cluster, an EDAS cluster, an ARMS cluster, a PUTS cluster, and an ARS cluster.
6. A message service method, the method comprising:
the theme client generates a theme to be consumed, which needs to be subjected to data transmission;
the message service platform distributes corresponding target consumption groups and target message middleware to the to-be-consumed theme;
the message service platform calls the target message middleware to transmit the corresponding data of the theme to be consumed to the consumption client corresponding to the target consumption group;
and the consumption client receives corresponding data of the theme to be consumed from the theme client through the target message middleware.
7. The method of claim 6, wherein the message service platform assigns the topic to be consumed a corresponding target consumption group and target message middleware, comprising:
the message service platform determines a target consumption group corresponding to the topic to be consumed according to a first preset rule matched with the service type corresponding to the topic to be consumed; the method comprises the steps of,
and distributing target message middleware for the theme to be consumed according to a second preset rule matched with the service characteristics corresponding to the theme to be consumed.
8. The method of claim 7, wherein before the message service platform determines the target consumption group corresponding to the topic to be consumed according to a first preset rule matched with the service type corresponding to the topic to be consumed, the method further comprises:
determining the service type corresponding to the theme to be consumed;
wherein the service type comprises at least one of order service, bill service, material service, financial service and fee-dispatching service.
9. The method of claim 7, wherein before distributing the target message middleware for the topic to be consumed according to a second preset rule matched with the business characteristics corresponding to the topic to be consumed, the method further comprises:
determining the business characteristics corresponding to the theme to be consumed;
wherein the service features include at least one of a sensitive service, a timely service, a short connection service, a timing service, and a large message body service.
10. The message service platform is a data processing end based on a Zookeeper cluster and comprises a plurality of message middleware;
the message service platform is used for:
determining the service type and service characteristics corresponding to the theme to be consumed;
determining a target consumption group corresponding to the theme to be consumed according to a first preset rule matched with the service type corresponding to the theme to be consumed; the method comprises the steps of,
distributing target message middleware for the theme to be consumed according to a second preset rule matched with the service characteristics corresponding to the theme to be consumed;
and calling the target message middleware to transmit the corresponding data of the theme to be consumed to the consumption client corresponding to the target consumption group.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310003258.6A CN116170502A (en) | 2023-01-03 | 2023-01-03 | Message service system, method and message service platform |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310003258.6A CN116170502A (en) | 2023-01-03 | 2023-01-03 | Message service system, method and message service platform |
Publications (1)
Publication Number | Publication Date |
---|---|
CN116170502A true CN116170502A (en) | 2023-05-26 |
Family
ID=86412616
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202310003258.6A Pending CN116170502A (en) | 2023-01-03 | 2023-01-03 | Message service system, method and message service platform |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116170502A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116594598A (en) * | 2023-06-30 | 2023-08-15 | 北京新里程叮铃科技有限公司 | Information interaction method and device of service system |
-
2023
- 2023-01-03 CN CN202310003258.6A patent/CN116170502A/en active Pending
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116594598A (en) * | 2023-06-30 | 2023-08-15 | 北京新里程叮铃科技有限公司 | Information interaction method and device of service system |
CN116594598B (en) * | 2023-06-30 | 2023-09-29 | 北京新里程叮铃科技有限公司 | Information interaction method and device of service system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9015227B2 (en) | Distributed data processing system | |
US8935704B2 (en) | Resource management using reliable and efficient delivery of application performance information in a cloud computing system | |
CN103067468B (en) | Cloud dispatching method and system thereof | |
US20140304713A1 (en) | Method and apparatus for distributed processing tasks | |
CN111506434B (en) | Task processing method and device and computer readable storage medium | |
CN112686528B (en) | Method, device, server and medium for distributing customer service resources | |
CN116170502A (en) | Message service system, method and message service platform | |
CN111427551A (en) | User code operation method of programming platform, equipment and storage medium | |
CN111338750A (en) | Pressure adjusting method and device for execution node, server and storage medium | |
CN110245014B (en) | Data processing method and device | |
Singh et al. | Scheduling algorithm with load balancing in cloud computing | |
CN114500546B (en) | Communication message sending method, device and equipment based on load balancing cluster | |
CN112632074A (en) | Inventory allocation method and device for database, electronic equipment and medium | |
CN111754332B (en) | Service request processing method and device, storage medium and electronic equipment | |
CN111861432A (en) | Virtual resource information updating method and device, server and storage medium | |
CN113553203A (en) | Request processing method, device, server and storage medium | |
CN113760496A (en) | Container scheduling method and scheduler | |
CN106408793A (en) | Service-component sharing method and system applicable to ATM (Automatic Teller Machine) services | |
CN112073455B (en) | Data processing method, device, equipment and storage medium | |
Huang et al. | Hestia: A Cost-Effective Multi-dimensional Resource Utilization for Microservices Execution in the Cloud | |
CN113296745B (en) | Data processing method and device, computer readable storage medium and processor | |
US20240179102A1 (en) | Systems and methods for managing message queuing | |
US20240160469A1 (en) | Batch scheduling-based application scheduling method, apparatus, and system | |
CN113283923A (en) | Resource processing method and device based on block chain | |
CN115037731A (en) | Data sharing method, device, equipment and computer 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 |