CN110445658B - Message processing method and system - Google Patents

Message processing method and system Download PDF

Info

Publication number
CN110445658B
CN110445658B CN201910757437.2A CN201910757437A CN110445658B CN 110445658 B CN110445658 B CN 110445658B CN 201910757437 A CN201910757437 A CN 201910757437A CN 110445658 B CN110445658 B CN 110445658B
Authority
CN
China
Prior art keywords
message
data
sending
different
messages
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.)
Active
Application number
CN201910757437.2A
Other languages
Chinese (zh)
Other versions
CN110445658A (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.)
Bank of China Ltd
Original Assignee
Bank of China 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 Bank of China Ltd filed Critical Bank of China Ltd
Priority to CN201910757437.2A priority Critical patent/CN110445658B/en
Publication of CN110445658A publication Critical patent/CN110445658A/en
Application granted granted Critical
Publication of CN110445658B publication Critical patent/CN110445658B/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
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • 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/06Notations for structuring of protocol data, e.g. abstract syntax notation one [ASN.1]

Abstract

The application discloses a message processing method and a system, which are used for acquiring the sending parameters of at least one message, wherein the sending parameters at least comprise: the method comprises the steps of testing environment information, message types and a message sending mode, determining message data of at least one message according to a message sending parameter of at least one message, performing group reporting on the determined message data of at least one message to obtain first data, and sending each message data in the first data according to the message parameter corresponding to the message data. According to the scheme, the plurality of message data are grouped and sent in a unified mode, and the plurality of message data can have different testing environment information, different message types or different sending modes, so that the plurality of messages in different testing environments, different message types or different sending modes can be sent simultaneously, and the problem of low sending efficiency caused by the fact that the messages in different testing environments, different message types or different sending modes need to be sent for multiple times is solved.

Description

