Cross-cluster routing and forwarding method and system for messages

The cross-cluster routing and forwarding method and system address the inefficiencies of existing systems by using a server-end configuration to manage routing logic, thereby simplifying maintenance and conserving resources.

CA3139198CActive Publication Date: 2026-11-24ELPIS TECH INC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CA3139198
Authority / Receiving Office
CA · CA
Patent Type
Patents
Current Assignee / Owner
Priority Date
2020-11-16
Filing Date
2021-11-16
Publication Date
2026-11-24
Estimated Expiration
2041-11-16

AI Technical Summary

Technical Problem

Existing message forwarding systems across different clusters require extensive maintenance and computing resources due to exponential growth in tasks and modifications, leading to increased costs and resource consumption.

Method used

A method and system for cross-cluster routing and forwarding that utilize a server-end routing rule configuration, involving a distributed coordination system to abstract routing logic into configuration records, convert them into executors, and perform matching and forwarding using a routing rule resolver and duplicator, reducing the need for business-end maintenance and computing resources.

Benefits of technology

This approach simplifies maintenance tasks and conserves computing resources by performing routing rule configuration at the server end, allowing efficient message forwarding without additional business-end efforts, thus reducing costs and resource consumption.

✦ Generated by Eureka AI based on patent content.
Patent Text Reader

Abstract

A cross-cluster routing forwarding method and system for a message are disclosed. The method involves: acquiring, by a server end, a routing rule configuration record written in a distributed coordination system; using, by the server end, a routing rule resolver in a Topic to convert the routing rule configuration record into a corresponding routing rule executor; using, by the server end, the routing rule executor to perform routing rule matching for a message in the Topic that needs to be routed, so as to obtain a routing cluster list corresponding to the message; and using, by the server end, a routing duplicator in the Topic to forward the message to a corresponding cluster according to the routing cluster list. The system uses the method to perform routing rule configuration at the server end in virtue of the distributed coordination system, thereby achieving routing duplication and message forwarding.
Need to check novelty before this filing date? Find Prior Art

Description

CROSS-CLUSTER ROUTING AND FORWARDING METHOD AND SYSTEM FOR MESSAGES BACKGROUND OF THE INVENTION Technical Field

[0001] The present invention relates to message-oriented middleware, and more particularly to a method and a system for message forwarding based on cross-cluster routing. Description of Related Art

[0002] Conventionally in the industry, to forward messages by routing across different clusters can be only achieved by means of stream computing tasks such as Storm and Flink, or using other similar in-house services at business ends. In such a conventional process, for a message that is in a Topic and is to be routed, routing rule matching is performed through a computing channel and then written into the corresponding cluster by a sink, thereby eventually routing and forwarding the message. However, this known approach to routing and forwarding has obvious defects. Since every Topic to be routed corresponds to a routing and forwarding task, with the increase of tasks in terms of number and scale, the Topics to be routed and the tasks to be forwarded grow exponentially. In addition, every time modification operations, such as adjusting routing rules, increasing Topics to be routed and so on, are to be performed, the relevant business end has to repeat complicated maintenance works like development, editing and / or operation, which leads to not only increased maintenance costs, but also additional consumption of computing resources. SUMMARY OF THE INVENTION

[0003] The objective of the present invention is to provide a method and a system for message forwarding based on cross-cluster routing, involving performing routing rule configuration at a server end to forward messages by means of cross-cluster routing duplication, thereby reducing maintenance costs and saving computing resources.

[0004] To achieve the foregoing objective, the present invention provides the following technical schemes:

[0005] A cross-cluster routing and forwarding method for message, comprising:

[0006] acquiring, by a server end, a routing rule configuration record written in a distributed coordination system;

[0007] using, by the server end, a routing rule resolver in a Topic to convert the routing rule configuration record into a corresponding routing rule executor;

[0008] using, by the server end, the routing rule executor to perform routing rule matching for a message in the Topic that needs to be routed, so as to obtain a routing cluster list corresponding to the message; and

[0009] using, by the server end, a routing duplicator in the Topic to forward the message to a corresponding cluster according to the routing cluster list.

[0010] Preferably, the step of "acquiring, by a server end, a routing rule configuration record written in a distributed coordination system" comprises:

[0011] abstracting routing logic into a routing rule configuration record of Json format, and writing the routing rule configuration record into a distributed coordination system; and

[0012] acquiring, by the server end, the routing rule configuration record on the basis of a monitoring and notification mechanism of the distributed coordination system, and updating the routing rule configuration record into a memory.

[0013] Specifically, the routing rule configuration record includes a configuration record for adding a new routing rule, a configuration record for changing the routing rule, and a configuration record for deleting a routing rule.

[0014] More preferably, the step of "using, by the server end, a routing rule resolver in a Topic to convert the routing rule configuration record into a corresponding routing rule executor" comprises:

[0015] matching and obtaining, by the server end, the Topic to which the routing rule configuration record belongs;

[0016] further performing matching in the matched Topic so as to obtain a routing duplication unit to which the routing rule configuration record belongs; and

[0017] using a routing rule resolver in the routing rule duplication unit to resolve the routing rule configuration record and convert it into a corresponding routing rule executor.

[0018] Furthermore, the step of "by using the routing rule resolver in the routing rule duplication unit to resolve the routing rule configuration record and convert it into a corresponding routing rule executor" comprises:

[0019] if a routing duplication unit to which the routing rule configuration record belongs is not matched and obtained in the Topic, newly adding a routing rule duplication unit, and using a routing rule resolver in the newly added routing rule duplication unit to resolve the routing rule configuration record and convert it into the corresponding routing rule executor; and

[0020] if a routing duplication unit to which the routing rule configuration record belongs is matched and obtained in the Topic, using a routing rule resolver in the identified routing duplication unit to resolve the routing rule configuration record and convert it into the corresponding routing rule executor, and replacing the existing routing rule executor with the routing rule executor obtained through the converting;

[0021] if there is any redundant routing duplication unit in the Topic that does not match any said routing rule configuration record, deleting the redundant routing duplication unit.

[0022] Specifically, the step of "using a routing rule resolver in the identified routing duplication unit to resolve the routing rule configuration record and convert it into the corresponding routing rule executor, and deleting the existing routing rule executor" comprises:

[0023] turning off a routing switch of the matched and obtained routing duplication unit;

[0024] using the routing rule resolver to resolve the routing rule configuration record and convert it into the corresponding routing rule executor, and replacing the existing routing rule executor with the routing rule executor obtained through the converting; and

[0025] turning on the routing switch of the matched and obtained routing duplication unit.

[0026] Preferably, the routing rule executor performs the matching according to a routing field of each said message in the Topic, so as to obtain the routing cluster list corresponding to each said message, and the routing duplicator in the routing duplication unit forwards the message to the corresponding cluster according to the routing cluster list.

[0027] More preferably, the method for message forwarding based on cross-cluster routing further comprises:

[0028] acquiring, by the server end, a routing switch configuration record written into the distributed coordination system, and configuring an on-off state of the routing duplication unit according to the routing switch configuration record.

[0029] Specifically, the step of "acquiring, by the server end, a routing switch configuration record written into the distributed coordination system, and configuring an on-off state of the routing duplication unit according to the routing switch configuration record" comprises:

[0030] acquiring, by the server end, the routing switch configuration record written into the distributed coordination system based on the monitoring and notification mechanism of the distributed coordination system, and updating the routing switch configuration record into the memory;

[0031] matching and obtaining, by the server end, the Topic to which the routing switch configuration record belongs; and

[0032] further performing matching in the matched Topic so as to obtain the routing duplication unit to which the routing switch configuration record belongs, and configuring the on-off state of the matched routing duplication unit according to the routing switch configuration record.

