CN109447649A - The processing method and system of transaction request - Google Patents
The processing method and system of transaction request Download PDFInfo
- Publication number
- CN109447649A CN109447649A CN201811021039.6A CN201811021039A CN109447649A CN 109447649 A CN109447649 A CN 109447649A CN 201811021039 A CN201811021039 A CN 201811021039A CN 109447649 A CN109447649 A CN 109447649A
- Authority
- CN
- China
- Prior art keywords
- transaction
- terminal device
- ultrasonic wave
- request
- server
- 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.)
- Withdrawn
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q20/00—Payment architectures, schemes or protocols
- G06Q20/38—Payment protocols; Details thereof
- G06Q20/40—Authorisation, e.g. identification of payer or payee, verification of customer or shop credentials; Review and approval of payers, e.g. check credit lines or negative lists
- G06Q20/401—Transaction verification
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q20/00—Payment architectures, schemes or protocols
- G06Q20/38—Payment protocols; Details thereof
- G06Q20/42—Confirmation, e.g. check or permission by the legal debtor of payment
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q40/00—Finance; Insurance; Tax strategies; Processing of corporate or income taxes
- G06Q40/04—Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
Landscapes
- Business, Economics & Management (AREA)
- Accounting & Taxation (AREA)
- Engineering & Computer Science (AREA)
- Finance (AREA)
- Physics & Mathematics (AREA)
- Strategic Management (AREA)
- General Business, Economics & Management (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Development Economics (AREA)
- Economics (AREA)
- Marketing (AREA)
- Technology Law (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The present invention is suitable for technical field of data processing, provide the processing method and systems approach and device of transaction request, it include: that terminal device generates transaction request, the transaction request is mounted on transaction ultrasonic wave, and the transaction ultrasonic wave is sent, the transaction request includes transaction and transaction certificate;Server receives the transaction ultrasonic wave, and the transaction request in the transaction ultrasonic wave is placed in preset trading pit;The server detects whether the terminal device meets preset condition, and when the terminal device meets the preset condition, the transaction request is extracted from the trading pit, the transaction request is authenticated, and the transaction is executed after authenticating successfully.The present invention is based on ultrasonic technologies to realize receiving and storing in advance for transaction request, improves the treatment effeciency of transaction request.
Description
Technical field
The invention belongs to technical field of data processing more particularly to the processing methods and system of transaction request.
Background technique
With the development of information technology, it is online trading that the mode of doing business of people gradually develops from off-line transaction, such as
When supermarket is paid the bill, businessman scans the transaction two dimensional code on customer mobile terminal, and after user inputs payment password, completes
Transaction;For another example when withdrawing the money, bank card is inserted into cash dispenser by user, and inputs withdrawal amount and withdrawal password is traded.
In the prior art, mode of doing business is typically only capable to support single user, in the case where existing subscriber trades, nothing
The transaction request of method processing other users.Such as in cash dispenser scene, cash dispenser can only support a user in the same time
It withdraws the money, and the withdrawal request of other users cannot be received.To sum up, in the prior art, the transaction request that user issues can only
It is received at transaction scene, the treatment effeciency of transaction request is low.
Summary of the invention
In view of this, the embodiment of the invention provides the processing method of transaction request and system, to solve in the prior art
The low problem of the treatment effeciency of transaction request.
The first aspect of the embodiment of the present invention provides a kind of processing method of transaction request, the place applied to transaction request
Reason system, the processing system of the transaction request include terminal device and server, be the treating method comprises:
The terminal device generates transaction request, the transaction request is mounted on transaction ultrasonic wave, and described in transmission
Transaction ultrasonic wave, the transaction request includes transaction and transaction certificate;
The server receives the transaction ultrasonic wave, and the transaction request in the transaction ultrasonic wave is placed in advance
If trading pit;
The server detects whether the terminal device meets preset condition, and meets in the terminal device described pre-
If when condition, the transaction request is extracted from the trading pit, the transaction request is authenticated, and after authenticating successfully
Execute the transaction.
Optionally, the server detects whether the terminal device meets preset condition, comprising:
The server sends test ultrasonic wave, and the test ultrasonic wave is for testing whether the terminal device is in friendship
Easy state;
The terminal device receives the test ultrasonic wave and sends if the terminal device is in the stateful transaction
Response ultrasonic wave corresponding with the test ultrasonic wave;
The server receives the response ultrasonic wave, and execute extracted from the trading pit transaction request and its
Subsequent operation.
Optionally, after the server reception response ultrasonic wave, further includes:
The server is counted according to the time for sending the test ultrasonic wave and the time for receiving the response ultrasonic wave
Standoff distance is calculated, the standoff distance is the distance between the terminal device and the server;
When the standoff distance is less than preset distance threshold, Xiang Suoshu terminal device sends transaction and mentions the server
Show;
The terminal device receives and shows the transaction prompt, and sends confirmation knot of the user about the transaction prompt
Fruit, the confirmation result are used to indicate whether to trade;
For the server when confirmation result instruction is traded, the transaction is extracted in execution from the trading pit
Request and its subsequent operation.
Optionally, the trading pit is transaction queue, described that the transaction request is extracted from the trading pit, is also wrapped
It includes:
The server identifies before being located at the transaction request in the transaction queue have request, if described, ask the visitor in
It asks the corresponding terminal device not meet the preset condition, then takes out the transaction request from the transaction queue,
In, have and requests to refer to the transaction request in transaction queue.
Optionally, the terminal device generates transaction request, comprising:
The terminal device executes transaction verification when detecting preset trading instruction triggering;
The terminal device obtains the transaction and the transaction when executing the result of transaction verification is successfully
Voucher, and the transaction request is generated based on the transaction and the transaction certificate.
The second aspect of the embodiment of the present invention provides a kind of processing system of transaction request, and the processing system includes eventually
End equipment and server, are specifically used for:
The transaction request is mounted on transaction ultrasonic wave, and send by the terminal device for generating transaction request
The transaction ultrasonic wave, the transaction request include transaction and transaction certificate;
The server, for receiving the transaction ultrasonic wave, and by the transaction request in the transaction ultrasonic wave
It is placed in preset trading pit;
The server meets for detecting whether the terminal device meets preset condition, and in the terminal device
When the preset condition, the transaction request is extracted from the trading pit, the transaction request is authenticated, and is being authenticated
The transaction is executed after success.
Existing beneficial effect is the embodiment of the present invention compared with prior art:
The embodiment of the present invention includes terminal devices and server, in process of exchange, are generated trade by terminal device first
Request, and transaction request is sent to server using ultrasonic wave as carrier, server carries out transaction request merging trading pit
Storage, and when detecting that terminal device meets preset condition, transaction request is taken out from trading pit and is handled, and the present invention is implemented
Example realizes receiving and storing in advance for transaction request, rather than can only obtain the transaction request at transaction scene, improves transaction and asks
The treatment effeciency asked, suitable for such as queuing scene to be transacted such as more people.
Detailed description of the invention
It to describe the technical solutions in the embodiments of the present invention more clearly, below will be to embodiment or description of the prior art
Needed in attached drawing be briefly described, it should be apparent that, the accompanying drawings in the following description is only of the invention some
Embodiment for those of ordinary skill in the art without any creative labor, can also be according to these
Attached drawing obtains other attached drawings.
Fig. 1 is the implementation flow chart of the processing method for the transaction request that the embodiment of the present invention one provides;
Fig. 2 is the implementation flow chart of the processing method of transaction request provided by Embodiment 2 of the present invention;
Fig. 3 is the implementation flow chart of the processing method for the transaction request that the embodiment of the present invention three provides;
Fig. 4 is the implementation flow chart of the processing method for the transaction request that the embodiment of the present invention four provides;
Fig. 5 is the schematic diagram for the transaction queue that the embodiment of the present invention five provides;
Fig. 6 is the schematic diagram of the processing system for the transaction request that the embodiment of the present invention six provides.
Specific embodiment
In being described below, for illustration and not for limitation, the tool of such as particular system structure, technology etc is proposed
Body details, to understand thoroughly the embodiment of the present invention.However, it will be clear to one skilled in the art that there is no these specific
The present invention also may be implemented in the other embodiments of details.In other situations, it omits to well-known system, device, electricity
The detailed description of road and method, in case unnecessary details interferes description of the invention.
In order to illustrate technical solutions according to the invention, the following is a description of specific embodiments.
Fig. 1 shows the implementation process of the processing method of the transaction request of the offer of the embodiment of the present invention one, and details are as follows:
In S101, the terminal device generates transaction request, and the transaction request is mounted on transaction ultrasonic wave, and
The transaction ultrasonic wave is sent, the transaction request includes transaction and transaction certificate.
In embodiments of the present invention, terminal device can be PC (Personal Computer, PC), plate electricity
Brain, smart phone or personal digital assistant (Personal Digital Assistant, PDA) etc., in embodiments of the present invention
Without limitation.During being traded, transaction request is generated by terminal device first, transaction request include transaction with
And transaction certificate, wherein transaction is used to indicate the particular content of transaction, and transaction certificate, which is used to indicate, executes transaction institute
The foundation or voucher needed.For example, in the withdrawal scene for including cash dispenser (cash dispenser is considered as server), if being intended to base
It withdraws the money in terminal device, then generates transaction request in terminal device, the transaction in the transaction request includes mark of withdrawing the money
Knowing (it is withdrawal item that withdrawal mark, which is used to indicate the transaction), withdrawal card number and withdrawal amount, transaction certificate includes
Withdrawal password.Transaction request can be manually entered generation in terminal device by user when being traded, and can also be pre-stored in terminal and set
In standby, the specific generating mode of transaction request is described in detail later.
It is noted that the transaction request in the embodiment of the present invention is transmitted by ultrasonic wave, i.e., the present invention is implemented
Terminal device and server in example are both provided with ultrasonic wave module.Terminal device is after generating transaction request, by transaction request
It is mounted on ultrasonic wave, the ultrasonic wave completed will be carried as transaction ultrasonic wave, and outwardly by included ultrasonic wave module
Send the transaction ultrasonic wave.Since ultrasonic wave is compared with the transmission means such as near-field communication, transmission range farther out, therefore is effectively promoted
The convenience of transaction is suitable for being lined up the scenes such as transaction.Wherein, the process that transaction request is mounted in ultrasonic wave can be passed through into tune
It is realized with ultrasonic wave encoding and decoding library, transaction request is specifically encoded to specific ultrasonic signal, it, will for the ease of being illustrated
Coding is carried out to transaction request to generate the mode of transaction ultrasonic wave and be known as the first coding mode.
Optionally, transaction request further includes device identification.In embodiments of the present invention, transaction is known for the ease of server
The source of request, settable transaction request further include device identification, and the format of the device identification can be user's body of mobile terminal
Part identification (Subscriber Identification Module, SIM) card number code or mobile device world identification code
(International Mobile Equipment Identity, IMEI) etc., since the device identification of terminal device has only
One property, therefore the transaction request of different terminal equipment transmission can be told based on device identification, promote the identifiability of transaction request.
In S102, the server receives the transaction ultrasonic wave, and by the transaction in the transaction ultrasonic wave
Request is placed in preset trading pit.
Ultrasonic wave module is equally also equipped in server, in embodiments of the present invention, settable server is in real time or every
It is spaced every preset reception and receives ultrasonic wave, wherein ultrasonic wave reception is carried out if being set as being spaced every preset reception, for
It avoids omitting in receive process, interval will be received and be configured small as far as possible, for example be 5 milliseconds.In addition, in order to promote service
Device receives the effective percentage of transaction ultrasonic wave, and terminal device can repeatedly send transaction ultrasonic wave after generating transaction ultrasonic wave.Clothes
Business device is decoded ultrasonic wave according to the first decoding process, after receiving extraneous ultrasonic wave if the packet decoded
Containing the transaction request that the server is supported, then using the ultrasonic wave as transaction ultrasonic wave, and the transaction request is stored in and is preset
Trading pit in, wherein the format for the transaction request that the information being decoded to ultrasonic wave and server can be supported into
Row compares, if in the information decoded including the information for meeting the format of transaction request, the information for meeting format is made
For transaction request.In addition, the first decoding process is corresponding with the first coding mode in step S101, that is, pass through the first coding mode
Transaction request is encoded after generating ultrasonic signal, the ultrasonic signal can be decoded by the first decoding process, thus
Restore the transaction request.Trading pit in the embodiment of the present invention is requested for store transaction, and the format of trading pit can be data
Library or task queue etc..
Optionally, server is searched in trading pit after obtaining transaction request with the presence or absence of identical with the transaction request
Stored transaction request, if it exists identical stored transaction request, the then transaction that will not be obtained from transaction ultrasonic wave
Request deposit trading pit.Since transaction ultrasonic wave has reflexible characteristic, and terminal device may also set up repeatedly to send and hand over
Easy ultrasonic wave, therefore server may repeatedly receive transaction ultrasonic wave, and repeatedly get identical transaction request, therefore at this
In inventive embodiments, server is receiving transaction ultrasonic wave, and after extracting the transaction request in the transaction ultrasonic wave, will extract
Stored transaction request is compared one by one in transaction request out and trading pit, if it exists with the transaction request phase that extracts
The transaction request extracted is not then placed in trading pit, is effectively prevented by the above method by same stored transaction request
The transaction request duplicated in trading pit.
Optionally, effective time is arranged to the transaction request being stored in trading pit, when the transaction request is in trading pit
When stored duration is greater than or equal to effective time, the transaction request is deleted in trading pit.In embodiments of the present invention, may be used
Effective time is arranged to each transaction request in deposit trading pit, and record each transaction request it is stored in trading pit when
It is long, if the stored duration of some transaction request is greater than or equal to effective time, the transaction request is deleted in trading pit,
The storage resource of trading pit is saved, and improves the real-time of transaction request, expired transaction request is prevented to be performed.
In S103, the server detects whether the terminal device meets preset condition, and in the terminal device
When meeting the preset condition, the transaction request is extracted from the trading pit, and the transaction request is authenticated, and
The transaction is executed after authenticating successfully.
Whether the terminal device that server detection sends transaction request meets preset condition, and preset condition can be according to actually answering
It is formulated with scene, for example, transaction request includes the SIM card number of terminal device, and server is asked receiving transaction
After asking and transaction request being stored in trading pit, confirmation message is sent to the SIM card number, which sets for prompt terminal
Standby user to whether executing transaction and confirming, then preset condition be server receive terminal device return about
The confirmation of the confirmation short message is as a result, confirmation result instruction executes transaction, if the confirmation result that server receives refers to
Show and do not execute transaction, it is determined that terminal device is unsatisfactory for preset condition.Certainly, preset condition is not limited to above-mentioned example,
For example confirmation message and confirmation result can also be transmitted by modes such as internet and ultrasonic waves, for example preset condition can also be
Server n-th receives the transaction request from terminal device, and N is the integer greater than zero, the embodiment of the present invention to this not into
Row repeats.After server determines that terminal device meets preset condition, the terminal that taking-up meets preset condition from trading pit is set
Standby corresponding transaction request, and the transaction request is authenticated, authentication process be mainly to look at the transaction in transaction request with
Whether card meets with transaction and whether transaction can be performed.Illustrate authentication process with example, if the friendship of transaction request
Easy item includes that withdrawal mark, withdrawal card number and withdrawal amount, transaction certificate include withdrawal password, then server passes through mark of withdrawing the money
Know after confirmation transaction is withdrawal item, judge withdrawal card number in transaction whether with the withdrawal password in transaction certificate
Matching specially obtains withdrawal card number if withdrawal card number and withdrawal password match, judge whether transaction can be performed
Account balance, and withdrawal amount and account amount of money are compared, if withdrawal amount is less than or equal to account amount of money, transaction can
It executes;If withdrawal amount is greater than account amount of money, transaction not can be performed.After authenticating successfully, server executes transaction and asks
Transaction in asking completes entire process of exchange.
Optionally, trading pit is transaction queue, detects that terminal device meets preset condition in server, and from transaction team
During extracting corresponding with terminal device transaction request in column, first in identification transaction queue positioned at the transaction request it
Preceding has request, if having the corresponding terminal device of request does not meet preset condition, transaction is taken out from transaction queue and is asked
It asks.For the ease of being ranked up in receiving time to multiple transaction requests, the embodiment of the present invention is by the trading pit in server
It is set as transaction queue, wherein the transaction queue follows strictly the principle of first in first out unlike traditional task queue.Service
The transaction request is inserted into the tail of the queue of transaction queue after receiving transaction request by device, and is detected nearest with tail of the queue distance
Have a request, and transaction request is transferred to the immediate latter position for having request (ask the visitor in if be not present before tail of the queue
Ask, then the transaction request be directly transferred to head of the queue from tail of the queue), it is worth mentioning at this point that, have request and is exclusively used in implementation of the present invention
In the transaction queue of example, it is used to indicate existing transaction request in transaction queue, it for ease of description, hereinafter will be in step S103
The terminal device that server detects meets the corresponding transaction request of preset condition and is named as the first transaction request, is convenient for and has
Request is distinguished.Server is searched and the end in transaction queue after detecting that some terminal device meets preset condition
Corresponding first transaction request of end equipment, using the transaction request in transaction queue in addition to first transaction request as ask the visitor in
It asks, and identifies have request before being located at the first transaction request in transaction queue one by one, if having the corresponding terminal of request
Equipment does not all meet preset condition, then takes out the first transaction request from transaction queue and executed, and by transaction queue
Has the unified Forward one of request after one transaction request;Meet the existing of preset condition if there is corresponding terminal device
Request, then server putting in order according to transaction queue, first takes out and has request, further take out the first transaction request, prevent from handing over
Easy queue blocks.Also, server can also be by the Sequential output of All Activity request in transaction queue to external display
Screen is shown, user is facilitated to know trading situation.
In addition, there is also another implementation methods in embodiments of the present invention, i.e., it is full to the terminal device in transaction queue
Mark is extracted in the corresponding transaction request of sufficient preset condition (including the first transaction request and have request) setting, and extraction mark is wrapped
Include the time that terminal device meets preset condition.Has request before being located at the first transaction request in identification transaction queue
When, it need to only check have whether request has extraction mark, be identified if having request and not having to extract, from transaction queue
Take out the first transaction request;Mark is extracted if having request and having, is taken according to the sequence determination for extracting the time in mark
The first transaction request in transaction queue and the sequence for having request out.For example, as shown in figure 5, from team in transaction queue
First successively having and have request Request downexisting1, have request Requestexisting2With the first transaction request
RequestbusinessTail of the queue Deng, transaction queue is to have request Requestbottom, it is assumed that have request Requestexisting1、
Has request Requestexisting2With the first transaction request RequestbusinessIt is identified with extracting, and has request
Requestexisting1Extraction mark in time 1 divide when being the morning 8 on the 1st in January, have request Requestexisting2Extraction
10 divide when time in mark is the morning 8 on the 1st in January, the first transaction request RequestbusinessExtraction mark in time be 1
5 divide when the moon morning 8 on the 1st, then sequentially in time, server extracts the sequence of transaction request from transaction queue are as follows: ask the visitor in
Seek Requestexisting1, the first transaction request Requestbusiness, have request Requestexisting2.The above method is according to end
The time sequencing that end equipment meets preset condition carries out transaction request extraction, takes out transaction from transaction queue suitable for server
The process of request is there are the scene of time delay, i.e. the server scene that not can be carried out extract real-time.
By embodiment illustrated in fig. 1 it is found that the embodiment of the present invention includes terminal device and server, terminal device generates packet
Transaction request is mounted on transaction ultrasonic wave, and outwardly sends transaction by the transaction request containing transaction and transaction certificate
Ultrasonic wave, server are placed in preset trading pit after receiving transaction ultrasonic wave, by the transaction request in ultrasonic wave of trading, and
Detection terminal device whether meet preset condition, if detecting, terminal device meets preset condition, from trading pit extract with
The corresponding transaction request of the terminal device, authenticates transaction request, and the friendship in transaction request is executed after authenticating successfully
Easy item, the embodiment of the present invention realize the preparatory reception and storage of the transaction request sent to terminal device, and ultrasonic wave
Compared with the means of communication such as near-field communication, transmission range farther out, therefore is suitable for being lined up the scenes such as transaction, improves transaction request
Treatment effeciency.
Shown in Fig. 2, be on the basis of the embodiment of the present invention one, to server detect the terminal device whether meet it is pre-
If a kind of implementation method that the process of condition obtains after being refined.The embodiment of the invention provides the processing methods of transaction request
Implementation flow chart, as shown in Fig. 2, the processing method may comprise steps of:
In S201, the server sends test ultrasonic wave, and the test ultrasonic wave is for testing the terminal device
Whether stateful transaction is in.
In embodiments of the present invention, preset condition is that the ultrasonic wave that terminal device issues server responds.Specifically
Ground, since ultrasonic wave is relative to technologies such as near-field communications, farther out, therefore transaction request is placed in trading pit to transmission range by server
Afterwards, test ultrasonic wave is outwardly sent by included ultrasonic wave module, tests ultrasonic wave by different from the first coding mode
Second coding mode generates.Test information can be carried in test ultrasonic wave, is identified convenient for terminal device, such as test information
It can be transaction request, for another example under the premise of transaction request includes device identification, device identification can be passed through second by server
Coding mode is encoded into test ultrasonic wave, i.e., test information is device identification.Similarly, test ultrasonic wave may be alternatively provided as reality
When send or interval send.
In S202, the terminal device receives the test ultrasonic wave, if the terminal device is in the transaction shape
State then sends response ultrasonic wave corresponding with the test ultrasonic wave.
Terminal device receives extraneous ultrasonic wave by included ultrasonic wave module, and to ultrasonic wave according to the second decoding side
Formula is decoded, if the information decoded includes test information, using the ultrasonic wave as test ultrasonic wave, wherein second
Decoding process is corresponding with the second coding mode.After receiving test ultrasonic wave, terminal device detects whether itself is in transaction
State sends preset response ultrasonic wave corresponding with test ultrasonic wave if being in stateful transaction, and the response ultrasonic wave is logical
The generation of third coding mode is crossed, responds in ultrasonic wave and carries response message, the format of the response message can be in test information
The preceding field plus " response ", certainly, there is also the response messages of more multi-format, and it is not limited in the embodiment of the present invention.Such as
Fruit terminal device is not at stateful transaction, then without operation.Stateful transaction in the embodiment of the present invention can be according to practical application
Scene is set, for example can set the state that stateful transaction is in unlock as terminal device, can also set stateful transaction as eventually
Application program in end equipment for transaction is in the state etc. opened.
In S203, the server receives the response ultrasonic wave, and executes and extract the friendship from the trading pit
Easily request and its subsequent operation.
Server receives extraneous ultrasonic wave, and is decoded to the ultrasonic wave received according to third decoding process, such as
The information that fruit decodes includes response message, then the response ultrasonic wave issued the ultrasonic wave as terminal device, wherein third
Decoding process is corresponding with third coding mode.Server learns that terminal device is in after receiving response ultrasonic wave
Stateful transaction, then server execution propose transaction request and its subsequent operation from trading pit, continue the place of transaction request
Reason.It is noted that since there may be multiple terminal devices in process of exchange, and multiple terminal devices send transaction and surpass
The time of sound wave and test ultrasonic wave is also not fixed, therefore ultrasonic wave identification fault of the server to receiving in order to prevent, can set
It sets server and the ultrasonic wave received is decoded according to the first decoding process and third decoding process respectively, and pass through decoding
Information format out judge the ultrasonic wave be transaction ultrasonic wave still be response ultrasonic wave.
By embodiment illustrated in fig. 2 it is found that in embodiments of the present invention, server sends test ultrasonic wave, for testing
Whether terminal device is in stateful transaction, and terminal device is after receiving test ultrasonic wave, if terminal device is in stateful transaction,
Response ultrasonic wave corresponding with test ultrasonic wave is then sent, server receives response ultrasonic wave, and executes and extract from trading pit
Transaction request and its subsequent operation, the server of the embodiment of the present invention just ask transaction after the response for receiving terminal device
Carry out subsequent processing is sought, the validity of transaction request processing is improved.
Shown in Fig. 3, be on the basis of the embodiment of the present invention two, to server receive response ultrasonic wave after process into
A kind of implementation method obtained after row refinement.The embodiment of the invention provides the implementation flow chart of the processing method of transaction request,
As shown in figure 3, the processing method may comprise steps of:
In S301, the server is according to the time for sending the test ultrasonic wave and receives the response ultrasonic wave
Time calculate standoff distance, the standoff distance is the distance between the terminal device and the server.
In embodiments of the present invention, for server when sending test ultrasonic wave, the time for recording transmission is Timesend, clothes
For business device when receiving response ultrasonic wave, recording the received time is Timereceive, then terminal can be recorded out by two times
Standoff distance between equipment and server, calculation formula are as follows: Distance=Speed* (Timereceive- Timesend?
Timeconstant), wherein Distance is standoff distance, and Speed is the spread speed of ultrasonic wave, consistent with velocity of sound, usually
340 metre per second (m/s)s, TimeconstantIt is the time unrelated with the transmission process of ultrasonic wave, such as terminal device kimonos for error time
It is engaged in the time etc. that device encoding and decoding expend, error time can be usually arranged as fixed value by repeatedly testing to obtain.
In S302, the server is when the standoff distance is less than preset distance threshold, Xiang Suoshu terminal device
Send transaction prompt.
Server is compared after calculating standoff distance, by standoff distance with preset distance threshold, if be separated by
Distance is less than distance threshold, then sends transaction prompt to terminal device, and user of the transaction prompt for prompt terminal equipment is true
Recognize transaction;If standoff distance is greater than or equal to distance threshold, it is shorter to prove that terminal device is separated by with server, server is not
Operation is executed to the corresponding transaction request of the terminal device.It is noted that transaction prompt can be sent out by way of ultrasonic wave
It send, can also be sent by forms such as internet or short messages, it is not limited in the embodiment of the present invention.
In S303, the terminal device receives and shows the transaction prompt, and sends user and mention about the transaction
The confirmation shown is as a result, the confirmation result is used to indicate whether to trade.
After terminal device receives transaction prompt, transaction prompt is shown, for example can be shown in the aobvious of terminal device
In display screen, and confirmation option is provided a user, confirmation option includes the option traded and the option without transaction.With
After family issues confirmation result corresponding with confirmation option on the terminal device, terminal device will confirm that result is sent to server,
Preferably, the sending method for confirming result is consistent with the sending method of transaction prompt.
In S304, when confirmation result instruction is traded, execution mentions the server from the trading pit
Take the transaction request and its subsequent operation.
Server receives confirmation result, if it is confirmed that result instruction is traded, then server is executed from transaction
Transaction request and its subsequent operation are extracted in pond;If it is confirmed that result instruction is without transaction, then server is from trading pit
Transaction request is deleted, to save memory space.To sum up, in embodiments of the present invention, preset condition is terminal device and server
Between standoff distance be less than distance threshold, and terminal device issue confirmation result instruction trade.
By embodiment illustrated in fig. 3 it is found that in embodiments of the present invention, server is according to the time for sending test ultrasonic wave
And the time of reception response ultrasonic wave calculates the standoff distance between terminal device and server, and is less than in standoff distance
When preset distance threshold, transaction prompt is sent to terminal device, terminal device receives and show transaction prompt, and sends user
About transaction prompt confirmation as a result, server receive confirmation as a result, and when confirming that result instruction is traded, execute from friendship
Yi Chizhong extracts transaction request and its subsequent operation, and the embodiment of the present invention is separated by relatively closely in terminal device and server, and
Transaction request is handled under the premise of terminal device confirmation transaction, improves the safety of processing transaction request.
It shown in Fig. 4, is carried out to the process that terminal device generates transaction request thin on the basis of the embodiment of the present invention one
A kind of implementation method obtained after change.The embodiment of the invention provides the implementation flow charts of the processing method of transaction request, such as Fig. 4
Shown, which may comprise steps of:
In S401, the terminal device executes transaction verification when detecting preset trading instruction triggering.
In embodiments of the present invention, it can be pre-configured with trading instruction in terminal device, the format of trading instruction can be key
The combination more than any format or any two formats of instruction, phonetic order and touching instruction etc..For example, transaction refers to
Enabling can be by the volume "+" key and power key of the terminal device key command pressed simultaneously, can be speech text " to be handed over
Phonetic order easily " can also be special touching instruction, for example draw a circle on the screen of terminal device.Work as terminal device
When detecting trading instruction triggering, transaction verification is executed to verify user identity, preventing trading instruction is false triggering, so as to cause
Carry out false transaction.The embodiment of the present invention to the mode of transaction verification and without limitation, such as transaction verification can for password authentification,
Face verification or expression verifying etc..
In S402, the terminal device execute transaction verification result be successfully when, obtain the transaction with
And the transaction certificate, and the transaction request is generated based on the transaction and the transaction certificate.
Terminal device obtains the result for executing transaction verification after executing transaction verification.For example, if transaction verification is
Password authentification, then when executing transaction verification, judge password that user inputs on the terminal device whether with proper password (this just
True password is preset by user) it is identical, if the password of user's input is identical as proper password, it is determined that execute transaction verification
Result be successfully;If it is not the same, then determining that the result for executing transaction verification is failure.Terminal device executes friendship getting
When the result easily verified is successfully, obtain transaction and transaction certificate, wherein transaction and transaction certificate can by with
Family is manually entered, and by user's selection can include the image of transaction and transaction certificate, and carry out optical character to the image
Identification (Optical Character Recognition, OCR) obtains, and can also preset in terminal device and refer to transaction
Corresponding transaction and transaction certificate are enabled, after transaction verification passes through, directly acquires transaction corresponding with trading instruction
And transaction certificate, save the step of repeatedly inputting.After obtaining transaction and transaction certificate, based on transaction and transaction with
Card, and transaction request is generated according to the format of transaction request.
By embodiment illustrated in fig. 4 it is found that in embodiments of the present invention, terminal device is detecting preset trading instruction
When triggering, transaction verification is executed, and when executing the result of transaction verification is successfully, obtains transaction and transaction certificate,
And transaction request is generated based on transaction and transaction certificate, the embodiment of the present invention by preset trading instruction and
Trading instruction executes transaction verification when triggering, and improves and generates convenience and the safety of transaction request in terminal device.
It should be understood that the size of the serial number of each step is not meant that the order of the execution order in above-described embodiment, each process
Execution sequence should be determined by its function and internal logic, the implementation process without coping with the embodiment of the present invention constitutes any limit
It is fixed.
Fig. 6 shows the schematic diagram of the processing system 60 of transaction request provided in an embodiment of the present invention, as shown in fig. 6, should
Processing system 60 includes terminal device 61 and server 62, equipped with ultrasonic wave module 611 on terminal device 61, on server 62
Equipped with ultrasonic wave module 621, terminal device 61 and server 62 are based on ultrasonic wave module 611 and the progress of ultrasonic wave module 621
It communicates, further includes record pond 622 in server 62, record pond 622 is connect with ultrasonic wave module 621, for storing ultrasonic wave mould
The transaction request that block 621 receives.The processing system 60 specifically includes
The transaction request is mounted on transaction ultrasonic wave, concurrently by the terminal device 61 for generating transaction request
The transaction ultrasonic wave is sent, the transaction request includes transaction and transaction certificate;
The server 62 is asked for receiving the transaction ultrasonic wave, and by the transaction in the transaction ultrasonic wave
Seek the preset trading pit 622 of merging;
The server 62, for detecting whether the terminal device meets preset condition, and it is full in the terminal device
When the foot preset condition, the transaction request is extracted from the trading pit 622, the transaction request is authenticated, and
The transaction is executed after authenticating successfully.
Optionally, the processing system 60, comprising:
The server 62, for sending test ultrasonic wave, the test ultrasonic wave is for testing the terminal device
It is no to be in stateful transaction;
The terminal device 61 receives the test ultrasonic wave, if the terminal device is in the stateful transaction, sends out
Send response ultrasonic wave corresponding with the test ultrasonic wave;
The server 62 for receiving the response ultrasonic wave, and executes and extracts the friendship from the trading pit 622
Easily request and its subsequent operation.
Optionally, the processing system 60, further includes:
The server 62, for according to the time and the reception response ultrasonic wave for sending the test ultrasonic wave
Time calculates standoff distance, and the standoff distance is the distance between the terminal device and the server;
The server 62, for when the standoff distance is less than preset distance threshold, Xiang Suoshu terminal device to be sent out
Send transaction prompt;
The terminal device 61 for receiving and showing the transaction prompt, and sends user about the transaction prompt
Confirmation as a result, the confirmation result is used to indicate whether to trade;
The server 62, for when confirmation result instruction is traded, execution to be mentioned from the trading pit 622
Take the transaction request and its subsequent operation.
Optionally, the trading pit is transaction queue, the processing system 60, further includes:
The server 62 has request before being located at the transaction request in the transaction queue for identification, if institute
Stating to have requests the corresponding terminal device not meet the preset condition, then the transaction is taken out from the transaction queue
Request.
Optionally, the processing system 60, comprising:
The terminal device 61, for executing transaction verification when detecting preset trading instruction triggering;
The terminal device 61, for execute transaction verification result be successfully when, obtain the transaction and
The transaction certificate, and the transaction request is generated based on the transaction and the transaction certificate.
Therefore, the processing system 60 of transaction request provided in an embodiment of the present invention realize transaction request it is preparatory reception and
Storage, rather than the same time can only receive single transaction request, improve the treatment effeciency of transaction request.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, is not described in detail or remembers in some embodiment
The part of load may refer to the associated description of other embodiments.
Those of ordinary skill in the art may be aware that list described in conjunction with the examples disclosed in the embodiments of the present disclosure
Member and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually
It is implemented in hardware or software, the specific application and design constraint depending on technical solution.Professional technician
Each specific application can be used different methods to achieve the described function, but this realization is it is not considered that exceed
The scope of the present invention.
In embodiment provided by the present invention, it should be understood that disclosed method and system can pass through others
Mode is realized.For example, processing system embodiment described above is only schematical, for example, the implementation process in attached drawing
Figure and schematic diagram show the system in the cards of the method, system and computer program product of embodiment according to the present invention
Framework, function and operation.In this regard, each box in implementation flow chart or schematic diagram can represent module, a program
A part of section or code, a part of the module, section or code include that one or more is patrolled for realizing defined
Collect the executable instruction of function.It should also be noted that in some implementations as replacement, function marked in the box
It can occur in a different order than that indicated in the drawings.For example, two continuous boxes can actually be held substantially in parallel
Row, they can also be executed in the opposite order sometimes, and this depends on the function involved.It is also noted that implementation process
The combination of figure and/or each box in schematic diagram and the box in implementation flow chart and/or schematic diagram can use execution
Defined function or the dedicated hardware based system of movement realize, or can use specialized hardware and computer instruction
Combination is to realize.
Embodiment described above is merely illustrative of the technical solution of the present invention, rather than its limitations;Although referring to aforementioned reality
Applying example, invention is explained in detail, those skilled in the art should understand that: it still can be to aforementioned each
Technical solution documented by embodiment is modified or equivalent replacement of some of the technical features;And these are modified
Or replacement, the spirit and scope for technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution should all
It is included within protection scope of the present invention.
Claims (10)
1. a kind of processing method of transaction request, the processing system applied to transaction request, which is characterized in that the processing system
Including terminal device and server, the treating method comprises:
The terminal device generates transaction request, the transaction request is mounted on transaction ultrasonic wave, and send the transaction
Ultrasonic wave, the transaction request include transaction and transaction certificate;
The server receives the transaction ultrasonic wave, and the transaction request merging in the transaction ultrasonic wave is preset
Trading pit;
The server detects whether the terminal device meets preset condition, and meets the default item in the terminal device
When part, the transaction request is extracted from the trading pit, the transaction request is authenticated, and is executed after authenticating successfully
The transaction.
2. processing method as described in claim 1, which is characterized in that the server detects whether the terminal device meets
Preset condition, comprising:
The server sends test ultrasonic wave, and the test ultrasonic wave is for testing whether the terminal device is in transaction shape
State;
The terminal device receives the test ultrasonic wave, if the terminal device is in the stateful transaction, transmission and institute
State the corresponding response ultrasonic wave of test ultrasonic wave;
The server receives the response ultrasonic wave, and executes and extract the transaction request and its subsequent from the trading pit
Operation.
3. processing method as claimed in claim 2, which is characterized in that after the server receives the response ultrasonic wave,
Further include:
The server is calculated according to the time for sending the test ultrasonic wave and the time for receiving the response ultrasonic wave
Standoff distance, the standoff distance are the distance between the terminal device and the server;
For the server when the standoff distance is less than preset distance threshold, Xiang Suoshu terminal device sends transaction prompt;
The terminal device receives and shows the transaction prompt, and send user about the confirmation of the transaction prompt as a result,
The confirmation result is used to indicate whether to trade;
For the server when confirmation result instruction is traded, the transaction request is extracted in execution from the trading pit
And its subsequent operation.
4. processing method as described in claim 1, which is characterized in that the trading pit is transaction queue, described from the friendship
Yi Chizhong extracts the transaction request, further includes:
The server identifies before being located at the transaction request in the transaction queue have request, if described have request pair
The terminal device answered does not meet the preset condition, then the transaction request is taken out from the transaction queue, wherein
Seeking Truth that ask the visitor in refers to the transaction request in transaction queue.
5. processing method as described in claim 1, which is characterized in that the terminal device generates transaction request, comprising:
The terminal device executes transaction verification when detecting preset trading instruction triggering;
The terminal device execute transaction verification result be successfully when, obtain the transaction and it is described trade with
Card, and the transaction request is generated based on the transaction and the transaction certificate.
6. a kind of processing system of transaction request, which is characterized in that the processing system includes terminal device and server:
The transaction request is mounted on transaction ultrasonic wave, and described in transmission by the terminal device for generating transaction request
Transaction ultrasonic wave, the transaction request includes transaction and transaction certificate;
The server is placed in for receiving the transaction ultrasonic wave, and by the transaction request in the transaction ultrasonic wave
Preset trading pit;
Whether the server meets preset condition for detecting the terminal device, and described in meeting in the terminal device
When preset condition, the transaction request is extracted from the trading pit, the transaction request is authenticated, and is being authenticated successfully
After execute the transaction.
7. processing system as claimed in claim 6 characterized by comprising
The server, for sending test ultrasonic wave, the test ultrasonic wave is for testing whether the terminal device is in
Stateful transaction;
The terminal device receives the test ultrasonic wave, if the terminal device is in the stateful transaction, transmission and institute
State the corresponding response ultrasonic wave of test ultrasonic wave;
The server, for receiving the response ultrasonic wave, and execute extracted from the trading pit transaction request and
Its subsequent operation.
8. processing system as claimed in claim 7, which is characterized in that further include:
The server, based on the time according to the time and the reception response ultrasonic wave that send the test ultrasonic wave
Standoff distance is calculated, the standoff distance is the distance between the terminal device and the server;
The server, for when the standoff distance is less than preset distance threshold, Xiang Suoshu terminal device to send transaction
Prompt;
The terminal device for receiving and showing the transaction prompt, and sends confirmation of the user about the transaction prompt
As a result, the confirmation result is used to indicate whether to trade;
The server, for when confirmation result instruction is traded, the friendship to be extracted in execution from the trading pit
Easily request and its subsequent operation.
9. processing system as claimed in claim 6, which is characterized in that the trading pit is transaction queue, the processing system
Further include:
The server has request before being located at the transaction request in the transaction queue for identification, if described existing
It requests the corresponding terminal device not meet the preset condition, then takes out the transaction request from the transaction queue.
10. processing system as claimed in claim 6 characterized by comprising
The terminal device, for executing transaction verification when detecting preset trading instruction triggering;
The terminal device, for obtaining the transaction and the friendship when executing the result of transaction verification is successfully
Easy voucher, and the transaction request is generated based on the transaction and the transaction certificate.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811021039.6A CN109447649A (en) | 2018-09-03 | 2018-09-03 | The processing method and system of transaction request |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811021039.6A CN109447649A (en) | 2018-09-03 | 2018-09-03 | The processing method and system of transaction request |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109447649A true CN109447649A (en) | 2019-03-08 |
Family
ID=65533181
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811021039.6A Withdrawn CN109447649A (en) | 2018-09-03 | 2018-09-03 | The processing method and system of transaction request |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109447649A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111614707A (en) * | 2019-02-26 | 2020-09-01 | 傲为信息技术(江苏)有限公司 | Transaction system and transaction method based on block chain |
-
2018
- 2018-09-03 CN CN201811021039.6A patent/CN109447649A/en not_active Withdrawn
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111614707A (en) * | 2019-02-26 | 2020-09-01 | 傲为信息技术(江苏)有限公司 | Transaction system and transaction method based on block chain |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9390407B2 (en) | Method and apparatus for providing real time mutable credit card information and for providing timestamp functionality | |
CN103258270B (en) | Bank paying method and device thereof | |
CN106529938B (en) | Virtual card issuing method, device and terminal | |
CN104599408B (en) | Third party's account ATM withdrawal method and system based on dynamic two-dimension code | |
US11410146B2 (en) | Order processing | |
CN102542453B (en) | Mobile payment identity verification method | |
US20120011007A1 (en) | Mobile Payment Using DTMF Signaling | |
KR101807764B1 (en) | Method and system for providing financial service | |
CN104471599A (en) | Methods and systems for performing a financial transaction using a mobile communication device | |
WO2010139122A1 (en) | Device, system and transaction method for integrating payment function and receipt function | |
KR20130141191A (en) | Payment method and system | |
CN101807319A (en) | Authentication method and system based on ATM | |
CN104820944A (en) | Method and system for bank self-service terminal authentication, and device | |
CN103942897A (en) | Method for money withdrawing without card on ATM | |
CN103400265A (en) | Quick payment method and system based on position information | |
CN105608563A (en) | Payment processing method, related equipment and payment processing system | |
CN102956001A (en) | Method, device and system for confirming e-payments | |
CN109214819A (en) | A kind of method of payment and electronic equipment | |
CN108961034A (en) | System and method, storage medium based on user behavior certification | |
CN101872513A (en) | Data processing method, device and system based on POS (Point-Of-Sale) machine | |
CN110766388B (en) | Virtual card generation method and system and electronic equipment | |
US20120271764A1 (en) | Financial trade method and trade system using mobile device for the same | |
CN109447649A (en) | The processing method and system of transaction request | |
CN112687042A (en) | Authentication method, authentication device and electronic equipment | |
CN110119941B (en) | Mobile payment system and mobile payment method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WW01 | Invention patent application withdrawn after publication |
Application publication date: 20190308 |
|
WW01 | Invention patent application withdrawn after publication |