CN111371780A - Message transmission method, system and device - Google Patents

Message transmission method, system and device Download PDF

Info

Publication number
CN111371780A
CN111371780A CN202010135256.9A CN202010135256A CN111371780A CN 111371780 A CN111371780 A CN 111371780A CN 202010135256 A CN202010135256 A CN 202010135256A CN 111371780 A CN111371780 A CN 111371780A
Authority
CN
China
Prior art keywords
message
transaction
format
processing logic
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
CN202010135256.9A
Other languages
Chinese (zh)
Other versions
CN111371780B (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.)
Agricultural Bank of China
Original Assignee
Agricultural Bank of China
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 Agricultural Bank of China filed Critical Agricultural Bank of China
Priority to CN202010135256.9A priority Critical patent/CN111371780B/en
Publication of CN111371780A publication Critical patent/CN111371780A/en
Application granted granted Critical
Publication of CN111371780B publication Critical patent/CN111371780B/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
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/22Parsing or analysis of headers
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/08Payment architectures
    • G06Q20/085Payment architectures involving remote charge determination or related payment systems

Landscapes

  • Business, Economics & Management (AREA)
  • Engineering & Computer Science (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Computer Security & Cryptography (AREA)
  • Strategic Management (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Computer And Data Communications (AREA)
  • Communication Control (AREA)

Abstract

The invention discloses a message transmission method, which comprises the following steps: in the process of one transaction, after receiving a first message sent by a foreground system, analyzing the first message to obtain a request message object and a response message object; the request message object comprises a message format interacted with a foreground system in the transaction, and the response message object comprises a message format interacted with a background system in the transaction; setting the label of the transaction based on the request message object and the response message object; and calling the corresponding message processing logic of the label, and processing the first message based on the message processing logic so as to send a second message to a background system corresponding to the transaction. Therefore, in the transaction process, the message formats of the foreground system and the background system are adapted, the processing logic is stored in a centralized mode and called based on the related labels, redundant codes do not need to be stored, the utilization rate of the codes is improved, and the redundancy is reduced.

Description

Message transmission method, system and device
Technical Field
The present invention relates to the field of data processing, and in particular, to a method, a system, and an apparatus for packet transmission.
Background
In a commercial banking system, message exchange among systems of an electronic bank can be continuously performed, but message formats supported by different systems are different, for example, some systems support JSON messages, XML messages or streaming messages.
For systems supporting different message formats, if the interaction of the messages is to be realized, the adaptation of the message formats needs to be realized, and in the prior art, a set of independent transaction program needs to be set for each message, so that the memory occupation is large, the code utilization rate is low, and the redundancy is high.
Disclosure of Invention
In view of this, the embodiment of the present invention discloses a method, a system, and a device for message transmission, which not only implement adaptation of message formats of a foreground system and a background system, but also improve code utilization rate and reduce redundancy of code storage.
The embodiment of the invention discloses a message transmission method, which comprises the following steps:
responding to a transaction request sent by a foreground system, and receiving a first message sent by the foreground system;
analyzing the first message to obtain a request message object and a response message object; the request message object comprises a message format interacted with a foreground system in the transaction, and the response message object comprises a message format interacted with a background system in the transaction;
setting a label of the transaction based on the request message object and the response message object;
calling a message processing logic corresponding to the label;
and processing the first message based on the message processing logic so as to send a second message to a background system corresponding to the transaction.
Optionally, the setting of the tag of the transaction based on the request message object and the response message object in the transaction request includes:
setting a transaction request label based on a request message object in the transaction request;
and setting a response label of the transaction based on the response message object in the transaction request.
Optionally, the processing the first message based on the message processing logic, and sending a second message to a background system corresponding to the transaction includes:
converting the first packet to a second packet based on the packet processing logic; the format of the second message is a message format used for interacting with a background system;
and sending the second message to a background system.
Optionally, the method further includes:
receiving a third message fed back by the background system; the third message is obtained after the background system processes the second message;
calling a label of the transaction;
calling a message processing logic corresponding to the message based on the label;
and processing the third message based on the message processing logic so as to feed back a fourth message to a foreground system corresponding to the transaction.
Optionally, the processing the third message based on the message processing logic to send a fourth message to a foreground system corresponding to the transaction includes:
converting the third packet to a fourth packet based on the packet processing logic; the format of the fourth message is consistent with the format of the message for interacting with the foreground system;
and feeding back the fourth message to a foreground system corresponding to the transaction.
The embodiment of the invention discloses a message transmission system, which comprises:
a foreground system, a middle system and a background system;
the foreground system is used for initiating a request;
the middle station system is used for executing the message transmission method;
the background system is used for receiving the message sent by the middle station system and feeding back the message to the middle station system.
The embodiment of the invention also discloses a message transmission device, which comprises:
the first receiving unit is used for responding to a transaction request sent by a foreground system and receiving a first message sent by the foreground system;
the analysis unit is used for analyzing the first message to obtain a request message object and a response message object; the request message object comprises a message format interacted with a foreground system in the transaction, and the response message object comprises a message format interacted with a background system in the transaction;
a label setting unit for setting the label of the transaction based on the request message object and the response message object;
the calling unit is used for calling the message processing logic corresponding to the label;
and the first sending unit is used for processing the first message based on the message processing logic so as to send a second message to a background system corresponding to the transaction.
Optionally, the method includes:
a first conversion unit, configured to convert the first packet into a second packet based on the packet processing logic; the format of the second message is a message format used for interacting with a background system;
and the first sending subunit is used for sending the second message to a background system.
Optionally, the method further includes:
the second receiving unit is used for receiving a third message fed back by the background system; the third message is obtained after the background system processes the second message;
the calling unit is used for calling the label of the transaction;
and the feedback unit is used for processing the third message based on the message processing logic so as to feed back a fourth message to a foreground system corresponding to the transaction.
Optionally, the feedback unit includes:
a second conversion subunit, configured to convert the third packet into a fourth packet based on the packet processing logic; the format of the fourth message is consistent with the format of the message for interacting with the foreground system;
and the feedback subunit is used for feeding the fourth message back to a foreground system corresponding to the transaction.
The embodiment of the invention discloses a message transmission method, a system and a device, wherein the method comprises the following steps: in the process of one transaction, after receiving a first message sent by a foreground system, analyzing the first message to obtain a request message object and a response message object; the request message object comprises a message format interacted with a foreground system in the transaction, and the response message object comprises a message format interacted with a background system in the transaction; setting the label of the transaction based on the request message object and the response message object; and calling the corresponding message processing logic of the label, and processing the first message based on the message processing logic so as to send a second message to a background system corresponding to the transaction. Therefore, in the transaction process, the message formats of the foreground system and the background system are adapted, the processing logic is stored in a centralized mode and called based on the related labels, redundant codes do not need to be stored, the utilization rate of the codes is improved, and the redundancy is reduced. In addition, the parsing process and the format adaptation process of the message are separated, and modification or increase of message processing logic is facilitated.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a schematic flowchart illustrating a message transmission method according to an embodiment of the present invention;
fig. 2 is a schematic flowchart illustrating a message transmission method according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram illustrating a message transmission system according to an embodiment of the present invention;
fig. 4 is an interaction diagram illustrating a message transmission method according to an embodiment of the present invention;
fig. 5 shows a schematic structural diagram of a message transmission apparatus according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, a schematic flow chart of a message transmission method according to an embodiment of the present invention is shown, where in this embodiment, the method includes:
s101: responding to a transaction request sent by a foreground system, and receiving a first message sent by the foreground system;
in this embodiment, the foreground system initiates a transaction request and sends the first message.
The first packet may be a packet in any format, for example, a JSON packet, an XML packet, or a streaming packet.
In this embodiment, the transaction initiated by the foreground needs to interact with the background system, for example, the foreground initiates an identity authentication request, and needs the background system to perform authentication, and feeds back an authentication result.
It should be noted that, in one transaction, the format of the message transmitted by the foreground system may be any format, but the background system responding to the transaction may not support the message transmitted by the foreground system, so that the message transmitted in the transaction needs to be adapted, that is, the format of the message sent to the background system is adapted to the format of the message supported by the background system.
S102, analyzing the first message to obtain a request message object and a response message object;
the request message object comprises a message format interacted with a foreground system in the transaction, and the response message object comprises a message format interacted with a background system in the transaction.
In addition, the request message object and the response message object may further include some transaction information, which is not limited in this embodiment.
In this embodiment, the message format for interacting with the foreground system may be the format of the first message sent by the foreground system, or may also be any predefined message format.
The message format used for interacting with the background system is the message format supported by the background system responding to the transaction.
S103: setting a label of the transaction based on a request message object and a response message object in the transaction request;
in this embodiment, labels corresponding to different message formats are preset, and the labels are used to indicate a message format interacting with a foreground system, a message format interacting with a background system, and the like in the transaction.
Preferably, S103 may include:
setting a transaction request label based on a request message object in the transaction request;
and setting a response label of the transaction based on the response message object in the transaction request.
The transaction request label (requestFormat label) at least represents two aspects: transaction end (foreground system), the current transaction and the interactive message format of the transaction end;
wherein, the response label (responseFormat label) at least characterizes the following two aspects: a transaction end (background system) and a message format of the interaction between the transaction and the transaction end.
In this embodiment, a configuration file may be preset, where the configuration file includes tags corresponding to different message formats, and the tags may be set for the transaction through the preset configuration file.
For example, the configuration file may be an XML file or other form of file.
S104: calling a message processing logic corresponding to the label;
in this embodiment, processing logics of different messages are stored in advance, where the processing logics of the messages include adaptation logics between different message formats.
In this embodiment, the processing logic of this invocation may adapt the format of the message sent by the foreground system to the format of the message required for the transaction with the background system.
S105: and processing the first message based on the message processing logic so as to send a second message to a background system corresponding to the transaction.
In this embodiment, the background system corresponding to the transaction may not support the format of the first message sent by the foreground system, so that before sending the message, the message may be adapted to the message format supported by the background system through the message processing logic.
Preferably, S105 includes:
based on the message processing logic, converting the first message into a second message; the format of the second message is consistent with the format of the message for interacting with the background system;
and sending the second message to a background system.
In this embodiment, in the process of one transaction, after receiving a first message sent by a foreground system, the first message is analyzed to obtain a request message object and a response message object; the request message object comprises a message format interacted with a foreground system in the transaction, and the response message object comprises a message format interacted with a background system in the transaction; setting the label of the transaction based on the request message object and the response message object; and calling the corresponding message processing logic of the label, and processing the first message based on the message processing logic so as to send a second message to a background system corresponding to the transaction. Therefore, in the transaction process, the message formats of the foreground system and the background system are adapted, the processing logic is stored in a centralized mode and called based on the related labels, redundant codes do not need to be stored, the utilization rate of the codes is improved, and the redundancy is reduced. In addition, the parsing process and the format adaptation process of the message are separated, and modification or increase of message processing logic is facilitated.
Referring to fig. 2, a schematic flow chart of a data transmission method provided in an embodiment of the present invention is shown, where in this embodiment, the method includes:
s201: receiving a third message fed back by the background system; the third message is obtained after the background system processes the second message;
in this embodiment, for some transactions, after the foreground system initiates a transaction request to the background system, the background system may feed back a transaction request result to the foreground system, that is, the process of this transaction may include: the foreground system sends a transaction request, and the background system feeds back a transaction request result.
For example, the following steps are carried out: the foreground system sends an identity authentication request, and the background system authenticates the identity information based on the related information sent by the foreground system and feeds back an identity authentication result to the foreground system.
S202: calling a label of the transaction;
in this embodiment, after the foreground system sends the transaction request, it can be known from the above S103 that the transaction process is summarized, and based on the request message object and the response message object of the transaction request, a tag of the transaction is set, where the tag is used to indicate a message format of the transaction interacting with the foreground system, a message format of the transaction interacting with the background system, and the like.
S203: calling a message processing logic corresponding to the message based on the label;
in this embodiment, the message processing logic includes adaptation logic of a message format.
S204: processing the third message based on the message processing logic so as to feed back a fourth message to a foreground system corresponding to the transaction;
in this embodiment, the format of the message fed back by the background system may not be consistent with the format of the message sent by the foreground system during the transaction, and therefore adaptation of the message is required.
Preferably, S204 includes:
converting the third message into a fourth message based on the message processing logic, wherein the format of the fourth message is consistent with the message format used for interaction with a foreground system corresponding to the transaction; and feeding back the fourth message to a foreground system corresponding to the transaction.
In this embodiment, in a transaction process, after the background system feeds back a transaction request result, the background system receives a third message fed back by the background system, retrieves a tag of the transaction, and processes the third message based on the message processing logic to feed back a fourth message to a foreground system corresponding to the transaction. Therefore, in the embodiment, not only the adaptation of the message formats of the foreground system and the background system is realized, but also the processing logic is stored in a centralized manner and is called based on the related label, so that redundant codes do not need to be stored, the utilization rate of the codes is improved, and the redundancy is reduced. In addition, the parsing process and the format adaptation process of the message are separated, and modification or increase of message processing logic is facilitated.
Referring to fig. 3, a schematic structural diagram of a message transmission system according to an embodiment of the present invention is shown, where in this embodiment, the system includes:
a foreground system 301, a middle station system 302 and a background system 303;
the foreground is used for initiating a transaction request;
the background system is used for receiving the message sent by the middle station system and feeding back the message to the middle station system.
The staging system is configured to:
responding to a transaction request sent by a foreground system, and receiving a first message sent by the foreground system;
analyzing the first message to obtain a request message object and a response message object; the request message object comprises a message format interacted with a foreground system in the transaction, and the response message object comprises a message format interacted with a background system in the transaction;
setting a label of the transaction based on the request message object and the response message object;
calling a message processing logic corresponding to the label;
and processing the first message based on the message processing logic so as to send a second message to a background system corresponding to the transaction.
Optionally, the setting of the tag of the transaction based on the request message object and the response message object in the transaction request includes:
setting a transaction request label based on a request message object in the transaction request;
and setting a response label of the transaction based on the response message object in the transaction request.
Optionally, the processing the first message based on the message processing logic, and sending a second message to a background system corresponding to the transaction includes:
converting the first packet to a second packet based on the packet processing logic; the format of the second message is a message format used for interacting with a background system;
and sending the second message to a background system.
Optionally, the method further includes:
receiving a third message fed back by the background system; the third message is obtained after the background system processes the second message;
calling a label of the transaction;
calling a message processing logic corresponding to the message based on the label;
and processing the third message based on the message processing logic so as to feed back a fourth message to a foreground system corresponding to the transaction.
Optionally, the processing the third message based on the message processing logic to send a fourth message to a foreground system corresponding to the transaction includes:
converting the third packet to a fourth packet based on the packet processing logic; the format of the fourth message is consistent with the format of the message for interacting with the foreground system;
and feeding back the fourth message to a foreground system corresponding to the transaction.
By the system of the embodiment, adaptation of message formats of the foreground system and the background system is realized, processing logic is stored in a centralized mode and is called based on the related labels, so that redundant codes do not need to be stored, the utilization rate of the codes is improved, and the redundancy is reduced. In addition, the parsing process and the format adaptation process of the message are separated, and modification or increase of message processing logic is facilitated.
In addition, the foreground system is not required to execute message adaptation work, and the workload of the foreground system is reduced.
Referring to fig. 4, an interaction diagram of a message transmission method provided in an embodiment of the present invention is shown, where in this embodiment, the method includes:
the method is applied to the above-mentioned message transmission system, and the system comprises: a foreground system, a background system and a middle station system;
s401: the foreground system initiates a transaction request and sends a first message to the middle station system;
s402: the middle station system analyzes the first message to obtain a request message object and a response message object; the request message object comprises a message format interacted with a foreground system in the transaction, and the response message object comprises a message format interacted with a background system in the transaction;
s403: setting a label of the transaction based on the request message object and the response message object;
s404: calling a message processing logic corresponding to the label;
s405: processing the first message based on the message processing logic so as to send a second message to a background system corresponding to the transaction;
s406: the background system processes the second message and feeds back a third message;
s407: the middle station system calls the label of the transaction;
s408: calling a message processing logic corresponding to the message based on the label;
s409: and processing the third message based on the message processing logic so as to feed back a fourth message to a foreground system corresponding to the transaction.
In this embodiment, in the process of one transaction, after receiving a first message sent by a foreground system, the first message is analyzed to obtain a request message object and a response message object; the request message object comprises a message format interacted with a foreground system in the transaction, and the response message object comprises a message format interacted with a background system in the transaction; setting the label of the transaction based on the request message object and the response message object; and calling the corresponding message processing logic of the label, and processing the first message based on the message processing logic so as to send a second message to a background system corresponding to the transaction.
And after the background system feeds back a transaction request result, receiving a third message fed back by the background system, calling a label of the transaction, and processing the third message based on the message processing logic so as to feed back a fourth message to a foreground system corresponding to the transaction.
Therefore, in the transaction process, the message formats of the foreground system and the background system are adapted, the processing logic is stored in a centralized mode and called based on the related labels, redundant codes do not need to be stored, the utilization rate of the codes is improved, and the redundancy is reduced. In addition, the parsing process and the format adaptation process of the message are separated, and modification or increase of message processing logic is facilitated.
Referring to fig. 5, a schematic structural diagram of a message transmission apparatus disclosed in the embodiment of the present invention is shown, and in this embodiment, the apparatus includes:
a first receiving unit 501, configured to receive, in response to a transaction request sent by a foreground system, a first message sent by the foreground system;
an analyzing unit 502, configured to analyze the first message to obtain a request message object and a response message object; the request message object comprises a message format interacted with a foreground system in the transaction, and the response message object comprises a message format interacted with a background system in the transaction;
a tag setting unit 503, configured to set a tag of the transaction based on the request message object and the response message object;
a calling unit 504, configured to call a packet processing logic corresponding to the tag;
a first sending unit 505, configured to process the first packet based on the packet processing logic, so as to send a second packet to a background system corresponding to the transaction.
Optionally, the method includes:
a first conversion unit, configured to convert the first packet into a second packet based on the packet processing logic; the format of the second message is a message format used for interacting with a background system;
and the first sending subunit is used for sending the second message to a background system.
Optionally, the method further includes:
the second receiving unit is used for receiving a third message fed back by the background system; the third message is obtained after the background system processes the second message;
the calling unit is used for calling the label of the transaction;
and the feedback unit is used for processing the third message based on the message processing logic so as to feed back a fourth message to a foreground system corresponding to the transaction.
Optionally, the feedback unit includes:
a second conversion subunit, configured to convert the third packet into a fourth packet based on the packet processing logic; the format of the fourth message is consistent with the format of the message for interacting with the foreground system;
and the feedback subunit is used for feeding the fourth message back to a foreground system corresponding to the transaction.
By the device of the embodiment, in the process of one transaction, after a first message sent by a foreground system is received, the first message is analyzed to obtain a request message object and a response message object; the request message object comprises a message format interacted with a foreground system in the transaction, and the response message object comprises a message format interacted with a background system in the transaction; setting the label of the transaction based on the request message object and the response message object; and calling the corresponding message processing logic of the label, and processing the first message based on the message processing logic so as to send a second message to a background system corresponding to the transaction. Therefore, in the transaction process, the message formats of the foreground system and the background system are adapted, the processing logic is stored in a centralized mode and called based on the related labels, redundant codes do not need to be stored, the utilization rate of the codes is improved, and the redundancy is reduced. In addition, the parsing process and the format adaptation process of the message are separated, and modification or increase of message processing logic is facilitated.
It should be noted that, in the present specification, the embodiments are all described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments may be referred to each other.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. A method for packet transmission, comprising:
responding to a transaction request sent by a foreground system, and receiving a first message sent by the foreground system;
analyzing the first message to obtain a request message object and a response message object; the request message object comprises a message format interacted with a foreground system in the transaction, and the response message object comprises a message format interacted with a background system in the transaction;
setting a label of the transaction based on the request message object and the response message object;
calling a message processing logic corresponding to the label;
and processing the first message based on the message processing logic so as to send a second message to a background system corresponding to the transaction.
2. The method according to claim 1, wherein setting the label of the transaction based on the request message object and the response message object in the transaction request comprises:
setting a transaction request label based on a request message object in the transaction request;
and setting a response label of the transaction based on the response message object in the transaction request.
3. The method of claim 1, wherein the processing the first message based on the message processing logic and sending a second message to a background system corresponding to the transaction comprises:
converting the first packet to a second packet based on the packet processing logic; the format of the second message is a message format used for interacting with a background system;
and sending the second message to a background system.
4. The method of claim 1, further comprising:
receiving a third message fed back by the background system; the third message is obtained after the background system processes the second message;
calling a label of the transaction;
calling a message processing logic corresponding to the message based on the label;
and processing the third message based on the message processing logic so as to feed back a fourth message to a foreground system corresponding to the transaction.
5. The method of claim 4, wherein processing the third message based on the message processing logic to send a fourth message to a foreground system corresponding to the transaction comprises:
converting the third packet to a fourth packet based on the packet processing logic; the format of the fourth message is consistent with the format of the message for interacting with the foreground system;
and feeding back the fourth message to a foreground system corresponding to the transaction.
6. A message transmission system, comprising:
a foreground system, a middle system and a background system;
the foreground system is used for initiating a request;
the central station system is used for executing the contents of the above claims 1-5;
the background system is used for receiving the message sent by the middle station system and feeding back the message to the middle station system.
7. A message transmission apparatus, comprising:
the first receiving unit is used for responding to a transaction request sent by a foreground system and receiving a first message sent by the foreground system;
the analysis unit is used for analyzing the first message to obtain a request message object and a response message object; the request message object comprises a message format interacted with a foreground system in the transaction, and the response message object comprises a message format interacted with a background system in the transaction;
a label setting unit for setting the label of the transaction based on the request message object and the response message object;
the calling unit is used for calling the message processing logic corresponding to the label;
and the first sending unit is used for processing the first message based on the message processing logic so as to send a second message to a background system corresponding to the transaction.
8. The apparatus of claim 7, comprising:
a first conversion unit, configured to convert the first packet into a second packet based on the packet processing logic; the format of the second message is a message format used for interacting with a background system;
and the first sending subunit is used for sending the second message to a background system.
9. The apparatus of claim 7, further comprising:
the second receiving unit is used for receiving a third message fed back by the background system; the third message is obtained after the background system processes the second message;
the calling unit is used for calling the label of the transaction;
and the feedback unit is used for processing the third message based on the message processing logic so as to feed back a fourth message to a foreground system corresponding to the transaction.
10. The apparatus of claim 9, wherein the feedback unit comprises:
a second conversion subunit, configured to convert the third packet into a fourth packet based on the packet processing logic; the format of the fourth message is consistent with the format of the message for interacting with the foreground system;
and the feedback subunit is used for feeding the fourth message back to a foreground system corresponding to the transaction.
CN202010135256.9A 2020-03-02 2020-03-02 Message transmission method, system and device Active CN111371780B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010135256.9A CN111371780B (en) 2020-03-02 2020-03-02 Message transmission method, system and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010135256.9A CN111371780B (en) 2020-03-02 2020-03-02 Message transmission method, system and device

Publications (2)

Publication Number Publication Date
CN111371780A true CN111371780A (en) 2020-07-03
CN111371780B CN111371780B (en) 2022-06-03

Family

ID=71208507

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010135256.9A Active CN111371780B (en) 2020-03-02 2020-03-02 Message transmission method, system and device

Country Status (1)

Country Link
CN (1) CN111371780B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6816865B2 (en) * 2001-04-18 2004-11-09 International Business Machines Corporation Process for data driven application integration for B2B
CN102546833A (en) * 2012-03-05 2012-07-04 浪潮集团山东通用软件有限公司 Bank enterprise interconnection uniform access platform
CN103093342A (en) * 2013-01-11 2013-05-08 北京掌上汇通科技发展有限公司 Online transaction processing platform and transaction processing method thereof
CN109246188A (en) * 2018-08-03 2019-01-18 银联数据服务有限公司 A method of supporting the system traded by all kinds of means and by all kinds of means trading processing
CN110765067A (en) * 2019-09-11 2020-02-07 深圳市金证科技股份有限公司 Data processing method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6816865B2 (en) * 2001-04-18 2004-11-09 International Business Machines Corporation Process for data driven application integration for B2B
CN102546833A (en) * 2012-03-05 2012-07-04 浪潮集团山东通用软件有限公司 Bank enterprise interconnection uniform access platform
CN103093342A (en) * 2013-01-11 2013-05-08 北京掌上汇通科技发展有限公司 Online transaction processing platform and transaction processing method thereof
CN109246188A (en) * 2018-08-03 2019-01-18 银联数据服务有限公司 A method of supporting the system traded by all kinds of means and by all kinds of means trading processing
CN110765067A (en) * 2019-09-11 2020-02-07 深圳市金证科技股份有限公司 Data processing method and device

Also Published As

Publication number Publication date
CN111371780B (en) 2022-06-03

Similar Documents

Publication Publication Date Title
US8478895B2 (en) Content adaptation realizing method and content adaptation server
CN109933439B (en) Message transmission method, device, computer equipment and storage medium
CN106020948A (en) Flow process scheduling method and device
CN104811475A (en) Enterprise service bus middleware based on Restful technology
US20230046979A1 (en) Microservice call method and apparatus, device, and medium
CN114449458A (en) 5G message fallback method, system, computing device and storage medium
CN111371780B (en) Message transmission method, system and device
CN113342503B (en) Real-time progress feedback method, device, equipment and storage medium
CN109670952B (en) Collecting and paying transaction platform
CN112511631A (en) Control system and method of intelligent device
CN109586979B (en) Message transmission method and device
CN106961529B (en) Work order processing method and communication service equipment
CN114500655B (en) Interface request processing method and device, micro-service framework cluster system and medium
CN114518917B (en) Algorithm module scheduling method, algorithm module scheduling device and readable storage medium
CN115410580A (en) Voice recognition method, device, equipment and medium for command scheduling system
CN102510398A (en) Request concurrent processing method and device, and server
CN112333262A (en) Data updating prompting method and device, computer equipment and readable storage medium
EP3038390B1 (en) Processing method and apparatus for signaling tracing
CN112884418A (en) Method and device for improving logistics tail end distribution efficiency and electronic equipment
CN112579235A (en) Method, transcoding center, client, device and medium for internationalizing response data
CN113452603A (en) Data transmission method and related device
WO2019228491A1 (en) Traffic information query method and device, traffic information providing method and device, and medium
US10148765B2 (en) Security information interaction system, device and method
CN111368512B (en) Service data conversion method, device, equipment and storage medium
CN109413101A (en) A kind of information transferring method between client and server-side

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