[0033] A cross-cluster routing forwarding system for a message, comprising a server end a distributed coordination system, the server end includes a configuration acquiring module and at least one Topic, the Topic includes a routing duplication unit and a message management unit, and the routing duplication unit includes a routing rule resolver, a routing rule executor, and a routing duplicator, wherein

[0034] the configuration acquiring module, for acquiring a routing rule configuration record written in the distributed coordination system, and notifying the routing rule resolver;

[0035] the routing rule resolver, for converting the routing rule configuration record into a corresponding routing rule executor;

[0036] the routing rule executor, for performing routing rule matching for a message in the message management unit that needs to be routed, so as to obtain a routing cluster list corresponding to the message; and

[0037] the routing duplicator, for forwarding the message to the corresponding cluster according to the routing cluster list.

[0038] As compared to the prior art, the method and system for message forwarding based on cross-cluster routing according to the present invention have the following beneficial effects.

[0039] The disclosed method for message forwarding based on cross-cluster routing, which abstracts computing tasks for routing into simple routing rule configuration records, and writes them into a distributed coordination system. It involves using, by the server end, a routing rule resolver in a Topic to convert the routing rule configuration record into a corresponding routing rule executor, then using the routing rule executor to perform routing rule matching for a message in the Topic that needs to be routed, so as to obtain a routing cluster list corresponding to the message, and using a routing duplicator in the Topic to forward the message to a corresponding cluster according to the routing cluster list. The disclosed method allows message forwarding by means of cross-cluster routing duplication to be realized at a server end with routing rule configuration performed by virtue of a distributed coordination system, thus freeing a business end from burdens about development, editing and / or operation, and thereby reducing maintenance costs and saving resources.

[0040] The disclosed system for message forwarding based on cross-cluster routing implements the foregoing method for message forwarding based on cross-cluster routing to realize cross-cluster routing, duplication and forwarding of messages by means of routing rule configuration at the server end, thereby preventing additional consumption of computing resources and reducing maintenance costs. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] The accompanying drawings are provided herein for better understanding of the present invention and form a part of this disclosure. The illustrative embodiments and their descriptions are for explaining the present invention and by no means form any improper limitation to the present invention, wherein

[0042] FIG. 1 is a flowchart of a method for message forwarding based on cross-cluster routing according to one embodiment of the present invention embodiment;

[0043] FIG. 2 is a flowchart illustrating how the server end uses the routing rule resolver in the Topic to convert the routing rule configuration record into the corresponding routing rule executor according to one embodiment of the present invention;

[0044] FIG. 3 is a flowchart of control of the routing switch according to one embodiment of the present invention; and

[0045] FIG. 4 is a module block diagram of a cross-cluster routing forwarding system according to one embodiment of the present invention embodiment. DETAILED DESCRIPTION OF THE INVENTION

[0046] To make the foregoing objectives, features, and advantages of the present invention clearer and more understandable, the following description will be directed to some embodiments as depicted in the accompanying drawings to detail the technical schemes disclosed in these embodiments. It is, however, to be understood that the embodiments referred herein are only a part of all possible embodiments and thus not exhaustive. Based on the embodiments of the present invention, all the other embodiments can be conceived without creative labor by people of ordinary skill in the art, and all these and other embodiments shall be embraced in the scope of the present invention. Embodiment 1

[0047] Referring to FIG. 1, the present invention embodiment provides a cross-cluster routing forwarding method of message, which involves:

[0048] a server end acquiring a routing rule configuration record written in a distributed coordination system;

[0049] the server end using a routing rule resolver in a Topic to convert the routing rule configuration record into a corresponding routing rule executor;

[0050] the server end using the routing rule executor to perform routing rule matching for a to- be-routed message in the Topic, so as to obtain a routing cluster list corresponding to the message; and

[0051] the server end using a routing duplicator in the Topic to forward the message to the corresponding cluster according to the routing cluster list.

[0052] The disclosed cross-cluster routing forwarding method of message abstracts computing tasks for routing into simple routing rule configuration records, and writes them into a distributed coordination system. It involves using, by the server end, a routing rule resolver in a Topic to convert the routing rule configuration record into a corresponding routing rule executor, then using the routing rule executor to perform routing rule matching for a message in the Topic that needs to be routed, so as to obtain a routing cluster list corresponding to the message, and using a routing duplicator in the Topic to forward the message to a corresponding cluster according to the routing cluster list. The disclosed method allows message forwarding by means of cross-cluster routing duplication to be realized at a server end with routing rule configuration performed by virtue of a distributed coordination system, thus freeing a business end from burdens about development, editing and / or operation, and thereby reducing maintenance costs and saving resources.

[0053] Therein, the step of a server end acquiring a routing rule configuration record written in a distributed coordination system comprises:

[0054] abstracting routing logic into a routing rule configuration record of Json format, and writing the routing rule configuration record into a distributed coordination system; and

[0055] the server end acquiring, on the basis of a monitoring and notification mechanism of the distributed coordination system, the routing rule configuration record, and updating the routing rule configuration record into a memory.

[0056] In a particular implementation, routing rule configuration record includes a configuration record for adding a new routing rule, a configuration record for changing the routing rule, and a configuration record for deleting the routing rule. The distributed coordination system may be Zookeeper, while the server end may be a message publishing / subscribing platform of a distributed structure such as message-oriented middleware. The routing rule configuration record indicates the Topic to be matched and the unique identifier of the routing duplication unit in the Topic. The server end thus can send the according to the routing rule configuration record to the unique identifier to the corresponding Topic by means of unicasting. This can be alternatively done using a server end equipped with Topic-related configuration change management module. For example, a pulsar can be used as a server end, and when the pulsar receives a new routing rule configuration record, it uses the Topic-related configuration change management module to broadcast the routing rule configuration record for the Topic matching the unique identifier to receive.

[0057] The exact routing logic and routing computing tasks involved are all updated to the distributed coordination system in the form of a routing rule configuration record. The server end depends on the monitoring and notification mechanism provided by the distributed coordination system to monitor rule configuration records.

[0058] Referring to FIG. 2, in the disclosed method for message forwarding based on cross- cluster routing, the server end uses the routing rule resolver in the Topic to convert routing rule configuration record into the corresponding routing rule executor through the following process:

[0059] the server end performs matching so as to identify to which Topic the routing rule configuration record belongs;

[0060] the server end further performs matching in the matched Topic so as identify the routing duplication unit to which the routing rule configuration record belongs; and

[0061] the routing rule resolver in the routing rule duplication unit analyzes and converts the routing rule configuration record into the corresponding routing rule executor. In a particular implementation, if there is not a routing duplication unit identified as matching the routing rule configuration record, a routing rule duplication unit is newly added, and the routing rule resolver in the newly added routing rule duplication unit analyzes and converts the routing rule configuration record into the corresponding routing rule executor. If there is a routing duplication unit in the Topic identified as matching the routing rule configuration record, the routing rule resolver of the identified routing duplication unit analyzes and converts the routing rule configuration record into the corresponding routing rule executor, and the existing routing rule executor is replaced by the routing rule executor obtained through the conversion. If there is any redundant routing duplication unit in the Topic that does not match any said routing rule configuration record, the redundant routing duplication unit is deleted, so that every routing rule configuration record corresponds to one and only routing rule executor, thereby preventing routing of the message from mismatching errors.

[0062] Therein, the step of "using a routing rule resolver in the routing duplication unit identified by the matching to analyze and convert the routing rule configuration record into the corresponding routing rule executor, and deleting the existing routing rule executor" comprises:

[0063] turning off a routing switch of the identified routing duplication unit;

[0064] using the routing rule resolver to analyze and convert the routing rule configuration record into the corresponding routing rule executor, and replacing the existing routing rule executor with the routing rule executor obtained through the converting; and

