CN109816359A - A kind of service calling method and system - Google Patents
A kind of service calling method and system Download PDFInfo
- Publication number
- CN109816359A CN109816359A CN201910147992.3A CN201910147992A CN109816359A CN 109816359 A CN109816359 A CN 109816359A CN 201910147992 A CN201910147992 A CN 201910147992A CN 109816359 A CN109816359 A CN 109816359A
- Authority
- CN
- China
- Prior art keywords
- transaction
- information
- server
- transaction message
- help terminal
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Abstract
The present invention provides a kind of service calling method and system, is related to field of information interaction.This method comprises: finance self-help terminal receives the transaction request of user's input;Corresponding transaction message template is called according to the type of transaction in transaction request;Finance self-help terminal obtains corresponding Transaction Information according to transaction message template;Corresponding transaction message is generated according to Transaction Information, and transaction message is sent to server-side;The returned packet that server-side issues is received, and obtains control information from returned packet according to transaction message template;Transaction request is executed according to the control information.According to transaction message template, the acquisition of Transaction Information is realized, and generate transaction message, be sent to server-side.The returned packet that finance self-help terminal is obtained from server-side reads the control information in returned packet according to transaction message template.When needing newly-increased application function, by increasing transaction message template newly, is read according to transaction message template and transmission instructs the quick use, it can be achieved that newly-increased application.
Description
Technical field
The present invention relates to field of information interaction, in particular to a kind of service calling method and system.
Background technique
Self-help charging may be implemented by finance self-help terminal in people, transfers accounts, remittance, the business such as withdraw cash.Finance self-help is whole
The birth at end, people are not limited to do financial business in bank outlets, and time and efforts is greatly saved for people in this.
The terminal of the unlike signal of the even same manufacturer of manufacturer's difference of existing finance self-help terminal is right respectively
Answer different self-aided terminal programs.In the finance self-help terminal of the prior art, need to increase new application function, Huo Zhegeng
The hardware renewed can all cause the firmware version of finance self-help terminal that can not be compatible with, it is necessary to pass through firmware updating version, Cai Nengbao
The normal work for demonstrate,proving finance self-help terminal, since the process of firmware version upgrade is complex, to reduce finance self-help end
The service efficiency at end.
Summary of the invention
It is an object of the present invention in view of the deficiency of the prior art, a kind of service calling method and system are provided,
To solve self-help terminal equipment newly-increased in application, program needs to develop again, and the problem that the program development period is long.
To achieve the above object, technical solution used in the embodiment of the present invention is as follows:
In a first aspect, the embodiment of the invention provides a kind of service calling methods, comprising: finance self-help terminal receives user
The transaction request of input;The finance self-help terminal calls corresponding transaction message according to the type of transaction in the transaction request
Template;The transaction message template includes the corresponding default parameter transaction of the type of transaction;The finance self-help terminal according to
The transaction message template obtains corresponding Transaction Information;The Transaction Information is the corresponding real trade number of the type of transaction
According to;The finance self-help terminal generates corresponding transaction message according to the Transaction Information, and the transaction message is sent to
Server-side, the transaction message include the Transaction Information;The finance self-help terminal receives the return that the server-side issues
Message, and the returned packet content is parsed according to the transaction message template, obtain control information;The finance self-help terminal
The transaction request is executed according to the control information.
The possible implementation of with reference to first aspect the first, it is in the second possible implementation, described
Finance self-help terminal generates corresponding transaction message according to the Transaction Information, and the transaction message is sent to server-side,
It include: the Transaction Information that the finance self-help terminal receives user's input;The finance self-help terminal is according to the transaction
Information generates corresponding transaction message;The finance self-help terminal carries out encryption to the transaction message and obtains ciphertext.
Optionally, the finance self-help terminal generates corresponding transaction message according to the Transaction Information, by the transaction
Message is sent to after server-side, comprising: the server-side verifies the ciphertext by the first preset condition;If verifying successfully,
The Transaction Information in the transaction message is then obtained, generates the returned packet after honouring transaction.
Optionally, the Transaction Information includes following one or more any combination: type of transaction, transaction amount, magnetic
Information and chip information.
Optionally, the Transaction Information includes: ciphertext password;It is described the transaction message is sent to server-side after,
It include: the server-side according to the transaction message acquisition ciphertext password;The server-side is according to the second preset condition school
The ciphertext password is tested, check results are obtained.
Second aspect, the embodiment of the invention also provides a kind of service calling system, the service calling system includes gold
Melt self-aided terminal and server-side, the finance self-help terminal and the server-side communication connection, the finance self-help terminal includes:
First obtains module, the first generation module and execution module;Described first obtains module, and the transaction for receiving user's input is asked
It asks;Corresponding transaction message template is called according to the type of transaction in the transaction request;The transaction message template includes institute
State the corresponding default parameter transaction of type of transaction;Corresponding Transaction Information is obtained according to the transaction message template;The transaction
Information is the corresponding real trade data of the type of transaction;First generation module, for raw according to the Transaction Information
Server-side is sent at corresponding transaction message, and by the transaction message;The transaction message includes the Transaction Information;Institute
The first acquisition module is stated, is also used to receive the returned packet that the server-side issues, and parse according to the transaction message template
Returned packet content obtains control information;The execution module, for executing the transaction request according to the control information.
Optionally, the finance self-help terminal further include: encrypting module;The encrypting module, for being reported to the transaction
Text carries out encryption and obtains ciphertext.
Optionally, the server-side includes: correction verification module and the second generation module;The correction verification module, for passing through the
One preset condition verifies the ciphertext;Second generation module, for obtaining the Transaction Information in the transaction message,
The returned packet is generated after honouring transaction.
Optionally, the Transaction Information includes following one or more any combination: type of transaction, transaction amount, magnetic
Information and chip information.
Optionally, the Transaction Information includes: ciphertext password;Further include: second obtains module;Described second obtains mould
Block, for obtaining the ciphertext password according to the transaction message;The correction verification module is also used to the second preset condition verification institute
Ciphertext password is stated, check results are obtained.
The beneficial effects of the present invention are: using the corresponding transaction message template of type of transaction according to type of transaction.According to friendship
Parameter in easy message template, obtains corresponding real trade data, and server-side will be sent to by way of transaction message.
Similar, the returned packet that server-side is sent reads the Transaction Information in transaction message according to the parameter of transaction message template.?
It needs newly-increased in application, the time of program development can be saved, fastly by modifying or increasing newly corresponding transaction message template
Speed realizes the use of self-help terminal equipment.
Detailed description of the invention
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below will be to needed in the embodiment attached
Figure is briefly described, it should be understood that the following drawings illustrates only certain embodiments of the present invention, therefore is not construed as pair
The restriction of range for those of ordinary skill in the art without creative efforts, can also be according to this
A little attached drawings obtain other relevant attached drawings.
Fig. 1 is the partial structure diagram for the finance self-help terminal system that one embodiment of the application provides;
Fig. 2 is the service calling method flow diagram that one embodiment of the application provides;
Fig. 3 is the service calling method flow diagram that another embodiment of the application provides;
Fig. 4 is the service calling method flow diagram that the another embodiment of the application provides;
Fig. 5 is the application finance self-help terminal and server-side Signalling exchange schematic diagram;
Fig. 6 is the service calling method flow diagram that the another embodiment of the application provides;
Fig. 7 is the finance self-help terminal structure schematic diagram for the service calling system that one embodiment of the application provides;
Fig. 8 is the finance self-help terminal structure schematic diagram for the service calling system that another embodiment of the application provides;
Fig. 9 is the server-side structural schematic diagram for the service calling system that one embodiment of the application provides;
Figure 10 is the server-side structural schematic diagram for the service calling system that another embodiment of the application provides.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention
In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is
A part of the embodiment of the present invention, instead of all the embodiments.
It is illustrated below for finance self-help terminal system of the present invention, specifically, Fig. 1 is the implementation of the application one
The partial structure diagram for the finance self-help terminal system that example provides, as shown in Figure 1, finance self-help terminal system includes: finance
Self-aided terminal and server-side.
A kind of possible implementation of finance self-help terminal is given below, with continued reference to Fig. 1, the finance self-help terminal packet
It includes: card reader 101, code keyboard 102, memory 103, first processor 104 and the first communication interface 105.
Card reader 101 reads user's bank card information, and the bank card information of reading is sent to first processor 104.
Wherein, user's bank card can be with are as follows: magnetic stripe card, chip card.
User inputs user password on code keyboard 102, is encrypted user password by key, and will encryption
Password afterwards is sent to first processor 104.
With continued reference to Fig. 1, which includes: the second communication interface 201 and second processor 202.
Second communication interface 201 is used to carry out communication connection with server-side.Second processor 202, for handling finance certainly
Help the transaction message of terminal transmission for example: the ciphertext in transaction message is decrypted in the information in checkout transaction message;Also
For sending returned packet according to transaction message, control finance self-help terminal executes customer transaction request.
Finance self-help terminal and server-side are communicated by the first communication interface 105 and the second communication interface 201.Finance
It can be communicated using special line or public network mode between self-aided terminal and server-side.Wherein private-line mode needs on physical link
It is communicated by the way of wired connection, for example, DSL (Digital Subscriber Line, digital subscriber line), light
The wired connection modes such as fibre;Public network communication mode can also use wireless side on physical layer other than Wired access mode
Formula is communicated, such as the modes such as Wi-Fi, cellular network.And in order to construct correspondingly network system, it is gone back in the scheme of the application
It should include other necessary network nodes, for example, gateway, interchanger, access device etc., it will not go into details herein.For example, with user
For financial operation based on bank card, referring to Fig. 1, the received bank card information of first processor 104, password and user are defeated
Server-side is sent to by the first communication interface 105 after the data encryptions such as the transaction request entered.Server-side is connect by the second communication
Mouth 201 receives encrypted data, and encrypted data are decrypted and are verified by second processor 202, according to check results
Control information is generated, and control information is sent to finance self-help terminal by the second communication interface 201, finance self-help terminal is logical
It crosses the first communication interface 105 and obtains control information.The processing control information of first processor 104 of finance self-help terminal, finance is certainly
Terminal is helped to execute user's request according to the control information.
In some scenes, optionally, other interactive devices can also be set in the finance self-help terminal, it is defeated for user
Enter control request.For example, the equipment such as touch screen, scanner.
For example, user when using finance self-help terminal transaction, can pass through two dimensional code on displaying mobile terminal, scanner
Scan the two dimensional code, and scanning result be sent to first processor 104, first processor 104 according to two dimensional code coding
Rule parsing two dimensional code identifies User ID (iDentity, identity number).First communication interface 105 by User ID with
And Transaction Information sends server-side to, server-side receives User ID, 202 basis of second processor by the second communication interface 201
User ID finds corresponding user, is handled and is traded according to Transaction Information.
Touch screen is for showing that user inputs information.User can also be inputted by touch screen.
A kind of service calling method is shown below in finance self-help terminal system based on above-mentioned offer, realizes finance certainly
The information exchange between terminal and server-side is helped, Fig. 2 is the service calling method flow diagram that one embodiment of the application provides,
As shown in Fig. 2, this method comprises:
S201, finance self-help terminal receive the transaction request of user's input.
Specifically, the transaction request can be with are as follows: withdrawal transaction, money transfer transactions, inquiry into balance transaction etc..
S202, finance self-help terminal call corresponding transaction message template according to the type of transaction in transaction request.Wherein,
Transaction message template includes the corresponding default parameter transaction of type of transaction.
By taking type of transaction is withdrawal transaction as an example, the corresponding transaction message template of withdrawal transaction, the transaction message mould are called
Plate has preset the parameter transaction to be used of withdrawal transaction.Such as the default parameter transaction includes: account, password, the amount of money, remaining sum
Deng.
Optionally, transaction message template content can be realized by way of safeguarding relation table, as shown in table 1, " position " table
Show that domain serial number, transaction message template content are 0 to 63 total 64 domains, a parameter transaction is preset in each domain, each default friendship
There are multiple data in easy parameter.The maximum length that domain where " attribute " indicates is supported.Information lattice where " type " indicates in domain
Formula, for example, this transaction message template is on the self-help terminal equipment of service provider, then type supports the clothes of all formats
The specification of business provider setting." request " and " response " indicates whether the domain needs to send to server-side, or under server-side
It is read in the returned packet of hair, optionally, when the value of " request " or " response " is M, it is necessary to above send or issue;When " request "
Or the value of " response " be C when, it is nonessential on send or issue.The value of " if request " or " response " is M, sent out to server-side
When delivering newspaper text (i.e. group packet) or returned packet (unpacking) that reading service end is sent, corresponding data are not found, then are existed
When group packet or unpacking, miscue is had." data transmission " then reads the content of data transmission if it is a group packet procedures." number
According to reception ", if it is unpacking process, group reads the content of data receiver." domain name definition " and " remarks " indicates to carry out the domain
It illustrates, developer is facilitated to check the information in the domain in configuration.When unpacking and organizing packet, transaction message mould can be compareed
Parameter transaction is preset in plate, from the input of user, obtains the transaction data needed in process of exchange.
Table 1
For example, serial number 2 in place, i.e. on the 3rd domain.Attribute is 20, represents the maximum length for allowing to input on the 3rd domain
It is 20.Request be M value, indicate group packet when, it is necessary to by the content in the domain must be included in request message in.Response is M value,
It indicates when unpacking, it is necessary to read the content in the domain from returned packet.Domain name define in remark information be transaction amount,
The parameter for indicating the 3rd domain is transaction amount.In process of exchange, finance self-help terminal is handed over according to acquisition in the Transaction Information of user
Easy type calls above-mentioned template.Parameter transaction is obtained according to above-mentioned transaction message template, according to domain sequence, reads transaction report by sequence
Parameter transaction is preset in literary template, when reading the default parameter transaction in the 3rd domain, compares the default parameter transaction in the 3rd domain, root
According to the 3rd domain corresponding interface function, transaction data is obtained.If the transaction data length obtained is greater than the attribute value 20 in the 3rd domain,
Carry out miscue;In group packet, requests by corresponding interface function, not get transaction data for M value, carry out wrong
Accidentally prompt;When unpacking, request as M extremely, by corresponding interface function, not get transaction data, carry out miscue.
It is similar, serial number 3 in place, i.e. on the 4th domain.Attribute is 12, represent allow on the 4th domain input maximum length as
12.Request be C value, indicate group packet when, it is not necessary to by the content in the domain be included in request message in.Response is C value, table
Show when unpacking, it is not necessary to read the content in the domain from returned packet.Domain name schedule in remark information be additional gold
Volume indicates that the parameter in the 4th domain is surcharge value.In the regulation of bank, inter-bank withdrawal is related to surcharge value, withdraws the money and does not relate in row
And surcharge value, therefore surcharge value is not required to obtain item.4th domain is not required acquisition, needs according to other domains of dependence
Default parameter transaction reading situation, Lai Jinhang determine whether to according to the 4th domain default parameter transaction obtain transaction data.
It should be noted that the corresponding default parameter transaction of different type of transaction can be entirely different or partially different,
Therefore different type of transaction can correspond to different transaction message templates.For example, withdrawal transaction corresponding templates 1, money transfer transactions
Corresponding templates 2 pay water rate transaction corresponding templates 3, if newly-increased application function, creates the corresponding transaction of an application function
Message template 4.In actual use, finance self-help terminal obtains corresponding template according to the type of transaction that user inputs.
S203, finance self-help terminal obtain corresponding Transaction Information according to transaction message template.
Specifically, Transaction Information is the corresponding transaction data of type of transaction, such as the transaction amount of user's input.It is optional
Ground obtains Transaction Information according to transaction message template by interface function.As it appears from the above, being pressed by taking bank card payment transaction as an example
The acquisition for passing through corresponding function interface progress information according to the default parameter transaction of transaction message template.
Optionally, Transaction Information is obtained by interface function, specific acquisition process may include following content: still with user
For carrying out bank card payment transaction, when default parameter transaction includes account, by opening card reader function, starting card reader is set
It is standby.Initialization card reader function is called, card reader is initialized, removes the residual risk of a upper transaction, such as a upper friendship
Easy card number, password etc..Controlling card reader to read bank card information by functions of card reader function includes account.Default transaction ginseng
When number includes password, by obtaining the password in cipher-text function acquisition code keyboard.
S204, finance self-help terminal generate corresponding transaction message according to Transaction Information, and transaction message is sent to clothes
Business end.Wherein, transaction message includes Transaction Information.
Specifically, by the transaction data group encapsulation acquired according to transaction message template in transaction message, with report of trading
The Transaction Information of self-aided terminal is sent to server-side by the form of text.
S205, finance self-help terminal receive the returned packet that server-side issues, and are parsed and returned according to transaction message template
Message content obtains control information.
Specifically, returned packet carries control information, it is sent to finance self-help terminal.Transaction message template includes completing
The default parameter transaction that transaction needs is obtained according to the default parameter transaction in transaction message template by information is controlled.
S206, finance self-help terminal execute transaction request according to the control information.
In the present embodiment, according to the form of transaction message template, acquires customer transaction and request corresponding transaction data.It is similar
, according to transaction message template, interpret the control information that server-side is sent.When finance self-help terminal needs newly-increased transaction application
When, the transaction data that can need to obtain according to newly-increased transaction application increases transaction message template newly, according in transaction message template
Default parameter transaction obtain user transaction data, eliminate again develop new procedures complicated processes.Transaction message template
Use, finance self-help terminal is quickly come into operation.
Optionally, Fig. 3 is the service calling method flow diagram that another embodiment of the application provides, as shown in figure 3,
S204, comprising:
S204-1, finance self-help terminal receive the Transaction Information of user's input.
S204-2, finance self-help terminal generate corresponding transaction message according to Transaction Information.
S204-3, finance self-help terminal carry out encryption to transaction message and obtain ciphertext.
In the transmission process of message, if the Transaction Information of user's input is transmitted to clothes in the form of without any verification
Business end, Transaction Information is during transmission, it is easy to be intercepted and distort and Transaction Information is caused to leak.Therefore it needs to transaction
Message obtains encrypted characters string using cipher mode, server and finance self-help terminal by both sides verify the encrypted characters string come
Verify whether message is without tampered data.Key for encryption includes: master key and working key.
Wherein, master key is that manufacturer is filling in code keyboard before the factory of finance self-help terminal.It can be by teller master
It is dynamic to register or the transaction is detected by finance self-help terminal actively to initiate to register by finance self-help terminal when same day the first stroke
Transaction obtains the working key that server-side issues.Wherein, the returned packet that server-side passes through the transaction of registering of finance self-help terminal
Working key is issued to finance self-help terminal.Working key includes: MACKey (Message Authentication Code
Key, message authentication code computation key) and PINKey (Personal Identification Key, it is personal to indicate that code encryption is close
Key).Wherein, PINKey is encrypted to user password.MACKey be to other Transaction Informations in addition to user password into
Row encryption, calculates MAC value.
In finance self-help terminal side, MAC value is calculated with transaction message and MACKey, and obtain ciphertext, ciphertext is additional
Server-side is sent in transmitting message.Wherein, ciphertext includes master key check value, that is, uses the encrypted user password of PINKey
With with the encrypted every terms of information of MACKey.
Optionally, it under public network environment, is easy to be intercepted due to directly transmitting transaction message and distort, not can guarantee transaction
Stability and safety need additionally to carry out whole transaction message SSL (Secure Sockets Layer, Secure Socket Layer)
Encryption and decryption, it is ensured that client and server end be capable of safety carry out communicate.
Optionally, Fig. 4 is the service calling method flow diagram that the another embodiment of the application provides, as shown in figure 4,
After S204, comprising:
S301, server-side verify ciphertext by the first preset condition.
Optionally, key can be used in check key.First preset condition can be the MACKey by server-side to close
Text is verified.
Specifically, since the master key that finance self-help terminal side pours into is consistent with the master key that service end side saves.Service
After termination receives ciphertext, MAC value is calculated using the MACKey and received transaction message of the preservation of service end side, judges server-side
Side calculate MAC value it is whether consistent with the MAC value of finance self-help terminal side, if it is not, then transaction message during transmission by
It distorts;If so, transaction message is not tampered with, S302 is executed.
If S302, verifying the Transaction Information successfully obtained in transaction message, returned packet is generated after honouring transaction.
In conjunction with Fig. 2~Fig. 4, Signalling exchange between finance self-help terminal and server-side is illustrated below, specifically
, Fig. 5 is that the application finance self-help terminal and server-side Signalling exchange are intended to.
As shown in figure 5, the Signalling exchange of finance self-help terminal and server-side includes the following steps:
Step 1, finance self-help terminal obtain the Transaction Information of user's input, generate transaction message.
Step 2, finance self-help terminal transaction message encryption obtain ciphertext.
Step 3, server-side obtain ciphertext according to transaction message, and verify ciphertext according to the first preset condition.
If step 4 verifies successfully, server-side obtains Transaction Information.
After step 5, server-side honour transaction, returned packet is generated.
Step 6, finance self-help terminal receive returned packet, and according to returned packet, execute customer transaction.
If check results in steps of 5 are that Transaction Information is errorless, and meets terms of trade, then returned packet control finance
Self-aided terminal executes transaction.
Optionally, Transaction Information includes following one or more any combination: type of transaction, transaction amount, magnetic stripe letter
Breath and chip information.
Wherein, magnetic strip information includes card number.
Optionally, Fig. 6 is the service calling method flow diagram that the another embodiment of the application provides, as shown in fig. 6, will
The transaction message is sent to after server-side, comprising:
S401, server-side obtain ciphertext password according to transaction message.
In the case where transaction needs check password, password can also be verified.Specifically, service end side
PINKey is consistent with the PINKey value of finance self-help terminal side, then when verifying to password, and server-side is called pair according to account
The user password answered, and user password is encrypted by PINKey, the encrypted result of service end side PINKey is obtained, will be taken
Business end side PINKey encrypted result and the encrypted result of finance self-help terminal side PINKey compare, if two sides encrypted result one
It causes, then user password verifies successfully;If two sides encrypted result is inconsistent, user password verification failure.
S402, server-side verify ciphertext password according to the second preset condition, obtain check results.
The present embodiment provides a kind of finance self-help terminal structures, and to execute above method class embodiment, Fig. 7 is the application
The finance self-help terminal structure schematic diagram for the service calling system that one embodiment provides, as shown in fig. 7, service calling system packet
It includes, finance self-help terminal and server-side, finance self-help terminal and server-side communication connection, finance self-help terminal specifically include: the
One obtains module 501, the first generation module 502 and the first execution module 503.
First obtains module 501, for receiving the transaction request of user's input;For according to the transaction class in transaction request
Type calls corresponding transaction message template;Wherein, transaction message template includes the corresponding default parameter transaction of type of transaction;According to
Transaction message template obtains corresponding Transaction Information;Transaction Information is the corresponding real trade data of type of transaction.
First generation module 502 for generating corresponding transaction message according to Transaction Information, and transaction message is sent to
Server-side;Transaction message includes Transaction Information.
First obtains module 501, is also used to receive the returned packet that server-side issues, and parse according to transaction message template
Returned packet content obtains control information.
Execution module 503, for executing transaction request according to the control information.
Referring to Fig. 1, the function of the first acquisition module 501 shown in Fig. 7 can be realized by the first processor 104 of Fig. 1.Tool
Body, first processor 104 is defeated by code keyboard 102 or touch screen reception user according to corresponding transaction message template
The transaction request entered obtains Transaction Information by card reader 101.
The function of first generation module 502 can be realized by the first processor 104 of Fig. 1.
The function of first execution module 503 can also be realized by the first processor 104 of Fig. 1.
Specifically, server-side sends returned packet to finance self-help terminal by the second communication interface 201.Finance self-help is whole
End receives returned packet by the first communication interface 105, and first processor 104 calls the program in memory 103 to obtain and returns
Control information in message, first processor 104 execute the transaction request of user according to the control information.
Optionally, Fig. 8 is the finance self-help terminal structure signal for the service calling system that another embodiment of the application provides
Figure, on the basis of Fig. 7, also provides a kind of finance self-help terminal, as shown in figure 8, finance self-help terminal further include: encrypting module
601。
Encrypting module 601 obtains ciphertext for carrying out encryption to transaction message.
Optionally, on the basis of the partial structure diagram of Fig. 1 system provided, for the server-side in Fig. 1, Fig. 9
For the server-side structural schematic diagram for the service calling system that one embodiment of the application provides, as shown in figure 9, server-side includes: school
Test module 701 and the second generation module 702.
Correction verification module 701, for verifying ciphertext by the first preset condition.
Second generation module 702 generates returned packet after honouring transaction for obtaining the Transaction Information in transaction message.
Optionally, Transaction Information includes following one or more any combination: type of transaction, transaction amount, magnetic stripe letter
Breath and chip information.
Figure 10 is the server-side structural schematic diagram for the service calling system that another embodiment of the application provides, such as Figure 10 institute
Show, server-side includes: the second acquisition module 801.
Second obtains module 801, for obtaining ciphertext password according to transaction message.
Correction verification module 701 is also used to the second preset condition verification ciphertext password, obtains check results.
The method that above-mentioned apparatus is used to execute previous embodiment offer, it is similar that the realization principle and technical effect are similar, herein not
It repeats again.
Optionally, the present invention also provides a kind of program product, such as computer readable storage medium, including program, the journeys
Sequence, for executing each step of method shown in Fig. 2 or Fig. 3, is held when being executed by first processor 104 by second processor 202
For executing each step of method shown in Fig. 4 or 6 when row.
In several embodiments provided by the present invention, it should be understood that disclosed system and method can pass through it
Its mode is realized.For example, the apparatus embodiments described above are merely exemplary, for example, the division of unit, only
A kind of logical function partition, there may be another division manner in actual implementation, for example, multiple units or components can combine or
Person is desirably integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed is mutual
Between coupling, direct-coupling or communication connection can be through some interfaces, the INDIRECT COUPLING or communication link of device or unit
It connects, can be electrical property, mechanical or other forms.
Unit may or may not be physically separated as illustrated by the separation member, shown as a unit
Component may or may not be physical unit, it can and it is in one place, or may be distributed over multiple networks
On unit.It can some or all of the units may be selected to achieve the purpose of the solution of this embodiment according to the actual needs.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit
It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list
Member both can take the form of hardware realization, can also realize in the form of hardware adds SFU software functional unit.
The above-mentioned integrated unit being realized in the form of SFU software functional unit can store and computer-readable deposit at one
In storage media.Above-mentioned SFU software functional unit is stored in a storage medium, including some instructions are used so that a computer
Equipment (can be personal computer, server or the network equipment etc.) or processor (English: processor) execute this hair
The part steps of bright each embodiment method.And storage medium above-mentioned include: USB flash disk, mobile hard disk, read-only memory (English:
Read-Only Memory, referred to as: ROM), the various media that can store program code such as magnetic or disk.
Claims (10)
1. a kind of service calling method characterized by comprising
Finance self-help terminal receives the transaction request of user's input;
The finance self-help terminal calls corresponding transaction message template according to the type of transaction in the transaction request;The friendship
Easy message template includes the corresponding default parameter transaction of the type of transaction;
The finance self-help terminal obtains corresponding Transaction Information according to the transaction message template;The Transaction Information is described
The corresponding real trade data of type of transaction;
The finance self-help terminal generates corresponding transaction message according to the Transaction Information, and the transaction message is sent to
Server-side, the transaction message include the Transaction Information;
The finance self-help terminal receives the returned packet that the server-side issues, and parses institute according to the transaction message template
Returned packet content is stated, control information is obtained;
The finance self-help terminal executes the transaction request according to the control information.
2. service calling method as described in claim 1, which is characterized in that the finance self-help terminal is believed according to the transaction
Breath generates corresponding transaction message, and the transaction message is sent to server-side, comprising:
The finance self-help terminal receives the Transaction Information of user's input;
The finance self-help terminal generates corresponding transaction message according to the Transaction Information;
The finance self-help terminal carries out encryption to the transaction message and obtains ciphertext.
3. service calling method as claimed in claim 2, which is characterized in that the finance self-help terminal is believed according to the transaction
Breath generates corresponding transaction message, and the transaction message is sent to after server-side, comprising:
The server-side verifies the ciphertext by the first preset condition;
If verifying successfully, the Transaction Information in the transaction message is obtained, generates the returned packet after honouring transaction.
4. service calling method as claimed in claim 3, which is characterized in that the Transaction Information includes following one or more
Any combination: type of transaction, transaction amount, magnetic strip information and chip information.
5. service calling method as claimed in claim 4, which is characterized in that the Transaction Information includes: ciphertext password;It is described
The transaction message is sent to after server-side, comprising:
The server-side obtains the ciphertext password according to the transaction message;
The server-side verifies the ciphertext password according to the second preset condition, obtains check results.
6. a kind of service calling system, the service calling system include finance self-help terminal and server-side, the finance self-help
Terminal and the server-side communication connection, which is characterized in that the finance self-help terminal includes: the first acquisition module, the first life
At module and execution module;
Described first obtains module, for receiving the transaction request of user's input;According to the type of transaction in the transaction request
Call corresponding transaction message template;The transaction message template includes the corresponding default parameter transaction of the type of transaction;Root
Corresponding Transaction Information is obtained according to the transaction message template;The Transaction Information is the corresponding real trade of the type of transaction
Data;
First generation module, for generating corresponding transaction message according to the Transaction Information, and by the transaction message
It is sent to server-side;The transaction message includes the Transaction Information;
Described first obtains module, is also used to receive the returned packet that the server-side issues, and according to the transaction message mould
Plate parses returned packet content, obtains control information;
The execution module, for executing the transaction request according to the control information.
7. service calling system as claimed in claim 6, which is characterized in that the finance self-help terminal further include: encrypting module;
The encrypting module obtains ciphertext for carrying out encryption to the transaction message.
8. service calling system as claimed in claim 7, which is characterized in that the server-side includes: that correction verification module and second are raw
At module;
The correction verification module, for verifying the ciphertext by the first preset condition;
Second generation module is honoured described in generating after trading for obtaining the Transaction Information in the transaction message
Returned packet.
9. service calling system as claimed in claim 8, which is characterized in that the Transaction Information includes following one or more
Any combination: type of transaction, transaction amount, magnetic strip information and chip information.
10. service calling system as claimed in claim 9, which is characterized in that the Transaction Information includes: ciphertext password;Also wrap
Include: second obtains module;
Described second obtains module, for obtaining the ciphertext password according to the transaction message;
The correction verification module is also used to the second preset condition and verifies the ciphertext password, obtains check results.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910147992.3A CN109816359B (en) | 2019-02-27 | 2019-02-27 | Service calling method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910147992.3A CN109816359B (en) | 2019-02-27 | 2019-02-27 | Service calling method and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109816359A true CN109816359A (en) | 2019-05-28 |
CN109816359B CN109816359B (en) | 2021-05-18 |
Family
ID=66607701
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910147992.3A Active CN109816359B (en) | 2019-02-27 | 2019-02-27 | Service calling method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109816359B (en) |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101877158A (en) * | 2010-03-23 | 2010-11-03 | 苏州德融嘉信信用管理技术有限公司 | Front service platform of bank and operation processing method thereof |
CN102255786A (en) * | 2010-05-20 | 2011-11-23 | 中国移动通信集团广西有限公司 | Service message processing method and device |
CN102496218A (en) * | 2011-12-06 | 2012-06-13 | 广州广电运通金融电子股份有限公司 | Method and system for processing service of automatic teller machine |
CN105046561A (en) * | 2015-07-23 | 2015-11-11 | 浪潮软件集团有限公司 | Method capable of adapting to various bank transaction message formats |
CN105897721A (en) * | 2016-05-03 | 2016-08-24 | 广州广电运通金融电子股份有限公司 | Method and device for verifying reliability of identity of financial card user |
CN109302540A (en) * | 2017-07-25 | 2019-02-01 | 中兴通讯股份有限公司 | A kind of acceptance method, device and the equipment of convergence communication business |
CN109344183A (en) * | 2018-01-30 | 2019-02-15 | 深圳壹账通智能科技有限公司 | Data interactive method, device, computer equipment and storage medium |
-
2019
- 2019-02-27 CN CN201910147992.3A patent/CN109816359B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101877158A (en) * | 2010-03-23 | 2010-11-03 | 苏州德融嘉信信用管理技术有限公司 | Front service platform of bank and operation processing method thereof |
CN102255786A (en) * | 2010-05-20 | 2011-11-23 | 中国移动通信集团广西有限公司 | Service message processing method and device |
CN102496218A (en) * | 2011-12-06 | 2012-06-13 | 广州广电运通金融电子股份有限公司 | Method and system for processing service of automatic teller machine |
CN105046561A (en) * | 2015-07-23 | 2015-11-11 | 浪潮软件集团有限公司 | Method capable of adapting to various bank transaction message formats |
CN105897721A (en) * | 2016-05-03 | 2016-08-24 | 广州广电运通金融电子股份有限公司 | Method and device for verifying reliability of identity of financial card user |
CN109302540A (en) * | 2017-07-25 | 2019-02-01 | 中兴通讯股份有限公司 | A kind of acceptance method, device and the equipment of convergence communication business |
CN109344183A (en) * | 2018-01-30 | 2019-02-15 | 深圳壹账通智能科技有限公司 | Data interactive method, device, computer equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN109816359B (en) | 2021-05-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108027926B (en) | Authentication system and method for service-based payment | |
US9152965B2 (en) | Method and devices for inter-terminal payments | |
US8840019B2 (en) | Mobile device financial transactions | |
US9900148B1 (en) | System and method for encryption | |
US20140358777A1 (en) | Method for secure atm transactions using a portable device | |
CN102202306B (en) | Mobile security authentication terminal and method | |
KR20130117803A (en) | Method of performing a financial transaction via unsecured public telecommunication infrastructure and an apparatus for same | |
US20100280957A1 (en) | System, method and device for enabling interaction with dynamic security | |
CN105897721B (en) | Verify the method and device of fiscard user identity reliability | |
CN108234385A (en) | A kind of method for authenticating user identity and device | |
CN106529938A (en) | Virtual card issuing method, device and terminal | |
CN110555683A (en) | Virtual currency and legal currency service integration platform | |
CN110740136A (en) | Network security control method for open bank and open bank platform | |
TWI619042B (en) | System and method for online transaction security, SIM card, mobile phone and online transaction system realized by the method | |
CN104539616B (en) | Realize credible MESSAGE EXCHANGE and the system of storage between heterogeneous system | |
CN106034031B (en) | Method, device, terminal and cloud authentication platform for acquiring identity information | |
CN116823257A (en) | Information processing method, device, equipment and storage medium | |
CN110430052A (en) | A kind of online filling method and device of POS key | |
US20210385093A1 (en) | Digital signature terminal and secure communication method | |
CN109816359A (en) | A kind of service calling method and system | |
EP4250210A1 (en) | Devices, methods and a system for secure electronic payment transactions | |
EP4250207A1 (en) | Devices, methods and a system for secure electronic payment transactions | |
EP4250208A1 (en) | Devices, methods and a system for secure electronic payment transactions | |
CN113487329A (en) | Bank terminal transaction system and method based on block chain | |
CN106059773B (en) | Digital signature method and system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |