CN101895573B - Method and device for communication of sender and receiver - Google Patents

Method and device for communication of sender and receiver Download PDF

Info

Publication number
CN101895573B
CN101895573B CN2010102213108A CN201010221310A CN101895573B CN 101895573 B CN101895573 B CN 101895573B CN 2010102213108 A CN2010102213108 A CN 2010102213108A CN 201010221310 A CN201010221310 A CN 201010221310A CN 101895573 B CN101895573 B CN 101895573B
Authority
CN
China
Prior art keywords
request
response
protocol
text
child
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN2010102213108A
Other languages
Chinese (zh)
Other versions
CN101895573A (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.)
Yonyou Network Technology Co Ltd
Original Assignee
Yonyou Software 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 Yonyou Software Co Ltd filed Critical Yonyou Software Co Ltd
Priority to CN2010102213108A priority Critical patent/CN101895573B/en
Publication of CN101895573A publication Critical patent/CN101895573A/en
Application granted granted Critical
Publication of CN101895573B publication Critical patent/CN101895573B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Computer And Data Communications (AREA)

Abstract

The invention provides a method for communication of a sender and a receiver. The method comprises the following steps of: 102, sending a request by the sender to the receiver when the sender inputs an operating command, wherein the request comprises a request protocol text corresponding to the operating command; and 104, receiving the request by the receiver and executing the operating command, feeding back a response to the sender, wherein the response comprises a response protocol text corresponding to the execution circumstance of the operating command. The invention also provides a device for communication of the sender and the receiver. According to the invention, the connection between an ERP (Enterprise Resource Planning) system of an enterprise and a plurality of internet bank systems can be realized through a general mode, and transaction details between the ERP system and the internet bank systems can be clearly recorded.

Description

