CN113360301A - Message transmission system and method - Google Patents

Message transmission system and method Download PDF

Info

Publication number
CN113360301A
CN113360301A CN202110749935.XA CN202110749935A CN113360301A CN 113360301 A CN113360301 A CN 113360301A CN 202110749935 A CN202110749935 A CN 202110749935A CN 113360301 A CN113360301 A CN 113360301A
Authority
CN
China
Prior art keywords
message
annotation
consumption
target
production
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
CN202110749935.XA
Other languages
Chinese (zh)
Other versions
CN113360301B (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.)
Beijing QIYI Century Science and Technology Co Ltd
Original Assignee
Beijing QIYI Century Science and Technology 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 Beijing QIYI Century Science and Technology Co Ltd filed Critical Beijing QIYI Century Science and Technology Co Ltd
Priority to CN202110749935.XA priority Critical patent/CN113360301B/en
Publication of CN113360301A publication Critical patent/CN113360301A/en
Application granted granted Critical
Publication of CN113360301B publication Critical patent/CN113360301B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/546Message passing systems or structures, e.g. queues
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2209/00Indexing scheme relating to G06F9/00
    • G06F2209/54Indexing scheme relating to G06F9/54
    • G06F2209/547Messaging middleware
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2209/00Indexing scheme relating to G06F9/00
    • G06F2209/54Indexing scheme relating to G06F9/54
    • G06F2209/548Queue

Abstract

The embodiment of the invention provides a message transmission system and a message transmission method, and relates to the technical field of communication. The embodiment of the invention comprises the following steps: the production end is used for the method for appointing the production message annotation in the file packet by the agent, constructing the business message based on the first annotation configuration parameter included by the production message annotation, and sending the business message to the target message queue; the first annotation configuration parameter comprises a method signature and a target message queue identifier, and the service message carries the method signature; the message middleware is used for receiving the service message and storing the service message in the target message queue; and the consumption end is used for acquiring a target message queue identifier to be monitored from a second annotation configuration parameter included in the consumption message annotation in the specified file packet, analyzing a method signature carried in the business message by the method for approving the consumption message annotation in the specified file packet, and processing the business message according to a method corresponding to the method signature. The implementation of the invention can improve the development efficiency.

Description

Message transmission system and method
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a message transmission system and method.
Background
In current messaging systems, the producer and the Message middleware establish a communication connection according to a prescribed protocol, such as Java Message Service (JMS) protocol, and the consumer establishes a communication connection with the Message middleware according to the same protocol. The production end and the consumption end can carry out serialized message transmission through message middleware.
In order to implement serialized message delivery, the production end and the consumption end need to be configured for each service scenario, so that the production end and the consumption end can send and monitor serialized messages, and configured codes are complex, which results in low development efficiency.
Disclosure of Invention
The embodiment of the invention aims to provide a message transmission system and a message transmission method so as to improve the development efficiency. The specific technical scheme is as follows:
in a first aspect, an embodiment of the present application provides a message transmission system, where the system includes a production end, a message middleware, and a consumption end;
the production end is used for a method for appointing production message annotation in a file package by an agent, constructing a business message based on a first annotation configuration parameter included by the production message annotation, and sending the business message to a target message queue of a message middleware; the first annotation configuration parameter comprises a method signature and a target message queue identifier, and the service message carries the method signature;
the message middleware is used for receiving the service message and storing the service message in a target message queue corresponding to the target message queue identifier;
the consumption end is used for acquiring a target message queue identifier to be monitored from a second annotation configuration parameter included in the consumption message annotation in the specified file packet, when a business message is monitored from the target message corresponding to the target message queue identifier, a method for acting the consumption message annotation in the specified file packet analyzes a method signature carried in the business message, and the business message is processed according to a method corresponding to the method signature.
In a possible implementation manner, the production end is further configured to identify the production message annotation from the specified file packet, parse the production message annotation to obtain the first annotation configuration parameter included in the production message annotation, and establish a first communication connection with a target message queue of the message middleware according to the first annotation configuration parameter;
the production end is specifically configured to send the service message to the message middleware through the first communication connection;
the consumption end is further configured to identify the consumption message annotation, parse the consumption message annotation to obtain the second annotation configuration parameter included in the consumption message annotation, and establish a second communication connection with a target message queue of the message middleware according to the second annotation configuration parameter;
the consumption end is also used for reading the service message from the target message queue of the message middleware through the second communication connection.
In a possible implementation, the first annotation configuration parameter further includes a production group identifier, and the second annotation configuration parameter further includes a consumption group identifier;
the production end is specifically configured to establish a first communication connection between target message queues corresponding to the target message queue identifiers in a production group corresponding to the production group identifiers;
the consumption end is specifically configured to establish a second communication connection between target message queues corresponding to the target message queue identifiers in the consumption groups corresponding to the consumption group identifiers.
In a possible implementation manner, the first annotation configuration parameter further includes: message response type and data analysis format;
the production end is specifically configured to construct the method signature, the message response type, and the data parsing format included in the first annotation configuration parameter as context information of the business message; constructing the service message according to the context information and the service message content;
the consumption end is specifically configured to analyze context information of the service message, and obtain the method signature, the message response type, and the data analysis format included in the context information; and analyzing the service message according to the data analysis format to obtain the message content, processing the message content by a method corresponding to the proxy signature, and responding the service message according to the message response type.
In a possible implementation manner, the consuming side is specifically configured to verify the service message according to the method signature included in the context information, and if the verification fails, discard the service message; and if the verification is successful, processing the message content subjected to the deserialization processing by the processing method corresponding to the consumption group name.
In a second aspect, an embodiment of the present application provides a message transmission method, where the method is applied to a production end in a message transmission system, and the message transmission system further includes a message middleware and a consumption end; the method comprises the following steps:
the method comprises the steps that an agent specifies a method of production message annotation in a file package, and a business message is constructed based on first annotation configuration parameters included by the production message annotation, wherein the first annotation configuration parameters include a method signature;
sending the service message to a target message queue of message middleware, so that the message middleware stores the service message in the target message queue corresponding to the target message queue identifier; the service message carries the method signature, the target message queue is used for being monitored by the consumption end, so that when the consumption end monitors that the service message exists in the target message queue, the method for acting the consumption message annotation in the specified file packet analyzes the method signature carried in the service message, and the service message is processed according to the method corresponding to the method signature.
In one possible implementation, before the method for the proxy to specify the production message annotation in the file package and construct the business message based on the first annotation configuration parameter included in the production message annotation, the method further includes:
identifying the production message annotation from the specified bundle of files;
parsing the production message annotation to obtain the first annotation configuration parameter included in the production message annotation;
establishing a first communication connection with a target message queue of the message middleware according to the first annotation configuration parameter;
the sending the service message to a target message queue of message middleware comprises:
and sending the service message to the message middleware through the first communication connection.
In one possible implementation, the first annotation configuration parameter further includes a production group identifier;
the establishing of the first communication connection with the target message queue of the message middleware according to the first annotation configuration parameter comprises:
and establishing a first communication connection between target message queues corresponding to the target message queue identifications in the production group corresponding to the production group identifications.
In a possible implementation manner, the first annotation configuration parameter further includes: message response type and data analysis format;
the constructing the business message based on the first annotation configuration parameter included in the production message annotation comprises:
constructing the method signature, the message response type and the data parsing format included in the first annotation configuration parameter as context information of the business message;
and constructing the service message according to the context information and the service message content.
In a third aspect, an embodiment of the present application further provides a message transmission method, where the method is applied to a consuming side in a message transmission system, the message transmission system further includes a message middleware and the consuming side, and the method includes:
acquiring a target message queue identifier to be monitored from a second annotation configuration parameter included in the consumption message annotation in the specified file packet;
when a business message is monitored from a target message corresponding to the target message queue identifier in message middleware, a method for proxying a consumption message annotation in the specified file packet analyzes a method signature carried in the business message, the business message is constructed by the production end based on a first annotation configuration parameter included by a production message annotation in the specified file packet, and the first annotation parameter includes the method signature and the target message queue identifier;
and processing the service message according to the method corresponding to the signature of the method.
In a possible implementation manner, before obtaining the target message queue identifier to be monitored from the second annotation configuration parameter included in the consumption message annotation in the specified file packet, the method further includes:
identifying the consumption message annotation;
parsing the consumption message annotation to obtain the second annotation configuration parameter included in the consumption message annotation;
establishing a second communication connection with a target message queue of the message middleware according to the second annotation configuration parameter;
after obtaining the target message queue identifier to be monitored from the second annotation configuration parameter included in the consumption message annotation in the specified file packet, the method further includes:
and when a service message is monitored from a target message corresponding to the target message queue identification in the message middleware, reading the service message from the target message queue of the message middleware through the second communication connection.
In one possible implementation, the second annotation configuration parameter further includes a consumption group identifier;
the establishing of the second communication connection with the target message queue of the message middleware according to the second annotation configuration parameter includes:
and establishing second communication connection between target message queues corresponding to the target message queue identifications in the consumption group corresponding to the consumption group identifications.
In a possible implementation manner, the first annotation configuration parameter further includes: message response type and data analysis format;
the processing the service message according to the method corresponding to the method signature comprises the following steps:
analyzing the context information of the service message;
acquiring the method signature, the message response type and the data analysis format which are included in the context information;
analyzing the service message according to the data analysis format to obtain the message content;
and processing the message content by a method corresponding to the proxy method signature, and responding the service message according to the message response type.
In one possible implementation manner, after obtaining the method signature, the message response type, and the data parsing format included in the context information, the method further includes:
verifying the service message according to the method signature included in the context information;
if the verification fails, discarding the service message;
and if the verification is successful, processing the message content subjected to the deserialization processing by the processing method corresponding to the consumption group name.
In a fourth aspect, an embodiment of the present application provides a message transmission apparatus, where the apparatus is applied to a production end in a message transmission system, and the message transmission system further includes a message middleware and a consumption end; the device comprises:
the construction module is used for proxy specifying a method of production message annotation in a file package, constructing a business message based on a first annotation configuration parameter included by the production message annotation, wherein the first annotation configuration parameter includes a method signature;
a sending module, configured to send the service message to a target message queue of a message middleware, so that the message middleware stores the service message in the target message queue corresponding to the target message queue identifier; the service message carries the method signature, the target message queue is used for being monitored by the consumption end, so that when the consumption end monitors that the service message exists in the target message queue, the method for acting the consumption message annotation in the specified file packet analyzes the method signature carried in the service message, and the service message is processed according to the method corresponding to the method signature.
In one possible implementation, the apparatus further includes:
an identification module for identifying the production message annotation from the specified bundle of files;
the parsing module is used for parsing the production message annotation to obtain the first annotation configuration parameter included by the production message annotation;
the establishing module is used for establishing a first communication connection with a target message queue of the message middleware according to the first annotation configuration parameter;
the sending module is specifically configured to send the service message to the message middleware through the first communication connection.
In one possible implementation, the first annotation configuration parameter further includes a production group identifier;
the establishing module is specifically configured to establish a first communication connection between target message queues corresponding to the target message queue identifiers in the production group corresponding to the production group identifiers.
In a possible implementation manner, the first annotation configuration parameter further includes: message response type and data analysis format;
the building module is specifically configured to:
constructing the method signature, the message response type and the data parsing format included in the first annotation configuration parameter as context information of the business message;
and constructing the service message according to the context information and the service message content.
In a fifth aspect, an embodiment of the present application provides a message transmission apparatus, where the apparatus is applied to a consuming side in a message transmission system, where the message transmission system further includes a message middleware and the consuming side, and the apparatus includes:
the acquisition module is used for acquiring a target message queue identifier to be monitored from a second annotation configuration parameter included in the consumption message annotation in the specified file packet;
the analysis module is used for analyzing a method signature carried in the business message by a method for acting a consumption message annotation in the specified file packet when the business message is monitored from a target message corresponding to the target message queue identifier in message middleware, wherein the business message is constructed by the production end based on a first annotation configuration parameter included in a production message annotation in the specified file packet, and the first annotation parameter includes the method signature and the target message queue identifier;
and the processing module is used for processing the service message according to the method corresponding to the method signature.
In one possible implementation, the apparatus further includes:
an identification module for identifying the consumption message annotation;
the parsing module is further configured to parse the consumption message annotation to obtain the second annotation configuration parameter included in the consumption message annotation;
the establishing module is used for establishing a second communication connection with a target message queue of the message middleware according to the second annotation configuration parameter;
and the reading module is used for reading the service message from the target message queue of the message middleware through the second communication connection when the service message is monitored from the target message corresponding to the target message queue identification in the message middleware.
In one possible implementation, the second annotation configuration parameter further includes a consumption group identifier;
the establishing module is specifically configured to establish a second communication connection between target message queues corresponding to the target message queue identifiers in the consumption groups corresponding to the consumption group identifiers.
In a possible implementation manner, the first annotation configuration parameter further includes: message response type and data analysis format;
the processing module is specifically configured to:
analyzing the context information of the service message;
acquiring the method signature, the message response type and the data analysis format which are included in the context information;
analyzing the service message according to the data analysis format to obtain the message content;
and processing the message content by a method corresponding to the proxy method signature, and responding the service message according to the message response type.
In one possible implementation, the apparatus further includes:
the verification module is used for verifying the service message according to the method signature included by the context information;
the discarding module is used for discarding the service message if the verification result of the verification module is verification failure;
and the processing module is used for processing the message content subjected to the deserialization processing through the processing method corresponding to the consumption group name if the verification result of the verification module is that the verification is successful.
In a sixth aspect, an embodiment of the present application further provides an electronic device, which may be a production end or a consumption end, and includes a processor, a communication interface, a memory, and a communication bus, where the processor, the communication interface, and the memory complete communication with each other through the communication bus;
a memory for storing a computer program;
a processor, configured to implement the message transmission method steps described in the second aspect or the third aspect when executing the program stored in the memory.
In a seventh aspect, this application embodiment further provides a computer-readable storage medium, where a computer program is stored in the computer-readable storage medium, and when executed by a processor, the computer program implements the message transmission method described in the second aspect or the third aspect.
In an eighth aspect, embodiments of the present application further provide a computer program product containing instructions, which when run on a computer, causes the computer to execute the message transmission method described in the second aspect or the third aspect.
By adopting the technical scheme, the production message annotation in the specified file packet can be proxied by the production end due to the fact that the specified file packet comprises the production message annotation and the consumption message annotation, the business message is constructed according to the first annotation configuration parameter included by the production message host, and the business message is sent to the target message queue of the message middleware. Correspondingly, the consumption end can also analyze the method signature carried in the service message queue by a method for appointing the consumption annotation in the file packet by proxy, and further can directly process the service message according to the method corresponding to the method signature. Therefore, by adopting the method, the communication between the production end and the consumption end can be realized by adding the annotation in the specified data packet, the processing of different services can be realized by configuring different method signatures in the annotation, the complex codes do not need to be configured for the production end and the consumption end aiming at each service scene, the development process can be simplified, and the development efficiency can be improved.
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.
Fig. 1 is a schematic structural diagram of a message transmission system according to an embodiment of the present invention;
fig. 2 is a flowchart of a message transmission method according to an embodiment of the present invention;
fig. 3 is a flowchart of another message transmission method according to an embodiment of the present invention;
fig. 4 is an exemplary flowchart of a message transmission method according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a message transmission apparatus according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of another message transmission apparatus according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be described below with reference to the drawings in the embodiments of the present invention.
As shown in fig. 1, an embodiment of the present invention provides a message transmission system, where the system includes: a production side 101, a message middleware 102 and a consumption side 103;
the production end 101 is used for a method for assigning production message annotations in a file package by proxy, constructing business messages based on first annotation configuration parameters included in the production message annotations, and sending the business messages to a target message queue of message middleware; the first annotation configuration parameter comprises a method signature and a target message queue identifier, and the service message carries the method signature.
The message middleware 102 is configured to receive the service message, and store the service message in a target message queue corresponding to the target message queue identifier.
The consuming terminal 103 is configured to obtain a target message queue identifier to be monitored from a second annotation configuration parameter included in the consuming message annotation in the specified file packet, when a service message is monitored from the target message corresponding to the target message queue identifier, analyze a method signature carried in the service message by a method for proxying the consuming message annotation in the specified file packet, and process the service message according to a method corresponding to the method signature.
According to the message transmission system provided by the embodiment of the application, because the specified file packet comprises the production message annotation and the consumption message annotation, the production end can substitute the method for specifying the production message annotation in the file packet, construct the business message according to the first annotation configuration parameter included by the production message host, and send the business message to the target message queue of the message middleware. Correspondingly, the consumption end can also analyze the method signature carried in the service message queue by a method for appointing the consumption annotation in the file packet by proxy, and further can directly process the service message according to the method corresponding to the method signature. Therefore, by adopting the method, the communication between the production end and the consumption end can be realized by adding the annotation in the specified data packet, the processing of different services can be realized by configuring different method signatures in the annotation, the complex codes do not need to be configured for the production end and the consumption end aiming at each service scene, the development process can be simplified, and the development efficiency can be improved.
In the embodiment of the invention, the file package is designated as a common-jar package, and the common-jar package is a self-defined protocol encapsulation tool. The specified file package comprises a production message annotation @ AsyncPMQ and a consumption message annotation @ AsyncCMQ. The production message annotation includes the first annotation configuration parameter, and optionally, the first annotation configuration parameter includes a method-sign (method-sign) and a target message queue identifier (topic). The target message queue identifier may specifically be a queue name of the target message queue.
As an example, the method for specifying the production message annotation included in the file package may be a method for generating a character string a, the production end 101 may proxy the method to generate the character string a, and package the character string a as the message content into the service message, and the method signature carried in the service message is a signature of the method for generating the character string a. In turn, the production end 101 sends the business message to a target message queue of the message middleware 102. Correspondingly, the consumption end 103 may monitor the service message, determine a method to be proxied according to the method signature carried in the service message, and further proxy the method corresponding to the method signature to process the service message.
In another embodiment of the present invention, the production end 101 is further configured to identify a production message annotation from the specified file packet, parse the production message annotation to obtain a first annotation configuration parameter included in the production message annotation, and establish a first communication connection with a target message queue of the message middleware according to the first annotation configuration parameter;
wherein the first annotation configuration parameter further comprises a production group identification. The production end 101 is specifically configured to establish a first communication connection between target message queues corresponding to the target message queue identifiers in the production group corresponding to the production group identifiers.
Optionally, when the service that refers to the specified document package in the production end 101 is started, a method of scanning a statement @ AsyncPMQ under a specified package path in the specified document package, such as the method of generating the character string a, may be used to obtain and analyze a configuration item of a production message annotation, so as to obtain the first annotation configuration parameter, then the production end 101 creates an entity of an agent class according to the first annotation configuration parameter, stores the created entity of the agent class in a memory, and further, when the method of producing the message annotation is called, the production end 101 may construct the service message by using the method of producing the message annotation.
The production end 101 is further configured to send the service message to the message middleware through the first communication connection.
The production end 101 may specifically send the service message to a target queue in the message middleware through the first communication connection, so that the consumption end 103 may obtain the service message from the target queue.
The consuming terminal 103 is further configured to identify the consuming message annotation, parse the consuming message annotation to obtain a second annotation configuration parameter included in the consuming message annotation, and establish a second communication connection with the target message queue of the message middleware according to the second annotation configuration parameter.
Wherein the second annotation configuration parameter further comprises a consumption group identification. The consuming end 103 is specifically configured to establish a second communication connection between target message queues corresponding to the target queue identifiers in the consuming group corresponding to the consuming group identifiers.
The consumer end 103 is further configured to read the service message from the target message queue of the message middleware through the second communication connection. After monitoring the service message, the consuming end 103 may intercept the service message through AOP, thereby obtaining the service message and performing subsequent processing on the service message.
In another embodiment of the present application, the first annotation configuration parameter further includes: message reply type and data parsing format.
The production end 101 is specifically configured to construct a method signature, a message response type, and a data parsing format included in the first annotation configuration parameter as context information of the service message; constructing a service message according to the context information and the content of the service message;
the message response type value can be an automatic response or a response after processing the service message.
The service message comprises context information and a message body, and the message body comprises the content of the service message.
The consumption end 103 is specifically configured to analyze context information of the service message, and obtain a method signature, a message response type, and a data analysis format included in the context information; and analyzing the service message according to the data analysis format to obtain the message content, processing the message content by a method corresponding to the proxy method signature, and responding the service message according to the message response type.
By way of example, the production message annotation of the embodiment of the present application includes:
Public@interface AsyncPMQ{
string topoc (); // for specifying target message queue identity
String group (); identification of production groups
String ack _ type (); // for specifying the type of response
String method _ sign (); v/signature for specified method
}
The annotation of the consumption message in the embodiment of the application comprises:
Public@interface AsyncPMQ{
string topoc (); // for specifying target message queue identity
String group (); // for specifying consumption group identification
String ack _ type (); // for specifying the type of response
String method _ sign (); v/signature for specified method
}
In another embodiment of the present application, the consuming side 103 is specifically configured to verify the service message according to the method signature included in the context information, and if the verification fails, discard the service message; and if the verification is successful, processing the message content subjected to the deserialization processing by a processing method corresponding to the consumption group name.
Optionally, when receiving the service message, the consuming end 103 may obtain an ID of the service message, and if itself has received the service message with the same ID, discard the service message received this time. In addition, when receiving the service message, the consumption end can obtain the time stamp of the service message, judge whether the service message is an old message or not through the time stamp, and discard the service message if the service message is determined to be the old message. Thereby avoiding repeated processing of the service message by the consuming end.
As shown in fig. 2, an embodiment of the present application further provides a message transmission method, where the method is applied to a production end in a message transmission system, where the message transmission system further includes a message middleware and a consumption end, and the method includes:
s201, the method for appointing the production message annotation in the file package by the agent constructs the business message based on the first annotation configuration parameter included by the production message annotation.
The first annotation configuration parameter comprises a method signature and a target message queue identifier, and the service message carries the method signature.
S202, the service message is sent to a target message queue of the message middleware, so that the message middleware stores the service message in the target message queue corresponding to the target message queue identification.
The service message carries a method signature, the target message queue is used for being monitored by the consumption end, so that when the consumption end monitors that the service message exists in the target message queue, the method for appointing the consumption message annotation in the file packet by the agent analyzes the method signature carried in the service message, and the service message is processed according to the method corresponding to the method signature.
According to the message transmission method provided by the embodiment of the invention, because the specified file packet comprises the production message annotation, the production end can acquire the first annotation configuration parameter included by the production message annotation from the specified file packet, so that the method for producing the message annotation in the specified file packet is proxied, the business message is constructed based on the first annotation configuration parameter, and the message transmission between the business message and the message middleware is realized. By adopting the method, complex codes do not need to be configured for the production end and the consumption end aiming at each service scene, the configuration can be simplified through an annotation mode, and the development efficiency is improved.
In another embodiment of the present application, in the above S201, before the method for specifying a production message annotation in a file package by an agent, and constructing a business message based on a first annotation configuration parameter included in the production message annotation, the method further includes:
and identifying the production message annotation from the specified file packet, analyzing the production message annotation to obtain a first annotation configuration parameter included by the production message annotation, and establishing a first communication connection with a target message queue of the message middleware according to the first annotation configuration parameter.
Optionally, the first annotation configuration parameter further includes a production group identifier. On this basis, establishing a first communication connection with a target message queue of the message middleware according to the first annotation configuration parameter may be implemented as: and establishing a first communication connection between target message queues corresponding to the target message queue identifications in the production group corresponding to the production group identifications.
Accordingly, the step S202 of sending the service message to the target message queue of the message middleware may be implemented as follows: the service message is sent to the message middleware over a first communication connection.
In another embodiment of the present application, the first annotation configuration parameter further includes: message reply type and data parsing format.
In the above S201, constructing the service message based on the first annotation configuration parameter included in the production message annotation includes:
and constructing the method signature, the message response type and the data analysis format included by the first annotation configuration parameter into context information of the service message, and then constructing the service message according to the context information and the service message content.
As shown in fig. 3, an embodiment of the present application further provides a message transmission method, where the method is applied to a consuming side in a message transmission system, where the message transmission system further includes a message middleware and a producing side, and the method includes:
s301, obtaining the target message queue identification to be monitored from the second annotation configuration parameter included in the consumption message annotation in the specified file packet.
S302, when the business message is monitored from the target message corresponding to the target message queue identification in the message middleware, the method of consuming message annotation in the agent specified file packet analyzes the method signature carried in the business message.
The service message is constructed for the production end based on first annotation configuration parameters included in production message annotations in the specified file packet, and the first annotation parameters include a method signature and a target message queue identifier.
And S303, processing the service message according to the method corresponding to the method signature.
According to the message transmission method provided by the embodiment of the application, because the designated file packet comprises the consumption message annotation, the consumption end can acquire the second annotation configuration parameter included by the consumption message annotation from the designated file packet, so that the target queue to be monitored is determined based on the second annotation configuration parameter, the service message is monitored to realize message transmission with the message middleware, and the service message can be processed by a method corresponding to the signature carried by the service message. Therefore, by adopting the method, complex codes do not need to be configured for the production end and the consumption end aiming at each service scene, the configuration can be simplified through an annotation mode, and the development efficiency is improved.
In a possible implementation manner, before the step S301 of obtaining the target message queue identifier to be monitored from the second annotation configuration parameter included in the consumption message annotation in the specified file package, the method further includes:
identifying a consuming message annotation; analyzing the consumption message annotation to obtain a second annotation configuration parameter included by the consumption message annotation; and establishing a second communication connection with a target message queue of the message middleware according to the second annotation configuration parameter.
Optionally, the second annotation configuration parameter further comprises a consumption group identification. On this basis, establishing a second communication connection with the target message queue of the message middleware according to the second annotation configuration parameter may be implemented as: and establishing second communication connection between the target message queues corresponding to the target message queue identifications in the consumption groups corresponding to the consumption group identifications.
Accordingly, after the above S301, the method further includes:
and when the business message is monitored from the target message corresponding to the target message queue identification in the message middleware, reading the business message from the target message queue of the message middleware through the second communication connection.
In another embodiment of the present invention, the first annotation configuration parameter further includes: message response type and data analysis format;
the step S303 of processing the service message according to the method corresponding to the method signature includes:
analyzing the context information of the service message, acquiring a method signature, a message response type and a data analysis format which are included in the context information, analyzing the service message according to the data analysis format to obtain a message content, processing the message content by a method corresponding to the proxy method signature, and responding the service message according to the message response type.
After the method signature, the message response type and the data analysis format included in the context information are obtained, the service message can be verified, and specifically, the service message can be verified according to the method signature included in the context information; if the verification fails, discarding the service message; and if the verification is successful, processing the message content subjected to the deserialization processing by a processing method corresponding to the consumption group name.
Referring to fig. 4, the message transmission method provided in the embodiment of the present invention is described below, and as shown in fig. 4, a production end may perform dynamic proxy on a method class of annotation @ AsyncPMQ by scanning a method of specifying a declaration @ AsyncPMQ under a packet path in a specified file packet, obtain a first annotation configuration parameter, construct a context of a service message based on the first annotation parameter, and further construct the service message. The service message comprises a topic, a group, an ack-type, a method-sign and data. And the production end can establish communication with the target message queue of the message middleware according to the cluster address and the message protocol, so that the business message is sent to the target message queue of the message middleware.
Correspondingly, the consumer side can dynamically proxy the method class of the annotation @ AsyncRMQ by scanning the method of the statement @ AsyncRMQ under the specified packet path in the specified file packet, and obtain a second annotation configuration parameter. And establishing communication with a target message queue in the message middleware according to the cluster address and the message protocol, and monitoring and intercepting the service message in the target message queue. After the service message is obtained, the service message is analyzed to obtain the context information of the service message, the method signature is verified, after the verification is passed, the service message is processed by the processing method corresponding to the dynamic proxy method signature, and then the response to the service message is completed according to the response mode carried by the context information. In fig. 4, 3 message middlewares are exemplarily shown, and in an actual implementation, the number of message middlewares is not limited thereto.
Based on the same inventive concept, the embodiment of the application also provides a message transmission device, which is applied to a production end in a message transmission system, and the message transmission system also comprises a message middleware and a consumption end; as shown in fig. 5, the apparatus includes:
a constructing module 501, configured to proxy a method for specifying a production message annotation in a file package, construct a business message based on a first annotation configuration parameter included in the production message annotation, where the first annotation configuration parameter includes a method signature;
a sending module 502, configured to send a service message to a target message queue of a message middleware, so that the message middleware stores the service message in the target message queue corresponding to the target message queue identifier; the service message carries a method signature, the target message queue is used for being monitored by the consumption end, so that when the consumption end monitors that the service message exists in the target message queue, the method for appointing the consumption message annotation in the file packet by the agent analyzes the method signature carried in the service message, and the service message is processed according to the method corresponding to the method signature.
In another embodiment of the present application, the apparatus further comprises:
an identification module for identifying production message annotations from a specified portfolio;
the analysis module is used for analyzing the production message annotation to obtain a first annotation configuration parameter included by the production message annotation;
the establishing module is used for establishing a first communication connection with a target message queue of the message middleware according to the first annotation configuration parameter;
the sending module 502 is specifically configured to send the service message to the message middleware through the first communication connection.
Optionally, the first annotation configuration parameter further comprises a production group identifier;
and the establishing module is specifically used for establishing a first communication connection between target message queues corresponding to the target message queue identifications in the production group corresponding to the production group identifications.
Optionally, the first annotation configuration parameter further includes: message response type and data analysis format; the device also includes:
the building module 501 is specifically configured to:
constructing a method signature, a message response type and a data analysis format included by the first annotation configuration parameter into context information of the service message;
and constructing the service message according to the context information and the service message content.
Based on the same inventive concept, an embodiment of the present application further provides a message transmission apparatus, where the apparatus is applied to a consuming side in a message transmission system, and the message transmission system further includes a message middleware and a consuming side, as shown in fig. 6, the apparatus includes:
an obtaining module 601, configured to obtain a target message queue identifier to be monitored from a second annotation configuration parameter included in a consumption message annotation in a specified file packet;
the parsing module 602 is configured to, when a business message is monitored from a target message corresponding to a target message queue identifier in a message middleware, parse a method signature carried in the business message by a method of a consumption message annotation in an agent-specified file package, where the business message is constructed for a production end based on a first annotation configuration parameter included in a production message annotation in the specified file package, and the first annotation parameter includes the method signature and the target message queue identifier;
the processing module 603 is configured to process the service message according to the method corresponding to the method signature.
Optionally, the apparatus further comprises:
an identification module for identifying a consumption message annotation;
the analysis module is also used for analyzing the consumption message annotation to obtain a second annotation configuration parameter included by the consumption message annotation;
the establishing module is used for establishing second communication connection with a target message queue of the message middleware according to the second annotation configuration parameter;
and the reading module is used for reading the service message from the target message queue of the message middleware through the second communication connection when the service message is monitored from the target message corresponding to the target message queue identification in the message middleware.
Optionally, the second annotation configuration parameter further comprises a consumption group identification; the device also includes:
and the establishing module is specifically used for establishing second communication connection between target message queues corresponding to the target message queue identifications in the consumption groups corresponding to the consumption group identifications.
Optionally, the first annotation configuration parameter further includes: message response type and data analysis format;
the processing module 603 is specifically configured to:
analyzing the context information of the service message;
acquiring a method signature, a message response type and a data analysis format which are included in the context information;
analyzing the service message according to the data analysis format to obtain message content;
the proxy method signature corresponding method processes the message content and responds to the service message according to the message response type.
Optionally, the apparatus further comprises:
the verification module is used for verifying the service message according to the method signature included by the context information;
the discarding module is used for discarding the service message if the verification result of the verification module is verification failure;
the processing module 603 is configured to, if the verification result of the verification module is that the verification is successful, process the message content that is subjected to the deserialization processing by using the processing method corresponding to the consumption group name.
An embodiment of the present invention further provides an electronic device, which may be a production end or a consumption end, as shown in fig. 7, including a processor 701, a communication interface 702, a memory 703 and a communication bus 704, where the processor 701, the communication interface 702, and the memory 703 complete mutual communication through the communication bus 704.
A memory 703 for storing a computer program.
The processor 701 is configured to implement the method steps in the above-described method embodiments when executing the program stored in the memory 703.
The communication bus mentioned in the electronic device may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The communication bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown, but this does not mean that there is only one bus or one type of bus.
The communication interface is used for communication between the electronic equipment and other equipment.
The Memory may include a Random Access Memory (RAM) or a non-volatile Memory (non-volatile Memory), such as at least one disk Memory. Optionally, the memory may also be at least one memory device located remotely from the processor.
The Processor may be a general-purpose Processor, and includes a Central Processing Unit (CPU), a Network Processor (NP), and the like; the device can also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, a discrete Gate or transistor logic device, or a discrete hardware component.
In yet another embodiment provided by the present invention, a computer-readable storage medium is further provided, in which a computer program is stored, and the computer program is executed by a processor to implement any of the message transmission methods in the above embodiments.
In a further embodiment provided by the present invention, there is also provided a computer program product containing instructions which, when run on a computer, cause the computer to perform any of the message transmission methods of the above embodiments.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the invention to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, from one website site, computer, server, or data center to another website site, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that incorporates one or more of the available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
All the embodiments in the present specification are described in a related manner, and the same and similar parts among the embodiments may be referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the system embodiment, since it is substantially similar to the method embodiment, the description is simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
The above description is only for the preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention shall fall within the protection scope of the present invention.

Claims (14)

1. A message transmission system is characterized in that the system comprises a production end, a message middleware and a consumption end;
the production end is used for a method for appointing production message annotation in a file package by an agent, constructing a business message based on a first annotation configuration parameter included by the production message annotation, and sending the business message to a target message queue of a message middleware; the first annotation configuration parameter comprises a method signature and a target message queue identifier, and the service message carries the method signature;
the message middleware is used for receiving the service message and storing the service message in a target message queue corresponding to the target message queue identifier;
the consumption end is used for acquiring a target message queue identifier to be monitored from a second annotation configuration parameter included in the consumption message annotation in the specified file packet, when a business message is monitored from the target message corresponding to the target message queue identifier, a method for acting the consumption message annotation in the specified file packet analyzes a method signature carried in the business message, and the business message is processed according to a method corresponding to the method signature.
2. The system of claim 1,
the production end is further configured to identify the production message annotation from the specified file packet, parse the production message annotation to obtain the first annotation configuration parameter included in the production message annotation, and establish a first communication connection with a target message queue of the message middleware according to the first annotation configuration parameter;
the production end is specifically configured to send the service message to the message middleware through the first communication connection;
the consumption end is further configured to identify the consumption message annotation, parse the consumption message annotation to obtain the second annotation configuration parameter included in the consumption message annotation, and establish a second communication connection with a target message queue of the message middleware according to the second annotation configuration parameter;
the consumption end is also used for reading the service message from the target message queue of the message middleware through the second communication connection.
3. The system of claim 2, wherein the first annotation configuration parameter further comprises a production group identification, and the second annotation configuration parameter further comprises a consumption group identification;
the production end is specifically configured to establish a first communication connection between target message queues corresponding to the target message queue identifiers in a production group corresponding to the production group identifiers;
the consumption end is specifically configured to establish a second communication connection between target message queues corresponding to the target message queue identifiers in the consumption groups corresponding to the consumption group identifiers.
4. The system according to any of claims 1-3, wherein the first annotation configuration parameter further comprises: message response type and data analysis format;
the production end is specifically configured to construct the method signature, the message response type, and the data parsing format included in the first annotation configuration parameter as context information of the business message; constructing the service message according to the context information and the service message content;
the consumption end is specifically configured to analyze context information of the service message, and obtain the method signature, the message response type, and the data analysis format included in the context information; and analyzing the service message according to the data analysis format to obtain the message content, processing the message content by a method corresponding to the proxy signature, and responding the service message according to the message response type.
5. The system of claim 1,
the consumption end is specifically configured to verify the service message according to the method signature included in the context information, and if the verification fails, discard the service message; and if the verification is successful, processing the message content subjected to the deserialization processing by the processing method corresponding to the consumption group name.
6. The message transmission method is applied to a production end in a message transmission system, and the message transmission system further comprises message middleware and a consumption end; the method comprises the following steps:
the method comprises the steps that an agent specifies a method of production message annotation in a file package, and a business message is constructed based on first annotation configuration parameters included by the production message annotation, wherein the first annotation configuration parameters include a method signature;
sending the service message to a target message queue of message middleware, so that the message middleware stores the service message in the target message queue corresponding to the target message queue identifier; the service message carries the method signature, the target message queue is used for being monitored by the consumption end, so that when the consumption end monitors that the service message exists in the target message queue, the method for acting the consumption message annotation in the specified file packet analyzes the method signature carried in the service message, and the service message is processed according to the method corresponding to the method signature.
7. The method of claim 6, wherein prior to the proxy specifying a method for production message annotation in a portfolio of files, the method further comprises, prior to constructing a business message based on first annotation configuration parameters included with the production message annotation:
identifying the production message annotation from the specified bundle of files;
parsing the production message annotation to obtain the first annotation configuration parameter included in the production message annotation;
establishing a first communication connection with a target message queue of the message middleware according to the first annotation configuration parameter;
the sending the service message to a target message queue of message middleware comprises:
and sending the service message to the message middleware through the first communication connection.
8. The method of claim 7, wherein the first annotation configuration parameter further comprises a production group identification;
the establishing of the first communication connection with the target message queue of the message middleware according to the first annotation configuration parameter comprises:
and establishing a first communication connection between target message queues corresponding to the target message queue identifications in the production group corresponding to the production group identifications.
9. The method according to any of claims 6-8, wherein the first annotation configuration parameter further comprises: message response type and data analysis format;
the constructing the business message based on the first annotation configuration parameter included in the production message annotation comprises:
constructing the method signature, the message response type and the data parsing format included in the first annotation configuration parameter as context information of the business message;
and constructing the service message according to the context information and the service message content.
10. A message transmission method, applied to a consuming side in a message transmission system, wherein the message transmission system further includes a message middleware and the consuming side, and the method includes:
acquiring a target message queue identifier to be monitored from a second annotation configuration parameter included in the consumption message annotation in the specified file packet;
when a business message is monitored from a target message corresponding to the target message queue identifier in message middleware, a method for proxying a consumption message annotation in the specified file packet analyzes a method signature carried in the business message, the business message is constructed by the production end based on a first annotation configuration parameter included by a production message annotation in the specified file packet, and the first annotation parameter includes the method signature and the target message queue identifier;
and processing the service message according to the method corresponding to the signature of the method.
11. The method of claim 10, wherein before obtaining the target message queue identifier to be listened to from the second annotation configuration parameter included in the consumption message annotation in the specified bundle, the method further comprises:
identifying the consumption message annotation;
parsing the consumption message annotation to obtain the second annotation configuration parameter included in the consumption message annotation;
establishing a second communication connection with a target message queue of the message middleware according to the second annotation configuration parameter;
after obtaining the target message queue identifier to be monitored from the second annotation configuration parameter included in the consumption message annotation in the specified file packet, the method further includes:
and when a service message is monitored from a target message corresponding to the target message queue identification in the message middleware, reading the service message from the target message queue of the message middleware through the second communication connection.
12. The method of claim 11, wherein the second annotation configuration parameter further comprises a consumption group identification;
the establishing of the second communication connection with the target message queue of the message middleware according to the second annotation configuration parameter includes:
and establishing second communication connection between target message queues corresponding to the target message queue identifications in the consumption group corresponding to the consumption group identifications.
13. The method according to any of claims 10-12, wherein the first annotation configuration parameter further comprises: message response type and data analysis format;
the processing the service message according to the method corresponding to the method signature comprises the following steps:
analyzing the context information of the service message;
acquiring the method signature, the message response type and the data analysis format which are included in the context information;
analyzing the service message according to the data analysis format to obtain the message content;
and processing the message content by a method corresponding to the proxy method signature, and responding the service message according to the message response type.
14. The method of claim 13, wherein after obtaining the method signature, the message reply type, and the data parsing format included in the context information, the method further comprises:
verifying the service message according to the method signature included in the context information;
if the verification fails, discarding the service message;
and if the verification is successful, processing the message content subjected to the deserialization processing by the processing method corresponding to the consumption group name.
CN202110749935.XA 2021-07-02 2021-07-02 Message transmission system and method Active CN113360301B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110749935.XA CN113360301B (en) 2021-07-02 2021-07-02 Message transmission system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110749935.XA CN113360301B (en) 2021-07-02 2021-07-02 Message transmission system and method

Publications (2)

Publication Number Publication Date
CN113360301A true CN113360301A (en) 2021-09-07
CN113360301B CN113360301B (en) 2023-09-05

Family

ID=77537842

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110749935.XA Active CN113360301B (en) 2021-07-02 2021-07-02 Message transmission system and method

Country Status (1)

Country Link
CN (1) CN113360301B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115103017A (en) * 2022-06-13 2022-09-23 珠海格力电器股份有限公司 Message middleware processing system and method
CN115242618A (en) * 2022-06-17 2022-10-25 北京奇艺世纪科技有限公司 Middleware state checking method and device, electronic equipment and readable storage medium
CN117527880A (en) * 2024-01-05 2024-02-06 南京研利科技有限公司 Message management method, device, electronic equipment and computer readable storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100218082A1 (en) * 2009-02-25 2010-08-26 Anis Charfi Method and system for expressing and enforcing non-functional concerns in business process management systems and workflow systems
US20140006606A1 (en) * 2012-06-28 2014-01-02 International Business Machines Corporation Message Queue Transaction Tracking Using Application Activity Trace Data
US20150277900A1 (en) * 2014-04-01 2015-10-01 International Business Machines Corporation Dynamically building an Unstructured Information Management Architecture (UIMA) pipeline
JP2016122321A (en) * 2014-12-25 2016-07-07 株式会社日立製作所 Analysis device, analysis method, and analysis program
US10122815B1 (en) * 2016-08-05 2018-11-06 Sprint Communications Company L.P. Dynamic class mapping in messaging middleware
CN111400058A (en) * 2020-03-06 2020-07-10 中国平安人寿保险股份有限公司 Method and device for calling message, computer equipment and storage medium
CN111930531A (en) * 2020-07-01 2020-11-13 北京奇艺世纪科技有限公司 Data processing method, data production method, data consumption method, data production device, data consumption device and data consumption medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100218082A1 (en) * 2009-02-25 2010-08-26 Anis Charfi Method and system for expressing and enforcing non-functional concerns in business process management systems and workflow systems
US20140006606A1 (en) * 2012-06-28 2014-01-02 International Business Machines Corporation Message Queue Transaction Tracking Using Application Activity Trace Data
US20150277900A1 (en) * 2014-04-01 2015-10-01 International Business Machines Corporation Dynamically building an Unstructured Information Management Architecture (UIMA) pipeline
JP2016122321A (en) * 2014-12-25 2016-07-07 株式会社日立製作所 Analysis device, analysis method, and analysis program
US10122815B1 (en) * 2016-08-05 2018-11-06 Sprint Communications Company L.P. Dynamic class mapping in messaging middleware
CN111400058A (en) * 2020-03-06 2020-07-10 中国平安人寿保险股份有限公司 Method and device for calling message, computer equipment and storage medium
CN111930531A (en) * 2020-07-01 2020-11-13 北京奇艺世纪科技有限公司 Data processing method, data production method, data consumption method, data production device, data consumption device and data consumption medium

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115103017A (en) * 2022-06-13 2022-09-23 珠海格力电器股份有限公司 Message middleware processing system and method
CN115103017B (en) * 2022-06-13 2023-12-08 珠海格力电器股份有限公司 Message middleware processing system and method
CN115242618A (en) * 2022-06-17 2022-10-25 北京奇艺世纪科技有限公司 Middleware state checking method and device, electronic equipment and readable storage medium
CN115242618B (en) * 2022-06-17 2024-01-30 北京奇艺世纪科技有限公司 Middleware state checking method and device, electronic equipment and readable storage medium
CN117527880A (en) * 2024-01-05 2024-02-06 南京研利科技有限公司 Message management method, device, electronic equipment and computer readable storage medium
CN117527880B (en) * 2024-01-05 2024-04-09 南京研利科技有限公司 Message management method, device, electronic equipment and computer readable storage medium

Also Published As

Publication number Publication date
CN113360301B (en) 2023-09-05

Similar Documents

Publication Publication Date Title
CN111083225B (en) Data processing method and device in Internet of things platform and Internet of things platform
CN113360301B (en) Message transmission system and method
US11907700B2 (en) Upgrading method and system, server, and terminal device
CN111475376B (en) Method, apparatus, computer device and storage medium for processing test data
CN111711533B (en) Fault diagnosis method, fault diagnosis device, electronic device and storage medium
CN112788128B (en) Business information pushing method and device, storage medium and electronic device
CN111930531B (en) Data processing, data production and data consumption methods, devices, equipment and media
CN107368334B (en) Business plug-in interaction system and method
CN112261111A (en) Method and system for realizing cross-domain access of browser in application program
CN111556080A (en) Network node monitoring method, device, medium and electronic equipment
CN108512889B (en) Application response pushing method based on HTTP and proxy server
CN108600378B (en) File downloading method, device, terminal and storage medium
CN103997437A (en) Cloud server registration function testing method
CN111698310B (en) Multi-test environment scheduling method and device based on SWIFT network
CN109522202B (en) Software testing method and device
CN116069838A (en) Data processing method, device, computer equipment and storage medium
CN112256557A (en) Program regression testing method, device, system, computer equipment and storage medium
CN111400027A (en) Distributed task processing method, device and system
CN113709177B (en) Method for processing message and external call gateway
CN114244758A (en) Network diagnosis method, storage medium, electronic device and system of android platform
CN113742235A (en) Method and device for checking codes
CN113132447A (en) Reverse proxy method and system
CN111651356A (en) Application program testing method, device and system
CN114449052B (en) Data compression method and device, electronic equipment and storage medium
CN112671822B (en) Service request processing method, device, storage medium, server and system

Legal Events

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