[0065] turning on the routing switch of the identified routing duplication unit.

[0066] The routing rule resolver processes the routing rule configuration record in the ison format by means of analysis and conversion so as to obtain a routing rule executor that recognizes and operate codes. Different routing rule configuration records will be analyzed and converted to different stateless routing rule executors. One routing rule configuration record corresponds to one routing rule executor after analysis and conversion, and in each routing duplication unit there is only one routing rule executor. In the event of node change, the selected stateless routing rule executor does not have to repeat the operations it has done at the prior node, making fault-tolerant recovery easy. After an update in routing rule configuration record, the server end keeps monitoring whether there is a new routing rule configuration record written into the distributed coordination system.

[0067] At last, the routing rule executor performs the matching according to a routing field of each said message in the Topic, so as to obtain the routing cluster list corresponding to each said message. The routing duplicator in the routing duplication unit forwards the message to the corresponding cluster according to routing cluster list. The routing rule configuration record is converted into the routing rule executor, so as to acquire the routing cluster list corresponding to the message, thereby eventually realizing duplication of message routing and forwarding. In this way, changes in Topics such as adjustment of routing rules and addition of to-be-routed Topic can be easily performed without having the business end pay additional efforts to complicated maintenance works like development, editing and / or operation, thereby reducing maintenance costs and saving computing resources.

[0068] Since routing duplication brings about performance loss, which increases with the growth of data size, for addressing cluster performance pressure coming with peak flows at occasions like large-scale E-commerce promotion, the method for message forwarding based on cross-cluster routing of the present invention further includes a method for routing switch control, which involves the server end acquiring a routing switch configuration record written into the distributed coordination system, and configuring the on-off state of the routing duplication unit according to the routing switch configuration record, so as to defer routing duplication until an expected flow peak passes, thereby mitigate performance pressure during the expected flow peak. Referring to FIG. 3, the method for controlling the routing switch includes:

[0069] the server end acquiring the routing switch configuration record written into the distributed coordination system based on the monitoring and notification mechanism of the distributed coordination system, and updating the routing switch configuration record into the memory;

[0070] the server end identifying the Topic to which the routing switch configuration record belongs by means of matching; and

[0071] the server end further performing matching in the matched Topic so as identify the routing duplication unit to which the routing switch configuration record belongs, and configuring the on-off state of the matched routing duplication unit according to the routing switch configuration record.

[0072] It is to be noted that the routing switch configuration record and the routing rule configuration record are in one-on-one correspondence. If a routing duplication unit does not match any routing rule configuration record, no further matching in terms of Topic and routing duplication unit will be performed for this routing switch configuration record and this routing switch configuration record will not be executed. The unmatched routing rule duplication unit is not subject to change in its on-off state. In other words, the Topic corresponding to the unmatched routing rule duplication unit does not have to change the on-off state of the routing rule duplication unit. Instead, the server end keeps monitoring whether there is a new routing switch configuration record written into the distributed coordination system. On the other hand, for a matched routing rule duplication unit, the corresponding Topic configures the on-off state of the matched routing duplication unit according to the routing switch configuration record. When the switch is turned off, message routing is deactivated. When the switch is turned on, message routing is activated. Then the server end keeps monitoring whether there is a routing switch configuration record newly written into the distributed coordination system. Embodiment 2

[0073] Referring to FIG. 4, the present invention embodiment provides a system for message forwarding based on cross-cluster routing, which comprises a server end and a distributed coordination system. The server end includes a configuration acquiring module and at least one Topic. The Topic includes a routing duplication unit and a message management unit. The routing duplication unit includes a routing rule resolver, a routing rule executor, and a routing duplicator, wherein

[0074] the configuration acquiring module is for acquiring a routing rule configuration record previously written in a distributed coordination system, and notifying routing rule resolver;

[0075] the routing rule resolver is for converting the routing rule configuration record into the corresponding routing rule executor;

[0076] the routing rule executor is for performing routing rule matching for the to-be-routed message in the message management unit, so as to obtain a routing cluster list corresponding to the message; and

[0077] the routing duplicator is for forwarding the message to the corresponding cluster according to the routing cluster list.

[0078] In the cross-cluster routing forwarding system for message, the configuration acquiring module is further used to acquire the routing switch configuration record written in the distributed coordination system, which is then matched with the corresponding Topic and the routing duplication unit in the Topic by a routing strategy management module. Topic configures the on-off state of the routing duplication unit according to the routing switch configuration record. As routing duplication can be done later at a time off the peak flow, the performance pressure at the flow peak stage can be mitigated.

[0079] The disclosed system for message forwarding based on cross-cluster routing implements the method for message forwarding based on cross-cluster routing as described in the previous embodiment. As routing rule configuration required by message forwarding by means of cross-cluster routing duplication is done at the server end, additional consumption of computing resources can be saved, thereby reducing maintenance costs. As compared to the prior art, the disclosed system for message forwarding based on cross-cluster routing has beneficial effects similar to those as described with respect to the above method embodiment, and other technical features of the disclosed system are identical to those disclosed in the method of the previous embodiment method, so no repetition is made herein.

[0080] As recited in the description of the implementation provided above, the specific characteristics, structures, materials and / or features may be combined in any suitable manner in any one or more embodiments or examples.

[0081] The present invention has been described with reference to the preferred embodiments and it is understood that the embodiments are not intended to limit the scope of the present invention. Moreover, as the contents disclosed herein should be readily understood and can be implemented by a person skilled in the art, all equivalent changes or modifications which do not depart from the concept of the present invention should be encompassed by the appended claims. Hence, the scope of the present invention shall only be defined by the appended claims.

Claims

CLAIMS:

1. A cross-cluster routing forwarding system, the system comprising: a processor at a server end; and a memory comprising computer-readable instructions that, when executed by the processor, cause the processor to implement the following components: a configuration acquiring module and at least one Topic, wherein the Topic includes a routing duplication unit and a message management unit, and the routing duplication unit includes a routing rule resolver, a routing rule executor, and a routing duplicator, wherein the configuration acquiring module configured to acquire a routing rule configuration record written in a distributed coordination system, and notifying the routing rule resolver; the routing rule resolver configured to convert the routing rule configuration record into a corresponding routing rule executor; the routing rule executor configured to perform routing rule matching for a message in the message management unit that needs to be routed, so as to obtain a routing cluster list corresponding to the message; and the routing duplicator configured to forward the message to the corresponding cluster according to the routing cluster list.

2. The system of claim 1, wherein the instructions further comprise: abstracting routing logic into a routing rule configuration record of JSON (JavaScript Object Notation) format.

3. The system of claim 2, wherein the instructions further comprise: writing the routing rule configuration record into the distributed coordination system.

4. The system of claim 3, wherein the instructions further comprise: acquiring, by the server end, the routing rule configuration record on the basis of a monitoring and notification mechanism of the distributed coordination system.

5. The system of claim 4, wherein the instructions further comprise: updating the routing rule configuration record into a memory.

6. The system of claim 5, wherein the routing rule configuration record includes a configuration record for adding a new routing rule, a configuration record for changing a routing rule, and a configuration record for deleting a routing rule.

7. The system of claim 6, wherein the instructions further comprise: matching and obtaining, by the server end, the Topic to which the routing rule configuration record belongs.

8. The system of claim 7, wherein the instructions further comprise: performing matching in the matched Topic so as to obtain a routing duplication unit to which the routing rule configuration record belongs.

9. The system of claim 8, wherein the instructions further comprise: using the routing rule resolver in the routing rule duplication unit to resolve the routing rule configuration record and convert it into a corresponding routing rule executor.

10. The system of claim 9, wherein when a routing duplication unit to which the routing rule configuration record belongs is not matched and obtained in the Topic, newly adding a routing rule duplication unit.

