Specific embodiment
To keep the purposes, technical schemes and advantages of the application clearer, below in conjunction with drawings and the specific embodiments, to this
Application is described in further detail.
According to an embodiment of the present application, a kind of data interaction device and its method applied to mobile terminal is provided.Fig. 3
It is the structural schematic diagram of the data interaction device 300 applied to mobile terminal of the application.Described device includes transmission device
500, recipient's mobile terminal 400.Transmission device 500 can be used as the transmission device of recipient's mobile terminal 400 (as being used as outside one
If).
Transmission device 500 includes: audio conversion module 501, audio collection module 502, further comprises input module
503, print module 504,505 (not shown) of audio line interface, power interface etc..Interaction data audio signal technology of acoustic wave
Realize that transmission is more efficient.And the simple transmission device 500 of structure is at low cost.
Audio conversion module 501, such as audio collection chip are responsible for when processing is communicated with recipient's mobile terminal 400
Interaction data audio signal, being mainly used for the interaction data information of input being converted to recipient's mobile terminal 400 can identify
Interaction data audio signal.Such as: receive the commodity selected by the user that numeric keypad (input module 503) inputs one by one
The data such as price, price data is converted into the interaction data audio signal that recipient's mobile terminal 400 can identify.
Audio collection module 502, such as mic interface, the audio confirmation signal issued for receiving confirmation side.For example, tool
There is confirmation side's mobile terminal 600 of transmission application, the audio confirmation signal issued by the control of the transmission application, such as together
Audio payment signal of meaning payment etc..The audio collection module 502 can be controlled open by the transmission application of receiving side terminal 400
It opens, opens mic equipment such as to receive the audio confirmation signal of confirmation side's mobile terminal 600.
Input module 503 can be numeric keypad, for inputting the data for being used for interaction.These data will be used for terminal
Interaction data between interaction between equipment, as recipient's mobile terminal 400 and confirmation side's mobile terminal 600.For example, with
The selected commodity price etc. in family.
Print module 504, such as thermal printer can print out the related authority of the data information of interaction.For example, with
In transaction slip, deposit receipt, receipt etc. that printing includes transaction record.
Audio line interface 505 can connect to 409 (not shown) of audio port of recipient's mobile terminal 400.Such as,
It is connected by the audio port 409 of tone frequency channel wire and mobile terminal.
Recipient's mobile terminal 400 has transmission application, can control following module and is handled.The recipient is mobile eventually
End 400 includes:
Conversion module 401 reads for 409 (not shown) of audio port by the mobile terminal and carrys out autobiography
The interaction data audio signal of transfer device 500, and the interaction data audio signal is converted into digital signal.Interaction data sound
Frequency signal technology of acoustic wave realizes that transmission is more efficient, operates also easier.Recipient's mobile terminal 400 passes through audio port 409
It reads audio conversion module 501 and interaction data audio signal generated is responded to the input of numeric keypad 503, by what is read
Interaction data audio signal (as: the interaction data audio signal transmitted by the audio line interface 505 of transmission device 500) conversion
At digital signal.
Optionally, it is handled by the control of transmission application, the digital signal is shown in the form of text information and is being connect
On 400 display of debit's mobile terminal.
Parsing module 402, for parsing the confirmation message for including in the audio confirmation signal.Herein, the audio of parsing
Confirmation signal, be the audio collection module 502 from transmission device 500 the sound that sends of received, confirmation side's mobile terminal 600
Frequency confirmation signal.Audio confirmation signal, for example, audio pays signal, wherein may include payment information.Wherein, the payment
Information includes at least: the pay mark of the payment terminal, the unique identification included payment terminal as described in third party distributes to
Deng.The transaction record may include: merchant information, user information, merchandise news, Transaction Information, etc..
Record generation module 403, for based in the digital signal for the data of interaction and described in parsing
Confirmation message generates intersection record, carries out data interaction to be transferred to third party.For example, the parsing module can be based on
The price of commodity and commodity that the payment information and user for including in the 402 audio confirmation signals parsed are selected and
The data of the interaction such as commodity amount that user selectes generate transaction record.
Encrypting module 404, for encrypting intersection record to be transmitted.Such as the transaction record.It ensure that transmission data
Safety.
Uploading module 405, for sending the intersection record to third party to complete data interaction by network.Here,
By the various networks such as internet, the data to be interacted (can be encrypted) be sent to third party.For example, flat to transaction
Platform sends above-mentioned transaction record, so that the transaction platform is deducted from the payment account of the user of confirmation side's mobile terminal 600
The corresponding amount of money.Here, transaction record is uploaded to wallet service by internet or other networks by the mobile terminal 400
Off-line trading can be recorded packing and be transmitted to third party transaction platform by quotient etc. (transaction platform), also can online directly be remembered transaction
Record is transmitted to transaction platform, completes the data interactions such as payment operation.
Recipient's mobile terminal 400 can also include: sending module 406, can be used for mobile to the confirmation side
Terminal 600 sends interaction data audio signal and/or the digital signal.Recipient's mobile terminal 400 can be by connecting net
Network (such as mobile network, internet etc.) to confirmation side's mobile terminal 600 send the interaction data audio signal and/or
The digital signal or recipient's mobile terminal 400 can pass through network and third party's data interaction platform (such as third party
Transaction platform) connection, the friendship is sent to confirmation side's terminal 600 by the server of third party's data interaction platform
Mutual data audio signal and/or the digital signal.Recipient's mobile terminal 400 can also be by way of wireless transmission and institute
It states confirmation side's mobile terminal to interact, such as by close range wireless communication (NFC) or radio frequency identification (RFID) by institute
Interaction data audio signal and/or the digital signal is stated to send to confirmation side's mobile terminal 600.(optionally, number
Signal can also be shown in confirmation side's mobile terminal 600 in the form of text information);And control module 407, for example, executing
Transmission application prints various data informations related with data interaction to control the transmission device 500, such as comprising the transaction
The transaction slip etc. of record;And memory module 408, for storing described intersection record, such as the transaction record etc..
Below in conjunction with the data interaction device 300 for being applied to mobile terminal, detailed description is applied to the number of mobile terminal
According to the realization of exchange method.The specific implementation of the present processes and the specific implementation of modules included by device 300 are
It is corresponding, it can be cross-referenced.
It is the flow chart of the data interactive method applied to mobile terminal of the embodiment of the present application with reference to Fig. 1, Fig. 1:
In step s101, recipient's mobile terminal read by for interactive data conversion at interaction data audio believe
Number, and the interaction data audio signal is converted into digital signal.
For example, in recipient's mobile terminal 400, transmission application is executed, with receive by transmission device 500 transmit come
Data information is formed by the interaction data audio signal, as its input commodity price, once have received preset
When end mark, confirmation price input is finished, and the interaction data audio signal is converted to digital signal, in this way so as to subsequent
It can handle and show, e.g., the operation of conversion module 401.Wherein, preset end mark is for example: carriage return character, " # ", " * " etc..
It can also include data of the input for interaction, and by the data conversion at recipient before step S101
The step of interaction data audio signal that mobile terminal 400 can identify.Here, according to the number for interaction of user's input
According to the interaction data audio signal that can identify the data conversion at recipient's mobile terminal 400.
For example, the numeric keypad 503 by transmission device 500 inputs user's interaction data to be carried out, e.g., user one by one
The data such as the selected price of one or more product names and commodity.And such as audio collection chip of audio conversion module 501 will
These data inputted by numeric keypad 503, such as one or more product names, commodity price data information, are converted into
The interaction data audio signal that beneficiary mobile terminal such as recipient's mobile terminal 400 can identify, and pass through audio line interface
505 are transferred to recipient's mobile terminal 400.The transmission application of recipient's mobile terminal 400 is passed according to by 409 Duis of audio port
Defeated next interaction data audio signal (data information of user's input) responds.
In step s 102, transmission device 500 receives the audio confirmation signal that confirmation side issues.Confirmation signal uses audio
Mode, and include the data for needing to be used interchangeably.
For example, when recipient's mobile terminal 400 receives the interaction data of the input of transmission device 500, transmission application energy
The audio collection module 502 for executing control transmission device 500 is opened, to receive the confirmation letter from confirmation side's mobile terminal 600
Number, i.e., if it is determined that buying and determining to pay the bill, then audio confirmation signal is sent to the audio collection module 502.Audio confirmation letter
Number for example audio pays signal, the payment information it includes audio confirmation message for example with 600 close association of confirmation side's terminal.
Confirmation side's mobile terminal 600 can realize audio confirmation message by executing the transmission application installed thereon
Transmission, such as, payment information is generated using the terminal.Confirmation side's mobile terminal 600, such as mobile phone, can by the mobile phone with
Effective account binding of user is to carry out data interaction using the mobile phone.As bound with payment accounts to which user can use institute
Mobile phone is stated to pay the bill.
Third party's data interaction platform is the effective account allocation identification of user (mark of verifying identification), such as third party transaction
Platform is that the payment accounts are assigned mark.The mark usually distributed is unique identification.Carry out data interaction (as traded)
When, user account number is identified with the mark, such as identifies the payment accounts of the user of mobile phone 600 (payer mobile phone).
Or can be by SIM card number and the handset binding, while effective account (such as payment accounts) of SIM card number and user
Binding, thus the active account (such as payment account) and mobile phone (such as payer terminal/mobile phone) of user bound indirectly.Third number formulary
It is that the SIM card distributes unique identification according to interaction platform (such as transaction platform), with the mark when carrying out data interaction (as trade)
Know the user account to identify bound mobile phone (payment terminal).
Again alternatively, a mark can also be randomly generated by the mobile phone (such as payment terminal) 600, and it is randomly generated described
Mark be sent to third party's data interaction platform (such as transaction platform), third party tests while data interaction platform operates
The user identifier phase for identifying whether with being somebody's turn to do (such as payment terminal) that card is provided from recipient's mobile terminal 400 (such as beneficiary)
Together, to carry out subsequent operation.
In step s 103, the confirmation message for including in the audio confirmation signal is parsed.Confirmation message includes the confirmation
Effective account information of the user of square mobile terminal 600 and/or the mark of confirmation side's mobile terminal 600.Parse the confirmation letter
It ceases so that third party's data interaction platform can identify the effective account information of the user of confirmation side's mobile terminal 600, generation is corresponding
Record information.For example, parsing module 402 parses the payment information for including in audio payment signal.The payment information includes using
The account information of the payment account at family and/or the mark of payment terminal 600.The payment information is parsed, so that third party transaction is flat
Platform correctly identifies the account information of payment end subscriber.
In step S104, interacted based on being generated for the data of interaction and the confirmation message in the digital signal
Record, in this way, intersection record networking is sent to third party, so that third party's data interaction platform is according in the transaction record
The data (such as the data informations such as user price, quantity of commodity for selecting) for interaction that include and pass through parsing module
The confirmation message (such as effective account information of confirmation side mobile terminal user) that 402 parsing obtains is realized and is moved with recipient
Data interaction between dynamic terminal 400.
For example, third party transaction platform deducts corresponding transaction amount from corresponding user account, and it is given to clearing side
Account (as: the account of businessman belonging to recipient's mobile terminal 400 and transmission device 500).Wherein, if third party transaction platform is given
The SIM card number of each payment terminal 600 or payment terminal 600 binding with payment function distributes a unique mark,
To identify the payment accounts of the user using the payment terminal 600, after user has sent the payment information comprising this mark,
Third party transaction platform is resolved to this mark, identifies the user account of the mark, deducts from the account of user corresponding
Transaction amount, and it is given to clearing side.
Wherein, described to be recorded as recording for the information of data interaction.For example, transaction record, comprising: merchant information, use
Family information, merchandise news, Transaction Information.Merchant information includes: name of firm, service calls number, grant number, settlement clerk's number
Deng.User information, payment accounts information on user network, the information of the held bank card of user, encrypted user's bank account
The information related to user such as account information of payment account in account information and/or user network.Merchandise news includes: the use
The title of the commodity of family purchase, price, quantity, produces the information such as date, consumption total amount at number.Payment information includes: user
Payment amount, exchange hour etc..
In step s105, the intersection record is encrypted, and sends the intersection record to third party to complete data friendship
Mutually.Encrypting module 404 encrypts the data to be transmitted (such as the record generated after parsing information), to guarantee safety, and will encryption
Data be sent to third party realize data interaction.
For example, encryption record such as transaction record, send the transaction record to transaction platform so that the transaction platform from
The corresponding amount of money is deducted in the payment account of the payment terminal user.The transaction record is encrypted, especially user
The identification information and user information of transmission, to guarantee the safety of user account information, and by encrypted transaction record to
Tripartite transaction platform is sent.Wherein, carrying out encryption to record can be used symmetric key or public key encryption, here with no restrictions.The
Tripartite's data interaction platform (transaction platform) receives the record of encryption, decrypts the record of the encryption later, and described in parsing
Information in record, the user identifier for including in identification information, thus identify that the information securities such as user account complete data interaction,
For example, the user account of identification purchase commodity, the corresponding amount of money is deducted from the user account, is given to clearing side.
Fig. 2 is preferred embodiment of the present application flow chart.In the present embodiment, confirmation side's mobile terminal 600 is specially branch
Square mobile phone 600 is paid, recipient's mobile terminal 400 is specially beneficiary mobile phone 400.
In step s 201, data of the input for interaction, for example, being set by the transmission being connected with beneficiary mobile phone 400
Standby 500 numeric keypad 503 inputs the pricing information of commodity and commodity that user chooses one by one, and the transmission device 500 will lead to
The commodity and commodity price information for crossing the input of keyboard 503 are converted into the friendship that the beneficiary mobile phone 400 can identify
Mutual data audio signal.
In step S202, the interaction data audio signal is read by the audio port 409 of beneficiary mobile phone 400,
And the interaction data audio signal is converted into digital signal.When receiving preset end mark, confirmation price is defeated
Enter to finish.
Optionally, while the interaction data audio signal received being converted into digital signal, can also further by
Digital signal simultaneous display on the display of beneficiary mobile phone 400 in the form of text information, can also be defeated until price
Enter to finish, all interaction data audio signals received are wholly converted into digital signal again by beneficiary mobile phone 400, go forward side by side one
Whether step is shown on the display of beneficiary mobile phone 400, to facilitate the commodity price of user's confirmation input correct.
In step S203, the interaction data audio signal and/or institute can also be sent to the payer mobile phone 600
State digital signal.Beneficiary mobile phone 400 can be by connecting network (such as mobile network, internet etc.) Xiang Suoshu payer hand
Machine 600, which sends the interaction data audio signal and/or the digital signal or beneficiary mobile phone 400, can pass through network
Connect with third party, make third-party server to the payer mobile phone 600 send the interaction data audio signal and/or
The digital signal;
For example, beneficiary mobile phone 400 can by internet by include merchandise news interaction data audio signal send out
It gives payer mobile phone, or by third party's data interaction platform will include that the interaction data audio signal of merchandise news is sent
Give payer mobile phone;Beneficiary mobile phone 400 can also be handed over by way of wireless transmission with the payer mobile phone 600
Mutually, for example, by close range wireless communication (NFC) or radio frequency identification (RFID) by include merchandise news interaction data
Audio signal and/or digital signal are sent to the payer mobile phone 600.The payer mobile phone 600 receives the interactive number
It, can be further to be shown in the form of text information on a display screen, so that the user of payer mobile phone 600 according to audio signal
Determine the pricing information of commodity.Or the interaction data audio signal that beneficiary mobile phone 400 receives can also be converted to
Digital signal be sent to the payer mobile phone 600, the payer mobile phone 600 shows the digital signal with text information
It shows and, to facilitate user to check.
In step S204, the audio confirmation signal that confirmation side issues is received.Pass through the intelligent beneficiary hand with recipient
The connected transmission device 500 of machine 400 receives the audio that payer mobile phone 600 issues and pays signal.600 user of payer mobile phone is true
After the information for subscribing the commodity bought, the unique identification information of oneself can be converted into audio together with the amount information of payment together
The transmission device 500 that confirmation signal is sent to indicates that confirmation pays the corresponding amount of money.Or payer mobile phone 600 is randomly generated
One mark, and the mark being randomly generated is converted into audio confirmation signal (audio payment signal) and is sent to the gathering
Fang Shouji 400, and the mark being randomly generated is sent into the third-party platform such as transaction platform simultaneously, when third party transaction is flat
When platform settles accounts the transaction, at the same verify beneficiary offer identify whether with payer mobile phone 600 provide it is identical,
To carry out subsequent operation.
In step S205, the confirmation message for including in the audio confirmation signal, such as payment information are parsed.Beneficiary hand
After machine 400 receives the audio confirmation signal of the sending of payer mobile phone 600 by transmission device 500, include in analytic signal
Including user identifier, the confirmation message (payment information).The payment information include the payment account of user account information and/
Or the unique identification of payer mobile phone 600.
In step S206, generated based on include in the digital signal for the data of interaction and the confirmation message
Intersection record.After the payment information for parsing payer mobile phone 600, the price based on the commodity that the payment information and user are selected
The equal data informations of quantity generate intersection record, so that the identity of third party transaction land identification payment end subscriber, from corresponding
The amount of money traded accordingly is deducted in account, and be given to clearing side's account or third party transaction platform there is branch to each
The payment terminal for paying function distributes a unique mark, to identify bank's account of the user using the payer mobile phone 600
Number or payment accounts, when user have sent comprising this mark payment information after, third party transaction platform be resolved to this mark
Corresponding transaction amount can be deducted from the account of the user, and is given to clearing side.
In step S207, the intersection record is encrypted, and send the record to third party and complete data interaction.Such as encryption
Transaction record sends the transaction record to third party transaction platform, so that the transaction platform is from the payment terminal user
Payment account in deduct the corresponding amount of money.The transaction record is encrypted, especially user send identification information with
And user information, to guarantee the safety of user account information, and encrypted transaction record is sent to third party transaction platform,
Third party transaction platform is decrypted after receiving the transaction record of encryption, parses the information in the transaction record, identification letter
The user identifier for including in breath deducts the corresponding amount of money to identify the user account of purchase commodity from the user account, turns
To clearing side.
In step S208, output includes the interaction authority of the intersection record.The input application of beneficiary mobile phone 400 is driven
The print module 504 of the transmission device 500 is moved, such as the thermal printer of setting, printout includes the intersection record
Interaction authority.Such as the application execution of beneficiary mobile phone 400, the printing of transmission device 500 can be driven to include the transaction record
Transaction slip.
It preferably, can also include: the storage record after step S207.Beneficiary mobile phone 400 is in offline
When can also work, after above-mentioned transaction record is encrypted, these encryption datas can be sent to temporarily first
Third party transaction platform, and be stored in beneficiary mobile phone 400, within a certain period of time, a certain amount of data are accumulated, is packed into
Row settlement of transactions.It can be settled accounts when networking with third party transaction platform, the transaction record by the encryption is sent at this time
Third party transaction platform after third party transaction platform receives, carries out transaction playback, and carry out capital settlement to the account of both sides.
Preferably, third-party platform executes data exchange success, and beneficiary mobile phone 400 can be returned to payer mobile phone 600
Return the successful message of data interaction.For example, after trading successfully, that is, clearing side successfully obtains the payment of the account of user
Afterwards, payment successful information or third party transaction platform can be sent to payer mobile phone 600 to the account of payer mobile phone 600
Behind family and the success of 400 account operation of beneficiary mobile phone, payment successful information directly is sent to payer mobile phone 600.
Here is an application example of the present processes and device:
Fig. 4 is the schematic diagram that data interaction is carried out using this method recipient mobile terminal and confirmation side's mobile terminal, such as
Shown in Fig. 4, the application be can be applied in various mobile terminals, such as mobile phone, and mobile phone is carried out with transmission device 500 with tone frequency channel wire
Connection, when user X has selected commodity a, b, c, d, then by the input module 503 of the transmission device 500 that is connect with mobile phone (such as
Numeric keypad) input user X selected commodity one by one price, transmission device 500 can be while input, automatically will be described
Price is converted into the interaction data audio signal that the mobile phone can identify, mobile phone reads interactive number by audio port 409
Digital signal is converted to according to audio signal, and by the interaction data audio signal.When receiving preset end mark,
Confirmation price input finish the mobile phone by interaction data audio signal be converted into digital signal (optionally, digital signal with
Text information mode is shown on mobile phone).Optionally, which can be input and simultaneous display, is also possible to input and finishes
It shows again.Also, mobile phone can be by connection network or the third-party server of connection, or to branch by way of wireless transmission
It pays terminal and sends the interaction data audio signal and/or the digital signal, and payment is received by the transmission device 500
The audio that square terminal 600 issues pays signal, parses the payment information for including in the audio payment signal, and be based on the number
Include in word signal generates transaction record for the data (such as price quantity of commodity etc.) of interaction and the payment information,
And encrypt the transaction record.Fig. 5 be using the application data interactive method recipient's mobile terminal by internet to
Third party sends the schematic diagram of the intersection record, as shown in figure 5, recipient's mobile terminal can be by internet to third party
Transaction platform sends the transaction record, so that the transaction platform deducts phase from the payment account of the payment terminal user
The amount of money answered, later, it includes the transaction slip of the transaction record that mobile phone, which drives the printing of transmission device 500, as paying for user
Money voucher.
It should be noted that this division is simultaneously although being referred to several modules or submodule of system in above description
Non-imposed.In fact, the feature and function of two or more above-described modules can according to presently filed embodiment
To be embodied in a module.Conversely, the feature and function of an above-described module can be by more with further division
A module embodies.
In addition, although describing the operation of the application method in the accompanying drawings with particular order, this do not require that or
Hint must execute these operations in this particular order, or have to carry out shown in whole operation be just able to achieve it is desired
As a result.
The application can describe in the general context of computer-executable instructions executed by a computer, such as program
Module or unit.Generally, program module or unit may include executing particular task or realization particular abstract data type
Routine, programs, objects, component, data structure etc..In general, program module or unit can be by softwares, hardware or both
Combination realize.The application can also be practiced in a distributed computing environment, in these distributed computing environments, by passing through
Communication network and connected remote processing devices execute task.In a distributed computing environment, program module or unit can
To be located in the local and remote computer storage media including storage equipment.
In a typical configuration, calculating equipment includes one or more processors (CPU), input/output interface, net
Network interface and memory.
Memory may include the non-volatile memory in computer-readable medium, random access memory (RAM) and/or
The forms such as Nonvolatile memory, such as read-only memory (ROM) or flash memory (flash RAM).Memory is computer-readable medium
Example.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be by any method
Or technology come realize information store.Information can be computer readable instructions, data structure, the module of program or other data.
The example of the storage medium of computer includes, but are not limited to phase change memory (PRAM), static random access memory (SRAM), moves
State random access memory (DRAM), other kinds of random access memory (RAM), read-only memory (ROM), electric erasable
Programmable read only memory (EEPROM), flash memory or other memory techniques, read-only disc read only memory (CD-ROM) (CD-ROM),
Digital versatile disc (DVD) or other optical storage, magnetic cassettes, tape magnetic disk storage or other magnetic storage devices
Or any other non-transmission medium, can be used for storage can be accessed by a computing device information.As defined in this article, it calculates
Machine readable medium does not include non-temporary computer readable media (transitory media), such as the data-signal and carrier wave of modulation.
It should also be noted that, the terms "include", "comprise" or its any other variant are intended to nonexcludability
It include so that the process, method, commodity or the equipment that include a series of elements not only include those elements, but also to wrap
Include other elements that are not explicitly listed, or further include for this process, method, commodity or equipment intrinsic want
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including described want
There is also other identical elements in the process, method of element, commodity or equipment.
It should be understood by those skilled in the art that, embodiments herein can provide as method, system or computer program
Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the application
Apply the form of example.Moreover, it wherein includes the computer of computer usable program code that the application, which can be used in one or more,
The computer program implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) produces
The form of product.
Specific examples are used herein to illustrate the principle and implementation manner of the present application, and above embodiments are said
It is bright to be merely used to help understand the present processes and its main thought;At the same time, for those skilled in the art, foundation
The thought of the application, there will be changes in the specific implementation manner and application range, in conclusion the content of the present specification is not
It is interpreted as the limitation to the application.