The method and apparatus that transmit leg and recipient communicate
Technical field
The present invention relates to the method and apparatus that a kind of transmit leg and recipient communicate.
Background technology
Along with the deep development of IT application in enterprises, the contact between the ERP system of enterprise and bank or the payment tissue is more and more tightr.Under current environment, various ERP system all need to organize the butt joint of carrying out in the system with bank or payment, and the application of ERP system and the Net silver system of bank or payment tissue are coupled together, and reach real-time querying the balance, payment, payroll credit etc.Present interconnection technique mainly is to implement by the message that sends and receive specific protocol between enterprise's ERP system and each business bank or payment tissue.But system's otherness, many reasons such as platform otherness are organized for fail safe in each business bank and payment, the unified agreement of a cover is not used for interconnecting with the ERP system of enterprise, but provide a cover privately owned, covert separately, the agreement that form is incompatible.So just bring a problem, because under the scene of practical application, the bank that each enterprise is selected is not quite similar, ERP system is in order to satisfy the needs of enterprise, the agreement of each bank of having nothing for it but provides a specific implementation, prolong the construction cycle, increased the inconvenience parts of safeguarding such as difficulty.
Therefore, need a kind of novel universal mode, can be connected with multiple Net silver system realization in ERP system, satisfy the needs of enterprise.
Summary of the invention
Technical problem to be solved by this invention is, needs a kind of novel universal mode, can be connected with multiple Net silver system realization in ERP system, satisfies the needs of enterprise.
In view of this, the invention discloses the method that a kind of transmit leg and recipient communicate, comprising: step 102, the user is when described transmit leg input operation order, the described recipient of described sending direction sends request, and described request comprises the request protocol text of corresponding described operational order; And step 104, described recipient receives described request, and carries out described operational order, and feedback response is to described transmit leg then, and described response comprises the response protocol text of the implementation status of corresponding described operational order.By this programme, can realize communicating to connect of transmit leg and different recipients with a kind of universal mode.
In technique scheme, preferably, described request agreement text and described response protocol text all are described by the XML language.
In technique scheme, preferably, described transmit leg sends described request based on the HTTP technology, and described recipient feeds back described response based on described HTTP technology.
In technique scheme, preferably, described request agreement text comprises the request protocol head, the described request protocol header comprises main operation sign and its corresponding operation requests information, described response protocol text comprises the response protocol head, described response protocol head comprises the operation response message of described main operation sign and its correspondence, and described main operation identifies corresponding described operational order.
In technique scheme, preferably, when described operational order comprises the child-operation order, described request agreement text also comprises the request protocol body, the described request protocol entity comprises child-operation sign and its corresponding operation requests information, described response protocol text also comprises the response protocol body, and described response protocol body comprises the operation response message of described child-operation sign and its correspondence, and described child-operation identifies corresponding described child-operation order.By this programme, when obtaining the batch operation relevant information, can obtain the relevant information of the detail operation in the batch operation.
The invention also discloses the device that a kind of transmit leg and recipient communicate, comprise: sending module, the user sends request for the described recipient of described sending direction when described transmit leg input operation order, described request comprises the request protocol text of corresponding described operational order; Receiver module, described recipient receives described request, and after carrying out described operational order, to described transmit leg, described response comprises the response protocol text of the implementation status of corresponding described operational order for described recipient's feedback response.By this programme, can realize communicating to connect of transmit leg and different recipients with a kind of universal mode.
In technique scheme, preferably, the described response protocol text that the described request agreement text that described sending module sends and described receiver module send all is described by the XML language.
In technique scheme, preferably, described sending module sends described request based on the HTTP technology, and described receiver module feeds back described response based on described HTTP technology.
In technique scheme, preferably, described request agreement text comprises the request protocol head, the described request protocol header comprises main operation sign and its corresponding operation requests information, described response protocol text comprises the response protocol head, described response protocol head comprises the operation response message of described main operation sign and its correspondence, and described main operation identifies corresponding described operational order.
In technique scheme, preferably, when described operational order comprises the child-operation order, described request agreement text also comprises the request protocol body, the described request protocol entity comprises child-operation sign and its corresponding operation requests information, described response protocol text also comprises the response protocol body, and described response protocol body comprises the operation response message of described child-operation sign and its correspondence, and described child-operation identifies corresponding described child-operation order.By this programme, when obtaining the batch operation relevant information, can obtain the relevant information of the detail operation in the batch operation.By this programme, when obtaining the batch operation relevant information, can obtain the relevant information of the detail operation in the batch operation.
According to technical solution of the present invention, can realize being connected between bank preposition system and the kernel business of bank plateform system in a kind of general mode, and can clearly record transaction details between front end receiving system data and the Net silver system.
According to technical solution of the present invention, can realize being connected between the many ERP system of enterprise and the multiple Net silver system in a kind of general mode, and can clearly record transaction details between a certain specific ERP system and the Net silver system.
Description of drawings
Fig. 1 is the flow chart of the method that communicates according to transmit leg of the present invention and recipient;
Fig. 2 is the block diagram of the device that communicates according to transmit leg of the present invention and recipient;
Fig. 3 is the realization schematic diagram of the method that communicates of transmit leg according to an embodiment of the invention and recipient;
The request of Fig. 4 method that to be transmit leg according to an embodiment of the invention communicate with the recipient and the corresponding schematic diagram of response.
Embodiment
Describe in detail according to embodiments of the invention below with reference to the accompanying drawings.
Fig. 1 is the flow chart of the method that communicates according to transmit leg of the present invention and recipient.
As shown in Figure 1, the invention discloses the method that a kind of transmit leg and recipient communicate, comprising: step 102, the user is when described transmit leg input operation order, the described recipient of described sending direction sends request, and described request comprises the request protocol text of corresponding described operational order; And step 104, described recipient receives described request, and carries out described operational order, and feedback response is to described transmit leg then, and described response comprises the response protocol text of the implementation status of corresponding described operational order.By this programme, can realize communicating to connect of transmit leg and different recipients with a kind of universal mode.
In technique scheme, described request agreement text and described response protocol text all are described by the XML language.
In technique scheme, described transmit leg sends described request based on the HTTP technology, and described recipient feeds back described response based on described HTTP technology.
In technique scheme, described request agreement text comprises the request protocol head, the described request protocol header comprises main operation sign and its corresponding operation requests information, described response protocol text comprises the response protocol head, described response protocol head comprises the operation response message of described main operation sign and its correspondence, and described main operation identifies corresponding described operational order.
In technique scheme, when described operational order comprises the child-operation order, described request agreement text also comprises the request protocol body, the described request protocol entity comprises child-operation sign and its corresponding operation requests information, described response protocol text also comprises the response protocol body, described response protocol body comprises the operation response message of described child-operation sign and its correspondence, and described child-operation identifies corresponding described child-operation order.By this programme, when obtaining the batch operation relevant information, can obtain the relevant information of the detail operation in the batch operation.
Fig. 2 is the block diagram of the device that communicates according to transmit leg of the present invention and recipient.
As shown in Figure 2, the device 200 that the present invention also provides a kind of transmit leg and recipient to communicate, comprise: sending module 202, the user is when described transmit leg input operation order, send request for the described recipient of described sending direction, described request comprises the request protocol text of corresponding described operational order; Receiver module 204, described recipient receives described request, and after carrying out described operational order, to described transmit leg, described response comprises the response protocol text of the implementation status of corresponding described operational order for described recipient's feedback response.By this programme, can realize communicating to connect of transmit leg and different recipients with a kind of universal mode.
In technique scheme, the described response protocol text that the described request agreement text that described sending module 202 sends and described receiver module 204 send all is described by the XML language.
In technique scheme, described sending module 202 sends described request based on the HTTP technology, and described receiver module 204 feeds back described response based on described HTTP technology.
In technique scheme, described request agreement text comprises the request protocol head, the described request protocol header comprises main operation sign and its corresponding operation requests information, described response protocol text comprises the response protocol head, described response protocol head comprises the operation response message of described main operation sign and its correspondence, and described main operation identifies corresponding described operational order.
In technique scheme, when described operational order comprises the child-operation order, described request agreement text also comprises the request protocol body, the described request protocol entity comprises child-operation sign and its corresponding operation requests information, described response protocol text also comprises the response protocol body, described response protocol body comprises the operation response message of described child-operation sign and its correspondence, and described child-operation identifies corresponding described child-operation order.By this programme, when obtaining the batch operation relevant information, can obtain the relevant information of the detail operation in the batch operation.
According to technical scheme of the present invention, can realize realizing being connected between the ERP system of enterprise and the multiple Net silver system with a kind of universal mode, and can clearly record transaction details between ERP system and the Net silver system.
Fig. 3 is the realization schematic diagram of the method that communicates of transmit leg according to an embodiment of the invention and recipient.
Agreement text in the present embodiment uses the XML language description, and be made up of two parts: protocol header and protocol entity, wherein, protocol entity can be sky under some scene.The implementation process that communicates between complete transmit leg and the recipient is followed the request model, be that transmit leg proposes a request, comprise the agreement text in this request, after same recipient receives request, returned to response that comprises the agreement text of requesting party.Note, realize that the technology of request model can be based on the technology of HTTP, but be not limited thereto, because the agreement body matter of the specific implementation technology that this model uses and transmission is irrelevant, as shown in Figure 3.
Below describe the agreement text in this fact Example for example, it is comprised by XML tag UFData, and is as follows:
<UFData>
The agreement text
</UFData>
The agreement text has comprised protocol header and protocol entity:
Protocol header is made up of several service fields, and is as follows:
<service fields 1〉value1</service fields 1 〉
<service fields 2〉value2</service fields 2 〉
Protocol entity be by a List mark comprise several (1 ... n) Row mark, can have in the Row mark several (1 ... n) service fields is formed, and is as follows:
<List>
<Row>
<service fields 3〉value3</service fields 3 〉
</Row>
<Row>
<service fields 3〉value4</service fields 3 〉
</Row>
</List>
Wherein, ellipsis ... show that this XML level element can have a plurality of.The Row mark is represented the implication of row, and service fields is represented the implication that is listed as namely can comprise a plurality of Row marks with identical services field mark in the protocol entity.
Wherein, service fields refers to the information relevant with concrete business, and the form of expression is key/value combination, and is as follows:
<key>value</key>
The key value of service fields, such as in protocol header or can only occur once in the Row mark of protocol entity an XML level, can not repeat, and the value value has then shown the particular content of the business information that this key is represented.At different application scenarioss, the content of service fields is different respectively, and the combination of these service fields has constituted the specific implementation of the present invention under the different application scene.
The request of Fig. 4 method that to be transmit leg according to an embodiment of the invention communicate with the recipient and the corresponding schematic diagram of response.
In the present embodiment, transmit leg is enterprise's ERP system, and the recipient is the bank net system.
As shown in Figure 4, enterprise's ERP system and Net silver system communication are when concluding the business, generate two kinds of transaction records of one " MainTransID " (main transaction ID) and a plurality of " ChTransID " (sub-transaction ID) and indicate, be organized as a packet, send request; When returning, a plurality of ChTransID when each " MainTransID " can comprise the transaction submission down, thus assurance enterprise account is returned the corresponding one by one of Transaction Information with bank.Wherein, " MainTransID " and relevant information thereof are arranged in protocol header, and a plurality of " ChTransID " and relevant information thereof are arranged in protocol entity.
And current already present other agreements, when concluding the business, has only main transaction ID and the s.m.p transaction ID, enterprise can't correspond to every detailed transaction according to the response message of returning, enterprise can only obtain to be whole batch process situation, but not every detailed trading processing situation, thereby influence the subsequent treatment of business event.
In the present embodiment, when ERP system is initiated, autonomous main transaction ID and the sub-transaction ID of generating, and preserve this record in this locality, be organized as above-mentioned agreement text format, submit service request to the bank net system, system handles by Net silver, return to the autonomous main transaction ID that generates and each sub-transaction ID when comprising former ERP system in the data of operation system and initiating transaction, carry out corresponding by these two kinds of transaction IDs with enterprise former record, thereby the final information of clear and definite each detailed transaction is avoided confusion, and avoids the subsequent affect to operation system.
In sum, according to technical scheme of the present invention, can realize the device of the method that a kind of side of sending and recipient communicate, by standardized agreement text format, effective isolation proprietary protocol, reduce Net silver application and development difficulty, improved the development efficiency of software enterprise, reduced the IT maintenance cost of enterprise; And the promptness and the accuracy that improve enterprise's accounting processing; Pet bank or e-Bank payment system provided professional suggestion and data format standard during technical scheme of the present invention also can be.
The above is the preferred embodiments of the present invention only, is not limited to the present invention, and for a person skilled in the art, the present invention can have various changes and variation.Within the spirit and principles in the present invention all, any modification of doing, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (2)

1. the method that communicates of a transmit leg and recipient is characterized in that, comprising:
Step 102, the user is when described transmit leg input operation order, and the described recipient of described sending direction sends request, and described request comprises the request protocol text of corresponding described operational order; And
Step 104, described recipient receives described request, and carries out described operational order, and feedback response is to described transmit leg then, and described response comprises the response protocol text of the implementation status of corresponding described operational order,
Described request agreement text and described response protocol text all are described by the XML language, and described transmit leg sends described request based on the HTTP technology, and described recipient feeds back described response based on described HTTP technology;
Wherein, described request agreement text comprises the request protocol head, the described request protocol header comprises main operation sign and its corresponding operation requests information, described response protocol text comprises the response protocol head, described response protocol head comprises the operation response message of described main operation sign and its correspondence, and described main operation identifies corresponding described operational order;
When described operational order comprises the child-operation order, described request agreement text also comprises the request protocol body, the described request protocol entity comprises child-operation sign and its corresponding operation requests information, described response protocol text also comprises the response protocol body, described response protocol body comprises the operation response message of described child-operation sign and its correspondence, and described child-operation identifies corresponding described child-operation order.
2. the device that communicates of a transmit leg and recipient is characterized in that, comprising:
Sending module, the user sends request for the described recipient of described sending direction when described transmit leg input operation order, and described request comprises the request protocol text of corresponding described operational order;
Receiver module, described recipient receives described request, and after carrying out described operational order, to described transmit leg, described response comprises the response protocol text of the implementation status of corresponding described operational order for described recipient's feedback response,
The described response protocol text that the described request agreement text that described sending module sends and described receiver module send all is described by the XML language, described sending module sends described request based on the HTTP technology, and described receiver module feeds back described response based on described HTTP technology;
Wherein, described request agreement text comprises the request protocol head, the described request protocol header comprises main operation sign and its corresponding operation requests information, described response protocol text comprises the response protocol head, described response protocol head comprises the operation response message of described main operation sign and its correspondence, and described main operation identifies corresponding described operational order;
When described operational order comprises the child-operation order, described request agreement text also comprises the request protocol body, the described request protocol entity comprises child-operation sign and its corresponding operation requests information, described response protocol text also comprises the response protocol body, described response protocol body comprises the operation response message of described child-operation sign and its correspondence, and described child-operation identifies corresponding described child-operation order.
CN2010102213108A 2010-06-29 2010-06-29 Method and device for communication of sender and receiver Active CN101895573B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2010102213108A CN101895573B (en) 2010-06-29 2010-06-29 Method and device for communication of sender and receiver

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2010102213108A CN101895573B (en) 2010-06-29 2010-06-29 Method and device for communication of sender and receiver

Publications (2)

Publication Number Publication Date
CN101895573A CN101895573A (en) 2010-11-24
CN101895573B true CN101895573B (en) 2013-09-11

Family

ID=43104638

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2010102213108A Active CN101895573B (en) 2010-06-29 2010-06-29 Method and device for communication of sender and receiver

Country Status (1)

Country Link
CN (1) CN101895573B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101556683A (en) * 2009-05-21 2009-10-14 中国建设银行股份有限公司 Financial service system and implementation method
CN101557350A (en) * 2009-05-21 2009-10-14 中国建设银行股份有限公司 Data exchange method, data exchange module and service access system
CN101739652A (en) * 2008-11-21 2010-06-16 北京易路联动技术有限公司 Method, system and equipment for managing and using Internet personal data bank identifier

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050259673A1 (en) * 2004-05-18 2005-11-24 Axalto Inc. Method and system for end-to-end communication between a universal integrated circuit card and a remote entity over an IP-based wireless wide area network and the internet

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101739652A (en) * 2008-11-21 2010-06-16 北京易路联动技术有限公司 Method, system and equipment for managing and using Internet personal data bank identifier
CN101556683A (en) * 2009-05-21 2009-10-14 中国建设银行股份有限公司 Financial service system and implementation method
CN101557350A (en) * 2009-05-21 2009-10-14 中国建设银行股份有限公司 Data exchange method, data exchange module and service access system

Also Published As

Publication number Publication date
CN101895573A (en) 2010-11-24

Similar Documents

Publication Publication Date Title
US7506072B2 (en) Web browser as web service server in interaction with business process engine
TW576982B (en) Programmatic management of software resources in a content framework environment
US7343554B2 (en) Mechanisms for supporting back button function of web browser as web service server in interaction with business process engine
US20060031750A1 (en) Web browser as web service server
US20170103163A1 (en) System and Method for a Cloud Enabled Health Record Exchange Engine
JP6795531B2 (en) API adapter, API adapter creation method, and program
US20010027420A1 (en) Method and apparatus for capturing transaction data
CN108765113A (en) A kind of examination of invoice, reimbursement, management system
EP2669802A1 (en) Facilitating communication between enterprise software applications
CN101689210A (en) Gathering and search are from the profile data of a plurality of services
CN101378403A (en) System and method for processing resource notification based on aggregation
CN107194674A (en) A kind of intelligent distribution scheduling system based on item business rule
CN101286953A (en) Medical system information integration platform
US7933785B2 (en) Real-time benefits service marketplace
CN103220343B (en) Big data multi-system retransmission method
CN101087265B (en) Method and system for communicating with mobile terminal via Email processing system
CN202798801U (en) Universal communication system for achieving distributed data interaction
CN101895573B (en) Method and device for communication of sender and receiver
KR100377189B1 (en) System and method for data exchange between workflow system and applications
CN104333515B (en) A kind of SWIFT message processing methods and device
CN103731342A (en) Instant message based workflow management system and management method
WO2012061028A1 (en) Capturing provenance data within heterogeneous distributed communications systems
Haines et al. Service-oriented architecture adoption patterns
Kuno et al. A lightweight dynamic conversation controller for e-services
Shan et al. Systematic interaction management in a workflow view based business-to-business process engine

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C56 Change in the name or address of the patentee

Owner name: YONYOU NETWORK TECHNOLOGY CO., LTD.

Free format text: FORMER NAME: UFIDA SOFTWARE CO., LTD.

CP03 Change of name, title or address

Address after: 100094 Haidian District North Road, Beijing, No. 68

Patentee after: Yonyou Network Technology Co., Ltd.

Address before: 100094 Beijing city Haidian District North Road No. 68, UFIDA Software Park

Patentee before: UFIDA Software Co., Ltd.