11. The system of claim 10, wherein the instructions further comprise: using the routing rule resolver in the newly added routing rule duplication unit to resolve the routing rule configuration record and convert it into the corresponding routing rule executor.

12. The system of claim 11, wherein when a routing duplication unit to which the routing rule configuration record belongs is matched and obtained in the Topic.

13. The system of claim 12, wherein the instructions further comprise: using the routing rule resolver in the identified routing duplication unit to resolve the routing rule configuration record and convert it into the corresponding routing rule executor.

14. The system of claim 13, wherein the instructions further comprise: replacing the existing routing rule executor with the routing rule executor obtained through the converting.

15. The system of claim 14, wherein when there is any redundant routing duplication unit in the Topic that does not match any routing rule configuration record, deleting the redundant routing duplication unit.

16. The system of claim 15, wherein the instructions further comprise: using the routing rule resolver in the identified routing duplication unit to resolve the routing rule configuration record and convert it into the corresponding routing rule executor, and deleting the existing routing rule executor.

17. The system of claim 16, wherein the instructions further comprise: turning off a routing switch of the matched and obtained routing duplication unit.

18. The system of claim 17, wherein the instructions further comprise: using the routing rule resolver to resolve the routing rule configuration record and convert it into the corresponding routing rule executor.

19. The system of claim 18, wherein the instructions further comprise: turning on the routing switch of the matched and obtained routing duplication unit.

20. The system of claim 19, wherein the routing rule executor performs the matching according to a routing field of each said message in the Topic to obtain the routing cluster list corresponding to each said message.

21. The system of claim 20, wherein the routing duplicator in the routing duplication unit forwards the message to the corresponding cluster according to the routing cluster list.

22. The system of claim 21, wherein the instructions further comprise: acquiring, by the server end, a routing switch configuration record written into the distributed coordination system.

23. The system of claim 22, wherein the instructions further comprise: configuring an on-off state of the routing duplication unit according to the routing switch configuration record.

24. The system of claim 23, wherein the instructions further comprise: acquiring, by the server end, a routing switch configuration record written into the distributed coordination system.

25. The system of claim 24, wherein the instructions further comprise: acquiring, by the server end, the routing switch configuration record written into the distributed coordination system based on the monitoring and notification mechanism of the distributed coordination system.

26. The system of claim 25, wherein the instructions further comprise: updating the routing switch configuration record into the memory.

27. The system of claim 26, wherein the instructions further comprise: matching and obtaining, by the server end, the Topic to which the routing switch configuration record belongs.

28. The system of claim 27, wherein the instructions further comprise: performing matching in the matched Topic to obtain the routing duplication unit to which the routing switch configuration record belongs.

29. The system of claim 28, wherein the instructions further comprise: configuring the on-off state of the matched routing duplication unit according to the routing switch configuration record.

30. The system of claim 29, wherein the server end acquiring a routing rule configuration record is written in the distributed coordination system.

31. The system of claim 30, wherein the server end using the routing rule resolver in a Topic to convert the routing rule configuration record into a corresponding routing rule executor.

32. The system of claim 31, wherein the server end using the routing rule executor to perform routing rule matching for a to-be-routed message in the Topic to obtain a routing cluster list corresponding to the message.

33. The system of claim 32, wherein the server end using a routing duplicator in the Topic to forward the message to the corresponding cluster according to the routing cluster list.

34. The system of claim 33, wherein the instructions further comprise: the server end acquiring, on the basis of a monitoring and notification mechanism of the distributed coordination system, the routing rule configuration record, and updating the routing rule configuration record into a memory.

35. The system of claim 34, wherein the distributed coordination system is a Zookeeper.

36. The system of claim 35, wherein the server end is a message publishing / subscribing platform of a distributed structure including message-oriented middleware.

37. The system of claim 36, wherein the routing rule configuration record indicates the Topic to be matched and the unique identifier of the routing duplication unit in the Topic.

38. The system of claim 37, wherein the server end sends according to the routing rule configuration record to the unique identifier to the corresponding Topic by means of unicasting.

39. The system of claim 38, wherein the server end is equipped with Topic-related configuration change management module.

40. The system of claim 39, wherein a pulsar is used as [[a]]the server end.

41. The system of claim 40, wherein when the pulsar receives a new routing rule configuration record, it uses the Topic-related configuration change management module to broadcast the routing rule configuration record for the Topic matching the unique identifier to receive.

42. The system of claim 41, wherein the exact routing logic and routing computing tasks involved are updated to the distributed coordination system in the form of a routing rule configuration record.

43. The system of claim 42, wherein the server end depends on the monitoring and notification mechanism provided by the distributed coordination system to monitor rule configuration records.

44. The system of claim 43, wherein the server end uses the routing rule resolver in the Topic to convert routing rule configuration record into the corresponding routing rule executor.

45. The system of claim 44, wherein the server end performs matching so as to identify to which Topic the routing rule configuration record belongs.

46. The system of claim 45, wherein the server end further performs matching in the matched Topic so as identify the routing duplication unit to which the routing rule configuration record belongs.

47. The system of claim 46, wherein the routing rule resolver in the routing rule duplication unit analyzes and converts the routing rule configuration record into the corresponding routing rule executor.

48. The system of claim 47, wherein when there is not a routing duplication unit identified as matching the routing rule configuration record, a routing rule duplication unit is newly added.

49. The system of claim 48, wherein the routing rule resolver in the newly added routing rule duplication unit analyzes and converts the routing rule configuration record into the corresponding routing rule executor.

50. The system of claim 49, wherein when there is a routing duplication unit in the Topic identified as matching the routing rule configuration record, the routing rule resolver of the identified routing duplication unit analyzes and converts the routing rule configuration record into the corresponding routing rule executor.

51. The system of claim 50, wherein the existing routing rule executor is replaced by the routing rule executor obtained through the conversion.

52. The system of claim 51, wherein every routing rule configuration record corresponds to one routing rule executor to prevent routing of the message from mismatching errors.

53. The system of claim 52, wherein the instructions further comprise: using the routing rule resolver in the routing duplication unit identified by the matching to analyze and convert the routing rule configuration record into the corresponding routing rule executor, and deleting the existing routing rule executor.

54. The system of claim 53, wherein the instructions further comprise: turning off a routing switch of the identified routing duplication unit.

55. The system of claim 54, wherein the instructions further comprise: using the routing rule resolver to analyze and convert the routing rule configuration record into the corresponding routing rule executor.

56. The system of claim 55, wherein the instructions further comprise: turning on the routing switch of the identified routing duplication unit.

57. The system of claim 56, wherein the routing rule resolver processes the routing rule configuration record in the JSON format by means of analysis and conversion to obtain a routing rule executor that recognizes and operate codes.

58. The system of claim 57, wherein the instructions further comprise: the server end acquiring the routing switch configuration record written into the distributed coordination system based on the monitoring and notification mechanism of the distributed coordination system, and updating the routing switch configuration record into the memory.

59. The system of claim 58, wherein the instructions further comprise: the server end identifying the Topic to which the routing switch configuration record belongs by means of matching.

60. The system of claim 59, wherein the instructions further comprise: the server end performing matching in the matched Topic so as identify the routing duplication unit to which the routing switch configuration record belongs.

61. The system of claim 60, wherein the routing switch configuration record and the routing rule configuration record are in single correspondence.