Message processing method and system
Technical Field
The present application relates to the field of control, and in particular, to a method and a system for processing a packet.
Background
In the process of clearing the message, only one message type or one test environment can be simulated and sent each time, and batch sending of different types or different test environments cannot be realized.
Disclosure of Invention
In view of this, the present application provides a method and a system for processing a message, and the specific scheme is as follows:
a message processing method is applied to a message processing system and comprises the following steps:
acquiring a transmission parameter of at least one message, wherein the transmission parameter at least comprises: testing environment information, message types and a sending mode;
determining the message data of the at least one message according to the message sending parameters of the at least one message;
and performing group reporting on the determined message data of at least one message to obtain first data, and transmitting each message data in the first data according to the message parameters corresponding to the message data.
Further, the grouping the determined message data of at least one message to obtain first data includes:
and according to a preset message management template, grouping the determined message data of at least one message according to the number of messages and/or the number of texts.
Further, the grouping the determined message data of at least one message to obtain first data includes:
and splicing the fields in the message data of all the determined at least one message to form a spliced text, wherein the spliced text is the first data.
Further, the method also comprises the following steps:
and performing data filling on the message data of at least one message according to a preset field so as to perform group reporting on the filled message data.
Further, the test environment information at least includes: address information of a test environment, and a communication mode between the message processing system and the test environment.
A message processing system, comprising: the system comprises an acquisition unit, a determination unit, a report combining unit and a sending unit, wherein:
the acquiring unit is used for acquiring the sending parameters of at least one message, and the sending parameters at least comprise: testing environment information, message types and a sending mode;
the determining unit is used for determining the message data of the at least one message according to the sending parameter of the at least one message;
the packet reporting unit is used for packet reporting the determined message data of at least one message to obtain first data;
the sending unit is configured to send each piece of message data in the first data according to a message parameter corresponding to the message data.
Further, the reporting unit is configured to:
and according to a preset message management template, grouping the determined message data of at least one message according to the number of messages and/or the number of texts.
Further, the group reporting unit is configured to:
and splicing fields in the message data of all the determined at least one message to form a spliced text, wherein the spliced text is the first data.
Further, the method also comprises the following steps: a fill cell, wherein:
and the filling unit is used for performing data filling on the message data of at least one message according to a preset field so as to perform group report on the filled message data.
Further, the test environment information at least includes: address information of a test environment, and a communication mode between the message processing system and the test environment.
According to the technical scheme, the message processing method and the message processing system disclosed by the application obtain the sending parameters of at least one message, wherein the sending parameters at least comprise: the method comprises the steps of testing environment information, message types and a message sending mode, determining message data of at least one message according to a message sending parameter of at least one message, performing group reporting on the determined message data of at least one message to obtain first data, and sending each message data in the first data according to the message parameter corresponding to the message data. According to the scheme, the plurality of message data are grouped and uniformly sent, and the plurality of message data can have different test environment information, different message types or different sending modes, so that the plurality of messages in different test environments, different message types or different sending modes can be simultaneously sent, and the problem of low sending efficiency caused by the fact that the messages in different test environments, different message types or different sending modes need to be sent for multiple times is solved.
Drawings
In order to more clearly illustrate the embodiments of the present application 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 some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a flowchart of a message processing method disclosed in an embodiment of the present application;
fig. 2 is a flowchart of a message processing method disclosed in the embodiment of the present application;
fig. 3 is a schematic structural diagram of a message processing system disclosed in an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, 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 application.
The application discloses a message processing method, which is applied to a message processing system, and the flow chart is shown in figure 1, and comprises the following steps:
s11, acquiring a transmission parameter of at least one message, wherein the transmission parameter at least comprises: testing environment information, message types and a sending mode;
when a message needs to be sent, related sending parameters of the message to be sent need to be acquired, so that the message is determined according to the sending parameters, and the message is sent.
The sending parameters at least comprise: the test environment information, the message type and the sending mode, and the sending parameters may further include: number of messages, number of texts, etc.
Wherein the test environment information at least includes: address information of the test environment, and a communication mode of the system and the test environment on which the message processing method is based. The address information of the test environment may specifically be IP address information, and the communication mode may be: TCP or CD transmission and the like, can realize the determination of the address and the communication mode in the message sending process through the address information and the communication mode of the test environment, thereby realizing the sending of the message.
There are various types of messages, such as: XML format, TXT format, SWIFT standard, non-SWIFT standard.
The sending method at least comprises the following steps: bulk delivery, online delivery, etc.
When a plurality of messages need to be sent, the sending parameters of each message are determined, namely the test environment information, the message type, the sending parameters, the message stroke number and the message number of each message are determined, so that the plurality of messages with the same or different sending parameters can be sent simultaneously.
S12, determining the message data of at least one message according to the message sending parameters of at least one message;
the set of sending parameters can determine the message data of one message, i.e. a set of sending parameters corresponding to each message is preset.
For example: the message A has the following sending parameters: the testing environment information is a1, the message type is a2, and the sending mode is a3; the message parameters of the message B are as follows: the test environment information is b1, the message type is b2, and the sending mode is b3. The message A and the message B can have the same or different sending parameters, when the message A and the message B are the same, the message A and the message B have the same message data, and when the message A and the message B are different, the message A and the message B have different message data.
When the message A and the message B need to be sent out simultaneously, if the message A is the same as the message B, after the test environment information, the message type and the sending mode of the message are determined, the number of strokes and the number of texts of the message are determined, and the batch sending of the same message can be realized; if the message a is the same as the message B, after determining the test environment information, the message type, and the transmission mode of the message a and the message B, the number of strokes and the number of texts of the message a and the number of strokes and the number of texts of the message B need to be determined, so as to realize the simultaneous transmission of the message a and the message B.
And S13, grouping the determined message data of at least one message to obtain first data, and sending each message data in the first data according to the message parameters corresponding to the message data.
The determined message data of at least one message is subjected to group report to obtain first data, namely the message data of each message is determined, and then the message data of the same or different messages are combined to obtain the first data, so that combined report sending is realized, namely the simultaneous report sending of the same or different messages is realized.
After the group report is completed, each message data in the first data is simultaneously and respectively sent according to the corresponding message parameters.
Specifically, if the messages sent simultaneously have the same test environment information, the same message type and the same sending mode, then when sending the messages, sending a plurality of messages can be realized by sending the messages in batches;
if the messages sent simultaneously have the same test environment information, the same message type and different sending modes, then when sending the messages, the messages with different sending modes are grouped and reported, then first data is obtained, the messages with different sending modes in the first data are sent simultaneously, so as to realize that the messages with different sending modes are sent simultaneously in the corresponding sending modes, for example: sending messages in batch, sending messages on line, sending messages in an SOCKET mode, sending messages in an MQ mode, sending messages through a C/SHELL script and the like;
if the messages sent simultaneously have the same test environment information, different message types and different sending modes, then when the messages are sent, the messages with different message types and different sending modes are grouped and reported, then first data is obtained, the messages with different message types and different sending modes in the first data are sent simultaneously, so that the messages with different message types are sent simultaneously in the corresponding sending modes respectively, and the messages with the XML, TXT, standard SWIFT formats and other types are sent simultaneously;
if the messages sent simultaneously have different testing environment information, the same message type and the same sending mode, the messages with different testing environment information are grouped and reported when the messages are sent, then first data are obtained, and the messages with different testing environment information in the first data are sent simultaneously, so that the messages with different testing environment information are sent simultaneously and are respectively sent to different testing environments.
The messages sent simultaneously can also be messages with other different types of message parameters, and the sending mode of the simultaneous sending is the same as that described above, and is not described herein again.
The message processing method disclosed in this embodiment obtains a transmission parameter of at least one message, where the transmission parameter at least includes: the method comprises the steps of testing environment information, message types and a message sending mode, determining message data of at least one message according to a message sending parameter of at least one message, performing group reporting on the determined message data of at least one message to obtain first data, and sending each message data in the first data according to the message parameter corresponding to the message data. According to the scheme, the plurality of message data are grouped and uniformly sent, and the plurality of message data can have different test environment information, different message types or different sending modes, so that the plurality of messages in different test environments, different message types or different sending modes can be simultaneously sent, and the problem of low sending efficiency caused by the fact that the messages in different test environments, different message types or different sending modes need to be sent for multiple times is solved.
The embodiment discloses a message processing method applied to a message processing system, and a flow chart of the message processing method is shown in fig. 2, and includes:
step S21, obtaining the transmission parameter of at least one message, wherein the transmission parameter at least comprises: testing environment information, message types and a sending mode;
s22, determining the message data of at least one message according to the message sending parameters of at least one message;
step S23, according to a preset message management template, according to the number of messages and/or the number of texts, grouping and reporting the determined message data of at least one message to obtain first data;
presetting a message management template, defining message types, required fields/nodes and composition rules thereof in the message management template, and performing packet reporting of the messages according to the rules.
Specifically, the message management template has the following functions, that is, firstly, the message type is selected, for example: the MT198 in the SWIFT standard selects all fields/nodes/fields for the message type, and sets a filling rule or a parameter object for the fields, wherein the filling rule is used for automatically performing group reporting according to the filling rule during group reporting, and the parameter object is used for acquiring a specific value from the parameter object to data management during group reporting. Wherein the different message types have default message formats.
Specifically, the messages with the same test environment information, the same message type and the same message sending mode are determined to be the same messages, the number of strokes and the number of texts of the same messages are determined, at the moment, only the number of strokes and the number of texts in the same messages are changed, the group report is not required to be carried out according to the test environment information, the message type and the message sending mode, and the same messages can be directly sent in a batch sending mode;
the method comprises the steps of determining the number of strokes and the number of texts of each type of message for messages with different testing environment information, different message types or different sending modes, then reporting each type of message into one message, sending a sending instruction to realize sending of first data after the group of messages, splitting the first data into original different messages at a server after the first data is sent from a current terminal, and then sending all the different messages to corresponding testing environments according to sending parameters, so that the different types of messages can be simultaneously and uniformly sent to the different environments in different sending modes.
The group reporting process specifically comprises the following steps:
and splicing fields in the message data of all the determined at least one message to form a spliced text, wherein the spliced text is the first data.
The method comprises the steps of determining message data of messages needing to be sent simultaneously, splicing fields in the message data of every two adjacent messages in all the message data, realizing the end-to-end connection of the fields in the message data of every two adjacent messages, splicing the message data of a plurality of different messages into a text finally, sending the text as one message, splitting the spliced text at a server after sending the message data spliced into one text, splitting the spliced text into the message data of a plurality of different messages before splicing, sending different types of messages to different test environments according to different sending modes, and realizing the simultaneous sending of the messages with different test environment information, different message types or different sending modes.
Specifically, in the group report process, according to the selected message type, the set parameters are automatically managed according to the message, and if the field/node/field is provided with a parameter object account, wherein the parameter object account is defined and assigned in the data management process, and the field/node/field is filled with directly called account values during group report. If the field/node/field is set with a filling rule, for example, if the message number is date + serial number, the message number is automatically filled with the date + serial number; after filling, the related fields/nodes/fields are spliced according to the message format to complete the group report.
The splicing may be performed end-to-end or may be performed in a field/node/field row.
Further, the method also comprises the following steps:
and filling data in the message data of not less than one message according to a preset field so as to group report the filled message data.
Different messages correspond to different fields/nodes, each field/node has a corresponding rule, and the message data of different messages are filled with data according to the rule defined by the corresponding field/node so as to perform group reporting on the filled data.
And step S24, sending each message data in the first data according to the message parameters corresponding to the message data.
The message processing method disclosed in this embodiment obtains a transmission parameter of at least one message, where the transmission parameter at least includes: the method comprises the steps of testing environment information, message types and a message sending mode, determining message data of at least one message according to a message sending parameter of at least one message, performing group reporting on the determined message data of at least one message to obtain first data, and sending each message data in the first data according to the message parameter corresponding to the message data. According to the scheme, the plurality of message data are grouped and uniformly sent, and the plurality of message data can have different test environment information, different message types or different sending modes, so that the plurality of messages in different test environments, different message types or different sending modes can be simultaneously sent, and the problem of low sending efficiency caused by the fact that the messages in different test environments, different message types or different sending modes need to be sent for multiple times is solved.
The embodiment discloses a message processing system, a schematic structural diagram of which is shown in fig. 3, and the message processing system includes:
an acquisition unit 31, a determination unit 32, a reporting unit 33 and a transmission unit 34.
The obtaining unit 31 is configured to obtain a sending parameter of at least one message, where the sending parameter at least includes: testing environment information, message types and a sending mode;
the determining unit 32 is configured to determine the message data of at least one message according to the sending parameter of at least one message;
the packet reporting unit 33 is configured to perform packet reporting on the determined message data of at least one message to obtain first data;
the sending unit 34 is configured to send each message data in the first data according to a message parameter corresponding to the message data.
When a message needs to be sent, related sending parameters of the message to be sent need to be acquired, so that the message is determined according to the sending parameters, and the message is sent.
The sending parameters at least comprise: the test environment information, the message type and the sending mode, and the sending parameters may further include: number of messages, number of texts, etc.
Wherein the test environment information at least includes: address information of the test environment, and a communication mode of the system and the test environment on which the message processing method is based. The address information of the test environment may specifically be IP address information, and the communication mode may be: TCP or CD transmission and the like, can realize the determination of the address and the communication mode in the message sending process through the address information and the communication mode of the test environment, thereby realizing the sending of the message.
There are various types of messages, such as: XML format, TXT format, SWIFT standard, non-SWIFT standard.
The sending method at least comprises the following steps: bulk delivery, online delivery, etc.
When a plurality of messages need to be sent, the sending parameters of each message are determined, namely the test environment information, the message type, the sending parameters, the message stroke number and the message number of each message are determined, so that the plurality of messages with the same or different sending parameters can be sent simultaneously.
The set of sending parameters can determine the message data of one message, i.e. a set of sending parameters corresponding to each message is preset.
For example: the message A has the following sending parameters: the testing environment information is a1, the message type is a2, and the sending mode is a3; the message parameters of the message B are as follows: the test environment information is b1, the message type is b2, and the sending mode is b3. The message a and the message B may have the same or different sending parameters, and when the message a is the same as the message B, the message a and the message B have the same message data, and when the message a is different from the message B, the message a and the message B have different message data.
When the message A and the message B need to be sent out simultaneously, if the message A is the same as the message B, after the test environment information, the message type and the sending mode of the message are determined, the number of strokes and the number of texts of the message are determined, and the batch sending of the same message can be realized; if the message a is the same as the message B, after determining the test environment information, the message type, and the transmission mode of the message a and the message B, the number of strokes and the number of texts of the message a and the number of strokes and the number of texts of the message B need to be determined, so as to realize the simultaneous transmission of the message a and the message B.
The determined message data of at least one message is subjected to group report to obtain first data, namely the message data of each message is determined, and then the message data of the same or different messages are combined to obtain the first data, so that combined report sending is realized, namely the simultaneous report sending of the same or different messages is realized.
After the group report is completed, each message data in the first data is simultaneously and respectively sent according to the corresponding message parameters.
Specifically, if the messages sent simultaneously have the same test environment information, the same message type and the same sending mode, then when sending the messages, sending a plurality of messages can be realized by sending the messages in batches;
if the messages sent simultaneously have the same test environment information, the same message type and different sending modes, then when sending the messages, the messages with different sending modes are grouped and reported, then first data is obtained, the messages with different sending modes in the first data are sent simultaneously, so as to realize that the messages with different sending modes are sent simultaneously in the corresponding sending modes, for example: sending messages in batch, sending messages on line, sending messages in an SOCKET mode, sending messages in an MQ mode, sending messages in a C/SHELL script mode and the like;
if the messages sent simultaneously have the same test environment information, different message types and different sending modes, then when the messages are sent, the messages with different message types and different sending modes are grouped and reported, then first data is obtained, the messages with different message types and different sending modes in the first data are sent simultaneously, so that the messages with different message types are sent simultaneously in the corresponding sending modes respectively, and the messages with the XML, TXT, standard SWIFT formats and other types are sent simultaneously;
if the messages sent simultaneously have different testing environment information, the same message type and the same sending mode, the messages with different testing environment information are grouped and reported when the messages are sent, then first data are obtained, and the messages with different testing environment information in the first data are sent simultaneously, so that the messages with different testing environment information are sent simultaneously and are respectively sent to different testing environments.
The messages sent simultaneously may also be messages with other different types of message parameters, and the sending mode of the simultaneous sending is the same as above, which is not described herein again.
Further, the reporting unit 33 is configured to:
and according to a preset message management template, grouping the determined message data of at least one message according to the number of messages and/or the number of texts.
Presetting a message management template, defining message types, required fields/nodes and composition rules thereof in the message management template, and performing packet reporting of the messages according to the rules.
Specifically, the message management template has the following functions, that is, firstly, the message type is selected, for example: the MT198 in the SWIFT standard selects all fields/nodes/fields for the message type, and sets a filling rule or a parameter object for the fields, wherein the filling rule is used for automatically performing group reporting according to the filling rule during group reporting, and the parameter object is used for acquiring a specific value from the parameter object to data management during group reporting. Wherein the different message types have default message formats.
Specifically, the messages with the same test environment information, the same message type and the same message sending mode are determined to be the same messages, the number of strokes and the number of texts of the same messages are determined, at the moment, only the number of strokes and the number of texts in the same messages are changed, the group report is not required to be carried out according to the test environment information, the message type and the message sending mode, and the same messages can be directly sent in a batch sending mode;
the method comprises the steps of determining the number of strokes and the number of texts of each type of message for messages with different testing environment information, different message types or different sending modes, then reporting each type of message into one message, sending a sending instruction to realize sending of first data after the group of messages, splitting the first data into original different messages at a server after the first data is sent from a current terminal, and then sending all the different messages to corresponding testing environments according to sending parameters, so that the different types of messages can be simultaneously and uniformly sent to the different environments in different sending modes.
The group reporting process specifically comprises the following steps:
and splicing fields in the message data of all the determined at least one message to form a spliced text, wherein the spliced text is the first data.
The method comprises the steps of determining message data of messages needing to be sent simultaneously, splicing fields in the message data of every two adjacent messages in all the message data, realizing the end-to-end connection of the fields in the message data of every two adjacent messages, splicing the message data of a plurality of different messages into a text finally, sending the text as one message, splitting the spliced text at a server after sending the message data spliced into one text, splitting the spliced text into the message data of a plurality of different messages before splicing, sending different types of messages to different test environments according to different sending modes, and realizing the simultaneous sending of the messages with different test environment information, different message types or different sending modes.
Specifically, in the group report process, according to the selected message type, the set parameters are automatically managed according to the message, and if the field/node/field is provided with a parameter object account, wherein the parameter object account is defined and assigned in the data management process, and the field/node/field is filled with directly called account values during group report. If the field/node/field is set with a filling rule, for example, if the message number is date + serial number, the message number is automatically filled with the date + serial number; after filling, the related fields/nodes/fields are spliced together according to the message format to complete the group report.
The splicing may be performed end-to-end or may be performed in a field/node/field row.
Further, the method also comprises the following steps:
and filling data in the message data of not less than one message according to a preset field so as to group report the filled message data.
Different messages correspond to different fields/nodes, each field/node has a corresponding rule, and the message data of different messages are filled with data according to the rule defined by the corresponding field/node so as to perform group reporting on the filled data.
The message processing system disclosed in this embodiment obtains a transmission parameter of at least one message, where the transmission parameter at least includes: the method comprises the steps of testing environment information, message types and a message sending mode, determining message data of at least one message according to a message sending parameter of at least one message, performing group reporting on the determined message data of at least one message to obtain first data, and sending each message data in the first data according to the message parameter corresponding to the message data. According to the scheme, the plurality of message data are grouped and uniformly sent, and the plurality of message data can have different test environment information, different message types or different sending modes, so that the plurality of messages in different test environments, different message types or different sending modes can be simultaneously sent, and the problem of low sending efficiency caused by the fact that the messages in different test environments, different message types or different sending modes need to be sent for multiple times is solved.
The embodiments in the present description are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. The device disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in Random Access Memory (RAM), memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present application. 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 application. Thus, the present application 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 message processing method is applied to a message processing system and is characterized by comprising the following steps:
acquiring a transmission parameter of at least one message, wherein the transmission parameter at least comprises: testing environment information, message types and sending modes;
determining the message data of the at least one message according to the message sending parameters of the at least one message; the sending parameters of the messages are different;
grouping the determined message data of at least one message to obtain first data, and simultaneously transmitting each message data in the first data according to the message parameters corresponding to the message data;
if the messages sent out simultaneously have the same test environment information, the same message type and different sending modes, grouping the messages in the different sending modes to obtain first data, and sending the messages in the different sending modes in the first data simultaneously;
if the messages sent simultaneously have the same test environment information, different message types and different sending modes, grouping the messages of different message types and different sending modes to obtain first data, and sending the messages of different message types and different sending modes in the first data simultaneously;
if the messages sent out simultaneously have different testing environment information, the same message type and the same sending mode, the messages of the different testing environment information are grouped and reported to obtain the first data, and the messages with the different testing environment information in the first data are sent out simultaneously.
2. The method according to claim 1, wherein said grouping the determined message data of at least one message to obtain first data comprises:
and according to a preset message management template, grouping the determined message data of at least one message according to the number of messages and/or the number of texts.
3. The method according to claim 1, wherein said grouping the determined message data of at least one message to obtain first data comprises:
and splicing the fields in the message data of all the determined at least one message to form a spliced text, wherein the spliced text is the first data.
4. The method of claim 1, further comprising:
and filling data in the message data of at least one message according to a preset field so as to group report the filled message data.
5. The method of claim 1, wherein the test environment information comprises at least: address information of a test environment, and a communication mode between the message processing system and the test environment.
6. A message processing system, comprising: the system comprises an acquisition unit, a determination unit, a report combining unit and a sending unit, wherein:
the acquiring unit is used for acquiring the sending parameters of at least one message, and the sending parameters at least comprise: testing environment information, message types and a sending mode;
the determining unit is used for determining the message data of the at least one message according to the sending parameters of the at least one message; the sending parameters of the messages are different;
the packet reporting unit is used for packet reporting the determined message data of at least one message to obtain first data;
the sending unit is used for simultaneously sending each message data in the first data according to the message parameters corresponding to the message data;
if the messages sent simultaneously have the same test environment information, the same message type and different sending modes, grouping the messages in the different sending modes to obtain the first data, and sending the messages in the different sending modes in the first data simultaneously;
if the messages sent simultaneously have the same test environment information, different message types and different sending modes, grouping the messages of different message types and different sending modes to obtain first data, and sending the messages of different message types and different sending modes in the first data simultaneously;
if the messages sent simultaneously have different testing environment information, the same message type and the same sending mode, the messages of the different testing environment information are grouped to obtain the first data, and the messages with the different testing environment information in the first data are sent simultaneously.
7. The system of claim 6, wherein the ticker unit is configured to:
and according to a preset message management template, grouping the determined message data of at least one message according to the number of messages and/or the number of texts.
8. The system of claim 6, wherein the ticker unit is configured to:
and splicing the fields in the message data of all the determined at least one message to form a spliced text, wherein the spliced text is the first data.
9. The system of claim 6, further comprising: a fill cell, wherein:
and the filling unit is used for performing data filling on the message data of at least one message according to a preset field so as to perform group report on the filled message data.
10. The system of claim 6, wherein the test environment information comprises at least: address information of a test environment, and a communication mode between the message processing system and the test environment.
CN201910757437.2A 2019-08-16 2019-08-16 Message processing method and system Active CN110445658B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910757437.2A CN110445658B (en) 2019-08-16 2019-08-16 Message processing method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910757437.2A CN110445658B (en) 2019-08-16 2019-08-16 Message processing method and system

Publications (2)

Publication Number Publication Date
CN110445658A CN110445658A (en) 2019-11-12
CN110445658B true CN110445658B (en) 2023-01-24

Family

ID=68435997

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910757437.2A Active CN110445658B (en) 2019-08-16 2019-08-16 Message processing method and system

Country Status (1)

Country Link
CN (1) CN110445658B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111294264B (en) * 2020-02-17 2021-12-24 北京和利时系统集成有限公司 Communication method and device based on Modbus TCP protocol
CN111698310B (en) * 2020-06-08 2022-10-11 中国银行股份有限公司 Multi-test environment scheduling method and device based on SWIFT network

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101030943A (en) * 2007-04-03 2007-09-05 华为技术有限公司 Method for transmitting message and route
FR2939591A1 (en) * 2008-12-10 2010-06-11 Airbus France METHOD AND APPARATUS FOR COMMUNICATION BY VIRTUALIZING ADDRESSES FOR COMPONENT INTEGRATION SIMULATION
CN105471548B (en) * 2015-11-04 2018-11-23 中国直升机设计研究所 A kind of network data Packet analyzing and distribution method
CN106817726A (en) * 2015-11-27 2017-06-09 中兴通讯股份有限公司 Data message sends the processing method and processing device for receiving
CN106302258B (en) * 2016-09-08 2019-06-04 杭州迪普科技股份有限公司 A kind of message forwarding method and device
CN106921665B (en) * 2017-03-06 2020-09-11 北京东土军悦科技有限公司 Message processing method and network equipment
CN108924141B (en) * 2018-07-10 2021-01-26 中国银行股份有限公司 Message organization and transmission method and device

