[go: up one dir, main page]

CN115514814A - A message system, message processing method, device and equipment - Google Patents

A message system, message processing method, device and equipment Download PDF

Info

Publication number
CN115514814A
CN115514814A CN202110693117.2A CN202110693117A CN115514814A CN 115514814 A CN115514814 A CN 115514814A CN 202110693117 A CN202110693117 A CN 202110693117A CN 115514814 A CN115514814 A CN 115514814A
Authority
CN
China
Prior art keywords
message
business
service
initialization
access request
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202110693117.2A
Other languages
Chinese (zh)
Other versions
CN115514814B (en
Inventor
厉佐瑞
祁怀远
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Jialian Payment Co ltd
Original Assignee
Jialian Payment Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Jialian Payment Co ltd filed Critical Jialian Payment Co ltd
Priority to CN202110693117.2A priority Critical patent/CN115514814B/en
Publication of CN115514814A publication Critical patent/CN115514814A/en
Application granted granted Critical
Publication of CN115514814B publication Critical patent/CN115514814B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer And Data Communications (AREA)

Abstract

The application discloses a message system, a message processing method, a device and equipment, comprising: the message processing module is used for carrying out initialization operation, submission operation or cancellation operation on the business message corresponding to the business service of the business system; the service is a service corresponding to an access request of the service system, and the access request is a request of the service system for requesting to access the message system; the message routing module is used for storing basic information of the service message so that the message processing module can perform corresponding initialization operation, submission operation or cancellation operation on the service message according to the basic information. The message processing module and the message routing module of the message system interact with the service system to realize the initialization operation, the submission operation or the cancellation operation of the service message, and the message processing efficiency and the flexibility are improved.

Description

一种消息系统、消息处理方法、装置及设备A message system, message processing method, device and equipment

技术领域technical field

本发明涉及通信技术领域,特别涉及一种消息系统、消息处理方法、装置及设备。The present invention relates to the technical field of communications, in particular to a message system, a message processing method, device and equipment.

背景技术Background technique

消息中间件是软件系统中常见的组件,多用于微服务架构下多个服务间的通信场景,通常具备消息堆积及持久化能力。使用消息中间件可以缓解服务间由于处理能力波动或不一致等情况引发的通信丢失,超时等问题。Message middleware is a common component in software systems. It is mostly used in communication scenarios between multiple services under the microservice architecture, and usually has message accumulation and persistence capabilities. The use of message middleware can alleviate communication loss and timeout problems caused by fluctuations or inconsistencies in processing capabilities between services.

对于基于事务的消息采用“初始化→提交/取消”模式来发送消息的消息中间件,生产者需要初始化消息,执行业务逻辑,然后再提交或者取消来决定该消息是否推送给消费者。此类消息中间件的原生API限定业务消息的内容必须在初始化阶段提供且在消息投递过程中不能进行修改,降低消息投递的效率和可维护性。For transaction-based message middleware that uses the "initialization→commit/cancel" mode to send messages, the producer needs to initialize the message, execute business logic, and then submit or cancel to decide whether to push the message to the consumer. The native API of this type of message middleware restricts the content of business messages to be provided in the initialization phase and cannot be modified during message delivery, which reduces the efficiency and maintainability of message delivery.

发明内容Contents of the invention

有鉴于此,本发明的目的在于提供一种消息系统、消息处理方法、装置、及设备,另外本发明还提供相应的存储介质,能够提高消息处理效率和灵活性。其具体方案如下:In view of this, the purpose of the present invention is to provide a message system, message processing method, device, and equipment, and the present invention also provides a corresponding storage medium, which can improve message processing efficiency and flexibility. The specific plan is as follows:

本申请的第一方面提供了一种消息系统,包括:消息处理模块和消息路由模块,其中:The first aspect of the present application provides a message system, including: a message processing module and a message routing module, wherein:

所述消息处理模块,用于对与业务系统的业务服务对应的业务消息进行初始化操作、提交操作或取消操作;其中,所述业务服务为与所述业务系统的接入请求对应的服务,所述接入请求为所述业务系统请求接入所述消息系统的请求;The message processing module is configured to perform an initialization operation, a submission operation, or a cancellation operation on a business message corresponding to a business service of the business system; wherein, the business service is a service corresponding to an access request of the business system, and the The access request is a request for the service system to access the message system;

所述消息路由模块,用于存储所述业务消息的基础信息,以便所述消息处理模块根据所述基础信息对所述业务消息进行相应的初始化操作、提交操作或取消操作。The message routing module is configured to store the basic information of the service message, so that the message processing module performs a corresponding initialization operation, submission operation or cancellation operation on the service message according to the basic information.

可选的,所述消息处理模块包括消息初始化单元、消息提交单元及消息取消单元,其中:Optionally, the message processing module includes a message initialization unit, a message submission unit and a message cancellation unit, wherein:

所述消息初始化单元,用于根据与业务系统的初始化服务对应的待初始化消息进行初始化操作;The message initialization unit is configured to perform an initialization operation according to the message to be initialized corresponding to the initialization service of the business system;

所述消息提交单元,用于根据与业务系统的消息提交服务对应的待提交消息进行提交操作;The message submission unit is configured to perform a submission operation according to the message to be submitted corresponding to the message submission service of the business system;

所述消息取消单元,用于根据与业务系统的消息取消服务对应的待取消消息进行取消操作。The message cancellation unit is configured to perform a cancellation operation according to the message to be canceled corresponding to the message cancellation service of the business system.

可选的,所述消息初始化单元用于对所述待初始化消息的所述基础信息进行配置,并将配置后的所述待初始化消息的所述基础信息通过远程字典服务的方式存储至所述消息路由模块。Optionally, the message initialization unit is configured to configure the basic information of the message to be initialized, and store the configured basic information of the message to be initialized in the remote dictionary service. Message routing module.

可选的,所述配置后的所述待初始化消息还设置有相应的过期时间。Optionally, the configured message to be initialized is also set with a corresponding expiration time.

可选的,所述消息提交单元用于从所述消息路由模块的所述基础信息中获取所述待提交消息的投递地址,并将所述待提交消息及相应的所述投递地址发送至消息中间件,以便所述消息中间件根据所述投递地址对所述待提交消息进行投递。Optionally, the message submission unit is configured to obtain the delivery address of the message to be submitted from the basic information of the message routing module, and send the message to be submitted and the corresponding delivery address to the message middleware, so that the message middleware delivers the message to be submitted according to the delivery address.

可选的,所述消息处理模块还包括:Optionally, the message processing module also includes:

第一状态更新单元,用于对所述业务消息进行初始化操作后,将所述业务消息对应的状态更新为初始化状态;The first state updating unit is configured to update the state corresponding to the service message to an initialization state after performing an initialization operation on the service message;

第二状态更新单元,用于对所述业务消息进行提交操作后,将所述业务消息对应的状态更新为已提交状态;The second status updating unit is configured to update the status corresponding to the business message to the submitted status after the submit operation is performed on the business message;

第三状态更新单元,用于对所述业务消息进行取消操作后,将所述业务消息对应的状态更新为已取消状态。The third status updating unit is configured to update the status corresponding to the business message to a canceled status after the cancel operation is performed on the business message.

本申请的第二方面提供了一种消息处理方法,基于前述消息系统,包括:The second aspect of the present application provides a message processing method, based on the aforementioned message system, including:

获取业务系统的接入请求及所述消息系统提供的与所述接入请求对应的业务服务的应用接口;其中,所述接入请求为所述业务系统请求接入所述消息系统的请求;Obtaining an access request of a business system and an application interface of a business service corresponding to the access request provided by the messaging system; wherein, the access request is a request from the business system to access the messaging system;

将所述业务系统通过所述应用接口与所述消息系统建立连接关系,并利用所述消息系统将与所述业务服务对应的业务消息进行初始化操作、提交操作或取消操作,以对所述业务服务进行响应。Establish a connection relationship between the business system and the message system through the application interface, and use the message system to initialize, submit or cancel the business message corresponding to the business service, so that the business The service responds.

可选的,所述应用接口基于超文本传输协议构建。Optionally, the application interface is constructed based on Hypertext Transfer Protocol.

本申请的第三方面提供了一种消息处理装置,基于前述消息系统,包括:The third aspect of the present application provides a message processing device based on the aforementioned message system, including:

获取模块,用于获取业务系统的接入请求及所述消息系统提供的与所述接入请求对应的业务服务的应用接口;其中,所述接入请求为所述业务系统请求接入所述消息系统的请求;An acquisition module, configured to acquire an access request of a business system and an application interface of a business service provided by the message system corresponding to the access request; wherein, the access request is a request from the business system to access the Message system requests;

服务响应模块,用于将所述业务系统通过所述应用接口与所述消息系统建立连接关系,并利用所述消息系统将与所述业务服务对应的业务消息进行处理,以对所述业务服务进行响应。A service response module, configured to establish a connection relationship between the business system and the message system through the application interface, and use the message system to process business messages corresponding to the business service, so as to respond to the business service to respond.

本申请的第四方面提供了一种电子设备,所述电子设备包括处理器和存储器;其中所述存储器用于存储计算机程序,所述计算机程序由所述处理器加载并执行以实现前述消息处理方法。The fourth aspect of the present application provides an electronic device, the electronic device includes a processor and a memory; wherein the memory is used to store a computer program, and the computer program is loaded and executed by the processor to realize the aforementioned message processing method.

本申请的第五方面提供了一种计算机可读存储介质,所述计算机可读存储介质中存储有计算机可执行指令,所述计算机可执行指令被处理器加载并执行时,实现前述消息处理方法。A fifth aspect of the present application provides a computer-readable storage medium, where computer-executable instructions are stored in the computer-readable storage medium, and when the computer-executable instructions are loaded and executed by a processor, the aforementioned message processing method is implemented .

本申请中,所述消息系统包括消息处理模块和消息路由模块,其中,所述消息处理模块,用于对与所述业务系统的业务服务对应的业务消息进行初始化操作、提交操作或取消操作;其中,所述业务服务为与所述业务系统的接入请求对应的服务,所述接入请求为所述业务系统请求接入所述消息系统的请求;所述消息路由模块,用于存储所述业务消息的基础信息,以便所述消息处理模块根据所述基础信息对所述业务消息进行相应的初始化操作、提交操作或取消操作。本申请通过所述消息系统的所述消息处理模块及所述消息路由模块与所述业务系统进行交互,以实现所述业务消息的初始化操作、提交操作或取消操作,提高消息处理效率和灵活性。In the present application, the message system includes a message processing module and a message routing module, wherein the message processing module is used to initialize, submit or cancel business messages corresponding to the business services of the business system; Wherein, the business service is a service corresponding to an access request of the business system, and the access request is a request of the business system to access the message system; the message routing module is configured to store the Basic information of the service message, so that the message processing module performs corresponding initialization, submission or cancellation operations on the service message according to the basic information. This application interacts with the business system through the message processing module and the message routing module of the message system to realize the initialization operation, submission operation or cancellation operation of the business message, and improve the efficiency and flexibility of message processing .

附图说明Description of drawings

为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据提供的附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only It is an embodiment of the present invention, and those skilled in the art can also obtain other drawings according to the provided drawings without creative work.

图1为本申请提供的一种消息系统结构图;FIG. 1 is a structural diagram of a messaging system provided by the present application;

图2为本申请提供的一种具体的消息系统交互结构图;FIG. 2 is a specific message system interaction structure diagram provided by the present application;

图3为本申请提供的一种具体的消息系统实现逻辑图;Fig. 3 is a kind of specific message system implementation logic diagram provided by the present application;

图4为本申请提供的一种消息初始化流程图;FIG. 4 is a flow chart of message initialization provided by the present application;

图5为本申请提供的一种消息提交流程图;FIG. 5 is a flow chart of message submission provided by this application;

图6为本申请提供的一种消息取消流程图;FIG. 6 is a flow chart of message cancellation provided by this application;

图7为本申请提供的一种消息处理方法流程图;FIG. 7 is a flowchart of a message processing method provided by the present application;

图8为本申请提供的一种消息处理装置结构示意图;FIG. 8 is a schematic structural diagram of a message processing device provided by the present application;

图9为本申请提供的一种消息处理电子设备结构图。FIG. 9 is a structural diagram of a message processing electronic device provided by the present application.

具体实施方式detailed description

下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

现有对于基于事务的消息采用“初始化→提交/取消”模式来发送消息的消息中间件,生产者需要初始化消息,执行业务逻辑,然后再提交或者取消来决定该消息是否推送给消费者。此类消息中间件的原生API限定业务消息的内容必须在初始化阶段提供且在消息投递过程中不能进行修改,降低消息投递的效率和可维护性。针对上述技术缺陷,本申请提供一种消息系统、消息处理方案,通过所述消息系统的所述消息处理模块及所述消息路由模块与所述业务系统进行交互,以实现所述业务消息的初始化操作、提交操作或取消操作,提高消息处理效率和灵活性。Existing message middleware for transaction-based messages uses the "initialization→commit/cancel" mode to send messages. The producer needs to initialize the message, execute business logic, and then submit or cancel to decide whether to push the message to the consumer. The native API of this type of message middleware restricts the content of business messages to be provided in the initialization phase and cannot be modified during message delivery, which reduces the efficiency and maintainability of message delivery. In view of the above-mentioned technical defects, this application provides a message system and a message processing solution, through which the message processing module and the message routing module of the message system interact with the service system to realize the initialization of the service message Operation, submit operation or cancel operation, improve the efficiency and flexibility of message processing.

图1为本申请提供的一种消息系统结构图。参见图1所示,该消息系统01包括消息处理模块011和消息路由模块012,其中:FIG. 1 is a structural diagram of a message system provided by this application. Referring to Fig. 1, the message system 01 includes a message processing module 011 and a message routing module 012, wherein:

所述消息处理模块011,用于对与业务系统的业务服务对应的业务消息进行初始化操作、提交操作或取消操作;其中,所述业务服务为与所述业务系统的接入请求对应的服务,所述接入请求为所述业务系统请求接入所述消息系统的请求。所述消息路由模块012,用于存储所述业务消息的基础信息,以便所述消息处理模块根据所述基础信息对所述业务消息进行相应的初始化操作、提交操作或取消操作。也即,所述消息路由模块012存储不同的消息类型以及对应主题和投递方式,提供数据给所述消息处理模块011。所述业务服务可以为初始化业务消息、提交业务消息、取消业务消息等。本实施例中,所述消息处理模块011和所述消息路由模块对应不同的程序,在容器化微服务的架构下,可以为虚拟化的服务器。The message processing module 011 is configured to perform an initialization operation, a submission operation, or a cancellation operation on a business message corresponding to a business service of the business system; wherein, the business service is a service corresponding to an access request of the business system, The access request is a request for the service system to access the message system. The message routing module 012 is configured to store the basic information of the service message, so that the message processing module performs corresponding initialization operation, submission operation or cancellation operation on the service message according to the basic information. That is, the message routing module 012 stores different message types and corresponding topics and delivery methods, and provides data to the message processing module 011 . The business service may be initializing a business message, submitting a business message, canceling a business message, and the like. In this embodiment, the message processing module 011 and the message routing module correspond to different programs, and may be virtualized servers under the framework of containerized microservices.

进一步的,图2为本申请提供的一种具体的消息系统交互结构图,如图2所示,所述消息系统01与所述业务系统02及所述消息中间件03之间进行数据交互,以对所述业务系统02的所述业务服务对应的业务消息进行响应。本实施例中,所述消息系统01对所述业务服务提供超文本传输协议(HTTP协议)的接口,无需引入额外的依赖,仅使用常用的HTTP客户端/服务端即可完成接入。所述业务系统02直接发送HTTP请求到该服务上,完成对消息的初始化、提交、取消的操作。当然,除了HTTP协议,所述消息系统01保留接入其他协议的扩展性,如Thrift协议等,本申请实施例对此不进行限定。Further, FIG. 2 is a specific message system interaction structure diagram provided by the present application. As shown in FIG. 2 , the message system 01 performs data interaction with the business system 02 and the message middleware 03, To respond to the business message corresponding to the business service of the business system 02 . In this embodiment, the message system 01 provides an interface of the Hypertext Transfer Protocol (HTTP protocol) for the business service, without introducing additional dependencies, and access can be completed only by using a commonly used HTTP client/server. The business system 02 directly sends an HTTP request to the service to complete the operations of message initialization, submission, and cancellation. Of course, in addition to the HTTP protocol, the message system 01 retains the scalability of accessing other protocols, such as the Thrift protocol, which is not limited in this embodiment of the present application.

本实施例中,所述业务系统02可以是各种需要发送通信消息的程序,这里可以支付交易系统,交易系统通过所述消息系统01发送交易相关的数据消息到账务系统。所述业务消息指所述业务系统02通过所述消息系统01发送到所述消息中间件03上的消息。本实施例中的所述消息中间件03为RocketMQ,其中RocketMQ是一款被广泛使用消息中间件,其消息持久化堆积能力,基于事务的消息,重试推送等功能,被广泛地使用在支付交易相关行业的软件系统中。通过所述消息系统01对所述业务系统02的所述业务消息进行中转处理,能够在消息初始化、消息提交阶段对所述业务消息的内容进行变更,提高了所述消息系统01的可维护性和灵活性,具体可参照图3所示的实现逻辑。In this embodiment, the business system 02 can be various programs that need to send communication messages. Here, it can be a payment transaction system, and the transaction system sends transaction-related data messages to the accounting system through the message system 01 . The service message refers to a message sent by the service system 02 to the message middleware 03 through the message system 01 . The message middleware 03 in this embodiment is RocketMQ, wherein RocketMQ is a widely used message middleware, its message persistence accumulation capability, transaction-based message, retry push and other functions are widely used in payment In the software system of trade-related industries. Through the message system 01 to transfer the business messages of the business system 02, the content of the business messages can be changed during the message initialization and message submission stages, which improves the maintainability of the message system 01 and flexibility, for details, refer to the implementation logic shown in FIG. 3 .

相应的,所述消息处理模块011包括消息初始化单元、消息提交单元及消息取消单元,其中:所述消息初始化单元,用于根据与业务系统02的初始化服务对应的待初始化消息进行初始化操作;所述消息提交单元,用于根据与业务系统02的消息提交服务对应的待提交消息进行提交操作;所述消息取消单元,用于根据与业务系统02的消息取消服务对应的待取消消息进行取消操作。Correspondingly, the message processing module 011 includes a message initialization unit, a message submission unit, and a message cancellation unit, wherein: the message initialization unit is configured to perform an initialization operation according to the message to be initialized corresponding to the initialization service of the business system 02; The message submission unit is used to perform a submit operation according to the message to be submitted corresponding to the message submission service of the business system 02; the message cancellation unit is used to perform a cancellation operation according to the message to be canceled corresponding to the message cancellation service of the business system 02 .

具体的,所述消息初始化单元用于对所述待初始化消息的所述基础信息进行配置,并将配置后的所述待初始化消息的所述基础信息通过远程字典服务的方式存储至所述消息路由模块012。初始化消息会在消息系统01内部创建一个消息记录,该记录保存所述业务消息的id、内容、以及投递状态等信息。其中,所述业务消息的id一般由所述业务系统02分配给每一个所述业务消息的唯一id,通常为交易订单号等的字符串。在所述消息系统01中,不同的消息类型对应所述业务消息将要投递到的主题和消息状态回查的接口地址。所述消息系统01中所述业务消息的投递状态可分为初始化状态、已提交状态、已取消状态等,所述投递状态主要用于消息状态回查的语境中。Specifically, the message initialization unit is configured to configure the basic information of the message to be initialized, and store the configured basic information of the message to be initialized in the message through a remote dictionary service Routing module 012. The initialization message will create a message record inside the message system 01, which stores information such as the id, content, and delivery status of the business message. Wherein, the id of the business message is generally a unique id assigned to each business message by the business system 02, usually a character string such as a transaction order number. In the message system 01, different message types correspond to the topic to which the service message will be delivered and the interface address for checking the message status. The delivery status of the business message in the message system 01 can be divided into initialization status, submitted status, canceled status, etc., and the delivery status is mainly used in the context of message status review.

如图4所示,当发起初始化操作时,通过所述消息路由模块012先获取到消息配置的基础信息,接着对所述基础信息进行初始化及相应的配置,并将配置后的所述待初始化消息的所述基础信息通过远程字典服务的方式存储至所述消息路由模块012。当然,为了提高响应效率,也可以将配置后的所述待初始化消息的所述基础信息通过远程字典服务的方式直接在所述消息处理模块01上进行存储。所述远程字典服务(Redis)是一个远程内存数据库,具有高可用性、高并发性以及高可扩展性等特点。另外,为了提高消息的时效性,所述配置后的所述待初始化消息还可以设置有相应的过期时间。存储在Redis中的关于所述业务消息的信息,包括消息类型、消息id、消息投递状态、业务消息内容等。As shown in Figure 4, when an initialization operation is initiated, the basic information of the message configuration is obtained first through the message routing module 012, and then the basic information is initialized and correspondingly configured, and the configured message to be initialized The basic information of the message is stored in the message routing module 012 through a remote dictionary service. Of course, in order to improve the response efficiency, the configured basic information of the message to be initialized may also be directly stored in the message processing module 01 through a remote dictionary service. The remote dictionary service (Redis) is a remote memory database with high availability, high concurrency and high scalability. In addition, in order to improve the timeliness of the message, the message to be initialized after the configuration can also be set with a corresponding expiration time. The information about the business message stored in Redis includes message type, message id, message delivery status, business message content, and the like.

所述消息提交单元用于从所述消息路由模块012的所述基础信息中获取所述待提交消息的投递地址,并将所述待提交消息及相应的所述投递地址发送至消息中间件03,以便所述消息中间件03根据所述投递地址对所述待提交消息进行投递。如图5所示,当发起消息提交操作时,通过查询Redis确定需要提交的所述业务消息,然后通过所述消息路由模块012查询所述业务消息的基础配置继而将所述业务消息发送至RocketMQ,并且修改系统内该消息记录的投递状态为已提交状态,在这个过程中,可对所述业务消息的内容进行更新。本实施例中,所述待提交消息的状态为初始化状态,也即在提交消息时,将状态为初始化的消息内容发送到RocketMQ中对应的主题上。其中,主题(topic)是RocketMQ中的概念,相当于消息的目的地,每个主题都可以有一个或多个的订阅者,也即消费者04,每当有新消息发到主题上,消费者04就可以获取到这个消息。The message submission unit is configured to obtain the delivery address of the message to be submitted from the basic information of the message routing module 012, and send the message to be submitted and the corresponding delivery address to the message middleware 03 , so that the message middleware 03 delivers the message to be submitted according to the delivery address. As shown in Figure 5, when a message submission operation is initiated, the business message that needs to be submitted is determined by querying Redis, and then the basic configuration of the business message is queried through the message routing module 012, and then the business message is sent to RocketMQ , and modify the delivery status of the message record in the system to the submitted status. During this process, the content of the business message can be updated. In this embodiment, the state of the message to be submitted is the initialization state, that is, when the message is submitted, the content of the message whose state is initialization is sent to the corresponding topic in RocketMQ. Among them, topic (topic) is a concept in RocketMQ, which is equivalent to the destination of the message. Each topic can have one or more subscribers, that is, consumer 04. Whenever a new message is sent to the topic, the consumer 04 can get this message.

如图6所示,当发起消息取消操作时,通过查询Redis确定需要取消的所述业务消息,然后将其投递状态修改为已取消状态,后续将不能对其发起提交或状态回查。本实施例中,一般对投递状态为初始化状态的所述业务消息的状态进行修改以得到状态为取消状态的所述业务消息。As shown in Figure 6, when a message cancellation operation is initiated, the business message that needs to be canceled is determined by querying Redis, and then its delivery status is changed to a canceled status, and subsequent submission or status review cannot be initiated. In this embodiment, generally, the state of the service message whose delivery state is the initialization state is modified to obtain the service message whose state is the cancel state.

因此,不难理解,所述消息处理模块011还包括:第一状态更新单元,用于对所述业务消息进行初始化操作后,将所述业务消息对应的状态更新为初始化状态;第二状态更新单元,用于对所述业务消息进行提交操作后,将所述业务消息对应的状态更新为已提交状态;第三状态更新单元,用于对所述业务消息进行取消操作后,将所述业务消息对应的状态更新为已取消状态。Therefore, it is not difficult to understand that the message processing module 011 also includes: a first state updating unit, configured to update the state corresponding to the business message to an initialization state after performing an initialization operation on the business message; A unit, configured to update the status corresponding to the business message to the submitted status after performing a submit operation on the business message; a third status update unit, configured to update the status of the business message after canceling the business message The status corresponding to the message is updated to Canceled.

可见,本申请实施例中的所述消息系统包括消息处理模块和消息路由模块,其中,所述消息处理模块,用于对与所述业务系统的业务服务对应的业务消息进行初始化操作、提交操作或取消操作;其中,所述业务服务为与所述业务系统的接入请求对应的服务,所述接入请求为所述业务系统请求接入所述消息系统的请求;所述消息路由模块,用于存储所述业务消息的基础信息,以便所述消息处理模块根据所述基础信息对所述业务消息进行相应的初始化操作、提交操作或取消操作。本申请实施例通过所述消息系统的所述消息处理模块及所述消息路由模块与所述业务系统进行交互,以实现所述业务消息的初始化操作、提交操作或取消操作,提高消息处理效率和灵活性。It can be seen that the message system in the embodiment of the present application includes a message processing module and a message routing module, wherein the message processing module is used to initialize and submit business messages corresponding to the business services of the business system or cancel operation; wherein, the business service is a service corresponding to an access request of the business system, and the access request is a request of the business system to access the message system; the message routing module, It is used to store the basic information of the service message, so that the message processing module performs corresponding initialization operation, submission operation or cancellation operation on the service message according to the basic information. In the embodiment of the present application, the message processing module and the message routing module of the message system interact with the service system to realize the initialization operation, submission operation or cancellation operation of the service message, and improve message processing efficiency and flexibility.

图7为本申请实施例提供的一种消息处理方法流程图。参见图7所示,该消息处理方法基于前述实施例中所述的消息系统,包括:FIG. 7 is a flow chart of a message processing method provided by an embodiment of the present application. Referring to Fig. 7, the message processing method is based on the message system described in the foregoing embodiments, including:

S11:获取业务系统的接入请求及所述消息系统提供的与所述接入请求对应的业务服务的应用接口;其中,所述接入请求为所述业务系统请求接入所述消息系统的请求。S11: Obtain the access request of the business system and the application interface of the business service provided by the message system corresponding to the access request; wherein, the access request is the service system's request to access the message system ask.

本实施例中,先获取业务系统的接入请求及所述消息系统提供的与所述接入请求对应的业务服务的应用接口。所述接入请求为所述业务系统请求接入所述消息系统的请求,所述业务服务可以为初始化业务消息、提交业务消息、取消业务消息等。In this embodiment, the access request of the business system and the application interface of the business service provided by the message system corresponding to the access request are obtained first. The access request is a request for the service system to access the message system, and the service service may be initializing a service message, submitting a service message, canceling a service message, and the like.

S12:将所述业务系统通过所述应用接口与所述消息系统建立连接关系,并利用所述消息系统将与所述业务服务对应的业务消息进行初始化操作、提交操作或取消操作,以对所述业务服务进行响应。S12: Establish a connection relationship between the business system and the message system through the application interface, and use the message system to initialize, submit, or cancel the business message corresponding to the business service, so as to The above business service responds.

本实施例中,在获取到业务系统的接入请求及所述消息系统提供的与所述接入请求对应的业务服务的应用接口后,进一步将所述业务系统通过所述应用接口与所述消息系统建立连接关系,并利用所述消息系统将与所述业务服务对应的业务消息进行初始化操作、提交操作或取消操作,以对所述业务服务进行响应。所述消息系统全面接管与消息中间件的交互,所述业务系统仅针对所述消息系统提供的接口进行编码即可接入使用,节省学习成本和依赖管理成本,提高开发效率和可维护性。另外,本实施例中所述应用接口可以基于超文本传输协议构建,当然也可保留接入其他协议的扩展性,如Thrift协议等。In this embodiment, after obtaining the access request of the business system and the application interface of the business service corresponding to the access request provided by the message system, the business system is further connected to the The message system establishes a connection relationship, and uses the message system to perform an initialization operation, a submission operation, or a cancellation operation on the business message corresponding to the business service, so as to respond to the business service. The message system fully takes over the interaction with the message middleware, and the business system can be accessed and used only by coding the interface provided by the message system, saving learning costs and dependency management costs, and improving development efficiency and maintainability. In addition, the application interface described in this embodiment can be constructed based on the hypertext transfer protocol, and of course, the extensibility of accessing other protocols, such as the Thrift protocol, can also be reserved.

可见,本申请实施例先获取业务系统的接入请求及所述消息系统提供的与所述接入请求对应的业务服务的应用接口,然后将所述业务系统通过所述应用接口与所述消息系统建立连接关系,并利用所述消息系统将与所述业务服务对应的业务消息进行初始化操作、提交操作或取消操作,以对所述业务服务进行响应。本实施例中所述消息系统提供不同接入服务类型的应用接口,所述业务系统通过该应用接口对接所述消息系统的来间接地对所述业务消息进行初始化操作、提交操作或取消操作,避免直接通过消息中间件的原生应用接口对所述业务消息进行处理带来的局限性。It can be seen that in the embodiment of the present application, the access request of the business system and the application interface of the business service corresponding to the access request provided by the message system are obtained first, and then the business system is connected with the message through the application interface. The system establishes a connection relationship, and uses the message system to perform an initialization operation, a submission operation or a cancellation operation on the business message corresponding to the business service, so as to respond to the business service. The message system in this embodiment provides application interfaces of different types of access services, and the service system connects to the message system through the application interface to indirectly perform initialization operations, submission operations, or cancellation operations on the service messages, Avoid the limitation caused by directly processing the business message through the native application interface of the message middleware.

参见图8所示,本申请实施例还相应公开了一种消息处理装置,该消息处理装置基于前述实施例中所述的消息系统,包括:Referring to Fig. 8, the embodiment of the present application also discloses a message processing device correspondingly. The message processing device is based on the message system described in the foregoing embodiments, including:

获取模块11,用于获取业务系统的接入请求及所述消息系统提供的与所述接入请求对应的业务服务的应用接口;其中,所述接入请求为所述业务系统请求接入所述消息系统的请求;The obtaining module 11 is used to obtain the access request of the business system and the application interface of the business service corresponding to the access request provided by the message system; request from the messaging system;

服务响应模块12,用于将所述业务系统通过所述应用接口与所述消息系统建立连接关系,并利用所述消息系统将与所述业务服务对应的业务消息进行处理,以对所述业务服务进行响应。The service response module 12 is configured to establish a connection relationship between the business system and the message system through the application interface, and use the message system to process business messages corresponding to the business service, so as to respond to the business The service responds.

可见,本申请实施例先获取业务系统的接入请求及所述消息系统提供的与所述接入请求对应的业务服务的应用接口,然后将所述业务系统通过所述应用接口与所述消息系统建立连接关系,并利用所述消息系统将与所述业务服务对应的业务消息进行初始化操作、提交操作或取消操作,以对所述业务服务进行响应。本实施例中所述消息系统提供不同接入服务类型的应用接口,所述业务系统通过该应用接口对接所述消息系统的来间接地对所述业务消息进行初始化操作、提交操作或取消操作,避免直接通过消息中间件的原生应用接口对所述业务消息进行处理带来的局限性。It can be seen that in the embodiment of the present application, the access request of the business system and the application interface of the business service corresponding to the access request provided by the message system are obtained first, and then the business system is connected with the message through the application interface. The system establishes a connection relationship, and uses the message system to perform an initialization operation, a submission operation or a cancellation operation on the business message corresponding to the business service, so as to respond to the business service. The message system in this embodiment provides application interfaces of different types of access services, and the service system connects to the message system through the application interface to indirectly perform initialization operations, submission operations, or cancellation operations on the service messages, Avoid the limitation caused by directly processing the business message through the native application interface of the message middleware.

进一步的,本申请实施例还提供了一种电子设备。图9是根据一示例性实施例示出的电子设备20结构图,图中的内容不能认为是对本申请的使用范围的任何限制。Further, the embodiment of the present application also provides an electronic device. Fig. 9 is a structural diagram of an electronic device 20 according to an exemplary embodiment, and the content in the diagram should not be regarded as any limitation on the application scope of this application.

图9为本申请实施例提供的一种电子设备20的结构示意图。该电子设备20,具体可以包括:至少一个处理器21、至少一个存储器22、电源23、通信接口24、输入输出接口25和通信总线26。其中,所述存储器22用于存储计算机程序,所述计算机程序由所述处理器21加载并执行,以实现前述任一实施例公开的消息处理方法中的相关步骤。另外,本实施例中的电子设备20具体可以为服务器。FIG. 9 is a schematic structural diagram of an electronic device 20 provided by an embodiment of the present application. The electronic device 20 may specifically include: at least one processor 21 , at least one memory 22 , a power supply 23 , a communication interface 24 , an input/output interface 25 and a communication bus 26 . Wherein, the memory 22 is used to store a computer program, and the computer program is loaded and executed by the processor 21, so as to implement relevant steps in the message processing method disclosed in any of the foregoing embodiments. In addition, the electronic device 20 in this embodiment may specifically be a server.

本实施例中,电源23用于为电子设备20上的各硬件设备提供工作电压;通信接口24能够为电子设备20创建与外界设备之间的数据传输通道,其所遵循的通信协议是能够适用于本申请技术方案的任意通信协议,在此不对其进行具体限定;输入输出接口25,用于获取外界输入数据或向外界输出数据,其具体的接口类型可以根据具体应用需要进行选取,在此不进行具体限定。In this embodiment, the power supply 23 is used to provide working voltage for each hardware device on the electronic device 20; the communication interface 24 can create a data transmission channel between the electronic device 20 and external devices, and the communication protocol it follows is applicable Any communication protocol in the technical solution of the present application is not specifically limited here; the input and output interface 25 is used to obtain external input data or output data to the external, and its specific interface type can be selected according to specific application needs, here Not specifically limited.

另外,存储器22作为资源存储的载体,可以是只读存储器、随机存储器、磁盘或者光盘等,其上所存储的资源可以包括操作系统221、计算机程序222及数据223等,存储方式可以是短暂存储或者永久存储。In addition, the memory 22, as a resource storage carrier, can be a read-only memory, random access memory, magnetic disk or optical disk, etc., and the resources stored thereon can include the operating system 221, computer programs 222 and data 223, etc., and the storage method can be short-term storage or permanent storage.

其中,操作系统221用于管理与控制电子设备20上的各硬件设备以及计算机程序222,以实现处理器21对存储器22中海量223的运算与处理,其可以是Windows Server、Netware、Unix、Linux等。计算机程序222除了包括能够用于完成前述任一实施例公开的由电子设备20执行的消息处理方法的计算机程序之外,还可以进一步包括能够用于完成其他特定工作的计算机程序。数据223可以包括电子设备20收集到的业务消息。Wherein, the operating system 221 is used to manage and control each hardware device and computer program 222 on the electronic device 20, so as to realize the operation and processing of the massive 223 in the memory 22 by the processor 21, which can be Windows Server, Netware, Unix, Linux Wait. In addition to the computer program 222 that can be used to complete the message processing method performed by the electronic device 20 disclosed in any of the foregoing embodiments, the computer program 222 can further include a computer program that can be used to complete other specific tasks. The data 223 may include business messages collected by the electronic device 20 .

进一步的,本申请实施例还公开了一种存储介质,所述存储介质中存储有计算机程序,所述计算机程序被处理器加载并执行时,实现前述任一实施例公开的消息处理方法步骤。Further, the embodiment of the present application also discloses a storage medium, in which a computer program is stored. When the computer program is loaded and executed by a processor, the steps of the message processing method disclosed in any of the foregoing embodiments are implemented.

本说明书中各个实施例采用递进的方式描述,每个实施例重点说明的都是与其它实施例的不同之处,各个实施例之间相同或相似部分互相参见即可。对于实施例公开的装置而言,由于其与实施例公开的方法相对应,所以描述的比较简单,相关之处参见方法部分说明即可。Each embodiment in this specification is described in a progressive manner, each embodiment focuses on the difference from other embodiments, and the same or similar parts of each embodiment can be referred to each other. As for the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and for the related part, please refer to the description of the method part.

最后,还需要说明的是,在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个…”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。Finally, it should also be noted that in this text, relational terms such as first and second etc. are only used to distinguish one entity or operation from another, and do not necessarily require or imply that these entities or operations, any such actual relationship or order exists. Furthermore, the term "comprises", "comprises" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article or apparatus comprising a set of elements includes not only those elements, but also includes elements not expressly listed. other elements of or also include elements inherent in such a process, method, article, or device. Without further limitations, an element defined by the phrase "comprising a" does not exclude the presence of additional same elements in the process, method, article or apparatus comprising said element.

以上对本发明所提供的消息系统、消息处理方法、装置、设备及存储介质进行了详细介绍,本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想;同时,对于本领域的一般技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本发明的限制。The message system, message processing method, device, equipment and storage medium provided by the present invention have been introduced in detail above. In this paper, specific examples have been used to illustrate the principle and implementation of the present invention. The description of the above embodiments is only for To help understand the method of the present invention and its core idea; at the same time, for those of ordinary skill in the art, according to the idea of the present invention, there will be changes in the specific implementation and scope of application. In summary, the content of this specification It should not be construed as a limitation of the invention.

Claims (10)

1.一种消息系统,其特征在于,包括消息处理模块和消息路由模块,其中:1. A message system, characterized in that it includes a message processing module and a message routing module, wherein: 所述消息处理模块,用于对与业务系统的业务服务对应的业务消息进行初始化操作、提交操作或取消操作;其中,所述业务服务为与所述业务系统的接入请求对应的服务,所述接入请求为所述业务系统请求接入所述消息系统的请求;The message processing module is configured to perform an initialization operation, a submission operation, or a cancellation operation on a business message corresponding to a business service of the business system; wherein, the business service is a service corresponding to an access request of the business system, and the The access request is a request for the service system to access the message system; 所述消息路由模块,用于存储所述业务消息的基础信息,以便所述消息处理模块根据所述基础信息对所述业务消息进行相应的初始化操作、提交操作或取消操作。The message routing module is configured to store the basic information of the service message, so that the message processing module performs a corresponding initialization operation, submission operation or cancellation operation on the service message according to the basic information. 2.根据权利要求1所述的消息系统,其特征在于,所述消息处理模块包括消息初始化单元、消息提交单元及消息取消单元,其中:2. The message system according to claim 1, wherein the message processing module includes a message initialization unit, a message submission unit and a message cancellation unit, wherein: 所述消息初始化单元,用于根据与业务系统的初始化服务对应的待初始化消息进行初始化操作;The message initialization unit is configured to perform an initialization operation according to the message to be initialized corresponding to the initialization service of the business system; 所述消息提交单元,用于根据与业务系统的消息提交服务对应的待提交消息进行提交操作;The message submission unit is configured to perform a submission operation according to the message to be submitted corresponding to the message submission service of the business system; 所述消息取消单元,用于根据与业务系统的消息取消服务对应的待取消消息进行取消操作。The message cancellation unit is configured to perform a cancellation operation according to the message to be canceled corresponding to the message cancellation service of the business system. 3.根据权利要求2所述的消息系统,其特征在于,所述消息初始化单元用于对所述待初始化消息的所述基础信息进行配置,并将配置后的所述待初始化消息的所述基础信息通过远程字典服务的方式存储至所述消息路由模块。3. The message system according to claim 2, wherein the message initialization unit is configured to configure the basic information of the message to be initialized, and configure the information of the message to be initialized The basic information is stored in the message routing module through the remote dictionary service. 4.根据权利要求3所述的消息系统,其特征在于,所述配置后的所述待初始化消息还设置有相应的过期时间。4. The message system according to claim 3, wherein the message to be initialized after the configuration is further set with a corresponding expiration time. 5.根据权利要求2所述的消息系统,其特征在于,所述消息提交单元用于从所述消息路由模块的所述基础信息中获取所述待提交消息的投递地址,并将所述待提交消息及相应的所述投递地址发送至消息中间件,以便所述消息中间件根据所述投递地址对所述待提交消息进行投递。5. The message system according to claim 2, wherein the message submitting unit is configured to obtain the delivery address of the message to be submitted from the basic information of the message routing module, and send the message to be submitted The submit message and the corresponding delivery address are sent to the message middleware, so that the message middleware delivers the message to be submitted according to the delivery address. 6.根据权利要求1至5任一项所述的消息系统,其特征在于,所述消息处理模块还包括:6. The message system according to any one of claims 1 to 5, wherein the message processing module further comprises: 第一状态更新单元,用于对所述业务消息进行初始化操作后,将所述业务消息对应的状态更新为初始化状态;The first state updating unit is configured to update the state corresponding to the service message to an initialization state after performing an initialization operation on the service message; 第二状态更新单元,用于对所述业务消息进行提交操作后,将所述业务消息对应的状态更新为已提交状态;The second status updating unit is configured to update the status corresponding to the business message to the submitted status after the submit operation is performed on the business message; 第三状态更新单元,用于对所述业务消息进行取消操作后,将所述业务消息对应的状态更新为已取消状态。The third status updating unit is configured to update the status corresponding to the business message to a canceled status after the cancel operation is performed on the business message. 7.一种消息处理方法,其特征在于,基于权利要求1至6任一项所述的消息系统,包括:7. A message processing method, characterized in that, based on the message system according to any one of claims 1 to 6, comprising: 获取业务系统的接入请求及所述消息系统提供的与所述接入请求对应的业务服务的应用接口;其中,所述接入请求为所述业务系统请求接入所述消息系统的请求;Obtaining an access request of a business system and an application interface of a business service corresponding to the access request provided by the messaging system; wherein, the access request is a request from the business system to access the messaging system; 将所述业务系统通过所述应用接口与所述消息系统建立连接关系,并利用所述消息系统将与所述业务服务对应的业务消息进行初始化操作、提交操作或取消操作,以对所述业务服务进行响应。Establish a connection relationship between the business system and the message system through the application interface, and use the message system to initialize, submit or cancel the business message corresponding to the business service, so that the business The service responds. 8.根据权利要求7所述的消息处理方法,其特征在于,所述应用接口基于超文本传输协议构建。8. The message processing method according to claim 7, wherein the application interface is constructed based on Hypertext Transfer Protocol. 9.一种消息处理装置,其特征在于,基于权利要求1至6任一项所述的消息系统,包括:9. A message processing device, characterized in that, based on the message system according to any one of claims 1 to 6, comprising: 获取模块,用于获取业务系统的接入请求及所述消息系统提供的与所述接入请求对应的业务服务的应用接口;其中,所述接入请求为所述业务系统请求接入所述消息系统的请求;An acquisition module, configured to acquire an access request of a business system and an application interface of a business service provided by the message system corresponding to the access request; wherein, the access request is a request from the business system to access the Message system requests; 服务响应模块,用于将所述业务系统通过所述应用接口与所述消息系统建立连接关系,并利用所述消息系统将与所述业务服务对应的业务消息进行处理,以对所述业务服务进行响应。A service response module, configured to establish a connection relationship between the business system and the message system through the application interface, and use the message system to process business messages corresponding to the business service, so as to respond to the business service to respond. 10.一种电子设备,其特征在于,所述电子设备包括处理器和存储器;其中所述存储器用于存储计算机程序,所述计算机程序由所述处理器加载并执行以实现如权利要求7或8所述的消息处理方法。10. An electronic device, characterized in that the electronic device comprises a processor and a memory; wherein the memory is used to store a computer program, and the computer program is loaded and executed by the processor to implement claim 7 or The message processing method described in 8.
CN202110693117.2A 2021-06-22 2021-06-22 A message system, message processing method, device and equipment Active CN115514814B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110693117.2A CN115514814B (en) 2021-06-22 2021-06-22 A message system, message processing method, device and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110693117.2A CN115514814B (en) 2021-06-22 2021-06-22 A message system, message processing method, device and equipment

Publications (2)

Publication Number Publication Date
CN115514814A true CN115514814A (en) 2022-12-23
CN115514814B CN115514814B (en) 2025-06-13

Family

ID=84499024

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110693117.2A Active CN115514814B (en) 2021-06-22 2021-06-22 A message system, message processing method, device and equipment

Country Status (1)

Country Link
CN (1) CN115514814B (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101123585A (en) * 2006-05-31 2008-02-13 华为技术有限公司 Message service routing device and method
EP2023570A1 (en) * 2006-05-31 2009-02-11 Huawei Technologies Co., Ltd. Message service routing apparatus and method
US20110302254A1 (en) * 2010-06-04 2011-12-08 Xiben New Line Stock Co., Ltd. Enterprise service bus and message processing method thereof
US20120210335A1 (en) * 2011-02-14 2012-08-16 General Electric Company Method, system and computer program product for a client application programming interface (api) in a service oriented architecture
CN102880475A (en) * 2012-10-23 2013-01-16 上海普元信息技术股份有限公司 Real-time event handling system and method based on cloud computing in computer software system
CN107277083A (en) * 2016-04-06 2017-10-20 阿里巴巴集团控股有限公司 A kind of processing method of data interaction, apparatus and system
US10122815B1 (en) * 2016-08-05 2018-11-06 Sprint Communications Company L.P. Dynamic class mapping in messaging middleware
CN109739654A (en) * 2018-08-10 2019-05-10 比亚迪股份有限公司 Message middleware and message transmission method
CN111666162A (en) * 2020-04-30 2020-09-15 平安科技(深圳)有限公司 Distributed message transmission method, device, computer equipment and storage medium
CN112527472A (en) * 2020-11-18 2021-03-19 北京邮电大学 Distributed transaction processing system and method based on microservice

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101123585A (en) * 2006-05-31 2008-02-13 华为技术有限公司 Message service routing device and method
EP2023570A1 (en) * 2006-05-31 2009-02-11 Huawei Technologies Co., Ltd. Message service routing apparatus and method
US20110302254A1 (en) * 2010-06-04 2011-12-08 Xiben New Line Stock Co., Ltd. Enterprise service bus and message processing method thereof
US20120210335A1 (en) * 2011-02-14 2012-08-16 General Electric Company Method, system and computer program product for a client application programming interface (api) in a service oriented architecture
CN102880475A (en) * 2012-10-23 2013-01-16 上海普元信息技术股份有限公司 Real-time event handling system and method based on cloud computing in computer software system
CN107277083A (en) * 2016-04-06 2017-10-20 阿里巴巴集团控股有限公司 A kind of processing method of data interaction, apparatus and system
US10122815B1 (en) * 2016-08-05 2018-11-06 Sprint Communications Company L.P. Dynamic class mapping in messaging middleware
CN109739654A (en) * 2018-08-10 2019-05-10 比亚迪股份有限公司 Message middleware and message transmission method
CN111666162A (en) * 2020-04-30 2020-09-15 平安科技(深圳)有限公司 Distributed message transmission method, device, computer equipment and storage medium
CN112527472A (en) * 2020-11-18 2021-03-19 北京邮电大学 Distributed transaction processing system and method based on microservice

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
许华建: "多协议消息中间件服务的设计和实现", 《中国优秀硕士学位论文全文数据库》, no. 07, 15 July 2020 (2020-07-15) *

Also Published As

Publication number Publication date
CN115514814B (en) 2025-06-13

Similar Documents

Publication Publication Date Title
US7565443B2 (en) Common persistence layer
US6243737B1 (en) Method and apparatus for providing direct transaction access to information residing on a host system
US7937500B2 (en) Dynamic, real-time integration of software resources through services of a content framework
US8984535B2 (en) System and method for facilitating the exchange of information among applications
US11689626B2 (en) Transport channel via web socket for ODATA
EP1417563A1 (en) System and method for transaction processing with transaction property feature
CN111198751A (en) Business processing method and device
AU2002318249A1 (en) System and method for transaction processing with transaction property feature
EP1693765B1 (en) A data processing system and method
US20180253342A1 (en) Discovery and exposure of transactional middleware server-based applications as consumable service endpoints
US20080065994A1 (en) Systems and methods for adapting service interface behaviors
CN111694620A (en) Interaction method, device and equipment of third-party service and computer storage medium
US8510707B1 (en) Mainframe-based web service development accelerator
US9760841B2 (en) ABAP Unified connectivity
US8555239B1 (en) Mainframe-based web service development accelerator
TW582147B (en) Inbound connector
CN114780088A (en) Interface configuration method and device
US8516498B2 (en) Handling a delivery failure as a program exception in a distributed asynchronous architecture
US7792921B2 (en) Metadata endpoint for a generic service
CN115514814A (en) A message system, message processing method, device and equipment
CN116561013B (en) Test methods, devices, electronic equipment and media based on the target service framework
US8479175B1 (en) Mainframe-based web service development accelerator
CN113448960A (en) Method and device for importing form file
US20090204662A1 (en) Method and system for providing reconciliation of semantic differences amongst multiple message service providers
CN114971552B (en) System, method, equipment, medium and product for processing public credit data

Legal Events

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