62. A cross-cluster routing forwarding device, the device comprising: a processor at a server end; a memory comprising computer-readable instructions that, when executed by the processor, cause the processor to implement the following components: a configuration acquiring module and at least one Topic, wherein the Topic includes a routing duplication unit and a message management unit, and the routing duplication unit includes a routing rule resolver, a routing rule executor, and a routing duplicator, wherein the configuration acquiring module is configured to acquire a routing rule configuration record written in a distributed coordination device, and notifying the routing rule resolver; the routing rule resolver is configured to convert the routing rule configuration record into a corresponding routing rule executor; the routing rule executor is configured to perform routing rule matching for a message in the message management unit that needs to be routed, so as to obtain a routing cluster list corresponding to the message; and the routing duplicator is configured to forward the message to the corresponding cluster according to the routing cluster list.

63. The device of claim 62, wherein the instructions further comprise: abstracting routing logic into a routing rule configuration record of JSON (JavaScript Object Notation) format.

64. The device of any one of the claims 62 to 63, wherein the instructions further comprise: writing the routing rule configuration record into the distributed coordination device.

65. The device of any one of the claims 62 to 64, wherein the instructions further comprise: acquiring, by the server end, the routing rule configuration record on the basis of a monitoring and notification mechanism of the distributed coordination device.

66. The device of any one of the claims 62 to 65, wherein the instructions further comprise: updating the routing rule configuration record into a memory.

67. The device of any one of the claims 62 to 66, wherein the routing rule configuration record includes a configuration record for adding a new routing rule, a configuration record for changing a routing rule, and a configuration record for deleting a routing rule.

68. The device of any one of the claims 62 to 67, wherein the instructions further comprise: matching and obtaining, by the server end, the Topic to which the routing rule configuration record belongs.

69. The device of any one of the claims 62 to 68, wherein the instructions further comprise: performing matching in the matched Topic so as to obtain a routing duplication unit to which the routing rule configuration record belongs.

70. The device of any one of the claims 62 to 69, wherein the instructions further comprise: using the routing rule resolver in the routing rule duplication unit to resolve the routing rule configuration record and convert it into a corresponding routing rule executor.

71. The device of any one of the claims 62 to 69, wherein when a routing duplication unit to which the routing rule configuration record belongs is not matched and obtained in the Topic, newly adding a routing rule duplication unit.

72. The device of any one of the claims 62 to 70, wherein the instructions further comprise: using the routing rule resolver in the newly added routing rule duplication unit to resolve the routing rule configuration record and convert it into the corresponding routing rule executor.

73. The device of any one of the claims 62 to 71, wherein when a routing duplication unit to which the routing rule configuration record belongs is matched and obtained in the Topic.

74. The device of any one of the claims 62 to 73, wherein the instructions further comprise: using the routing rule resolver in the identified routing duplication unit to resolve the routing rule configuration record and convert it into the corresponding routing rule executor.

75. The device of any one of the claims 62 to 74, wherein the instructions further comprise: replacing the existing routing rule executor with the routing rule executor obtained through the converting.

76. The device of any one of the claims 62 to 75, wherein when there is any redundant routing duplication unit in the Topic that does not match any routing rule configuration record, deleting the redundant routing duplication unit.

77. The device of any one of the claims 62 to 75, wherein the instructions further comprise: using the routing rule resolver in the identified routing duplication unit to resolve the routing rule configuration record and convert it into the corresponding routing rule executor, and deleting the existing routing rule executor.

78. The device of any one of the claims 62 to 77, wherein the instructions further comprise: turning off a routing switch of the matched and obtained routing duplication unit.

79. The device of any one of the claims 62 to 78, wherein the instructions further comprise: using the routing rule resolver to resolve the routing rule configuration record and convert it into the corresponding routing rule executor.

80. The device of any one of the claims 62 to 79, wherein the instructions further comprise: turning on the routing switch of the matched and obtained routing duplication unit.

81. The device of any one of the claims 62 to 80, wherein the routing rule executor performs the matching according to a routing field of each said message in the Topic to obtain the routing cluster list corresponding to each said message.

82. The device of any one of the claims 62 to 81, wherein the routing duplicator in the routing duplication unit forwards the message to the corresponding cluster according to the routing cluster list.

83. The device of any one of the claims 62 to 82, wherein the instructions further comprise: acquiring, by the server end, a routing switch configuration record written into the distributed coordination device.

84. The device of any one of the claims 62 to 83, wherein the instructions further comprise: configuring an on-off state of the routing duplication unit according to the routing switch configuration record.

85. The device of any one of the claims 62 to 83, wherein the instructions further comprise: acquiring, by the server end, a routing switch configuration record written into the distributed coordination device.

86. The device of any one of the claims 62 to 85, wherein the instructions further comprise: acquiring, by the server end, the routing switch configuration record written into the distributed coordination device based on the monitoring and notification mechanism of the distributed coordination device.

87. The device of any one of the claims 62 to 86, wherein the instructions further comprise: updating the routing switch configuration record into the memory.

88. The device of any one of the claims 62 to 87, wherein the instructions further comprise: matching and obtaining, by the server end, the Topic to which the routing switch configuration record belongs.

89. The device of any one of the claims 62 to 88, wherein the instructions further comprise: performing matching in the matched Topic to obtain the routing duplication unit to which the routing switch configuration record belongs.

90. The device of any one of the claims 62 to 89, wherein the instructions further comprise: configuring the on-off state of the matched routing duplication unit according to the routing switch configuration record.

91. The device of any one of the claims 62 to 90, wherein the server end acquiring a routing rule configuration record is written in the distributed coordination device.

92. The device of any one of the claims 62 to 91, wherein the server end using the routing rule resolver in a Topic to convert the routing rule configuration record into a corresponding routing rule executor.

93. The device of any one of the claims 62 to 92, wherein the server end using the routing rule executor to perform routing rule matching for a to-be-routed message in the Topic to obtain a routing cluster list corresponding to the message.

94. The device of any one of the claims 62 to 93, wherein the server end using a routing duplicator in the Topic to forward the message to the corresponding cluster according to the routing cluster list.

95. The device of any one of the claims 62 to 94, wherein the instructions further comprise: the server end acquiring, on the basis of a monitoring and notification mechanism of the distributed coordination device, the routing rule configuration record, and updating the routing rule configuration record into a memory.

96. The device of any one of the claims 62 to 95, wherein the distributed coordination device is a Zookeeper.

97. The device of any one of the claims 62 to 96, wherein the server end is a message publishing / subscribing platform of a distributed structure including message-oriented middleware.

98. The device of any one of the claims 62 to 97, wherein the routing rule configuration record indicates the Topic to be matched and the unique identifier of the routing duplication unit in the Topic.

99. The device of any one of the claims 62 to 98, wherein the server end sends according to the routing rule configuration record to the unique identifier to the corresponding Topic by means of unicasting.

100. The device of any one of the claims 62 to 99, wherein the server end is equipped with Topic-related configuration change management module.

101. The device of any one of the claims 62 to 100, wherein a pulsar is used as [[a]]the server end.

102. The device of any one of the claims 62 to 101, wherein when the pulsar receives a new routing rule configuration record, it uses the Topic-related configuration change management module to broadcast the routing rule configuration record for the Topic matching the unique identifier to receive.

103. The device of any one of the claims 62 to 102, wherein the exact routing logic and routing computing tasks involved are updated to the distributed coordination device in the form of a routing rule configuration record.

104. The device of any one of the claims 62 to 103, wherein the server end depends on the monitoring and notification mechanism provided by the distributed coordination device to monitor rule configuration records.

105. The device of any one of the claims 62 to 104, wherein the server end uses the routing rule resolver in the Topic to convert routing rule configuration record into the corresponding routing rule executor.

106. The device of any one of the claims 62 to 105, wherein the server end performs matching so as to identify to which Topic the routing rule configuration record belongs.

107. The device of any one of the claims 62 to 106, wherein the server end further performs matching in the matched Topic so as identify the routing duplication unit to which the routing rule configuration record belongs.

108. The device of any one of the claims 62 to 107, wherein the routing rule resolver in the routing rule duplication unit analyzes and converts the routing rule configuration record into the corresponding routing rule executor.

109. The device of any one of the claims 62 to 108, wherein when there is not a routing duplication unit identified as matching the routing rule configuration record, a routing rule duplication unit is newly added.

110. The device of any one of the claims 62 to 109, wherein the routing rule resolver in the newly added routing rule duplication unit analyzes and converts the routing rule configuration record into the corresponding routing rule executor.

111. The device of any one of the claims 62 to 110, wherein when there is a routing duplication unit in the Topic identified as matching the routing rule configuration record, the routing rule resolver of the identified routing duplication unit analyzes and converts the routing rule configuration record into the corresponding routing rule executor.

112. The device of any one of the claims 62 to 111, wherein the existing routing rule executor is replaced by the routing rule executor obtained through the conversion.

113. The device of any one of the claims 62 to 112, wherein every routing rule configuration record corresponds to one routing rule executor to prevent routing of the message from mismatching errors.

114. The device of any one of the claims 62 to 113, wherein the instructions further comprise: using the routing rule resolver in the routing duplication unit identified by the matching to analyze and convert the routing rule configuration record into the corresponding routing rule executor, and deleting the existing routing rule executor.

115. The device of any one of the claims 62 to 114, wherein the instructions further comprise: turning off a routing switch of the identified routing duplication unit.

116. The device of any one of the claims 62 to 115, wherein the instructions further comprise: using the routing rule resolver to analyze and convert the routing rule configuration record into the corresponding routing rule executor.

117. The device of any one of the claims 62 to 116, wherein the instructions further comprise: turning on the routing switch of the identified routing duplication unit.

118. The device of any one of the claims 62 to 116, wherein the routing rule resolver processes the routing rule configuration record in the JSON format by means of analysis and conversion to obtain a routing rule executor that recognizes and operate codes.

119. The device of any one of the claims 62 to 118, wherein the instructions further comprise: the server end acquiring the routing switch configuration record written into the distributed coordination device based on the monitoring and notification mechanism of the distributed coordination device, and updating the routing switch configuration record into the memory.

120. The device of any one of the claims 62 to 119, wherein the instructions further comprise: the server end identifying the Topic to which the routing switch configuration record belongs by means of matching.

121. The device of any one of the claims 62 to 120, wherein the instructions further comprise: the server end performing matching in the matched Topic so as identify the routing duplication unit to which the routing switch configuration record belongs.

122. The device of any one of the claims 62 to 121, wherein the routing switch configuration record and the routing rule configuration record are in single correspondence.

123. A computer readable physical memory comprising computer-readable instructions that, when executed by a processor, cause the processor to: acquire, by a server end, a routing rule configuration record written in a distributed coordination system; use, by the server end, a routing rule resolver in a Topic to convert the routing rule configuration record into a corresponding routing rule executor; use, by the server end, the routing rule executor to perform routing rule matching for a message in the Topic that needs to be routed, so as to obtain a routing cluster list corresponding to the message; and use, by the server end, a routing duplicator in the Topic to forward the message to a corresponding cluster according to the routing cluster list.

124. The memory of claim 123, wherein the instructions further comprise: abstracting routing logic into a routing rule configuration record of JSON (JavaScript Object Notation) format.

125. The memory of any one of the claims 123 to 124, wherein the instructions further comprise: writing the routing rule configuration record into the distributed coordination system.

126. The memory of any one of the claims 123 to 125, wherein the instructions further comprise: acquiring, by the server end, the routing rule configuration record on the basis of a monitoring and notification mechanism of the distributed coordination system.

127. The memory of any one of the claims 123 to 126, wherein the instructions further comprise: updating the routing rule configuration record into a memory.

128. The memory of any one of the claims 123 to 127, wherein the routing rule configuration record includes a configuration record for adding a new routing rule, a configuration record for changing a routing rule, and a configuration record for deleting a routing rule.

129. The memory of any one of the claims 123 to 128, wherein the instructions further comprise: matching and obtaining, by the server end, the Topic to which the routing rule configuration record belongs.

130. The memory of any one of the claims 123 to 129, wherein the instructions further comprise: performing matching in the matched Topic so as to obtain a routing duplication unit to which the routing rule configuration record belongs.

131. The memory of any one of the claims 123 to 130, wherein the instructions further comprise: using the routing rule resolver in the routing rule duplication unit to resolve the routing rule configuration record and convert it into a corresponding routing rule executor.

132. The memory of any one of the claims 123 to 130, wherein when a routing duplication unit to which the routing rule configuration record belongs is not matched and obtained in the Topic, newly adding a routing rule duplication unit.

133. The memory of any one of the claims 123 to 131, wherein the instructions further comprise: using the routing rule resolver in the newly added routing rule duplication unit to resolve the routing rule configuration record and convert it into the corresponding routing rule executor.

134. The memory of any one of the claims 123 to 132, wherein when a routing duplication unit to which the routing rule configuration record belongs is matched and obtained in the Topic.

135. The memory of any one of the claims 123 to 134, wherein the instructions further comprise: using the routing rule resolver in the identified routing duplication unit to resolve the routing rule configuration record and convert it into the corresponding routing rule executor.

136. The memory of any one of the claims 123 to 135, wherein the instructions further comprise: replacing the existing routing rule executor with the routing rule executor obtained through the converting.

137. The memory of any one of the claims 123 to 136, wherein when there is any redundant routing duplication unit in the Topic that does not match any routing rule configuration record, deleting the redundant routing duplication unit.

138. The memory of any one of the claims 123 to 136, wherein the instructions further comprise: using the routing rule resolver in the identified routing duplication unit to resolve the routing rule configuration record and convert it into the corresponding routing rule executor, and deleting the existing routing rule executor.

139. The memory of any one of the claims 123 to 138, wherein the instructions further comprise: turning off a routing switch of the matched and obtained routing duplication unit.

140. The memory of any one of the claims 123 to 139, wherein the instructions further comprise: using the routing rule resolver to resolve the routing rule configuration record and convert it into the corresponding routing rule executor.

141. The memory of any one of the claims 123 to 140, wherein the instructions further comprise: turning on the routing switch of the matched and obtained routing duplication unit.

142. The memory of any one of the claims 123 to 141, wherein the routing rule executor performs the matching according to a routing field of each said message in the Topic to obtain the routing cluster list corresponding to each said message.

143. The memory of any one of the claims 123 to 142, wherein the routing duplicator in the routing duplication unit forwards the message to the corresponding cluster according to the routing cluster list.

144. The memory of any one of the claims 123 to 143, wherein the instructions further comprise: acquiring, by the server end, a routing switch configuration record written into the distributed coordination system.

145. The memory of any one of the claims 123 to 144, wherein the instructions further comprise: configuring an on-off state of the routing duplication unit according to the routing switch configuration record.

146. The memory of any one of the claims 123 to 144, wherein the instructions further comprise: acquiring, by the server end, a routing switch configuration record written into the distributed coordination system.

147. The memory of any one of the claims 123 to 146, wherein the instructions further comprise: acquiring, by the server end, the routing switch configuration record written into the distributed coordination system based on the monitoring and notification mechanism of the distributed coordination system.

148. The memory of any one of the claims 123 to 147, wherein the instructions further comprise: updating the routing switch configuration record into the memory.

149. The memory of any one of the claims 123 to 148, wherein the instructions further comprise: matching and obtaining, by the server end, the Topic to which the routing switch configuration record belongs.

150. The memory of any one of the claims 123 to 149, wherein the instructions further comprise: performing matching in the matched Topic to obtain the routing duplication unit to which the routing switch configuration record belongs.

151. The memory of any one of the claims 123 to 150, wherein the instructions further comprise: configuring the on-off state of the matched routing duplication unit according to the routing switch configuration record.

152. The memory of any one of the claims 123 to 151, wherein the server end acquiring a routing rule configuration record is written in the distributed coordination system.

153. The memory of any one of the claims 123 to 152, wherein the server end using the routing rule resolver in a Topic to convert the routing rule configuration record into a corresponding routing rule executor.

154. The memory of any one of the claims 123 to 153, wherein the server end using the routing rule executor to perform routing rule matching for a to-be-routed message in the Topic to obtain a routing cluster list corresponding to the message.

155. The memory of any one of the claims 123 to 154, wherein the server end using a routing duplicator in the Topic to forward the message to the corresponding cluster according to the routing cluster list.

156. The memory of any one of the claims 123 to 155, wherein the instructions further comprise: the server end acquiring, on the basis of a monitoring and notification mechanism of the distributed coordination system, the routing rule configuration record, and updating the routing rule configuration record into a memory.

157. The memory of any one of the claims 123 to 156, wherein the distributed coordination system is a Zookeeper.

158. The memory of any one of the claims 123 to 157, wherein the server end is a message publishing / subscribing platform of a distributed structure including message-oriented middleware.

159. The memory of any one of the claims 123 to 158, wherein the routing rule configuration record indicates the Topic to be matched and the unique identifier of the routing duplication unit in the Topic.

160. The memory of any one of the claims 123 to 159, wherein the server end sends according to the routing rule configuration record to the unique identifier to the corresponding Topic by means of unicasting.

161. The memory of any one of the claims 123 to 160, wherein the server end is equipped with Topic-related configuration change management module.

162. The memory of any one of the claims 123 to 161, wherein a pulsar is used as [[a]]the server end.

163. The memory of any one of the claims 123 to 162, wherein when the pulsar receives a new routing rule configuration record, it uses the Topic-related configuration change management module to broadcast the routing rule configuration record for the Topic matching the unique identifier to receive.

164. The memory of any one of the claims 123 to 163, wherein the exact routing logic and routing computing tasks involved are updated to the distributed coordination system in the form of a routing rule configuration record.

165. The memory of any one of the claims 123 to 164, wherein the server end depends on the monitoring and notification mechanism provided by the distributed coordination system to monitor rule configuration records.

166. The memory of any one of the claims 123 to 165, wherein the server end uses the routing rule resolver in the Topic to convert routing rule configuration record into the corresponding routing rule executor.

167. The memory of any one of the claims 123 to 166, wherein the server end performs matching so as to identify to which Topic the routing rule configuration record belongs.

168. The memory of any one of the claims 123 to 167, wherein the server end further performs matching in the matched Topic so as identify the routing duplication unit to which the routing rule configuration record belongs.

169. The memory of any one of the claims 123 to 168, wherein the routing rule resolver in the routing rule duplication unit analyzes and converts the routing rule configuration record into the corresponding routing rule executor.

170. The memory of any one of the claims 123 to 169, wherein when there is not a routing duplication unit identified as matching the routing rule configuration record, a routing rule duplication unit is newly added.

171. The memory of any one of the claims 123 to 170, wherein the routing rule resolver in the newly added routing rule duplication unit analyzes and converts the routing rule configuration record into the corresponding routing rule executor.

172. The memory of any one of the claims 123 to 171, wherein when there is a routing duplication unit in the Topic identified as matching the routing rule configuration record, the routing rule resolver of the identified routing duplication unit analyzes and converts the routing rule configuration record into the corresponding routing rule executor.

173. The memory of any one of the claims 123 to 172, wherein the existing routing rule executor is replaced by the routing rule executor obtained through the conversion.

174. The memory of any one of the claims 123 to 173, wherein every routing rule configuration record corresponds to one routing rule executor to prevent routing of the message from mismatching errors.

175. The memory of any one of the claims 123 to 174, wherein the instructions further comprise: using the routing rule resolver in the routing duplication unit identified by the matching to analyze and convert the routing rule configuration record into the corresponding routing rule executor, and deleting the existing routing rule executor.

176. The memory of any one of the claims 123 to 175, wherein the instructions further comprise: turning off a routing switch of the identified routing duplication unit.

177. The memory of any one of the claims 123 to 176, wherein the instructions further comprise: using the routing rule resolver to analyze and convert the routing rule configuration record into the corresponding routing rule executor.

178. The memory of any one of the claims 123 to 177, wherein the instructions further comprise: turning on the routing switch of the identified routing duplication unit.

179. The memory of any one of the claims 123 to 177, wherein the routing rule resolver processes the routing rule configuration record in the JSON format by means of analysis and conversion to obtain a routing rule executor that recognizes and operate codes.

180. The memory of any one of the claims 123 to 179, wherein the instructions further comprise: the server end acquiring the routing switch configuration record written into the distributed coordination system based on the monitoring and notification mechanism of the distributed coordination system, and updating the routing switch configuration record into the memory.

181. The memory of any one of the claims 123 to 180, wherein the instructions further comprise: the server end identifying the Topic to which the routing switch configuration record belongs by means of matching.

182. The memory of any one of the claims 123 to 181, wherein the instructions further comprise: the server end performing matching in the matched Topic so as identify the routing duplication unit to which the routing switch configuration record belongs.

183. The memory of any one of the claims 123 to 182, wherein the routing switch configuration record and the routing rule configuration record are in single correspondence.

184. A cross-cluster routing forwarding method, the method comprising: acquiring, by a server end, a routing rule configuration record written in a distributed coordination system; using, by the server end, a routing rule resolver in a Topic to convert the routing rule configuration record into a corresponding routing rule executor; using, by the server end, the routing rule executor to perform routing rule matching for a message in the Topic that needs to be routed, so as to obtain a routing cluster list corresponding to the message; and using, by the server end, a routing duplicator in the Topic to forward the message to a corresponding cluster according to the routing cluster list.

185. The method of claim 184, wherein the method further comprises: abstracting routing logic into a routing rule configuration record of JSON (JavaScript Object Notation) format.

186. The method of any one of the claims 184 to 185, wherein the method further comprises: writing the routing rule configuration record into the distributed coordination system.

187. The method of any one of the claims 184 to 186, wherein the method further comprises: acquiring, by the server end, the routing rule configuration record on the basis of a monitoring and notification mechanism of the distributed coordination system.

188. The method of any one of the claims 184 to 187, wherein the method further comprises: updating the routing rule configuration record into a memory.

189. The method of any one of the claims 184 to 188, wherein the routing rule configuration record includes a configuration record for adding a new routing rule, a configuration record for changing a routing rule, and a configuration record for deleting a routing rule.

190. The method of any one of the claims 184 to 189, wherein the method further comprises: matching and obtaining, by the server end, the Topic to which the routing rule configuration record belongs.

191. The method of any one of the claims 184 to 190, wherein the method further comprises: performing matching in the matched Topic so as to obtain a routing duplication unit to which the routing rule configuration record belongs.

192. The method of any one of the claims 184 to 191, wherein the method further comprises: using the routing rule resolver in the routing rule duplication unit to resolve the routing rule configuration record and convert it into a corresponding routing rule executor.

193. The method of any one of the claims 184 to 191, wherein when a routing duplication unit to which the routing rule configuration record belongs is not matched and obtained in the Topic, newly adding a routing rule duplication unit.

194. The method of any one of the claims 184 to 192, wherein the method further comprises: using the routing rule resolver in the newly added routing rule duplication unit to resolve the routing rule configuration record and convert it into the corresponding routing rule executor.

195. The method of any one of the claims 184 to 193, wherein when a routing duplication unit to which the routing rule configuration record belongs is matched and obtained in the Topic.

196. The method of any one of the claims 184 to 195, wherein the method further comprises: using the routing rule resolver in the identified routing duplication unit to resolve the routing rule configuration record and convert it into the corresponding routing rule executor.