Also Published As

Publication number Publication date
CN110445658A (en) 2019-11-12

Similar Documents

Publication Publication Date Title
CN110445658B (en) Message processing method and system
CN112954045B (en) Data transmission method, device, medium and electronic equipment in node
CN110046091B (en) Automatic test method and device
CN105450479A (en) Method and apparatus for monitoring module
CN112422557A (en) Attack testing method and device for industrial control network
CN113407823A (en) IOS message pushing method and system
CN112769931A (en) Service management platform
WO2014180396A1 (en) Code coverage rate processing method and device
CN111506501A (en) Test instruction set generation method and device and electronic equipment
CN110022323A (en) A kind of method and system of the cross-terminal real-time, interactive based on WebSocket and Redux
CN104270431A (en) Method and device for concurrency control
CN111628911B (en) CDN back source abnormity testing method and device and terminal equipment
CN108390770A (en) A kind of information generating method, device and server
CN111049741B (en) Method for improving communication reliability, communication system and terminal equipment
CN111786898A (en) Monitoring equipment information acquisition method, device, equipment and medium
CN113079063A (en) Offline judgment method, system and device for charging device and computer storage medium
CN107784006B (en) Data processing method and device
CN110958155B (en) Test configuration method and related device
CN110881213A (en) Method and system for transmitting network test process information
CN114615170B (en) Message processing method, device and computer storage medium
EP4300908A1 (en) Base station management system and method
US20040088395A1 (en) Method for probing a server
CN112422305B (en) Upgrading method and device of communication equipment
CN115145830A (en) Interface test case generation method, device and equipment
CN116386834A (en) Data sharing method, device, equipment and medium

Legal Events

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