CN106095347B - A kind of voucher beats again system and method - Google Patents

A kind of voucher beats again system and method Download PDF

Info

Publication number
CN106095347B
CN106095347B CN201610395909.0A CN201610395909A CN106095347B CN 106095347 B CN106095347 B CN 106095347B CN 201610395909 A CN201610395909 A CN 201610395909A CN 106095347 B CN106095347 B CN 106095347B
Authority
CN
China
Prior art keywords
voucher
query argument
response message
application
database
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
CN201610395909.0A
Other languages
Chinese (zh)
Other versions
CN106095347A (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.)
China Construction Bank Corp
Original Assignee
China Construction Bank Corp
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 China Construction Bank Corp filed Critical China Construction Bank Corp
Priority to CN201610395909.0A priority Critical patent/CN106095347B/en
Publication of CN106095347A publication Critical patent/CN106095347A/en
Application granted granted Critical
Publication of CN106095347B publication Critical patent/CN106095347B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1202Dedicated interfaces to print systems specifically adapted to achieve a particular effect
    • G06F3/1203Improving or facilitating administration, e.g. print management
    • G06F3/1205Improving or facilitating administration, e.g. print management resulting in increased flexibility in print job configuration, e.g. job settings, print requirements, job tickets
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1202Dedicated interfaces to print systems specifically adapted to achieve a particular effect
    • G06F3/121Facilitating exception or error detection and recovery, e.g. fault, media or consumables depleted

Abstract

The invention discloses a kind of vouchers to beat again system and method, wherein, the system comprises: application, voucher beat again device and database, wherein, the application includes: the first sending module, query argument and the first receiving module are sent for beating again device to voucher, the response message of device return is beaten again for receiving voucher;It includes: the second receiving module that the voucher, which beats again device, for receiving using the query argument sent, enquiry module, for inquiring database according to query argument to obtain response message corresponding with query argument, with the second sending module, for response message to be returned to application;The database purchase has query argument and response message corresponding with query argument.Using the present invention, the function that overlapping development/integrated voucher in different application beats again device can be avoided, realize that voucher beats again the enterprise-level multiplexing of function, while meeting the personalized designs demand of different application itself.

Description

