CN105391593A - Message transmission method and equipment - Google Patents

Message transmission method and equipment Download PDF

Info

Publication number
CN105391593A
CN105391593A CN201511023513.5A CN201511023513A CN105391593A CN 105391593 A CN105391593 A CN 105391593A CN 201511023513 A CN201511023513 A CN 201511023513A CN 105391593 A CN105391593 A CN 105391593A
Authority
CN
China
Prior art keywords
message
tag
transaction
processing logic
transaction message
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.)
Pending
Application number
CN201511023513.5A
Other languages
Chinese (zh)
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.)
Maipu Communication Technology Co Ltd
Original Assignee
Maipu Communication Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Maipu Communication Technology Co Ltd filed Critical Maipu Communication Technology Co Ltd
Priority to CN201511023513.5A priority Critical patent/CN105391593A/en
Publication of CN105391593A publication Critical patent/CN105391593A/en
Pending legal-status Critical Current

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/02Standardisation; Integration
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/08Payment architectures
    • G06Q20/20Point-of-sale [POS] network systems
    • G06Q20/202Interconnection or interaction of plural electronic cash registers [ECR] or to host computer, e.g. network details, transfer of information from host to ECR or from ECR to ECR
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/06Message adaptation to terminal or network requirements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/22Parsing or analysis of headers

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Strategic Management (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the invention provides a message transmission method and equipment, relating to the technical field of communication, and being used for flexibly configuring a message according to requirements and reducing redundant information in the message. The method comprises the steps that message receiving equipment receives a transaction message sent by message sending equipment, the transaction message is analyzed according to a pre-configured TAG library, when the condition that an analysis result of the transaction message contains all appointed TAGs in the TAG library, a processing logic corresponding to the transaction message is searched in a processing logic template, the transaction message is processed according to the processing logic, and a response message is sent to the message sending equipment. The embodiment of the invention is used for transmitting the message.

Description

A kind of message transmitting method and equipment
Technical field
The present invention relates to communication technical field, particularly relate to a kind of message transmitting method and equipment.
Background technology
POS (PointOfSale, point of sale) access is a kind of bankcard consumption business of current extensive use, by carrying out message interaction between the service server of POS terminal (being positioned at the ground such as market, gas station) and financial institution, thus completing user bankcard consumption business.Wherein, in common POS access transaction, message transmissions flow process is: POS terminal is packed to transaction data, service server to financial institution initiates request message, the service server of financial institution receives request message, this request message is unpacked, the service server of financial institution carries out logical process by unpacking later data, and logical process result is returned to POS terminal, accessing in transaction the agreement of resolving message and packing at POS is at present XML agreement or 8583 agreements.
XML is a kind of extend markup language, the subset of standard generalized markup language, a kind ofly make it have structural markup language for electroactive marker subfile, XML agreement is the main message protocol that the most non-core financial sector of current industry uses, XML agreement is easy to expansion, but redundant information is too much, affects performance.
8583 agreements are the financial transaction packet protocols based on ISO8583 general international standard, and the message based on 8583 agreements is made up of maximum 128 field domain, and there is unified regulation in each territory, and have fixed length and elongated dividing.8583 agreements apply that wider .8583 agreement versatility is good at present in POS, and efficiency is high, but are not easy to expansion, are difficult to adapt to the demand that financial transaction is expanded day by day.
Summary of the invention
A kind of message transmitting method that embodiments of the invention provide and equipment, by label TAG storehouse pre-configured on message receiving equipment and processing logic template, flexible configuration message the redundant information reduced in message according to demand, thus while the extensibility improving message, improve message transmissions efficiency and reduce message transmissions cost.
For achieving the above object, embodiments of the invention adopt following technical scheme:
First aspect, embodiments provides a kind of message transmitting method, for message receiving equipment, comprises the transaction message that message receiving equipment receives the transmission of message transmitting apparatus; Message receiving equipment resolves transaction message according to pre-configured TAG storehouse; When comprising all appointment TAG in TAG storehouse in the analysis result of message receiving equipment determination transaction message, in processing logic template, search the processing logic corresponding with transaction message; Message receiving equipment processes transaction message according to processing logic, and sends response message to message transmitting apparatus.
In the first possible implementation of first aspect, message receiving equipment resolves transaction message according to pre-configured TAG storehouse, comprises message receiving equipment and obtain keyword from transaction message; Message receiving equipment obtains with pre-configured TAG storehouse the value that in transaction message, each TAG is corresponding according to keyword.
In the implementation that the second of first aspect is possible, transaction message comprises the TAG being used to indicate transaction id, a processing logic wherein in each transaction id alignment processing logic template; In processing logic template, obtain the processing logic corresponding with transaction message, comprise and obtain processing logic corresponding with transaction message in described processing logic template according to transaction id.
Second aspect, embodiments provides a kind of message transmitting method, for message transmitting apparatus, comprises message transmitting apparatus and generates transaction message according to pre-configured label TAG storehouse, wherein comprise the appointment TAG in TAG storehouse in transaction message; Message transmitting apparatus sends transaction message to message receiving equipment; Message transmitting apparatus receives the response message that message receiving equipment sends.
In the first possible implementation of second aspect, message transmitting apparatus generates transaction message according to pre-configured TAG storehouse, comprise: being packaged into transaction message by specifying TAG and the value corresponding with appointment TAG according to preset format according to pre-configured TAG storehouse, wherein specifying in TAG and comprising the TAG being used to indicate transaction id.
The third aspect, embodiments provides a kind of message receiving equipment, comprises receiving element, for receiving the transaction message that message transmitting apparatus sends; Processing unit, for resolving transaction message according to pre-configured label TAG storehouse; When determining all appointment TAG comprised in the analysis result of transaction message in TAG storehouse, in processing logic template, search the processing logic corresponding with transaction message; According to processing logic, transaction message is processed, and send response message to message transmitting apparatus.
In the first possible implementation of the third aspect, processing unit also for obtaining keyword from transaction message; Obtain with pre-configured TAG storehouse the value that in transaction message, each TAG is corresponding according to keyword.
In the implementation that the second of the third aspect is possible, transaction message comprises the TAG being used to indicate transaction id, a processing logic wherein in each transaction id alignment processing logic template; Processing unit is also for obtaining processing logic corresponding with transaction message in described processing logic template according to transaction id.
Fourth aspect, embodiments provides a kind of message transmitting apparatus, comprises processing unit, for generating transaction message according to pre-configured label TAG storehouse, wherein comprises the appointment TAG in TAG storehouse in transaction message; Transmitting element, for sending transaction message to message receiving equipment; Processing unit is also for receiving the response message that message receiving equipment sends.
In the first possible implementation of fourth aspect, processing unit also for: by according to pre-configured TAG storehouse by specify TAG and and specify value corresponding to TAG to be packaged into transaction message according to preset format, wherein specify in TAG and comprise the TAG being used to indicate transaction id.
The message transmitting method that embodiments of the invention provide and equipment, by TAG storehouse pre-configured on message receiving equipment and processing logic template, when receiving the transaction message that message transmitting apparatus is sent, by parsing the TAG comprised in transaction message in conjunction with TAG storehouse, and judge whether this transaction message comprises all appointment TAG in TAG storehouse, thus determine the legitimacy of this transaction message, then by searching the processing logic corresponding with described transaction message in processing logic template, obtain the Transaction Information corresponding in TAG storehouse with comprising TAG in transaction message and corresponding processing logic, according to this processing logic, transaction message is processed, and to the corresponding message of message transmitting apparatus to transaction message, thus can under the prerequisite of flexible configuration according to demand at message, reduce the redundant information in message, thus while the extensibility improving message, improve message transmissions efficiency and reduce message transmissions cost.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
The schematic flow sheet of a kind of message transmitting method that Fig. 1 provides for embodiments of the invention;
The schematic flow sheet of a kind of message transmitting method that Fig. 2 provides for another embodiment of the present invention;
The schematic flow sheet of a kind of message transmitting method that Fig. 3 provides for another embodiment of the present invention;
The schematic flow sheet of a kind of message transmitting method that Fig. 4 provides for another embodiment of the present invention;
The schematic diagram of a kind of packet transmission device that Fig. 5 provides for embodiments of the invention;
The schematic diagram of a kind of message receiving system that Fig. 6 provides for embodiments of the invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
With reference to shown in Fig. 1, The embodiment provides a kind of message transmitting method, for message receiving equipment, it is characterized in that, comprising:
101, message receiving equipment receives the transaction message that message transmitting apparatus sends.
The wherein transaction message of message transmitting apparatus transmission, for comprising the message of Transaction Information, wherein message can comprise TAG and the keyword for locating TAG, this TAG can also comprise the value corresponding with TAG, TAG is the label corresponding with Transaction Information, and Transaction Information can comprise transaction sequence number, the sequence number of message transmitting apparatus, dealing money, carry out the card number of the credit card of concluding the business, exchange hour etc.Exemplary, for locating the keyword of TAG for " < " and " > " in transaction message, it is middle with " > " that TAG is positioned at " < ", transaction message is specially: <ID>0220<TIDGrea tT.GreaT.GT123456<AMT>100LEss T.LTssT.LTCARD>622000123895<T IME>20150507102751
Wherein the implication of transaction message is No. 0220 transaction, and the requesting party ID of generation is 123456, and it is 100 that the numerical value of the amount of money occurs, and the card number of generation is 622000123895, during 7 days 10 May of 2015 time of generation 27 points 51 seconds.
102, message receiving equipment resolves transaction message according to pre-configured TAG storehouse.
Prewiredly on message receiving equipment be equipped with label TAG storehouse, TAG storehouse comprises the definition of the TAG that Transaction Information is corresponding required for message receiving equipment, and the corresponding relation of Transaction Information and TAG, the Transaction Information that wherein Transaction Information required for message receiving equipment can comprise TAG can comprise transaction sequence number, the sequence number of message transmitting apparatus, dealing money, carry out the card number of the credit card of concluding the business, exchange hour etc., the importance of TAG can also be comprised, preferably, one or more TAG can be specified in TAG storehouse as carrying out necessary TAG and RequiredTAG that conclude the business, also the TAG in TAG storehouse except RequiredTAG can be appointed as optional TAG and OptionalTAG.Preferably, TAG storehouse can be edited according to demand.Exemplary, comprise the TAG of " ID " by name in TAG storehouse, and to arrange this TAG be RequiredTAG, implication is the value that this TAG is corresponding in transaction message is transaction id, and this TAG is the necessary TAG of transaction.
Message receiving equipment resolves transaction message according to pre-configured TAG storehouse, for message receiving equipment is according to pre-configured TAG storehouse, obtain the TAG meeting the definition of TAG storehouse included in transaction message, can also comprise and obtain the Transaction Information corresponding with TAG meeting the definition of TAG storehouse included in transaction message.
The all appointment TAG in TAG storehouse whether are comprised in the analysis result of 103, message receiving equipment determination transaction message.
According to the TAG meeting the definition of TAG storehouse included in the transaction message obtained in step 102, and determine whether this TAG comprises all appointment TAG in TAG storehouse.
When determining that this TAG comprises all appointment TAG in TAG storehouse, perform following steps 104.
104, message receiving equipment searches the processing logic corresponding with transaction message in processing logic template.
Wherein, transaction message comprises the TAG corresponding with processing logic template, can obtain the processing logic corresponding with transaction message according to this TAG in processing logic template.
105, message receiving equipment processes transaction message according to processing logic, and sends response message to message transmitting apparatus.
Message receiving equipment processes transaction message according to the processing logic obtained at step 104, and result is sent to message transmitting party with the form of corresponding message.
The message transmitting method that embodiments of the invention provide, for message receiving equipment, by label TAG storehouse pre-configured on message receiving equipment and processing logic template, when receiving the transaction message that message transmitting apparatus is sent, by parsing the TAG comprised in transaction message in conjunction with TAG storehouse, and judge whether this transaction message comprises all appointment TAG in TAG storehouse, thus determine the legitimacy of this transaction message, then by searching the processing logic corresponding with described transaction message in processing logic template, obtain the Transaction Information corresponding in TAG storehouse with comprising TAG in transaction message and corresponding processing logic, according to this processing logic, transaction message is processed, and to the corresponding message of message transmitting apparatus to transaction message, thus flexible configuration message the redundant information reduced in message according to demand, while the extensibility improving message, improve message transmissions efficiency and reduce message transmissions cost.
With reference to shown in Fig. 2, The embodiment provides a kind of message transmitting method, for message transmitting apparatus, it is characterized in that, comprising:
201, message transmitting apparatus generates transaction message according to pre-configured label TAG storehouse.
Prewiredly on message transmitting apparatus be equipped with TAG storehouse, TAG storehouse comprises the definition of the TAG that Transaction Information is corresponding required for message receiving equipment, and the corresponding relation of Transaction Information and TAG, the Transaction Information that wherein Transaction Information required for message receiving equipment can comprise TAG can comprise transaction sequence number, the sequence number of message transmitting apparatus, dealing money, carry out the card number of the credit card of concluding the business, exchange hour etc., the importance of TAG can also be comprised, preferably, one or more TAG can be specified in TAG storehouse as carrying out necessary TAG and RequiredTAG that conclude the business, also the TAG in TAG storehouse except RequiredTAG can be appointed as optional TAG and OptionalTAG.Preferably, TAG storehouse can be edited according to demand.Exemplary, comprise the TAG of " ID " by name in TAG storehouse, and to arrange this TAG be RequiredTAG, implication is the value that this TAG is corresponding in transaction message is transaction id, and this TAG is the necessary TAG of transaction.
Message transmitting apparatus generates transaction message according to pre-configured TAG storehouse, for message transmitting apparatus is according to pre-configured TAG storehouse, the TAG of required transmission is packaged in transaction message, message transmitting apparatus can also be comprised according to pre-configured TAG storehouse, the Transaction Information of required transmission is packaged in transaction message
202, message transmitting apparatus sends transaction message to message receiving equipment.
The transaction message generated in step 201 sends to message receiving equipment by message transmitting apparatus.
203, message transmitting apparatus receives the response message that message receiving equipment sends.
Message transmitting apparatus receive message receiving equipment with response message mode send for transaction message carry out the result that processes.
The message transmitting method that embodiments of the invention provide, for message transmitting apparatus, by TAG storehouse pre-configured on message transmitting apparatus, and generate transaction message according to pre-configured TAG storehouse, thus the TAG needing to send or Transaction Information are packaged in transaction message with the form of TAG, and be sent to message receiving equipment, so that message receiving equipment is by parsing the TAG comprised in transaction message in conjunction with TAG storehouse, thus determine the legitimacy of this transaction message, and obtain the Transaction Information corresponding in TAG storehouse with comprising TAG in transaction message and corresponding processing logic, according to this processing logic, transaction message is processed, to the corresponding message of message transmitting apparatus to transaction message, message transmitting apparatus also receives the response message comprising result for transaction message that message receiving equipment sends, thus flexible configuration message the redundant information reduced in message according to demand, while the extensibility improving message, improve message transmissions efficiency and reduce message transmissions cost.
With reference to shown in Fig. 1, The embodiment provides a kind of message transmitting method, for message receiving equipment, it is characterized in that, comprising:
301, message receiving equipment receives the transaction message that message transmitting apparatus sends.
Concrete example, with reference to above-mentioned steps 101, does not repeat them here.
302, message receiving equipment obtains keyword from transaction message.
Message receiving equipment obtains keyword from transaction message, wherein can obtain according to keyword the TAG that transaction message comprises from transaction message, this TAG can comprise the TAG that in the TAG storehouse pre-configured with message receiving equipment, TAG is identical, also can comprise the TAG be not included in the pre-configured TAG storehouse of message receiving equipment.
303, message receiving equipment obtains with pre-configured TAG storehouse the value that in transaction message, each TAG is corresponding according to keyword.
Message receiving equipment obtains its TAG comprised according to the keyword obtained in step 302 from transaction is surrounded, and in pre-configured TAG storehouse, search whether there is corresponding TAG according to this TAG, when there is corresponding TAG in pre-configured TAG storehouse, in transaction message, obtain the value corresponding with this TAG according to this TAG.
Exemplary, the TAG of " ID " by name is comprised in transaction message, and the value 1000 corresponding with the TAG of " ID " by name, when comprising the TAG of " ID " by name in TAG storehouse, in transaction message, obtain the value 1000 corresponding with it by the TAG of " ID " by name.
The all appointment TAG in TAG storehouse whether are comprised in the analysis result of 304, message receiving equipment determination transaction message.
Concrete example, with reference to above-mentioned steps 103, does not repeat them here.
In the analysis result of message receiving equipment determination transaction message, comprise all appointment TAG in TAG storehouse, perform following steps 305.
305, processing logic corresponding with transaction message in processing logic template is obtained according to transaction id.
Wherein processing logic template-setup is in message receiving equipment, and processing logic template comprises the processing logic corresponding with transaction id, and this processing logic is used to the method that processes the Transaction Information comprised in transaction message or strategy.
Transaction message comprises the TAG being used to indicate transaction id, the corresponding processing logic in the transaction id alignment processing logic template indicated by the value that this TAG is corresponding.
306, message receiving equipment processes transaction message according to processing logic, and sends response message to message transmitting apparatus.
Message receiving equipment processes transaction message according to the processing logic obtained in step 305, and result is sent to insulation transmitting apparatus with the form of response message
The message transmitting method that embodiments of the invention provide, for message receiving equipment, by TAG storehouse pre-configured on message receiving equipment and processing logic template, when receiving the transaction message that message transmitting apparatus is sent, by obtaining keyword from transaction message, the value that in transaction message, each TAG is corresponding is obtained in conjunction with pre-configured TAG storehouse, and all appointment TAG determining whether to comprise in the analysis result of transaction message in TAG storehouse are to determine the legitimacy of this transaction message, then by searching the processing logic corresponding with described transaction id in processing logic template, obtain the processing logic corresponding with comprising transaction id in transaction message, according to this processing logic, transaction message is processed, and to the corresponding message of message transmitting apparatus to transaction message, thus flexible configuration message the redundant information reduced in message according to demand, while the extensibility improving message, improve message transmissions efficiency and reduce message transmissions cost.
With reference to shown in Fig. 4, The embodiment provides a kind of message transmitting method, for message transmitting apparatus, it is characterized in that, comprising:
401, message transmitting apparatus will be specified TAG according to pre-configured label TAG storehouse and and specify value corresponding to TAG to be packaged into transaction message according to preset format.
Prewiredly on message transmitting apparatus be equipped with TAG storehouse, TAG storehouse comprises the definition of the TAG that Transaction Information is corresponding required for message receiving equipment, and the corresponding relation of Transaction Information and TAG, the Transaction Information that wherein Transaction Information required for message receiving equipment can comprise TAG can comprise transaction sequence number, the sequence number of message transmitting apparatus, dealing money, carry out the card number of the credit card of concluding the business, exchange hour etc., the importance of TAG can also be comprised, TAG is specified to refer to the TAG that in TAG storehouse, a part is specified, the value corresponding with specifying TAG is the concrete value of the Transaction Information representated by TAG.
To TAG and the value corresponding with appointment TAG be specified to be packaged into transaction message according to preset format, the concrete value of the Transaction Information corresponding to TAG and TAG of required transmission, according to pre-configured TAG storehouse, be packaged in transaction message by message transmitting apparatus.
402, message transmitting apparatus sends transaction message to message receiving equipment.
Concrete example, with reference to above-mentioned steps 202, does not repeat them here.
403, message transmitting apparatus receives the response message that message receiving equipment sends.
Concrete example, with reference to above-mentioned steps 203, does not repeat them here.
The message transmitting method that embodiments of the invention provide, for message transmitting apparatus, by TAG storehouse pre-configured on message transmitting apparatus, and generate transaction message according to pre-configured TAG storehouse, thus the concrete value of Transaction Information corresponding for TAG and TAG needing to send is packaged in transaction message, and be sent to message receiving equipment, so that message receiving equipment is by parsing the TAG comprised in transaction message in conjunction with TAG storehouse, thus determine the legitimacy of this transaction message, and obtain the Transaction Information corresponding in TAG storehouse with comprising TAG in transaction message and corresponding processing logic, according to this processing logic, transaction message is processed, to the corresponding message of message transmitting apparatus to transaction message, message transmitting apparatus also receives the response message comprising result for transaction message that message receiving equipment sends, thus flexible configuration message the redundant information reduced in message according to demand, while the extensibility improving message, improve message transmissions efficiency and reduce message transmissions cost.
With reference to shown in Fig. 5, The embodiment provides a kind of message receiving system, it is characterized in that, comprising:
Receiving element 501, for receiving the transaction message that message transmitting apparatus sends.
Processing unit 502, for resolving transaction message according to pre-configured label TAG storehouse, when determining all appointment TAG comprised in the analysis result of transaction message in TAG storehouse, the processing logic corresponding with transaction message is searched in processing logic template, according to processing logic, transaction message is processed, and send response message to message transmitting apparatus.
Preferably, processing unit 502, also for obtaining keyword from transaction message, obtains with pre-configured TAG storehouse the value that in transaction message, each TAG is corresponding according to keyword.
Preferably, processing unit 502 also for obtain according to described transaction id described in the processing logic corresponding with described transaction message, wherein transaction message comprises the TAG being used to indicate transaction id, a processing logic wherein in each transaction id alignment processing logic template.
The message receiving equipment that embodiments of the invention provide, by TAG storehouse pre-configured on message receiving equipment and processing logic template, when receiving the transaction message that message transmitting apparatus is sent, by obtaining keyword from transaction message, the value that in transaction message, each TAG is corresponding is obtained in conjunction with pre-configured TAG storehouse, and all appointment TAG determining whether to comprise in the analysis result of transaction message in TAG storehouse are to determine the legitimacy of this transaction message, then by searching the processing logic corresponding with described transaction id in processing logic template, obtain the processing logic corresponding with comprising transaction id in transaction message, according to this processing logic, transaction message is processed, and to the corresponding message of message transmitting apparatus to transaction message, thus flexible configuration message the redundant information reduced in message according to demand, while the extensibility improving message, improve message transmissions efficiency and reduce message transmissions cost.
With reference to shown in Fig. 6, The embodiment provides a kind of packet transmission device, it is characterized in that, comprising:
Processing unit 601, for generating transaction message according to pre-configured label TAG storehouse, comprises the appointment TAG. in TAG storehouse in wherein said transaction message
Transmitting element 602, for sending transaction message to message receiving equipment, receives the response message that described message receiving equipment sends.
Preferably, processing unit 602 also for being packaged into transaction message by specifying TAG and the value corresponding with appointment TAG according to preset format by according to pre-configured TAG storehouse, wherein being specified in TAG and being comprised the TAG being used to indicate transaction id.
The message transmitting apparatus that embodiments of the invention provide, by TAG storehouse pre-configured on message transmitting apparatus, and generate transaction message according to pre-configured TAG storehouse, thus the concrete value of Transaction Information corresponding for TAG and TAG needing to send is packaged in transaction message, and be sent to message receiving equipment, so that message receiving equipment is by parsing the TAG comprised in transaction message in conjunction with TAG storehouse, thus determine the legitimacy of this transaction message, and obtain the Transaction Information corresponding in TAG storehouse with comprising TAG in transaction message and corresponding processing logic, according to this processing logic, transaction message is processed, to the corresponding message of message transmitting apparatus to transaction message, message transmitting apparatus also receives the response message comprising result for transaction message that message receiving equipment sends, thus flexible configuration message the redundant information reduced in message according to demand, while the extensibility improving message, improve message transmissions efficiency and reduce message transmissions cost.
Those skilled in the art can be well understood to, and for convenience and simplicity of description, the specific works process of the system of foregoing description, device and unit, with reference to the corresponding process in preceding method embodiment, can not repeat them here.
Wherein, it should be noted that, unit in the present embodiment can be the processor or transducer set up separately, also can be integrated in some processors or transducer and realize, in addition, also can be stored in the memory of touch point recognition device with the form of program code, called by processor and perform the function of above unit.Processor described here can be a central processing unit (English full name: CentralProcessingUnit, English abbreviation: CPU), or be configured to the one or more integrated circuits (English full name: IntegratedCircuit, English abbreviation: IC) implementing the embodiment of the present invention; Transducer can be an electronic component, or the circuit structure of multiple electronic component composition, or is configured to the one or more integrated circuits implementing the embodiment of the present invention.
The above; be only the specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, is anyly familiar with those skilled in the art in the technical scope that the present invention discloses; the change that can expect easily or replacement, all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection range of claim.

Claims (10)

1. a message transmitting method, for message receiving equipment, is characterized in that, comprising:
Receive the transaction message that message transmitting apparatus sends;
Described transaction message is resolved according to pre-configured label TAG storehouse;
When determining all appointment TAG comprised in the analysis result of described transaction message in TAG storehouse, in processing logic template, search the processing logic corresponding with described transaction message;
According to described processing logic, described transaction message is processed, and send response message to described message transmitting apparatus.
2. method according to claim 1, is characterized in that, describedly resolves described transaction message according to pre-configured TAG storehouse, comprising:
Keyword is obtained from described transaction message; Obtain with pre-configured TAG storehouse the value that in transaction message, each TAG is corresponding according to described keyword.
3. method according to claim 1, is characterized in that, described transaction message comprises the TAG being used to indicate transaction id, a processing logic wherein in the corresponding described processing logic template of each transaction id;
The described processing logic that acquisition is corresponding with described transaction message in processing logic template, comprising:
Processing logic corresponding with described transaction message in described processing logic template is obtained according to described transaction id.
4. a message transmitting method, for message transmitting apparatus, is characterized in that, comprising:
Generate transaction message according to pre-configured label TAG storehouse, in wherein said transaction message, comprise the appointment TAG in described TAG storehouse;
Described transaction message is sent to message receiving equipment;
Receive the response message that described message receiving equipment sends.
5. method according to claim 4, is characterized in that, described according to pre-configured TAG storehouse generation transaction message, comprising:
Being packaged into transaction message by specifying TAG and the value corresponding with described appointment TAG according to preset format according to pre-configured TAG storehouse, in wherein said appointment TAG, comprising the TAG being used to indicate transaction id.
6. a message receiving equipment, is characterized in that, comprising:
Receiving element, for receiving the transaction message that message transmitting apparatus sends;
Processing unit, for resolving described transaction message according to pre-configured label TAG storehouse;
When determining all appointment TAG comprised in the analysis result of described transaction message in TAG storehouse, in processing logic template, search the processing logic corresponding with described transaction message;
According to described processing logic, described transaction message is processed, and send response message to described message transmitting apparatus.
7. message receiving equipment according to claim 6, is characterized in that, described processing unit also for:
Keyword is obtained from described transaction message;
Obtain with pre-configured TAG storehouse the value that in transaction message, each TAG is corresponding according to described keyword.
8. message receiving equipment according to claim 6, is characterized in that, described transaction message comprises the TAG being used to indicate transaction id, a processing logic wherein in the corresponding described processing logic template of each transaction id;
Described processing unit also for:
Processing logic corresponding with described transaction message in described processing logic template is obtained according to described transaction id.
9. a message transmitting apparatus, is characterized in that, comprising:
Processing unit, for generating transaction message according to pre-configured label TAG storehouse, comprises the appointment TAG in described TAG storehouse in wherein said transaction message;
Transmitting element, for sending described transaction message to message receiving equipment;
Described processing unit is also for receiving the response message that described message receiving equipment sends.
10. message transmitting apparatus according to claim 9, is characterized in that, described processing unit also for:
Being packaged into transaction message by specifying TAG and the value corresponding with described appointment TAG according to preset format by according to pre-configured TAG storehouse, in wherein said appointment TAG, comprising the TAG being used to indicate transaction id.
CN201511023513.5A 2015-12-30 2015-12-30 Message transmission method and equipment Pending CN105391593A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201511023513.5A CN105391593A (en) 2015-12-30 2015-12-30 Message transmission method and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201511023513.5A CN105391593A (en) 2015-12-30 2015-12-30 Message transmission method and equipment

Publications (1)

Publication Number Publication Date
CN105391593A true CN105391593A (en) 2016-03-09

Family

ID=55423445

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201511023513.5A Pending CN105391593A (en) 2015-12-30 2015-12-30 Message transmission method and equipment

Country Status (1)

Country Link
CN (1) CN105391593A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106789695A (en) * 2016-11-24 2017-05-31 杭州迪普科技股份有限公司 Message processing method and device
CN107277006A (en) * 2017-06-15 2017-10-20 中国银行股份有限公司 A kind of message parsing method and device
CN107886428A (en) * 2017-11-08 2018-04-06 中国银行股份有限公司 A kind of method and payment clearance system for determining to pay clearing rate
CN108510382A (en) * 2017-02-28 2018-09-07 银联数据服务有限公司 A kind of exchange information processing method and device
CN108924141A (en) * 2018-07-10 2018-11-30 中国银行股份有限公司 A kind of message tissue and transmission method and device
CN109617881A (en) * 2018-12-18 2019-04-12 福建联迪商用设备有限公司 A kind of processing method and terminal of POS terminal message

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060265325A1 (en) * 2003-12-18 2006-11-23 Fajardo Alfredo C System and method for facilitating payment via a communications network using value accredited to a customer of the communications network
CN1918607A (en) * 2003-12-18 2007-02-21 维利塔斯行动解决股份有限公司 System and method for facilitating payment via a communications network using value accredited to a customer of the communications network
CN1968092A (en) * 2006-09-30 2007-05-23 北京握奇数据系统有限公司 Method for realizing data interaction between digital signature device and opposite-end device
CN101625686A (en) * 2008-07-08 2010-01-13 阿里巴巴集团控股有限公司 Method and system for monitoring data consistency between plurality of databases
CN101639916A (en) * 2008-07-28 2010-02-03 北京邮电大学 Digital media resource registering transaction management system and realizing method thereof
CN101833738A (en) * 2010-05-19 2010-09-15 中国农业银行股份有限公司 Data processing method and system between domestic custodian bank and overseas custodian agent bank
CN102548042A (en) * 2010-12-30 2012-07-04 北京亿阳汇智通科技股份有限公司 Platform and method for customizing and releasing mobile terminal application software in self-service mode
CN102594833A (en) * 2012-03-09 2012-07-18 北京神州数码思特奇信息技术股份有限公司 Communication protocol adapting method and system
CN102804163A (en) * 2009-06-12 2012-11-28 微软公司 Providing resource-related information using a standardized format
CN102982624A (en) * 2012-11-19 2013-03-20 深圳市新国都技术股份有限公司 Printing method for point-of-sale (POS) machine trading center based on threshold limit value (TLV) format data
CN103337113A (en) * 2013-07-17 2013-10-02 广州广电运通金融电子股份有限公司 Method and device for intelligently analyzing electronic day-to-day journals, as well as processor
US20150039649A1 (en) * 2013-07-31 2015-02-05 International Business Machines Corporation Dynamic runtime environment configuration for query applications
CN104881275A (en) * 2015-02-11 2015-09-02 中国农业银行股份有限公司 Electronic spreadsheet generating method and device
CN104992329A (en) * 2015-05-14 2015-10-21 飞天诚信科技股份有限公司 Method for safely issuing transaction message

Patent Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1918607A (en) * 2003-12-18 2007-02-21 维利塔斯行动解决股份有限公司 System and method for facilitating payment via a communications network using value accredited to a customer of the communications network
US20060265325A1 (en) * 2003-12-18 2006-11-23 Fajardo Alfredo C System and method for facilitating payment via a communications network using value accredited to a customer of the communications network
CN1968092A (en) * 2006-09-30 2007-05-23 北京握奇数据系统有限公司 Method for realizing data interaction between digital signature device and opposite-end device
CN101625686A (en) * 2008-07-08 2010-01-13 阿里巴巴集团控股有限公司 Method and system for monitoring data consistency between plurality of databases
CN101639916A (en) * 2008-07-28 2010-02-03 北京邮电大学 Digital media resource registering transaction management system and realizing method thereof
CN102804163A (en) * 2009-06-12 2012-11-28 微软公司 Providing resource-related information using a standardized format
CN101833738A (en) * 2010-05-19 2010-09-15 中国农业银行股份有限公司 Data processing method and system between domestic custodian bank and overseas custodian agent bank
CN102548042A (en) * 2010-12-30 2012-07-04 北京亿阳汇智通科技股份有限公司 Platform and method for customizing and releasing mobile terminal application software in self-service mode
CN102594833A (en) * 2012-03-09 2012-07-18 北京神州数码思特奇信息技术股份有限公司 Communication protocol adapting method and system
CN102982624A (en) * 2012-11-19 2013-03-20 深圳市新国都技术股份有限公司 Printing method for point-of-sale (POS) machine trading center based on threshold limit value (TLV) format data
CN103337113A (en) * 2013-07-17 2013-10-02 广州广电运通金融电子股份有限公司 Method and device for intelligently analyzing electronic day-to-day journals, as well as processor
US20150039649A1 (en) * 2013-07-31 2015-02-05 International Business Machines Corporation Dynamic runtime environment configuration for query applications
CN104881275A (en) * 2015-02-11 2015-09-02 中国农业银行股份有限公司 Electronic spreadsheet generating method and device
CN104992329A (en) * 2015-05-14 2015-10-21 飞天诚信科技股份有限公司 Method for safely issuing transaction message
CN104992329B (en) * 2015-05-14 2018-05-11 飞天诚信科技股份有限公司 A kind of method for safely issuing transaction message

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
无: "SWIFT报文介绍", 《百度文库》 *

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106789695A (en) * 2016-11-24 2017-05-31 杭州迪普科技股份有限公司 Message processing method and device
CN106789695B (en) * 2016-11-24 2020-04-03 杭州迪普科技股份有限公司 Message processing method and device
CN108510382A (en) * 2017-02-28 2018-09-07 银联数据服务有限公司 A kind of exchange information processing method and device
CN108510382B (en) * 2017-02-28 2021-12-07 银联数据服务有限公司 Transaction information processing method and device
CN107277006A (en) * 2017-06-15 2017-10-20 中国银行股份有限公司 A kind of message parsing method and device
CN107886428A (en) * 2017-11-08 2018-04-06 中国银行股份有限公司 A kind of method and payment clearance system for determining to pay clearing rate
CN107886428B (en) * 2017-11-08 2021-08-20 中国银行股份有限公司 Method for determining payment clearing exchange rate and payment clearing system
CN108924141A (en) * 2018-07-10 2018-11-30 中国银行股份有限公司 A kind of message tissue and transmission method and device
CN108924141B (en) * 2018-07-10 2021-01-26 中国银行股份有限公司 Message organization and transmission method and device
CN109617881A (en) * 2018-12-18 2019-04-12 福建联迪商用设备有限公司 A kind of processing method and terminal of POS terminal message

Similar Documents

Publication Publication Date Title
CN105391593A (en) Message transmission method and equipment
RU2648966C2 (en) Apparatus and method for processing multiple open api
CN109086199A (en) A kind of automation generates the method for test script, terminal and can storage medium
CN105260299A (en) Method, device, and system for software test
CN110716783A (en) Front-end page generation and deployment method and device, storage medium and equipment
EP3762882B1 (en) System and method for establishing common request processing
CN102694701A (en) Testing method and system based on message
CN105472035A (en) File transmission method and device
CN105389177A (en) Software version confirmation method, device and system
CN105335310A (en) Interface defining method, and data transmission method and apparatus
CN107391632B (en) Database storage processing method and device, computing equipment and computer storage medium
CN110895472A (en) Method and device for identifying service change
CN109586962A (en) IPv4 is upgraded to processing unit, method and the electronic equipment of the HTTPS exterior chain problem of IPv6
CN104281970B (en) Message treatment method, message processing apparatus and server platform
CN107977344A (en) Date storage method, acquisition methods and server
CN109063142A (en) Web page resources method for pushing and server
CN110020412B (en) Method and device for generating IMIX standard message and electronic equipment
US20140032744A1 (en) Method of comparing outputs in a plurality of information systems
CN111738853A (en) Transaction optimization method and device based on block chain distributed system
CN107220838A (en) Anti-counterfeit authentication method and device
CN101419618B (en) In-text information displaying method and apparatus
CN111324470A (en) Method and device for generating information
CN112948138A (en) Method and device for processing message
CN110334000A (en) A kind of test method based on MOCK technology
CN105577792A (en) Method and device for displaying payment product

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 610041 15-24 floor, 1 1 Tianfu street, Chengdu high tech Zone, Sichuan

Applicant after: Maipu Communication Technologies Co., Ltd.

Address before: 610041 16 Hing Hing Road, Chengdu high tech Development Zone, Sichuan, China 16

Applicant before: Maipu Communication Technologies Co., Ltd.