Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application will be further described in detail with reference to the accompanying drawings and specific embodiments.
According to the embodiment of the application, a data interaction device and a method applied to a mobile terminal are provided. Fig. 3 is a schematic structural diagram of a data interaction device 300 applied to a mobile terminal according to the present application. The device comprises a transmission device 500 and a receiving mobile terminal 400. The transmission device 500 may be used as a transmission device (e.g., as a peripheral device) of the receiving mobile terminal 400.
The transmission apparatus 500 includes: the audio conversion module 501, the audio acquisition module 502, further include an input module 503, a print module 504, an audio line interface 505 (not shown in fig. 3), a power interface, and the like. The interactive data audio signal acoustic technique enables more efficient transmission. And the transmission apparatus 500 having a simple structure is low in cost.
The audio conversion module 501, such as an audio acquisition chip, is responsible for processing the interactive data audio signal when communicating with the receiving mobile terminal 400, and is mainly used for converting the input interactive data information into an interactive data audio signal that can be identified by the receiving mobile terminal 400. For example: data such as the price of the commodity selected by the user, which is inputted one by one through the numeric keypad (input module 503), is received, and the price data is converted into an interactive data audio signal that can be recognized by the receiving side mobile terminal 400.
The audio collection module 502, such as a mic interface, is configured to receive an audio acknowledgement signal sent by an acknowledgement party. For example, the affirmed mobile terminal 600 having a transmission application through which an audio affirmation signal such as an audio payment signal agreeing to payment or the like is issued. The audio acquisition module 502 may be controlled to be turned on by a transmission application of the receiving terminal 400, such as turning on a mic device to receive an audio acknowledgement signal of the validating mobile terminal 600.
The input module 503 may be a digital keypad for inputting data for interaction. These data will be used for interaction between the terminal devices, i.e. interaction data between the receiving mobile terminal 400 and the validating mobile terminal 600. Such as the price of the commodity selected by the user, etc.
The print module 504, such as a thermal printer, can print out the associated credentials of the interacted data information. For example, for printing transaction vouchers, bankets, tickets, etc. containing transaction records.
The audio line interface 505 is connectable to an audio port 409 (not shown in fig. 3) of the receiving mobile terminal 400. Such as through an audio line to an audio port 409 of the mobile terminal.
The receiving mobile terminal 400 has a transmission application that can control the following modules for processing. The receiving mobile terminal 400 includes:
the conversion module 401 is configured to read the interactive data audio signal from the transmission device 500 through an audio port 409 (not shown in fig. 3) of the mobile terminal, and convert the interactive data audio signal into a digital signal. The interactive data audio signal sound wave technology realizes more efficient transmission and simpler operation. The receiving mobile terminal 400 reads the interactive data audio signal generated in response to the input of the digital keypad 503 through the audio port 409 by the audio conversion module 501, and converts the read interactive data audio signal (e.g., the interactive data audio signal transmitted from the audio line interface 505 of the transmission device 500) into a digital signal.
Alternatively, the digital signal is displayed on the receiver mobile terminal 400 display in the form of text information through a control process of the transmission application.
And a parsing module 402, configured to parse the acknowledgement information included in the audio acknowledgement signal. Here, the parsed audio acknowledgement signal is an audio acknowledgement signal received from the audio acquisition module 502 of the transmission apparatus 500 and transmitted by the acknowledging party mobile terminal 600. An audio confirmation signal, e.g., an audio payment signal, may include payment information therein. Wherein the payment information at least includes: the payment identity of the payment terminal, such as a unique identity assigned to the payment terminal by a third party, etc. The transaction record may include: merchant information, user information, merchandise information, transaction information, and the like.
The record generating module 403 is configured to generate an interaction record based on the data for interaction and the parsed acknowledgement information in the digital signal, so as to transmit the interaction record to a third party for data interaction. For example, the transaction record may be generated based on the payment information included in the audio confirmation signal parsed by the parsing module 402, and interactive data such as the price of the commodity selected by the user, the number of commodities selected by the user, and the like.
And the encryption module 404 is used for encrypting the interaction record to be transmitted. Such as the transaction record. The security of the transmission data is ensured.
And the uploading module 405 is configured to send the interaction record to a third party through a network to complete data interaction. Here, the data (which may be encrypted) to be interacted with is transmitted to the third party through various networks such as the internet. For example, the transaction record is sent to the transaction platform so that the transaction platform deducts a corresponding amount from the payment account of the user of the validating mobile terminal 600. Here, the mobile terminal 400 uploads the transaction record to a wallet server or the like (transaction platform) through the internet or other networks, can package and transmit the offline transaction record to a third party transaction platform, and can directly transmit the transaction record to the transaction platform on line, so as to complete data interaction operations such as payment.
The receiving mobile terminal 400 may further include: a transmitting module 406 may be configured to transmit the interactive data audio signal and/or the digital signal to the validating mobile terminal 600. The receiving mobile terminal 400 may transmit the interactive data audio signal and/or the digital signal to the validating mobile terminal 600 through a connection network (e.g., a mobile network, the internet, etc.), or the receiving mobile terminal 400 may be connected to a third party data interaction platform (e.g., a third party transaction platform) through a network, and transmit the interactive data audio signal and/or the digital signal to the validating mobile terminal 600 through a server of the third party data interaction platform. The receiving mobile terminal 400 may also interact with the validating mobile terminal by means of wireless transmission, for example by sending the interaction data audio signal and/or the digital signal to the validating mobile terminal 600 by means of Near Field Communication (NFC) or Radio Frequency Identification (RFID). (optionally, the digital signal may also be displayed in the form of text message on the validating mobile terminal 600); and a control module 407, for example, executing a transmission application to control the transmission device 500 to print various data information related to data interaction, such as transaction receipt containing the transaction record, etc.; and a storage module 408 for storing the interaction record, such as the transaction record.
The implementation of the data interaction method applied to the mobile terminal will be described in detail below in conjunction with the data interaction device 300 applied to the mobile terminal. The implementation of the method of the present application corresponds to the implementation of the respective modules included in the apparatus 300, and may be referred to with each other.
Referring to fig. 1, fig. 1 is a flowchart of a data interaction method applied to a mobile terminal according to an embodiment of the present application:
in step S101, the receiving mobile terminal reads the interactive data audio signal converted from the data for interaction and converts the interactive data audio signal into a digital signal.
For example, at the receiving mobile terminal 400, its transmission application executes to receive the interactive data audio signal formed by the data information transmitted through the transmission device 500, such as the price of the goods it inputs, and upon receipt of a preset ending symbol, to confirm the price input, and to convert the interactive data audio signal into a digital signal so as to be subsequently processed and displayed, such as the operation of the conversion module 401. Wherein, the preset ending symbol is as follows: carriage returns, "#", ".
Before step S101, a step of inputting data for interaction and converting the data into an interaction data audio signal that can be recognized by the receiving mobile terminal 400 may be further included. Here, the data for interaction is converted into an interactive data audio signal that the receiving side mobile terminal 400 can recognize according to the data for interaction inputted by the user.
For example, interactive data to be performed by the user, such as one or more commodity names selected by the user and price of the commodity, etc., are inputted one by one through the numeric keypad 503 of the transmission device 500. The audio conversion module 501, such as an audio acquisition chip, converts the data, such as one or more product names, product prices, etc., input through the keypad 503 into an interactive data audio signal that can be recognized by the payee mobile terminal, such as the recipient mobile terminal 400, and transmits the interactive data audio signal to the recipient mobile terminal 400 through the audio line interface 505. The transmitting application of the receiving mobile terminal 400 responds to the interactive data audio signal (user-entered data information) transmitted through the audio port 409.
In step S102, the transmission apparatus 500 receives an audio acknowledgement signal from the acknowledger. The confirmation signal adopts an audio mode and contains data which needs to be used interactively.
For example, when the receiving mobile terminal 400 receives the input interactive data of the transmission device 500, its transmission application can perform control of the audio acquisition module 502 of the transmission device 500 to be turned on to receive the confirmation signal from the confirming mobile terminal 600, i.e. if the purchase is determined and payment is decided, an audio confirmation signal is sent to the audio acquisition module 502. An audio validation signal, such as an audio payment signal, contains audio validation information, such as payment information, that is closely associated with the validating terminal 600.
The validating mobile terminal 600 may enable transmission of audio validation information by executing a transmission application installed thereon, for example, by using the terminal to generate payment information. The validating mobile terminal 600, such as a mobile phone, can bind the mobile phone with the user's effective account number for data interaction with the mobile phone. Such as binding with a payment account number so that the user can make a payment using the cell phone.
And the third-party data interaction platform distributes an identifier (identifier for verification and identification) for the user effective account, and if the third-party transaction platform distributes an identifier for the payment account. The identification that is typically assigned is a unique identification. When data interactions (e.g., transactions) are performed, the identification is used to identify a user account, such as a payment account that identifies the user of the cell phone 600 (payer cell phone).
Or the SIM card number can be bound with the mobile phone, and simultaneously the SIM card number is bound with the effective account (such as a payment account) of the user, so that the effective account (such as the payment account) of the user and the mobile phone (such as a payer terminal/mobile phone) are indirectly bound. And the third party data interaction platform (such as a transaction platform) distributes a unique identifier for the SIM card, and the identifier is used for identifying the user account number of the bound mobile phone (payment terminal) when data interaction (such as transaction) is carried out.
Alternatively, the mobile phone (e.g. payment terminal) 600 may generate an identifier randomly, and send the generated identifier to a third party data interaction platform (e.g. transaction platform), where the third party data interaction platform performs operation while verifying whether the identifier provided by the receiving mobile terminal 400 (e.g. payee) is the same as the user identifier of the (e.g. payment terminal), so as to perform subsequent operations.
In step S103, the acknowledgement information contained in the audio acknowledgement signal is parsed. The confirmation information includes valid account information of the user of the confirmation party mobile terminal 600 and/or an identification of the confirmation party mobile terminal 600. The confirmation information is parsed to enable the third party data interaction platform to identify the user effective account information of the confirmation party mobile terminal 600, and generate corresponding record information. For example, the parsing module 402 parses payment information contained in the audio payment signal. The payment information includes account information of a payment account of the user and/or an identification of the payment terminal 600. And analyzing the payment information so that the third party transaction platform can correctly identify account information of the user at the payment end.
In step S104, an interaction record is generated based on the data for interaction in the digital signal and the confirmation information, so that the interaction record is sent to a third party in a networking manner, so that the third party data interaction platform realizes data interaction with the receiver mobile terminal 400 according to the data for interaction (such as the price, quantity and other data information of the commodity selected by the user) and the confirmation information (such as the effective account information of the user of the mobile terminal of the confirmation party) obtained by the analysis of the analysis module 402.
For example, the third party transaction platform deducts the corresponding transaction amount from the corresponding user account and forwards it to the settlement party account (e.g., the account of the merchant to which the recipient mobile terminal 400 and the transmission device 500 belong). If a unique identifier is allocated to each payment terminal 600 with a payment function or a SIM card number bound by the payment terminal 600 by the third party transaction platform so as to identify a payment account number of a user using the payment terminal 600, after the user sends payment information including the identifier, the third party transaction platform analyzes the identifier, identifies the user account number of the identifier, deducts a corresponding transaction amount from the account of the user, and forwards the transaction amount to a settlement party.
Wherein the record is an information record for data interaction. For example, a transaction record, comprising: merchant information, user information, merchandise information, transaction information. The merchant information includes: merchant name, customer service telephone number, authorization number, clearing house number, etc. User information, user online payment account information, information of a bank card held by the user, encrypted account information of a user bank account, account information of a user online payment account, and the like. The commodity information includes: and the name, the number, the price, the quantity, the date of delivery, the total amount of consumption and other information of the commodity purchased by the user. The payment information includes: the user pays an amount, transaction time, etc.
In step S105, the interaction record is encrypted and sent to a third party to complete the data interaction. The encryption module 404 encrypts data to be transmitted (such as the record generated after parsing the information) to ensure security, and sends the encrypted data to a third party to enable interaction of the data.
For example, an encrypted record, such as a transaction record, is sent to the transaction platform to cause the transaction platform to deduct a corresponding amount from the payment account of the payment terminal user. Encrypting the transaction record, particularly the identification information and the user information sent by the user, so as to ensure the safety of the user account information, and sending the encrypted transaction record to a third-party transaction platform. The record may be encrypted using a symmetric key or a public key, which is not limited herein. The third party data interaction platform (transaction platform) receives the encrypted record, decrypts the encrypted record, analyzes the information in the record, and identifies the user identification contained in the information, so that the information security such as the user account is identified to complete data interaction, for example, the user account for purchasing goods is identified, the corresponding amount is deducted from the user account, and the user account is transferred to the settlement party.
Fig. 2 is a flow chart of a preferred embodiment of the present application. In this embodiment, the affirmed mobile terminal 600 is specifically a payer mobile phone 600, and the receiving mobile terminal 400 is specifically a payee mobile phone 400.
In step S201, data for interaction is input, for example, commodity and price information of the commodity selected by the user are input one by one through a numeric keypad 503 of a transmission device 500 connected to the payee mobile phone 400, and the transmission device 500 converts the commodity and the commodity price information input through the keypad 503 into an interactive data audio signal that can be recognized by the payee mobile phone 400.
In step S202, the interactive data audio signal is read through the audio port 409 of the payee handset 400 and converted into a digital signal. When receiving the preset ending symbol, confirming that the price is input.
Optionally, the received interactive data audio signal is converted into a digital signal, and the digital signal can be further displayed on the display of the payee mobile phone 400 in the form of text information, or the payee mobile phone 400 can convert all the received interactive data audio signals into digital signals and further display the digital signals on the display of the payee mobile phone 400 until the price is input, so that a user can confirm whether the input commodity price is correct.
The interactive data audio signal and/or the digital signal may also be transmitted to the payor handset 600 in step S203. The payee mobile phone 400 may send the interactive data audio signal and/or the digital signal to the payer mobile phone 600 through a connection network (e.g., a mobile network, the internet, etc.), or the payee mobile phone 400 may connect with a third party through a network, so that a server of the third party sends the interactive data audio signal and/or the digital signal to the payer mobile phone 600;
for example, the payee mobile phone 400 may transmit the interactive data audio signal including the commodity information to the payee mobile phone through the internet, or transmit the interactive data audio signal including the commodity information to the payee mobile phone through the third party data interaction platform; the payee mobile phone 400 may also interact with the payor mobile phone 600 by wireless transmission, for example by Near Field Communication (NFC) or Radio Frequency Identification (RFID) to send interactive data audio signals and/or digital signals containing merchandise information to the payor mobile phone 600. The payer mobile phone 600 receives the interactive data audio signal and may further display the interactive data audio signal in the form of text information on a display screen, so that the user of the payer mobile phone 600 determines the price information of the commodity. Or the digital signal obtained by converting the interactive data audio signal received by the payee mobile phone 400 may be sent to the payer mobile phone 600, where the payer mobile phone 600 displays the digital signal as text information, so as to facilitate the user to view.
In step S204, an audio acknowledgement signal from the acknowledger is received. The audio payment signal emitted from the payer mobile phone 600 is received through the transmission device 500 connected to the receiver's smart payee mobile phone 400. After confirming the information of the purchased commodity, the user of the payer mobile phone 600 may convert his own unique identification information together with the amount information of the payment into an audio confirmation signal to be transmitted to the transmission device 500, indicating confirmation of payment of the corresponding amount. Or the payor phone 600 randomly generates an identification and converts the randomly generated identification into an audio confirm signal (audio payment signal) to be transmitted to the payor phone 400, and simultaneously transmits the randomly generated identification to the third party platform such as a transaction platform, and when the third party transaction platform settles the transaction, it is simultaneously verified whether the identification provided by the payor is the same as that provided by the payor phone 600, thereby performing the subsequent operations.
In step S205, confirmation information, such as payment information, contained in the audio confirmation signal is parsed. After receiving the audio confirmation signal sent by the payer mobile phone 600 through the transmission device 500, the payee mobile phone 400 parses the confirmation information (payment information) including the user identification contained in the signal. The payment information includes account information of the user's payment account and/or a unique identification of the payer mobile phone 600.
In step S206, an interaction record is generated based on the data for interaction and the confirmation information contained in the digital signal. After the payment information of the payment mobile phone 600 is analyzed, an interaction record is generated based on the payment information and the data information such as the price number of the commodity selected by the user, so that the third party transaction platform identifies the identity of the payment terminal user, deducts the corresponding transaction amount from the corresponding account number and transfers the transaction amount to the account of the settlement party, or the third party transaction platform distributes a unique identifier to each payment terminal with the payment function so as to identify the bank account number or the payment account number of the user using the payment mobile phone 600, and after the user sends the payment information containing the identifier, the third party transaction platform analyzes the identifier to deduct the corresponding transaction amount from the account of the user and transfers the transaction amount to the settlement party.
In step S207, the interaction record is encrypted and the record is sent to a third party to complete the data interaction. And if the transaction record is encrypted, sending the transaction record to a third party transaction platform so that the transaction platform deducts the corresponding amount from the payment account of the payment terminal user. Encrypting the transaction record, particularly the identification information and the user information sent by the user so as to ensure the safety of the user account information, sending the encrypted transaction record to a third party transaction platform, decrypting the encrypted transaction record after the third party transaction platform receives the encrypted transaction record, analyzing the information in the transaction record, and identifying the user identification contained in the information, thereby identifying the user account for purchasing the commodity, deducting the corresponding amount from the user account, and transferring the amount to a settlement party.
In step S208, an interaction credential comprising the interaction record is output. The input application of the payee handset 400 drives the print module 504 of the transmission device 500, such as a thermal printer, to print out the interaction credentials containing the interaction record. Such as application execution by payee handset 400, may drive transmission device 500 to print a transaction receipt containing the transaction record.
Preferably, after step S207, storing the record may also be included. The payee mobile phone 400 may operate offline, encrypt the transaction record, and store the encrypted data in the payee mobile phone 400 for a predetermined period of time without transmitting the encrypted data to the third party transaction platform, accumulate a predetermined amount of data, and package the data for transaction settlement. And when the third party transaction platform is connected with the internet, settlement can be carried out, at the moment, the encrypted transaction record is sent to the third party transaction platform, after the third party transaction platform receives the encrypted transaction record, the transaction playback is carried out, and the fund settlement is carried out on the accounts of the two parties.
Preferably, the third party platform performs the successful data exchange, and the payee handset 400 may return a message of the successful data exchange to the payer handset 600. For example, after the transaction is successful, that is, after the settlement party successfully obtains the payment of the account number of the user, the payment success information may be sent to the payment party mobile phone 600, or after the third party transaction platform successfully operates the account of the payment party mobile phone 600 and the account of the payee mobile phone 400, the payment success information may be directly sent to the payment party mobile phone 600.
The following is one example of an application of the method and apparatus of the present application:
fig. 4 is a schematic diagram of data interaction between a receiving mobile terminal and a confirming mobile terminal by applying the method, as shown in fig. 4, the method can be applied to various mobile terminals, for example, a mobile phone, the mobile phone is connected with a transmission device 500 by an audio line, when a user X selects a commodity a, b, c, d, the price of the commodity selected by the user X is input one by one through an input module 503 (for example, a numeric keyboard) of the transmission device 500 connected with the mobile phone, the transmission device 500 can automatically convert the price into an interactive data audio signal which can be identified by the mobile phone while inputting the price, and the mobile phone reads the interactive data audio signal through an audio port 409 and converts the interactive data audio signal into a digital signal. When receiving the preset ending symbol, confirming that the price is input, converting the interactive data audio signal into a digital signal at the mobile phone (optionally, displaying the digital signal on the mobile phone in a text information mode). Alternatively, the input may be input and displayed synchronously, or input may be displayed after completion. And, the mobile phone may send the interactive data audio signal and/or the digital signal to the payment terminal through a connection network or a server connected to a third party, or through a wireless transmission manner, and receive the audio payment signal sent by the payment terminal 600 through the transmission device 500, parse the payment information contained in the audio payment signal, generate a transaction record based on the data (such as the price number of the commodity, etc.) for interaction contained in the digital signal and the payment information, and encrypt the transaction record. Fig. 5 is a schematic diagram of a receiving mobile terminal applying the data interaction method of the present application sending the interaction record to a third party through the internet, as shown in fig. 5, the receiving mobile terminal may send the transaction record to a third party transaction platform through the internet, so that the transaction platform deducts a corresponding amount from a payment account of a user of the payment terminal, and then, a mobile phone driving transmission device 500 prints a transaction receipt containing the transaction record as a payment credential of the user.
It should be noted that although several modules or sub-modules of the system are mentioned in the above description, this division is not mandatory. Indeed, the features and functions of two or more modules described above may be embodied in one module in accordance with embodiments of the present application. Conversely, the features and functions of one module described above may be further divided into a plurality of modules to be embodied.
Furthermore, although the operations of the methods of the present application are depicted in the drawings in a particular order, this is not required to or suggested that these operations must be performed in this particular order or that all of the illustrated operations must be performed in order to achieve desirable results.
The application may be described in the general context of computer-executable instructions, such as program modules or units, being executed by a computer. Generally, program modules or units may include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types. Generally, program modules or units may be implemented in software, hardware, or a combination of both. The application may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules or units may be located in both local and remote computer storage media including memory storage devices.
In one typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include volatile memory in a computer-readable medium, random Access Memory (RAM) and/or nonvolatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of computer-readable media.
Computer readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of storage media for a computer include, but are not limited to, phase change memory (PRAM), static Random Access Memory (SRAM), dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), read Only Memory (ROM), electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium, which can be used to store information that can be accessed by a computing device. Computer readable media, as defined herein, does not include non-transitory computer readable media (transmission media), such as modulated data signals and carrier waves.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article or apparatus that comprises the element.
It will be appreciated by those skilled in the art that embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The principles and embodiments of the present application have been described herein with reference to specific examples, the description of which is intended only to assist in understanding the methods of the present application and their essential ideas; meanwhile, as those skilled in the art will have modifications in the specific embodiments and application scope in accordance with the ideas of the present application, the present description should not be construed as limiting the present application in view of the above.