A kind of voucher beats again system and method
Technical field
The present invention relates to data processing fields, more particularly, it is related to a kind of voucher and beats again system and method.
Background technique
Teller is during transacting business, it is possible that the scenes such as the damage of printing receipt or no marking business receipt, bank Regulatory requirements transaction receipt can be traced and inquire, once there is situations such as receipt damage no marking, it is necessary to technological means can be passed through It is critical to usually give transaction receipt for change according to transaction, allows to beat again receipt.
In existing application item, entirely according to the business characteristic of oneself, voucher is beaten again into function and is incorporated into oneself Service logic in realized.This mode has the disadvantage that
1) each application, which has, respectively realizes that voucher beats again the implementation method of function, and each implementation method is different, item It can not be multiplexed between mesh;
2) voucher beats again function and application item close-coupled, and the degree of coupling is high, and partition is difficult.
3) implementation applied is not flexible, for the individual demand that business proposes, needs constantly to modify code.
Summary of the invention
In view of the drawbacks described above of the prior art, embodiment of the present invention provides a kind of voucher and beats again system and method, energy Enough avoid in different application overlapping development/integrated voucher from beating again the function of device, realize voucher beat again function enterprise-level it is multiple With, while meeting the personalized designs demand of different application itself.
Specifically, embodiment of the present invention provides a kind of voucher and beats again system comprising: application, voucher beat again device And database, wherein
The application includes:
First sending module sends query argument for beating again device to the voucher, and
First receiving module beats again the response message of device return for receiving the voucher;
The voucher beats again device
Second receiving module, the query argument sent for receiving the application,
Enquiry module obtains corresponding with the query argument described for inquiring database according to the query argument Response message,
Second sending module, for the response message to be returned to the application;
The database purchase has the query argument and the response message corresponding with the query argument.
Correspondingly, embodiment of the present invention additionally provides a kind of voucher and beats again method comprising:
Device, which is beaten again, to voucher by application sends query argument;
Device is beaten again by the voucher, the corresponding sound of the database acquisition query argument is inquired according to the query argument Answer message, wherein the database purchase has the query argument and the response message corresponding with the query argument;
Device is beaten again by the voucher, and the response message is returned into the application.
Using embodiment of the present invention, device is beaten again by special voucher to realize the inquiry of response message, so that with Card is beaten again device and be can be applied in different applications, avoids overlapping development/integrated voucher in different application and beats again device Function, realize voucher beat again function enterprise-level multiplexing.Further, since voucher, which beats again function, beats again device 20 in fact by voucher Now without being integrated in application and not limited by application, therefore, the personalized designs demand of different application itself can satisfy.
Detailed description of the invention
Fig. 1 is an example for the block diagram that a kind of voucher according to an embodiment of the present invention beats again system;
Fig. 2 is an example for the block diagram that voucher shown in Fig. 1 beats again application in system;
Fig. 3 is another example for the block diagram that a kind of voucher according to an embodiment of the present invention beats again system;
Fig. 4 is the flow diagram that a kind of voucher according to an embodiment of the present invention beats again method.
Specific embodiment
The various aspects of technical solution, feature and advantage to facilitate the understanding of the present invention, with reference to the accompanying drawing to this hair It is bright to be specifically described.It should be appreciated that following various embodiments are served only for for example, and is not intended to limit the present invention Protection scope.
Fig. 1 is an example for the block diagram that a kind of voucher according to an embodiment of the present invention beats again system.Referring to Fig.1, institute Stating system includes beating again device 20 and database 30 using 10, voucher.It is illustrated separately below.
It in the present embodiment, include the first sending module 101 and the first receiving module 102 using 10.Wherein, it first sends Module 101 is used to beat again device 20 to the voucher and sends query argument, and the first receiving module 102 is for receiving the voucher weight Beat the response message that device returns.Illustratively, the query argument can be and the one-to-one clobal of response message Tracking number.
Optionally, in a kind of implementation of the present embodiment, application 10 can be some operation system of bank, such as Credit card system, cash management system, insurance agency system etc..
In the present embodiment, it includes: the second receiving module 201 that voucher, which beats again device 20, for receiving 10 hair of application The query argument sent;Enquiry module 202, for inquiring database 30 according to the query argument to obtain and the inquiry The corresponding response message of parameter;Second sending module 203 described applies 10 for returning to the response message.
In the present embodiment, database 30 is stored with the query argument and the response corresponding with the query argument Message.
Using system provided by the invention, device 20 is beaten again to realize the inquiry of response message by special voucher, is made Voucher is beaten again device and be can be applied in different applications, avoid overlapping development/integrated voucher in different application and beat again The function of device can be realized the enterprise-level multiplexing that voucher beats again function.Further, since voucher, which beats again function, beats again dress by voucher 20 realizations are set without being integrated in application and not limited by application, therefore, the personalized designs that can satisfy different application itself need It asks.
Optionally, in a kind of implementation of the present embodiment, the voucher is beaten again device 20 and is configured in a manner of pluggable In podium level, for example, being configured at P8 platform (China Construction Bank's new generation product component J2EE platform).In other words, voucher weight It beats device 20 and application is located at podium level and application layer, it is this voucher is beaten again into function to separate and be configured at platform with applying The design of layer, is conducive to voucher and beats again multiplexing of the device in different application.
Optionally, in a kind of implementation of the present embodiment, as shown in Fig. 2, using 10 in addition to including the first transmission mould It further include request processing module 103 and respond module 104 except block 101 and the first receiving module 102.Wherein, request processing mould Block 103 is used to beat again request according to the voucher that requesting party sends, and (for example, when the type service in request message is 4, indicating should Request is that voucher beats again request, and voucher is needed to beat again) determine the query argument, institute is extracted for example, beating again in request from voucher The relevant information stating query argument or being beaten again in request according to voucher produces the query argument.Respond module 104 is used for will The response message that the voucher beats again the return of device 20 returns to the requesting party.Illustratively, the requesting party can be page Face.
It is a kind of in the prior art, apply after receiving voucher and beating again request, need by message adaptation processor pair The message received formats (for example, object that the request message of XML format is converted to service internal adjustable), The process belongs in transaction than relatively time-consuming operation.And this implementation is used, from the perspective of application itself, apply After receiving request message, the response message got is directly returned without entering message adaptation processor, thus The response time of transaction can effectively be promoted.
Optionally, in a kind of implementation of the present embodiment, voucher beats again device 20 further include: update module is used for It is beaten again after device 20 inquires the response message in the voucher, updates the voucher recorded in the database and beat again number, In order to inquire.
Optionally, in a kind of implementation of the present embodiment, it can establish the voucher weight of following format in database 30 Play table:
Field name English name Type Major key
Clobal tracking number SYS_EVT_TRACE_ID char(25) It is
Type of transaction mark TX_TYPE char(1) It is
Son transaction serial number SYS_SND_SERIAL_NO char(10) It is
Multiple entity mark MULTI_TENANCY_ID char(5) It is
Response message Rsp_MsgRp_Inf BLOB It is no
Voucher reprints number Vchr_RePrt_Cnt NUMBER(4) It is no
Timestamp Tms Timestamp(3) It is no
Illustratively, the major key of the table can be clobal tracking number, type of transaction mark, sub- transaction serial number, mostly real The joint major key of body mark.
Fig. 3 is another example for the block diagram that a kind of voucher according to an embodiment of the present invention beats again system, reference Fig. 3, Include except module shown in Fig. 2 using 10 processing, further includes pre-processing module 105 and post-processing module 106.Wherein, preceding place Reason module 105, which is used to handle the voucher according to the processing mode that can customize of pre-configuration, beats again request;Post-processing module 106 For handling the response message according to the processing mode that can customize of pre-configuration.
In a kind of specific embodiment of the present embodiment, " processing mode that can customize of pre-configuration " can pass through Following manner is realized: the interface method for the interface class that application is provided by realization podium level, by the way that in configuration file, configuration should It realizes the corresponding title of class, the pre-treating method or post-processing approach of concrete kind can be called at runtime in this way.This connects The ginseng that enters of mouth method is the object to be saved to database.Pre-treatment (that is, processing performed by pre-processing module 105) and rear place The purpose of design for managing (that is, processing performed by post-processing module 106), mainly meets the individual demand of different application, than Such as in credit card system, needs to record the flowing water information of transaction in preceding processing into database, in post-processing, need more The state of new flowing water information;And in cash management system, need in preceding processing, insertion the specific trade date of database and Time field does not do any special operation in post-processing.
Existing differentiated demand between different application can satisfy using the present embodiment, there is better flexibility.
Optionally, in a kind of implementation of the present embodiment, as shown in dotted line frame in Fig. 3, application 10 can also include Transaction modules, for executing trading processing and storing transaction related information to database.The detailed process of transaction may include: Transaction access;Transaction executes;Interface is handled before saving voucher and calling, using personalized can saving content, personalized add Setting;Global follow number, sub- transaction serial number, response message are obtained, response message is saved in database;After saving voucher Post-process interface is called, application can do the individual operations such as some cleanings;Return to transaction results.Wherein, and for voucher weight Play the processing requested similarly, application can pass through the pre-treatment interface class/post-process interface class interface side for realizing that platform provides Method configures corresponding realization class name in configuration file, and platform is by the name, the method for calling corresponding application to realize, To complete pre-treatment/post-processing calling.Mainly two kinds of the success and failure of pre-treatment/post-processing call result, if It is successful then carry out subsequent operation;Illustrate to go wrong if failure, exits treatment process.
Using can be during trading processing, by related data (the response report including beating again request for responding voucher Text) it saves into database.
Fig. 4 is the flow diagram that a kind of voucher according to an embodiment of the present invention beats again method, referring to Fig. 3, the method Include:
400: device being beaten again to voucher by application and sends query argument.The query argument can be and be stored in database In the one-to-one clobal tracking number of relevant response message.
402: it is corresponding according to the query argument inquiry database acquisition query argument that device being beaten again by the voucher Response message.Wherein, the database purchase has the query argument and the response report corresponding with the query argument Text.
404: device being beaten again by the voucher, the response message is returned into the application.
Using method provided in this embodiment, the function that overlapping development in different application/integrated voucher beats again device is avoided Can, realize the enterprise-level multiplexing that voucher beats again function.Further, since voucher beat again function by voucher beat again device realize without It is integrated in application and is not limited by application, therefore, can satisfy the individual demand of different application itself.
Optionally, in a kind of implementation of the present embodiment, the voucher is beaten again device and is configured in a manner of pluggable In podium level.
Optionally, in a kind of implementation of the present embodiment, the method also includes: by the application according to requesting party The voucher of transmission beats again request and determines the query argument, and the voucher is beaten again to the response of device return by the application Message returns to the requesting party.
Optionally, in a kind of implementation of the present embodiment, the method also includes: by the application according to pre-configuration The processing mode that can customize handle the voucher and beat again request and the response message.
Optionally, in a kind of implementation of the present embodiment, the method also includes: it is traded by the application execution It handles and stores transaction related information to the database.
Optionally, in a kind of implementation of the present embodiment, the method also includes: device is beaten again by the voucher and is existed After inquiring the response message, updates the voucher recorded in the database and beat again number.
Optionally, in a kind of implementation of the present embodiment, the executable file includes shell script.
It will be appreciated by those skilled in the art that method and system provided by the invention, the application especially suitable for enterprise-level And development platform.
It should also be appreciated by one skilled in the art that beating again system by using voucher provided by the invention, this may be implemented The voucher that invention provides beats again method, and the exactly voucher that voucher provided by the invention beats again method reflection beats again system Logical process process beats again the process that system progress voucher is beaten again using voucher.The two is technically associated, therefore, Specific processing or optional processing in embodiment of the method, about the explanation of related terms, term, range, about each step Illustrate, and about each embodiment or implementation attainable beneficial effect explanation, refer in system embodiment Respective description, details are not described herein again.
Through the above description of the embodiments, those skilled in the art can be understood that the present invention can be by The mode of software combination hardware platform is realized.Based on this understanding, technical solution of the present invention makes tribute to background technique That offers can be embodied in the form of software products in whole or in part, which can store is situated between in storage In matter, such as ROM/RAM, magnetic disk, CD, including some instructions use is so that a computer equipment (can be individual calculus Machine, server or network equipment etc.) execute method described in certain parts of each embodiment of the present invention or embodiment.
Skilled person should be appreciated that disclosed above is only embodiments of the present invention, certainly cannot be with This interest field to limit the present invention still belongs to the claims in the present invention institute according to equivalent variations made by embodiment of the present invention The range covered.

Claims (10)

1. a kind of voucher beats again system, which is characterized in that the system comprises: apply, be configured at the voucher of podium level to beat again dress It sets and database, wherein
The application includes:
First sending module sends query argument for beating again device to the voucher,
First receiving module beats again the response message of device return for receiving the voucher,
Request processing module, the voucher for being sent according to requesting party beat again request and determine the query argument,
Respond module, the response message for the voucher to be beaten again device return return to the requesting party,
Pre-processing module handles the voucher for the processing mode that can customize according to pre-configuration and beats again request, and
Post-processing module, for handling the response message according to the processing mode that can customize of pre-configuration;
The voucher beats again device
Second receiving module, the query argument sent for receiving the application,
Enquiry module, for inquiring database according to the query argument to obtain the response corresponding with the query argument Message,
Second sending module, for the response message to be returned to the application;
The database purchase has the query argument and the response message corresponding with the query argument.
2. the system as claimed in claim 1, which is characterized in that the query argument includes:
With the one-to-one clobal tracking number of the response message.
3. the system as claimed in claim 1, which is characterized in that the voucher is beaten again device and is configured at platform in a manner of pluggable Layer.
4. system as claimed in any one of claims 1-3, which is characterized in that the application further include:
Transaction modules, for executing trading processing and storing transaction related information to the database.
5. system as claimed in any one of claims 1-3, which is characterized in that the voucher beats again device further include:
Update module is updated and is recorded in the database for beating again after device inquires the response message in the voucher Voucher beat again number.
6. a kind of voucher beats again method, which is characterized in that the described method includes:
Device, which is beaten again, to the voucher for being configured at podium level by application sends query argument;
Device is beaten again by the voucher, the corresponding response report of the database acquisition query argument is inquired according to the query argument Text, wherein the database purchase has the query argument and the response message corresponding with the query argument;
Device is beaten again by the voucher, and the response message is returned into the application;
Request is beaten again according to the voucher that requesting party sends by the application and determines the query argument, and
The response message that the voucher beats again device return is returned into the requesting party by the application;
The voucher is handled according to the processing mode that can customize of pre-configuration by the application and beats again request and response report Text.
7. method as claimed in claim 6, which is characterized in that the query argument includes:
With the one-to-one clobal tracking number of the response message.
8. method as claimed in claim 6, which is characterized in that the voucher beat again device be configured in a manner of pluggable it is flat Platform layer.
9. method a method according to any one of claims 6-8, which is characterized in that the method also includes:
It stores by the application execution trading processing and by transaction related information to the database.
10. method a method according to any one of claims 6-8, which is characterized in that the method also includes:
Device is beaten again after inquiring the response message by the voucher, the voucher recorded in the database is updated and beats again time Number.
CN201610395909.0A 2016-06-07 2016-06-07 A kind of voucher beats again system and method Active CN106095347B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610395909.0A CN106095347B (en) 2016-06-07 2016-06-07 A kind of voucher beats again system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610395909.0A CN106095347B (en) 2016-06-07 2016-06-07 A kind of voucher beats again system and method

Publications (2)

Publication Number Publication Date
CN106095347A CN106095347A (en) 2016-11-09
CN106095347B true CN106095347B (en) 2019-04-26

Family

ID=57447846

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610395909.0A Active CN106095347B (en) 2016-06-07 2016-06-07 A kind of voucher beats again system and method

Country Status (1)

Country Link
CN (1) CN106095347B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111179062B (en) * 2019-12-31 2023-07-28 中国银行股份有限公司 Certificate repair method and device
CN111562893A (en) * 2020-04-30 2020-08-21 中国银行股份有限公司 Reprinting method and device
CN111679799B (en) * 2020-06-08 2023-09-22 中国银行股份有限公司 Certificate printing method and device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103886491A (en) * 2014-02-28 2014-06-25 浪潮软件集团有限公司 Mobile phone network invoice system based on IOS operating system
CN103914930A (en) * 2013-01-07 2014-07-09 上海博路信息技术有限公司 POS terminal system based on mobile payment and implementation method thereof

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2001089838A1 (en) * 2000-05-24 2001-11-29 Silverbrook Research Pty. Ltd. Printed page tag encoder

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103914930A (en) * 2013-01-07 2014-07-09 上海博路信息技术有限公司 POS terminal system based on mobile payment and implementation method thereof
CN103886491A (en) * 2014-02-28 2014-06-25 浪潮软件集团有限公司 Mobile phone network invoice system based on IOS operating system

Also Published As

Publication number Publication date
CN106095347A (en) 2016-11-09

Similar Documents

Publication Publication Date Title
CN109102285B (en) Supply chain finance realization method based on block chain double-chain structure and control system thereof
US20170200147A1 (en) System and the computer methods of issuing, transferring and manipulating value or gift cards using blockchain technology
CN110363665B (en) Credit right data processing method, device, equipment and medium
US20190236604A1 (en) System and method for verifying retail returns using blockchain
US20170214522A1 (en) System and process for tokenization of digital media
CN107657420A (en) A kind of flow path processing method and system based on event
CN107301229B (en) Feedback assigning method and system based on semantic analysis
CN106095347B (en) A kind of voucher beats again system and method
JP2005530234A (en) Integrated electronic invoice issuance and payment system and method
JP2003006440A5 (en)
CN109643415A (en) Trade management technology
CN111598679B (en) Block chain-based multi-law person-to-person combined loan method, system and medium
KR102600645B1 (en) Cancelable transfer method for cryptocurrency
CN104077362A (en) Online mass data processing system and method
WO2020088175A1 (en) Transaction method and device for business account
CN110046868A (en) A kind of method and apparatus handling msu message
CN109146488A (en) Assets match method, assets match system, equipment and storage medium
KR102136976B1 (en) Service method for tokenization mobile gift card and service provider thereof
CN109670943A (en) A kind of settlement system, method, computer equipment and storage medium
CN111125786A (en) Bond distribution data storage method, device and system based on block chain
CN110503436A (en) The payment message processing method and system of image file are transmitted by SWIFT
CN110210934A (en) Management system of inviting and submitting bids and method
CN110009476A (en) A kind of method and apparatus handling application of making loans
CN109191162A (en) Information processing method, system, device and storage medium
CN111311360B (en) Resource refund method and device, storage medium and electronic device

Legal Events

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