197. The method of any one of the claims 184 to 196, wherein the method further comprises: replacing the existing routing rule executor with the routing rule executor obtained through the converting.

198. The method of any one of the claims 184 to 197, wherein when there is any redundant routing duplication unit in the Topic that does not match any routing rule configuration record, deleting the redundant routing duplication unit.

199. The method of any one of the claims 184 to 197, wherein the method further comprises: using the routing rule resolver in the identified routing duplication unit to resolve the routing rule configuration record and convert it into the corresponding routing rule executor, and deleting the existing routing rule executor.

200. The method of any one of the claims 184 to 199, wherein the method further comprises: turning off a routing switch of the matched and obtained routing duplication unit.

201. The method of any one of the claims 184 to 200, wherein the method further comprises: using the routing rule resolver to resolve the routing rule configuration record and convert it into the corresponding routing rule executor.

202. The method of any one of the claims 184 to 201, wherein the method further comprises: turning on the routing switch of the matched and obtained routing duplication unit.

203. The method of any one of the claims 184 to 202, wherein the routing rule executor performs the matching according to a routing field of each said message in the Topic to obtain the routing cluster list corresponding to each said message.

204. The method of any one of the claims 184 to 203, wherein the routing duplicator in the routing duplication unit forwards the message to the corresponding cluster according to the routing cluster list.

205. The method of any one of the claims 184 to 204, wherein the method further comprises: acquiring, by the server end, a routing switch configuration record written into the distributed coordination system.

206. The method of any one of the claims 184 to 205, wherein the method further comprises: configuring an on-off state of the routing duplication unit according to the routing switch configuration record.

207. The method of any one of the claims 184 to 205, wherein the method further comprises: acquiring, by the server end, a routing switch configuration record written into the distributed coordination system.

208. The method of any one of the claims 184 to 207, wherein the method further comprises: acquiring, by the server end, the routing switch configuration record written into the distributed coordination system based on the monitoring and notification mechanism of the distributed coordination system.

209. The method of any one of the claims 184 to 208, wherein the method further comprises: updating the routing switch configuration record into the memory.

210. The method of any one of the claims 184 to 209, wherein the method further comprises: matching and obtaining, by the server end, the Topic to which the routing switch configuration record belongs.

211. The method of any one of the claims 184 to 210, wherein the method further comprises: performing matching in the matched Topic to obtain the routing duplication unit to which the routing switch configuration record belongs.

212. The method of any one of the claims 184 to 211, wherein the method further comprises: configuring the on-off state of the matched routing duplication unit according to the routing switch configuration record.

213. The method of any one of the claims 184 to 212, wherein the server end acquiring a routing rule configuration record is written in the distributed coordination system.

214. The method of any one of the claims 184 to 213, wherein the server end using the routing rule resolver in a Topic to convert the routing rule configuration record into a corresponding routing rule executor.

215. The method of any one of the claims 184 to 214, wherein the server end using the routing rule executor to perform routing rule matching for a to-be-routed message in the Topic to obtain a routing cluster list corresponding to the message.

216. The method of any one of the claims 184 to 215, wherein the server end using a routing duplicator in the Topic to forward the message to the corresponding cluster according to the routing cluster list.

217. The method of any one of the claims 184 to 216, wherein the method further comprises: the server end acquiring, on the basis of a monitoring and notification mechanism of the distributed coordination system, the routing rule configuration record, and updating the routing rule configuration record into a memory.

218. The method of any one of the claims 184 to 217, wherein the distributed coordination system is a Zookeeper.

219. The method of any one of the claims 184 to 218, wherein the server end is a message publishing / subscribing platform of a distributed structure including message-oriented middleware.

220. The method of any one of the claims 184 to 219, wherein the routing rule configuration record indicates the Topic to be matched and the unique identifier of the routing duplication unit in the Topic.

221. The method of any one of the claims 184 to 220, wherein the server end sends according to the routing rule configuration record to the unique identifier to the corresponding Topic by means of unicasting.

222. The method of any one of the claims 184 to 221, wherein the server end is equipped with Topic-related configuration change management module.

223. The method of any one of the claims 184 to 222, wherein a pulsar is used as [[a]]the server end.

224. The method of any one of the claims 184 to 223, wherein when the pulsar receives a new routing rule configuration record, it uses the Topic-related configuration change management module to broadcast the routing rule configuration record for the Topic matching the unique identifier to receive.

225. The method of any one of the claims 184 to 224, wherein the exact routing logic and routing computing tasks involved are updated to the distributed coordination system in the form of a routing rule configuration record.

226. The method of any one of the claims 184 to 225, wherein the server end depends on the monitoring and notification mechanism provided by the distributed coordination system to monitor rule configuration records.

227. The method of any one of the claims 184 to 226, wherein the server end uses the routing rule resolver in the Topic to convert routing rule configuration record into the corresponding routing rule executor.

228. The method of any one of the claims 184 to 227, wherein the server end performs matching so as to identify to which Topic the routing rule configuration record belongs.

229. The method of any one of the claims 184 to 228, wherein the server end further performs matching in the matched Topic so as identify the routing duplication unit to which the routing rule configuration record belongs.

230. The method of any one of the claims 184 to 229, wherein the routing rule resolver in the routing rule duplication unit analyzes and converts the routing rule configuration record into the corresponding routing rule executor.

231. The method of any one of the claims 184 to 230, wherein when there is not a routing duplication unit identified as matching the routing rule configuration record, a routing rule duplication unit is newly added.

232. The method of any one of the claims 184 to 231, wherein the routing rule resolver in the newly added routing rule duplication unit analyzes and converts the routing rule configuration record into the corresponding routing rule executor.

233. The method of any one of the claims 184 to 232, wherein when there is a routing duplication unit in the Topic identified as matching the routing rule configuration record, the routing rule resolver of the identified routing duplication unit analyzes and converts the routing rule configuration record into the corresponding routing rule executor.

234. The method of any one of the claims 184 to 233, wherein the existing routing rule executor is replaced by the routing rule executor obtained through the conversion.

235. The method of any one of the claims 184 to 234, wherein every routing rule configuration record corresponds to one routing rule executor to prevent routing of the message from mismatching errors.

236. The method of any one of the claims 184 to 235, wherein the method further comprises: using the routing rule resolver in the routing duplication unit identified by the matching to analyze and convert the routing rule configuration record into the corresponding routing rule executor, and deleting the existing routing rule executor.

237. The method of any one of the claims 184 to 236, wherein the method further comprises: turning off a routing switch of the identified routing duplication unit.

238. The method of any one of the claims 184 to 237, wherein the method further comprises: using the routing rule resolver to analyze and convert the routing rule configuration record into the corresponding routing rule executor.

239. The method of any one of the claims 184 to 238, wherein the method further comprises: turning on the routing switch of the identified routing duplication unit.

240. The method of any one of the claims 184 to 239, wherein the routing rule resolver processes the routing rule configuration record in the JSON format by means of analysis and conversion to obtain a routing rule executor that recognizes and operate codes.

241. The method of any one of the claims 184 to 240, wherein the method further comprises: the server end acquiring the routing switch configuration record written into the distributed coordination system based on the monitoring and notification mechanism of the distributed coordination system, and updating the routing switch configuration record into the memory.

242. The method of any one of the claims 184 to 241, wherein the method further comprises: the server end identifying the Topic to which the routing switch configuration record belongs by means of matching.

243. The method of any one of the claims 184 to 242, wherein the method further comprises: the server end performing matching in the matched Topic so as identify the routing duplication unit to which the routing switch configuration record belongs.

244. The method of any one of the claims 184 to 243, wherein the routing switch configuration record and the routing rule configuration record are in single correspondence.