CN110445658A - A kind of message processing method and system - Google Patents

A kind of message processing method and system Download PDF

Info

Publication number
CN110445658A
CN110445658A CN201910757437.2A CN201910757437A CN110445658A CN 110445658 A CN110445658 A CN 110445658A CN 201910757437 A CN201910757437 A CN 201910757437A CN 110445658 A CN110445658 A CN 110445658A
Authority
CN
China
Prior art keywords
message
data
messages
less
parameter
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
CN201910757437.2A
Other languages
Chinese (zh)
Other versions
CN110445658B (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

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]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Arrangements For Transmission Of Measured Signals (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

This application discloses a kind of message processing method and systems, obtain the parameter of transmitting messages for being no less than a message, parameter of transmitting messages includes at least: test environmental information, type of message and mode of transmitting messages, parameter of transmitting messages according to no less than one message determines the message data for being no less than a message, the message data of a determining no less than message is subjected to a group report, the first data are obtained, each of the first data message data is sent according to the corresponding message parameter of message data respectively.This programme is by carrying out group report for multiple message datas and uniformly transmitting messages, and this multiple message data can have different test environmental informations, different type of messages or different modes of transmitting messages, realize multiple messages of different test environment, different type of message or different modes of transmitting messages while transmitting messages, avoid to the messages of different test environment, different type of messages or different modes of transmitting messages need to carry out repeatedly to transmit messages it is caused transmit messages inefficiency the problem of.

Description

A kind of message processing method and system
Technical field
This application involves control field more particularly to a kind of message processing method and systems.
Background technique
During carrying out message clearance, simulation hair can only be carried out for a kind of type of message or a test environment every time Report, the batch that cannot achieve under different type or different test environment are transmitted messages.
Summary of the invention
In view of this, the application provides a kind of message processing method and system, concrete scheme are as follows:
A kind of message processing method is applied to message handling system, comprising:
The parameter of transmitting messages for being no less than a message is obtained, the parameter of transmitting messages includes at least: test environmental information, message class Type and mode of transmitting messages;
Parameter of transmitting messages according to no less than one message determines the message data of a no less than message;
The message data that a message is no less than described in will be determining carries out a group report, the first data is obtained, by described first Each of data message data is sent according to the corresponding message parameter of the message data respectively.
Further, it is described will be determining described in the message data of a no less than message carry out group report, obtain the first number According to, comprising:
According to pre-set message administrative template, according to message stroke count and/or textual data, will be determining described in no less than The message data of one message carries out a group report.
Further, it is described will be determining described in the message data of a no less than message carry out group report, obtain the first number According to, comprising:
Field in the message data for all messages being no less than in a message described in will be determining is spliced, and is formed Spliced text, the spliced text are the first data.
Further, further includes:
The message data of a no less than message is subjected to data filling according to default play, so as to filled Message data carries out a group report.
Further, it is described test environmental information include at least: test environment address information and the Message processing system The communication modes of system and the test environment.
A kind of message handling system, comprising: acquiring unit, determination unit, group declaration form member and transmission unit, in which:
The acquiring unit is used to obtain the parameter of transmitting messages of a no less than message, and the parameter of transmitting messages includes at least: surveying Try environmental information, type of message and mode of transmitting messages;
The determination unit is used to determine a no less than report according to the parameter of transmitting messages of no less than one message The message data of text;
The message data for the no less than message that described group of declaration form member is used to determine carries out a group report, obtains first Data;
The transmission unit is used for each of first data message data respectively according to the message data Corresponding message parameter is sent.
Further, described group of declaration form member is used for:
According to pre-set message administrative template, according to message stroke count and/or textual data, will be determining described in no less than The message data of one message carries out a group report.
Further, described group of declaration form member is used for:
Field in the message data for all messages being no less than in a message described in will be determining is spliced, and is formed Spliced text, the spliced text are the first data.
Further, further includes: fills unit, in which:
The fills unit is used to the message data of a no less than message carrying out data according to default play to fill out It fills, to carry out a group report to filled message data.
Further, it is described test environmental information include at least: test environment address information and the Message processing system The communication modes of system and the test environment.
It can be seen from the above technical proposal that message processing method disclosed in the present application and system, obtain no less than one The parameter of transmitting messages of message, parameter of transmitting messages include at least: test environmental information, type of message and mode of transmitting messages, according to no less than one The parameter of transmitting messages of a message determines the message data for being no less than a message, by the message data of a determining no less than message A group report is carried out, the first data are obtained, by each of the first data message data respectively according to the corresponding message of message data Parameter is sent.This programme by multiple message datas by carrying out group reporting and uniformly transmitting messages, and this multiple message data can be with With different test environmental informations, different type of messages or different modes of transmitting messages are realized by different test environment, no It with type of message or multiple messages of different modes of transmitting messages while transmitting messages, avoids to different test environment, different type of messages Or the message of different modes of transmitting messages need transmit messages caused by repeatedly transmitting messages inefficiency the problem of.
Detailed description of the invention
In order to illustrate the technical solutions in the embodiments of the present application or in the prior art more clearly, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of application for those of ordinary skill in the art without creative efforts, can be with It obtains other drawings based on these drawings.
Fig. 1 is a kind of flow chart of message processing method disclosed in the embodiment of the present application;
Fig. 2 is a kind of flow chart of message processing method disclosed in the embodiment of the present application;
Fig. 3 is a kind of structural schematic diagram of message handling system disclosed in the embodiment of the present application.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present application, technical solutions in the embodiments of the present application carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of embodiments of the present application, instead of all the embodiments.It is based on Embodiment in the application, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall in the protection scope of this application.
This application discloses a kind of message processing methods, are applied to message handling system, and flow chart is as shown in Figure 1, packet It includes:
Step S11, the parameter of transmitting messages for being no less than a message is obtained, parameter of transmitting messages includes at least: test environmental information, report Literary type and mode of transmitting messages;
When needing to send message, the correlation for needing to obtain message to be sent is transmitted messages parameter, so as to according to hair Report parameter determines message, to realize the transmission of message.
Parameter of transmitting messages includes at least: test environmental information, type of message and mode of transmitting messages, parameter of transmitting messages can also include: Message stroke count, textual data etc..
Wherein, test environmental information includes at least: what the address information and message processing method for testing environment were based on is The communication modes of system and test environment.The address information of test environment can be specially IP address information, and communication modes can be with are as follows: TCP or CD transmission etc. can realize address and communication in message transmission process by the address information and communication modes of testing environment The determination of mode, to realize the transmission of message.
There are many type of messages, such as: XML format, TXT format, SWIFT standard, non-SWIFT standard.
The mode of transmitting messages includes at least: Batch sending, online transmission etc..
When there are multiple messages to need to send, determines the parameter of transmitting messages of each message, that is, determine the test of each message Environmental information, type of message, parameter of transmitting messages, message stroke count and textual data, so as to the more of identical or different parameter of transmitting messages A message is transmitted messages simultaneously.
Step S12, the parameter of transmitting messages according to no less than one message determines the message data for being no less than a message;
One group of parameter of transmitting messages can determine the message data of a message, that is, preset the corresponding one group of hair of each message Report parameter.
Such as: the parameter of transmitting messages of message A are as follows: test environmental information is a1, and type of message a2, mode of transmitting messages is a3;Report The parameter of transmitting messages of literary B are as follows: test environmental information is b1, and type of message b2, mode of transmitting messages is b3.Hair in message A and message B Report parameter may be the same or different, when message A is identical as message B, message A and message B message data having the same, When message A is with message B difference, message A has different message datas from message B.
When needing simultaneously to transmit messages message A and message B, if message A is identical as message B, above-mentioned message is being determined Test environmental information, after type of message and mode of transmitting messages, determine the stroke count and textual data of the message, same message can be realized Batch sending;If message A is identical as message B, test environmental information, the message class of message A and message B respectively is being determined After type and mode of transmitting messages, it is also necessary to the stroke count of message A and the stroke count and textual data of textual data and message B are determined, to realize report It transmits messages while literary A and message B.
Step S13, the message data of a determining no less than message is subjected to a group report, the first data is obtained, by first Each of data message data is sent according to the corresponding message parameter of message data respectively.
The message data of a determining no less than message is subjected to a group report, the first data is obtained, that is, each has been determined After the message data of message, the message data of identical or different message is combined, the first data are obtained, to realize combination hair Report, that is, transmit messages while realizing identical or different message.
Group report after the completion of, by each of the first data message data according to its corresponding message parameter simultaneously distinguish It sends.
Specifically, if the message transmitted messages simultaneously test environmental information having the same, identical type of message and identical It transmits messages mode, then, when transmitting messages, the transmission of multiple messages can be realized by transmitting messages in batches;
If the message transmitted messages simultaneously test environmental information having the same, identical type of message and different source partners Formula, then, when transmitting messages, these messages with different modes of transmitting messages are subjected to group report, obtain the first data later, by the There is the message of different modes of transmitting messages in one data while transmitting messages, the message in a manner of realizing and there will be difference transmit messages is respectively with it Corresponding transmit messages while being transmitted messages at mode, and such as: Batch sending message, online transmission message send message by SOCKET mode, is led to It crosses MQ mode and sends message, message etc. is sent by C/SHELL script;
If the message transmitted messages simultaneously test environmental information having the same, different type of messages and different source partners Formula, then, when transmitting messages, these messages with different type of messages and mode of transmitting messages are subjected to group report, obtain the later One data by the message with different type of messages and mode of transmitting messages in the first data while being transmitted messages, will be had not to realize With type of message message respectively by its it is corresponding transmit messages in a manner of and meanwhile transmit messages, thus realize at the same send XML, TXT, standard The message of the types such as SWIFT format;
If the message transmitted messages simultaneously has different test environmental informations, identical type of message and identical source partner Formula, then, when transmitting messages, these messages with different test environmental informations are subjected to a group report, obtain the first data later, Message in first data with different test environmental informations is transmitted messages simultaneously, to realize there will be different test environmental informations Message send simultaneously, and be respectively sent to different test environment.
The message transmitted messages simultaneously may be the message with other different types of message parameters, while that transmits messages transmits messages Mode is same as described above, and details are not described herein.
Message processing method disclosed in the present embodiment obtains the parameter of transmitting messages for being no less than a message, transmits messages parameter at least It include: test environmental information, type of message and mode of transmitting messages, the parameter of transmitting messages according to no less than one message determines no less than one The message data of a determining no less than message is carried out a group report, the first data is obtained, by first by the message data of a message Each of data message data is sent according to the corresponding message parameter of message data respectively.This programme passes through will be multiple Message data carries out group report and uniformly transmits messages, and this multiple message data can have different test environmental informations, different Type of message or different modes of transmitting messages are realized different test environment, different type of messages or different the more of mode that transmit messages A message is transmitted messages simultaneously, is avoided and is needed to carry out to the message of different test environment, different type of messages or different modes of transmitting messages The problem of inefficiency of transmitting messages caused by repeatedly transmitting messages.
Present embodiment discloses a kind of message processing method, be applied to message handling system, flow chart as shown in Fig. 2, Include:
Step S21, the parameter of transmitting messages for being no less than a message is obtained, parameter of transmitting messages includes at least: test environmental information, report Literary type and mode of transmitting messages;
Step S22, the parameter of transmitting messages according to no less than one message determines the message data for being no less than a message;
Step S23, according to pre-set message administrative template, according to message stroke count and/or textual data, by it is determining not Message data less than a message carries out a group report, obtains the first data;
Message administrative template is preset, type of message, required play/node and its group are defined in message administrative template At rule, the group report of message is carried out according to the rule.
Specifically, message administrative template has following functions, type of message selected first, such as: the MT198 of SWIFT standard is The type of message selectes all play/node/fields, fills in rule or parameter object for play setting, wherein filling in rule is For group give the correct time according to fill in it is regular carry out a group report automatically, parameter object is for giving the correct time in group according to parameter object to data Management obtains occurrence.Wherein, different type of messages has the message format of default.
Specifically, determining that having the message of same test environmental information, identical type of message and identical mode of transmitting messages is phase Same message, determines the stroke count and textual data of identical message, at this point, being only the variation of stroke count and textual data in identical message, nothing A group report need to be carried out according to test environmental information, type of message and the mode of transmitting messages, can be sent directly in the form of Batch sending identical Message;
For the message with different test environmental informations, different type of messages or different modes of transmitting messages, every one kind is determined The message group report of each type is later a message, passes through instruction of transmitting messages later by the stroke count and textual data of type message The first data after realizing this group report are sent, and the first data after present terminal sending, are being split as original in server-side later All different messages are respectively sent to corresponding test environment according to parameter of transmitting messages later by the different messages come, real It is now unified simultaneously to send different types of message in a manner of different transmit messages to different environment.
It organizes report process specifically:
Field in the message data of all messages in a determining no less than message is spliced, composition splicing Text afterwards, spliced text are the first data.
The message data for determining needs while the message of transmission, by each adjacent two message in all message datas Field in message data is spliced, and realizes that the field in the message data of each adjacent two message is end to end, so that more The message data of a different message is finally spliced into a text, is sent as a message, will be spliced into one After the message data of text is sent, the text being spliced into is split in server-side, it is multiple and different before splitting into splicing Different types of message is sent in different test environment by the message data of message further according to different modes of transmitting messages, real It message now with different test environmental informations, different type of message or different modes of transmitting messages while sending.
Specifically, during group report, according to selected type of message automatically according to the parameter of message management configuration, such as this Secondary/node/field is provided with parameter object account, wherein parameter object account is carried out in data management processes Definition and assignment, group give the correct time and will directly transfer account value and be filled into the play/node/field.If play/the node/ Field is provided that fill rule, such as message numbering is date+sequence number, then is filled with date+sequence number automatically;It has filled Related play/node/field is stitched together by Cheng Hou according to message format, completion group report.
Wherein, splicing may be that connected realize of ending is spliced, it is also possible to which a play/node/field is a line progress Splicing.
Further, further includes:
The message data of no less than one message is subjected to data filling according to default play, so as to filled message Data carry out a group report.
Different messages corresponds to different play/nodes, and each play/node has its corresponding rule, by different reports Text message data according to its corresponding play/node definition rule carry out data filling, so as to filled data into Row group report.
Step S24, by each of the first data message data respectively according to the corresponding message parameter of message data into Row is sent.
Message processing method disclosed in the present embodiment obtains the parameter of transmitting messages for being no less than a message, transmits messages parameter at least It include: test environmental information, type of message and mode of transmitting messages, the parameter of transmitting messages according to no less than one message determines no less than one The message data of a determining no less than message is carried out a group report, the first data is obtained, by first by the message data of a message Each of data message data is sent according to the corresponding message parameter of message data respectively.This programme passes through will be multiple Message data carries out group report and uniformly transmits messages, and this multiple message data can have different test environmental informations, different Type of message or different modes of transmitting messages are realized different test environment, different type of messages or different the more of mode that transmit messages A message is transmitted messages simultaneously, is avoided and is needed to carry out to the message of different test environment, different type of messages or different modes of transmitting messages The problem of inefficiency of transmitting messages caused by repeatedly transmitting messages.
Present embodiment discloses a kind of message handling system, structural schematic diagram is as shown in Figure 3, comprising:
Acquiring unit 31, determination unit 32, group declaration form member 33 and transmission unit 34.
Wherein, acquiring unit 31 is used to obtain the parameter of transmitting messages of a no less than message, and parameter of transmitting messages includes at least: test Environmental information, type of message and mode of transmitting messages;
Determination unit 32 is used to determine the message number for being no less than a message according to the parameter of transmitting messages of no less than one message According to;
Group declaration form member 33 obtains the first data for the message data of the no less than message determined to be carried out a group report;
Transmission unit 34 is used for each of the first data message data respectively according to the corresponding message of message data Parameter is sent.
When needing to send message, the correlation for needing to obtain message to be sent is transmitted messages parameter, so as to according to hair Report parameter determines message, to realize the transmission of message.
Parameter of transmitting messages includes at least: test environmental information, type of message and mode of transmitting messages, parameter of transmitting messages can also include: Message stroke count, textual data etc..
Wherein, test environmental information includes at least: what the address information and message processing method for testing environment were based on is The communication modes of system and test environment.The address information of test environment can be specially IP address information, and communication modes can be with are as follows: TCP or CD transmission etc. can realize address and communication in message transmission process by the address information and communication modes of testing environment The determination of mode, to realize the transmission of message.
There are many type of messages, such as: XML format, TXT format, SWIFT standard, non-SWIFT standard.
The mode of transmitting messages includes at least: Batch sending, online transmission etc..
When there are multiple messages to need to send, determines the parameter of transmitting messages of each message, that is, determine the test of each message Environmental information, type of message, parameter of transmitting messages, message stroke count and textual data, so as to the more of identical or different parameter of transmitting messages A message is transmitted messages simultaneously.
One group of parameter of transmitting messages can determine the message data of a message, that is, preset the corresponding one group of hair of each message Report parameter.
Such as: the parameter of transmitting messages of message A are as follows: test environmental information is a1, and type of message a2, mode of transmitting messages is a3;Report The parameter of transmitting messages of literary B are as follows: test environmental information is b1, and type of message b2, mode of transmitting messages is b3.Hair in message A and message B Report parameter may be the same or different, when message A is identical as message B, message A and message B message data having the same, When message A is with message B difference, message A has different message datas from message B.
When needing simultaneously to transmit messages message A and message B, if message A is identical as message B, above-mentioned message is being determined Test environmental information, after type of message and mode of transmitting messages, determine the stroke count and textual data of the message, same message can be realized Batch sending;If message A is identical as message B, test environmental information, the message class of message A and message B respectively is being determined After type and mode of transmitting messages, it is also necessary to the stroke count of message A and the stroke count and textual data of textual data and message B are determined, to realize report It transmits messages while literary A and message B.
The message data of a determining no less than message is subjected to a group report, the first data is obtained, that is, each has been determined After the message data of message, the message data of identical or different message is combined, the first data are obtained, to realize combination hair Report, that is, transmit messages while realizing identical or different message.
Group report after the completion of, by each of the first data message data according to its corresponding message parameter simultaneously distinguish It sends.
Specifically, if the message transmitted messages simultaneously test environmental information having the same, identical type of message and identical It transmits messages mode, then, when transmitting messages, the transmission of multiple messages can be realized by transmitting messages in batches;
If the message transmitted messages simultaneously test environmental information having the same, identical type of message and different source partners Formula, then, when transmitting messages, these messages with different modes of transmitting messages are subjected to group report, obtain the first data later, by the There is the message of different modes of transmitting messages in one data while transmitting messages, the message in a manner of realizing and there will be difference transmit messages is respectively with it Corresponding transmit messages while being transmitted messages at mode, and such as: Batch sending message, online transmission message send message by SOCKET mode, is led to It crosses MQ mode and sends message, message etc. is sent by C/SHELL script;
If the message transmitted messages simultaneously test environmental information having the same, different type of messages and different source partners Formula, then, when transmitting messages, these messages with different type of messages and mode of transmitting messages are subjected to group report, obtain the later One data by the message with different type of messages and mode of transmitting messages in the first data while being transmitted messages, will be had not to realize With type of message message respectively by its it is corresponding transmit messages in a manner of and meanwhile transmit messages, thus realize at the same send XML, TXT, standard The message of the types such as SWIFT format;
If the message transmitted messages simultaneously has different test environmental informations, identical type of message and identical source partner Formula, then, when transmitting messages, these messages with different test environmental informations are subjected to a group report, obtain the first data later, Message in first data with different test environmental informations is transmitted messages simultaneously, to realize there will be different test environmental informations Message send simultaneously, and be respectively sent to different test environment.
The message transmitted messages simultaneously may be the message with other different types of message parameters, while that transmits messages transmits messages Mode is same as described above, and details are not described herein.
Further, group declaration form member 33 is used for:
According to preset message administrative template, according to message stroke count and/or textual data, will be determining described in no less than The message data of one message carries out a group report.
Message administrative template is preset, type of message, required play/node and its group are defined in message administrative template At rule, the group report of message is carried out according to the rule.
Specifically, message administrative template has following functions, type of message selected first, such as: the MT198 of SWIFT standard is The type of message selectes all play/node/fields, fills in rule or parameter object for play setting, wherein filling in rule is For group give the correct time according to fill in it is regular carry out a group report automatically, parameter object is for giving the correct time in group according to parameter object to data Management obtains occurrence.Wherein, different type of messages has the message format of default.
Specifically, determining that having the message of same test environmental information, identical type of message and identical mode of transmitting messages is phase Same message, determines the stroke count and textual data of identical message, at this point, being only the variation of stroke count and textual data in identical message, nothing A group report need to be carried out according to test environmental information, type of message and the mode of transmitting messages, can be sent directly in the form of Batch sending identical Message;
For the message with different test environmental informations, different type of messages or different modes of transmitting messages, every one kind is determined The message group report of each type is later a message, passes through instruction of transmitting messages later by the stroke count and textual data of type message The first data after realizing this group report are sent, and the first data after present terminal sending, are being split as original in server-side later All different messages are respectively sent to corresponding test environment according to parameter of transmitting messages later by the different messages come, real It is now unified simultaneously to send different types of message in a manner of different transmit messages to different environment.
It organizes report process specifically:
Field in the message data of all messages in a determining no less than message is spliced, composition splicing Text afterwards, spliced text are the first data.
The message data for determining needs while the message of transmission, by each adjacent two message in all message datas Field in message data is spliced, and realizes that the field in the message data of each adjacent two message is end to end, so that more The message data of a different message is finally spliced into a text, is sent as a message, will be spliced into one After the message data of text is sent, the text being spliced into is split in server-side, it is multiple and different before splitting into splicing Different types of message is sent in different test environment by the message data of message further according to different modes of transmitting messages, real It message now with different test environmental informations, different type of message or different modes of transmitting messages while sending.
Specifically, during group report, according to selected type of message automatically according to the parameter of message management configuration, such as this Secondary/node/field is provided with parameter object account, wherein parameter object account is carried out in data management processes Definition and assignment, group give the correct time and will directly transfer account value and be filled into the play/node/field.If play/the node/ Field is provided that fill rule, such as message numbering is date+sequence number, then is filled with date+sequence number automatically;It has filled Related play/node/field is stitched together by Cheng Hou according to message format, completion group report.
Wherein, splicing may be that connected realize of ending is spliced, it is also possible to which a play/node/field is a line progress Splicing.
Further, further includes:
The message data of no less than one message is subjected to data filling according to default play, so as to filled message Data carry out a group report.
Different messages corresponds to different play/nodes, and each play/node has its corresponding rule, by different reports Text message data according to its corresponding play/node definition rule carry out data filling, so as to filled data into Row group report.
Message handling system disclosed in the present embodiment obtains the parameter of transmitting messages for being no less than a message, transmits messages parameter at least It include: test environmental information, type of message and mode of transmitting messages, the parameter of transmitting messages according to no less than one message determines no less than one The message data of a determining no less than message is carried out a group report, the first data is obtained, by first by the message data of a message Each of data message data is sent according to the corresponding message parameter of message data respectively.This programme passes through will be multiple Message data carries out group report and uniformly transmits messages, and this multiple message data can have different test environmental informations, different Type of message or different modes of transmitting messages are realized different test environment, different type of messages or different the more of mode that transmit messages A message is transmitted messages simultaneously, is avoided and is needed to carry out to the message of different test environment, different type of messages or different modes of transmitting messages The problem of inefficiency of transmitting messages caused by repeatedly transmitting messages.
Each embodiment in this specification is described in a progressive manner, the highlights of each of the examples are with other The difference of embodiment, the same or similar parts in each embodiment may refer to each other.For device disclosed in embodiment For, since it is corresponded to the methods disclosed in the examples, so being described relatively simple, related place is said referring to method part It is bright.
Professional further appreciates that, unit described in conjunction with the examples disclosed in the embodiments of the present disclosure And algorithm steps, can be realized with electronic hardware, computer software, or a combination of the two, in order to clearly demonstrate hardware and The interchangeability of software generally describes each exemplary composition and step according to function in the above description.These Function is implemented in hardware or software actually, the specific application and design constraint depending on technical solution.Profession Technical staff can use different methods to achieve the described function each specific application, but this realization is not answered Think beyond scope of the present application.
The step of method described in conjunction with the examples disclosed in this document or algorithm, can directly be held with hardware, processor The combination of capable software module or the two is implemented.Software module can be placed in random access memory (RAM), memory, read-only deposit Reservoir (ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technology In any other form of storage medium well known in field.
The foregoing description of the disclosed embodiments makes professional and technical personnel in the field can be realized or use the application. Various modifications to these embodiments will be readily apparent to those skilled in the art, as defined herein General Principle can be realized in other embodiments without departing from the spirit or scope of the application.Therefore, the application It is not intended to be limited to the embodiments shown herein, and is to fit to and the principles and novel features disclosed herein phase one The widest scope of cause.

Claims (10)

1. a kind of message processing method is applied to message handling system characterized by comprising
Obtain the parameter of transmitting messages for being no less than a message, the parameter of transmitting messages includes at least: test environmental information, type of message and It transmits messages mode;
Parameter of transmitting messages according to no less than one message determines the message data of a no less than message;
The message data that a message is no less than described in will be determining carries out a group report, the first data is obtained, by first data Each of message data sent respectively according to the corresponding message parameter of the message data.
2. the method according to claim 1, wherein it is described will be determining described in no less than a message message Data carry out a group report, obtain the first data, comprising:
According to pre-set message administrative template, according to message stroke count and/or textual data, will be determining described in no less than one The message data of message carries out a group report.
3. the method according to claim 1, wherein it is described will be determining described in no less than a message message Data carry out a group report, obtain the first data, comprising:
Field in the message data for all messages being no less than in a message described in will be determining is spliced, composition splicing Text afterwards, the spliced text are the first data.
4. the method according to claim 1, wherein further include:
The message data of a no less than message is subjected to data filling according to default play, so as to filled message Data carry out a group report.
5. the method according to claim 1, wherein the test environmental information includes at least: testing environment The communication modes of address information and the message handling system and the test environment.
6. a kind of message handling system characterized by comprising acquiring unit, determination unit, group declaration form member and transmission unit, Wherein:
The acquiring unit is used to obtain the parameter of transmitting messages of a no less than message, and the parameter of transmitting messages includes at least: test wrapper Border information, type of message and mode of transmitting messages;
A message is no less than described in parameter of transmitting messages of the determination unit for being no less than a message described in foundation is determining Message data;
The message data for the no less than message that described group of declaration form member is used to determine carries out a group report, obtains the first number According to;
The transmission unit is used for each of first data message data is corresponding according to the message data respectively Message parameter sent.
7. system according to claim 6, which is characterized in that described group of declaration form member is used for:
According to pre-set message administrative template, according to message stroke count and/or textual data, will be determining described in no less than one The message data of message carries out a group report.
8. system according to claim 6, which is characterized in that described group of declaration form member is used for:
Field in the message data for all messages being no less than in a message described in will be determining is spliced, composition splicing Text afterwards, the spliced text are the first data.
9. system according to claim 6, which is characterized in that further include: fills unit, in which:
The fills unit is used to the message data of a no less than message carrying out data filling according to default play, with Just a group report is carried out to filled message data.
10. system according to claim 6, which is characterized in that the test environmental information includes at least: testing environment The communication modes of address information and the message handling 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 true CN110445658A (en) 2019-11-12
CN110445658B 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)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111294264A (en) * 2020-02-17 2020-06-16 北京和利时***工程有限公司 Communication method and device based on Modbus TCP protocol
CN111698310A (en) * 2020-06-08 2020-09-22 中国银行股份有限公司 Multi-test environment scheduling method and device based on SWIFT network

Citations (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
US20100186021A1 (en) * 2008-12-10 2010-07-22 Airbus Operations Sas Method and device for communication by address virtualization for the integration simulation of components
CN105471548A (en) * 2015-11-04 2016-04-06 中国直升机设计研究所 Network data packet analyzing and distributing method
CN106302258A (en) * 2016-09-08 2017-01-04 杭州迪普科技有限公司 A kind of message forwarding method and device
CN106817726A (en) * 2015-11-27 2017-06-09 中兴通讯股份有限公司 Data message sends the processing method and processing device for receiving
CN106921665A (en) * 2017-03-06 2017-07-04 北京东土军悦科技有限公司 A kind of message processing method and the network equipment
CN108924141A (en) * 2018-07-10 2018-11-30 中国银行股份有限公司 A kind of message tissue and transmission method and device

Patent Citations (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
US20100186021A1 (en) * 2008-12-10 2010-07-22 Airbus Operations Sas Method and device for communication by address virtualization for the integration simulation of components
CN105471548A (en) * 2015-11-04 2016-04-06 中国直升机设计研究所 Network data packet analyzing and distributing method
CN106817726A (en) * 2015-11-27 2017-06-09 中兴通讯股份有限公司 Data message sends the processing method and processing device for receiving
CN106302258A (en) * 2016-09-08 2017-01-04 杭州迪普科技有限公司 A kind of message forwarding method and device
CN106921665A (en) * 2017-03-06 2017-07-04 北京东土军悦科技有限公司 A kind of message processing method and the network equipment
CN108924141A (en) * 2018-07-10 2018-11-30 中国银行股份有限公司 A kind of message tissue and transmission method and device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111294264A (en) * 2020-02-17 2020-06-16 北京和利时***工程有限公司 Communication method and device based on Modbus TCP protocol
CN111698310A (en) * 2020-06-08 2020-09-22 中国银行股份有限公司 Multi-test environment scheduling method and device based on SWIFT network
CN111698310B (en) * 2020-06-08 2022-10-11 中国银行股份有限公司 Multi-test environment scheduling method and device based on SWIFT network

Also Published As

Publication number Publication date
CN110445658B (en) 2023-01-24

Similar Documents

Publication Publication Date Title
CN107276765B (en) Processing method and device for consensus in block chain
CN102880532B (en) Cloud technology-based test system and method
CN109726128A (en) A kind of method for generating test case, device and server
EP3762882B1 (en) System and method for establishing common request processing
CN109388417B (en) Communication protocol updating method, system and terminal equipment
CN101013968A (en) Automated interface testing framework
CN109768970A (en) It is a kind of based on configurable puppy parc generation method
CN109495870A (en) The method and apparatus of bluetooth test
CN108833578A (en) The method and relevant device of duplex communication are carried out based on FIFO name pipeline
CN110445658A (en) A kind of message processing method and system
CN107026738A (en) Digital certificate updating method, digital signature verification method and digital authentication device
CN109656831A (en) Test packet centralization generation method, device, equipment and storage medium
CN105379192B (en) Method and system for hardware assets management
CN110022323A (en) A kind of method and system of the cross-terminal real-time, interactive based on WebSocket and Redux
CN110392096A (en) A kind of method, apparatus of file distributing, master controller and storage medium
CN110198222A (en) A kind of distribution power automation terminal plug and play test method and test main website
WO2014180396A1 (en) Code coverage rate processing method and device
US6597694B1 (en) System and method for generating bulk calls and emulating applications
CN115002011B (en) Flow bidirectional test method and device, electronic equipment and storage medium
CN110166322A (en) A kind of detection method and relevant apparatus of metering automation terminal
CN113645175B (en) Data communication method, device, equipment and computer readable storage medium
CN115022328A (en) Server cluster, server cluster testing method and device and electronic equipment
CN104270431A (en) Method and device for concurrency control
CN108400901A (en) Test method, terminal device and the computer readable storage medium of application
CN111221687B (en) Cloud storage testing system and method

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