Data interaction method and device, offline credit payment method and device
Through the interaction between smart terminals and remote servers, temporary or effective authorization data are obtained, the problems of low security and network dependence of traditional credit payment methods are solved, offline credit payment is realized, and payment efficiency and security are improved.
Patent Information
- Application Number
- CN202011528098.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2016-01-05
- Publication Date
- 2024-12-03
- Estimated Expiration
- 2036-01-05
AI Technical Summary
Traditional credit payment methods are based on magnetic stripe credit cards, which have low security, easy to be copied and misappropriated, and require real-time networking for fund processing, resulting in low payment efficiency for users in poor network environments.
Through the interaction between smart terminals and remote servers, authorized data that takes effect temporarily or within a certain period of time is obtained, offline credit payment is realized, magnetic stripe information leakage and network dependence are avoided, and payment efficiency is improved.
It realizes fast and secure credit payment without relying on the network, reduces the risk of users' economic losses, and improves payment efficiency, and is suitable for environments with poor network conditions.
Smart Images

Figure CN112508548B_ABST
Abstract
Description
[0001] This application is a divisional application of the invention patent application with application date of January 5, 2016, application number "201610006675.6", and invention name "Data interaction method and device, offline credit payment method and device". Technical Field
[0002] The present application relates to the field of data interaction technology, and in particular to a data interaction method and device, and an offline credit payment method and device. Background Art
[0003] Traditional credit payment methods are usually completed based on magnetic stripe credit cards, which have problems such as being counterfeited and stolen. Although some new credit cards now use smart card carriers, which has improved security, there are still a large number of credit card transactions based on magnetic stripes. In addition, the payment limit of credit cards is usually large, and users need to go to the credit card issuing bank to adjust the credit limit. In addition, credit cards of this type have a low security factor. If the credit card magnetic stripe information is copied or the credit card is lost, it will cause great losses to the user, and the security is relatively low. In addition, in current online payments, payments are usually made based on bank card (including credit card) transfers, and the payment process requires real-time processing of user funds. Summary of the invention
[0004] The embodiment of the present application specifically provides a data interaction method, including:
[0005] Collecting authorization data for this interaction obtained by the smart terminal from the remote server, wherein the authorization data is temporarily obtained by the smart terminal from the remote server in real time, or is effective within a certain period of time after being obtained by the smart terminal from the remote server;
[0006] The authorization data and the interaction data are recorded.
[0007] The embodiment of the present application also provides a data interaction method, including:
[0008] Obtaining authorization data of the remote server for the user's current interaction, wherein the authorization data is temporarily obtained by the smart terminal from the remote server in real time, or is effective within a certain period of time after being obtained by the smart terminal from the remote server;
[0009] The authorization data is provided to the interactive terminal so that the interactive terminal performs processing based on the authorization data.
[0010] The embodiment of the present application also provides a data interaction method, including:
[0011] Obtain the authorization request sent by the user through the smart terminal;
[0012] According to the authorization request of the smart terminal, the authorization data for the user's current interaction is sent to the smart terminal, wherein the authorization data is temporarily obtained by the smart terminal from the remote server in real time, or is effective within a certain period of time after being obtained by the smart terminal from the remote server.
[0013] The embodiment of the present application further provides an interactive terminal, including:
[0014] A collection unit, used to collect authorization data for this interaction obtained by the smart terminal from the remote server, wherein the authorization data is temporarily obtained by the smart terminal from the remote server in real time, or is effective within a certain period of time after being obtained by the smart terminal from the remote server;
[0015] The recording unit is used to record the authorization data and the current interaction data.
[0016] The embodiment of the present application also provides a smart terminal, including:
[0017] An acquisition unit, used to acquire authorization data of the remote server for the user's current interaction, wherein the authorization data is temporarily acquired by the smart terminal from the remote server in real time, or is acquired by the smart terminal from the remote server and becomes effective within a certain period of time;
[0018] The communication unit is used to provide the authorization data to the interactive terminal so that the interactive terminal performs processing based on the authorization data.
[0019] The embodiment of the present application also provides a remote server, including:
[0020] An acquisition unit, used to acquire an authorization request sent by a user through a smart terminal;
[0021] The processing unit is used to send authorization data for the user's current interaction to the smart terminal according to the authorization request of the smart terminal, wherein the authorization data is temporarily obtained by the smart terminal from the remote server in real time, or is effective within a certain period of time after being obtained by the smart terminal from the remote server.
[0022] The embodiment of the present application also provides an offline credit payment method, including:
[0023] Collecting the credit authorization data used for this transaction obtained by the smart terminal from the remote server, wherein the credit authorization data is temporarily obtained by the smart terminal from the remote server in real time, or is obtained by the smart terminal from the remote server and becomes effective within a certain period of time;
[0024] The credit authorization data and the transaction data are recorded.
[0025] The embodiment of the present application also provides an offline credit payment method, including:
[0026] Obtaining the credit authorization data of the remote server for the user's current transaction, wherein the credit authorization data is temporarily obtained from the remote server in real time by the smart terminal, or is effective within a certain period of time after being obtained from the remote server by the smart terminal;
[0027] The credit authorization data is provided to the charging terminal so that the charging terminal performs processing based on the credit authorization data.
[0028] The embodiment of the present application also provides an offline payment method, including:
[0029] Obtain the credit authorization request sent by the user through the smart terminal;
[0030] According to the credit authorization request of the smart terminal, the credit authorization data for the user's current transaction is sent to the smart terminal, wherein the credit authorization data is temporarily obtained from the remote server in real time by the smart terminal, or is effective within a certain period of time after being obtained by the smart terminal from the remote server.
[0031] The embodiment of the present application also provides a fee deduction terminal, including:
[0032] A collection unit, used to collect credit authorization data for this transaction obtained by the smart terminal from the remote server, wherein the credit authorization data is temporarily obtained by the smart terminal from the remote server in real time, or is effective within a certain period of time after being obtained by the smart terminal from the remote server;
[0033] The recording unit is used to record the credit authorization data and the current transaction data.
[0034] The embodiment of the present application also provides a smart terminal, including:
[0035] An acquisition unit, used to acquire the credit authorization data of the remote server for the current transaction of the user, wherein the credit authorization data is temporarily acquired in real time from the remote server by the smart terminal, or is acquired by the smart terminal from the remote server and becomes effective within a certain period of time;
[0036] The communication unit is used to provide the credit authorization data to the charging terminal so that the charging terminal processes based on the credit authorization data.
[0037] The embodiment of the present application also provides a remote server, including:
[0038] An acquisition unit, used to acquire a credit authorization request sent by a user through a smart terminal;
[0039] The processing unit is used to send credit authorization data for the user's current transaction to the smart terminal according to the credit authorization request of the smart terminal, wherein the credit authorization data is temporarily obtained by the smart terminal from the remote server in real time, or is effective within a certain period of time after being obtained by the smart terminal from the remote server.
[0040] The embodiment of the present application also provides an offline credit payment system, comprising the above-mentioned intelligent terminal, the above-mentioned remote server, and the above-mentioned deduction terminal;
[0041] The remote server sends credit authorization data for the current transaction of the user to the smart terminal according to the credit authorization request of the smart terminal;
[0042] The smart terminal obtains the credit authorization data from the remote server;
[0043] The charging terminal collects the credit authorization data on the smart terminal and records the credit authorization data and the current transaction data.
[0044] It can be seen from the technical solutions provided in the above embodiments of the present application that the present application can process transactions based on the authorization of a remote server to improve payment efficiency.
[0045] Of course, any product or method implementing the present application does not necessarily need to achieve all of the advantages described above at the same time. BRIEF DESCRIPTION OF THE DRAWINGS
[0046] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0047] Figure 1 The figure shows a flow chart of a data interaction method according to an embodiment of the present application;
[0048] Figure 2 The figure shows a flow chart of a data interaction method according to an embodiment of the present application;
[0049] Figure 3 The figure shows a flow chart of a data interaction method according to an embodiment of the present application;
[0050] Figure 4 The figure shows a schematic diagram of the structure of an interactive terminal according to an embodiment of the present application;
[0051] Figure 5The figure shows a schematic diagram of the structure of a smart terminal according to an embodiment of the present application;
[0052] Figure 6 The figure shows a schematic diagram of the structure of a remote server according to an embodiment of the present application;
[0053] Figure 7 Shown is a flow chart of an offline credit payment method according to an embodiment of the present application;
[0054] Figure 8 Shown is a flow chart of an offline credit payment method according to an embodiment of the present application;
[0055] Fig. 9 Shown is a flow chart of an offline credit payment method according to an embodiment of the present application;
[0056] Fig.10 The figure shows a schematic diagram of the structure of a fee deduction terminal according to an embodiment of the present application;
[0057] Fig.11 The figure shows a schematic diagram of the structure of a smart terminal according to an embodiment of the present application;
[0058] Fig.12 Shown is a schematic diagram of the structure of a remote server of the present application;
[0059] Fig.13 The figure shows a schematic diagram of the structure of an offline credit payment system according to an embodiment of the present application;
[0060] Fig.14 The figure is a flow chart of a specific method of offline credit payment according to an embodiment of the present application;
[0061] Fig.15 Shown is a flow chart of another specific method for offline credit payment according to an embodiment of the present application. DETAILED DESCRIPTION
[0062] The embodiments of the present application provide a data interaction method and device, and an offline credit payment method and device.
[0063] In order to enable those skilled in the art to better understand the technical solutions in this application, the technical solutions in the embodiments of this application will be clearly and completely described below in conjunction with the drawings in the embodiments of this application. Obviously, the described embodiments are only part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of this application.
[0064] The technical solution provided by this application can be applied to credit payment, such as small amount and frequent payment scenarios, such as bus, subway and other payment scenarios. The technical solution provided by this application can be used in payment transactions, where the transaction user end, such as the smart terminal held by the user, and the transaction processing end, such as the deduction terminal on the bus, interact to realize the deduction process, and both the transaction user end and the transaction processing end can realize the payment process through the interaction between the remote servers. Of course, the technical solution provided by this application is not limited to payment applications, for example, it can be applied to the processing of user points (points provided by merchants to users, which can enjoy discounts when using merchant services or purchasing merchant products), etc.
[0065] In the traditional credit payment method, that is, payment by credit card, online operation is required on the POS machine. For some application scenarios, such as subway ticket purchase, the transaction time is relatively long. The interactive method of the present application can realize offline payment, that is, the transaction processing end can realize the deduction processing of the user without real-time networking, avoiding the connection of the transaction processing end to the network during interaction, improving the speed of interaction, and being suitable for realizing the interaction between the two parties in an environment with poor network conditions, so that the deduction can be carried out offline; at the same time, the credit authorization data generated for each transaction can be temporarily generated and cannot be reused, which solves the problem of information leakage of magnetic stripe bank cards in the prior art, causing economic losses to users. Of course, in some scenarios, the credit authorization data can also have a longer usage time, such as one year, one month or one week, that is, each transaction does not need to temporarily generate authorization data, but obtains authorization once every year, every month or every week. When the authorization expires, the user can be notified to obtain authorization again. The technical solution of the present application will be described in detail below.
[0066] like Figure 1 The flowchart of a data interaction method of an embodiment of the present application is shown. The method can be applied to the transaction processing between the transaction user end and the transaction processing end of the transaction processing, wherein the transaction user end can be a smart terminal held by the user, such as a mobile phone, etc., and the transaction processing terminal can be a merchant terminal held by the merchant. This embodiment will be described by the processing process between the smart terminal held by the user and the merchant terminal. Specifically, it may include the following steps:
[0067] Step 101: collect authorization data for this interaction obtained by the smart terminal from the remote server.
[0068] Step 102, recording the authorization data and the current interaction data.
[0069] The execution subject of steps 101 and 102 is the above-mentioned merchant terminal, which can collect the authorization data sent by the smart terminal and record the authorization data and transaction data.
[0070] As an embodiment of the present application, after recording the authorization data and the interaction data, the merchant terminal verifies the authorization data and the interaction data with the remote server at a predetermined time. That is, the merchant terminal can interact with the remote server in the background to verify the authorization data and interaction data in this transaction, and synchronize them to the remote server for recording and other processing.
[0071] As an embodiment of the present application, the collecting the authorization data for this interaction obtained by the smart terminal from the remote server further includes obtaining the authorization data by scanning a barcode generated by the smart terminal according to the authorization data;
[0072] Alternatively, the authorization data is obtained from the smart terminal by wireless communication.
[0073] As an embodiment of the present application, the barcode includes a one-dimensional barcode and / or a two-dimensional barcode, and the wireless communication method includes a near field communication method or an RFID method.
[0074] As an embodiment of the present application, after collecting the authorization data for this interaction obtained by the intelligent terminal from the remote server, one or a combination of the following judgments is further performed to verify the authorization data:
[0075] By comparing the time information in the authorization data with the current time, if the current time exceeds the time information in the authorization data, the authorization data is expired and the data interaction is canceled;
[0076] Determine whether the random number in the authorization data exists in previous data interactions. If so, the authorization data is a duplicate authorization, and cancel this data interaction.
[0077] It is determined whether the data of this interaction exceeds a threshold value in the authorization data. If so, the data interaction is cancelled.
[0078] As an embodiment of the present application, the authorization data for this interaction obtained by the intelligent terminal from the remote server also includes signature information of the remote server signing the authorization data using a private key; the method further includes:
[0079] After collecting the authorization data for this interaction obtained by the intelligent terminal from the remote server, before recording the authorization data and the interaction data, the following is also included:
[0080] The signature information is verified using the public key obtained in advance from the remote server to determine whether the authorization data is issued by the remote server, so that when it is determined that the authorization data is issued by the remote server, the step of recording the authorization data and the interaction data is performed.
[0081] The authorization data used for this interaction may be temporarily acquired by the smart terminal from the remote server in real time, or the authorization data may be acquired by the smart terminal from the remote server and become effective within a certain period of time, such as one month.
[0082] The above interaction process allows the merchant terminal to complete the interaction with the smart terminal without network communication, saving the time for the merchant terminal to connect to the network, and in some cases where the network conditions are not good, the interaction with the smart terminal can be completed smoothly.
[0083] like Figure 2 The flowchart of a data interaction method according to an embodiment of the present application is shown. The flowchart describes the process of implementing the data interaction of the present application by the smart terminal, which may specifically include the following steps:
[0084] Step 201, obtaining authorization data of the remote server for the user's current interaction.
[0085] Step 202: providing the authorization data to an interactive terminal so that the interactive terminal performs processing based on the authorization data.
[0086] The sending of the authorization data to the interactive terminal includes presenting the authorization data to the charging terminal in the form of a barcode, and also includes sending the interactive data such as the authorization data to the charging terminal via a radio frequency method such as RFID.
[0087] As an embodiment of the present application, obtaining the authorization data of the remote server for the user's current interaction further includes sending a unique identifier of the user to the remote server;
[0088] Receive authorization data including user information generated by the remote server according to the unique identifier.
[0089] As an embodiment of the present application, the authorization data also includes time information of this authorization, a random number of this authorization, and a threshold value.
[0090] The steps 201 and 202 can be used together with the above steps 101 and 102 to implement the interaction process between the transaction user terminal and the transaction processing terminal. The steps 201 and 202 can be performed by the transaction user terminal according to the transaction request triggered by the transaction processing terminal.
[0091] like Figure 3 The flowchart of a data interaction method according to an embodiment of the present application is shown. The flowchart describes the workflow of the remote server in data interaction. The remote server generates authorization data according to the user's request and sends it to the smart terminal. Specifically, the following steps may be included:
[0092] Step 301: Obtain an authorization request sent by a user via a smart terminal.
[0093] Step 302: according to the authorization request of the smart terminal, the authorization data for the current interaction of the user is sent to the smart terminal.
[0094] As an embodiment of the present application, the authorization request includes a unique identifier of the user, and the sending of the authorization data for the user's current interaction to the smart terminal specifically includes sending the authorization data for the user's current interaction to the smart terminal based on the authorization data containing the user information generated by the unique identifier. The unique identifier of the user can be the user's username, or it can also be the device identifier of the smart terminal held by the user, or it can also be a combination of the two, so that the security of the user obtaining the authorization data can be guaranteed.
[0095] As an embodiment of the present application, sending authorization data for the user's current interaction to the smart terminal specifically includes: encrypting user information, signing the authorization data with a private key, and sending the signature information and authorization information to the smart terminal in the form of a password.
[0096] The encryption may be performed using encryption methods in the prior art, such as encryption by means of a private key and a public key pair, etc., which will not be described in detail here.
[0097] Through the above-mentioned embodiments of the present application, after the remote server sends the authorization data to the smart terminal, the smart terminal can realize offline data interaction with the transaction processing end according to the authorization data.
[0098] like Figure 4 The figure shows a schematic diagram of the structure of an interactive terminal according to an embodiment of the present application. The functional units in the figure can be implemented by logic circuits or chips, or can also be implemented by high-performance computers.
[0099] Specifically, it includes a collection unit 401, which is used to collect the authorization data used for this interaction obtained by the intelligent terminal from the remote server.
[0100] The recording unit 402 is used to record the authorization data and the current interaction data.
[0101] As an embodiment of the present application, it further includes a checking unit 403, which is used to check the authorization data and the interaction data with the remote server at a predetermined time.
[0102] As an embodiment of the present application, the acquisition unit further includes a scanning module 404, which is used to scan the barcode generated by the smart terminal according to the authorization data to obtain the authorization data;
[0103] Or it includes a wireless communication module 405, which is used to obtain the authorization data from the smart terminal in a wireless communication manner.
[0104] The barcode includes a one-dimensional barcode and / or a two-dimensional barcode, and the wireless communication method includes a near field communication method or an RFID method.
[0105] As an embodiment of the present application, a verification unit 407 is further included to verify the authorization data by performing one or a combination of the following judgments:
[0106] By comparing the time information in the authorization data with the current time, if the current time exceeds the time information in the authorization data, the authorization data is expired and the data interaction is canceled;
[0107] Determine whether the random number in the authorization data exists in previous data interactions. If so, the authorization data is a duplicate authorization, and cancel this data interaction.
[0108] It is determined whether the data of this interaction exceeds a threshold value in the authorization data. If so, the data interaction is cancelled.
[0109] As an embodiment of the present application, the authorization data for this interaction obtained by the intelligent terminal from the remote server also includes signature information of the remote server signing the authorization data using a private key; the interactive terminal also includes:
[0110] The signature verification unit 406 is used to verify the signature information using the public key pre-acquired from the remote server to determine whether the authorization data is issued by the remote server, so that when it is determined that the authorization data is issued by the remote server, the recording unit records the authorization data and the interaction data.
[0111] The interactive terminal in this embodiment may specifically be the transaction processing terminal mentioned above, such as a merchant terminal, etc., which can implement each step in the corresponding method mentioned above, and will not be described in detail here.
[0112] like Figure 5 What is shown is a schematic diagram of the structure of a smart terminal according to an embodiment of the present application. The diagram describes the structure of a smart terminal that can achieve the data interaction purpose of the present application. Of course, the smart terminal may also include other necessary parts, such as a touch screen, a battery, a memory, a circuit board, etc., which are not repeated here. The smart terminal may be a smart phone, a tablet computer, or other smart wearable devices, etc.
[0113] Specifically, it includes an acquisition unit 501, which is used to acquire the authorization data of the remote server for the user's current interaction.
[0114] The communication unit 502 is used to provide the authorization data to the interactive terminal so that the interactive terminal performs processing based on the authorization data.
[0115] As an embodiment of the present application, the acquisition unit 501 is further used to send a unique identifier of the user to the remote server; and receive authorization data including user information generated by the remote server according to the unique identifier.
[0116] As an embodiment of the present application, the authorization data also includes time information of this authorization, a random number of this authorization, and a threshold value.
[0117] like Figure 6 What is shown is a schematic diagram of the structure of a remote server according to an embodiment of the present application. The diagram describes the structure of the remote server capable of achieving the data interaction purpose of the present application. Of course, the remote server may also include other necessary parts, such as input and output devices, communication units, power supplies, memory, circuit boards, etc., which are not repeated here. The remote server may be a high-performance computer or a computer cluster.
[0118] Specifically includes an acquisition unit 601, which is used to acquire an authorization request sent by a user through a smart terminal
[0119] The processing unit 602 is used to send authorization data for the current user interaction to the smart terminal according to the authorization request of the smart terminal.
[0120] According to an embodiment of the present application, the authorization request includes a unique identifier of the user, and the processing unit is specifically configured to generate authorization data including user information based on the unique identifier and send authorization data for this interaction with the user to the smart terminal.
[0121] According to one embodiment of the present application, the processing unit sends authorization data for the user's interaction to the smart terminal, specifically including: encrypting user information, signing the authorization data with a private key, and sending the signature information and authorization information to the smart terminal in the form of a password.
[0122] The following is a detailed explanation of the technical implementation process in payment.
[0123] like Figure 7The flowchart of an offline credit payment method of an embodiment of the present application is shown. The figure describes a workflow that enables the deduction terminal to realize the deduction of users without network communication. The purpose of offline deduction can be achieved by sending the credit authorization data and transaction data to banks and other institutions at a later stage. The deduction terminal can be a POS terminal or other deduction equipment. The deduction terminal needs to be registered with the server in advance and obtain the corresponding authorization before credit deduction can be performed. After the deduction terminal records the deduction record of this payment transaction, the payment transaction is completed, and the deduction record is regularly sent to the server for verification, so as to actually complete the purpose of deducting the user's consumption behavior. Specifically, it may include the following steps:
[0124] Step 701: collect the credit authorization data for this transaction obtained by the smart terminal from the remote server.
[0125] Step 702, recording the credit authorization data and current transaction data.
[0126] According to an embodiment of the present application, after recording the credit authorization data and the data of this transaction, the method further includes verifying the credit authorization data and the data of this transaction with a remote server at a predetermined time.
[0127] In this step, before verification, the charging terminal may not communicate with the remote server immediately after recording the credit authorization data and the data of this transaction. Verification requires communication between the charging terminal and the remote server, and the charging terminal packages all the credit authorization data and corresponding transaction data generated during the time interval between two verifications and sends them to the remote server. This can save the time required for the charging terminal to communicate with the remote server for credit authorization every time a transaction is made, and a large number of verification data can be sent to the remote server at one time at a predetermined time, wherein the remote server will deduct money from the user's account according to the credit authorization data and transaction data.
[0128] According to an embodiment of the present application, the credit authorization data used for this transaction includes at least time information of this credit authorization, a random number of this credit authorization, user account information and credit limit.
[0129] Among them, the credit authorization data is obtained from a remote server, and the time information of this credit authorization further includes the current time and effective duration of this credit authorization, so as to determine when this credit authorization starts and when it ends. If the time limit of this credit authorization is exceeded, subsequent deductions are not allowed; the random number of this credit authorization is the unique identifier of this credit authorization, that is, each credit authorization is independent, and each credit authorization will regenerate the identifier, so that each credit authorization can be distinguished; the user's account information can further include the user's account ID, or bank card number (credit card number), etc.; the credit limit can be used to indicate the upper limit of the deduction amount of this transaction. If the deduction amount exceeds the upper limit, the transaction is unsuccessful.
[0130] According to an embodiment of the present application, the collecting the credit authorization data for this transaction obtained by the smart terminal from the remote server further includes obtaining the credit authorization data by scanning a barcode generated by the smart terminal according to the credit authorization data;
[0131] Alternatively, the credit authorization data is obtained from the smart terminal by wireless communication.
[0132] The barcode includes a two-dimensional barcode or a one-dimensional barcode, and the wireless communication method includes NFC (near field communication), RFID (radio frequency identification) or Bluetooth.
[0133] According to an embodiment of the present application, after collecting the credit authorization data for this transaction obtained by the smart terminal from the remote server, the process further includes verifying the credit authorization data by performing one or a combination of the following judgments:
[0134] By comparing the time information in the credit authorization data with the current time, if the current time exceeds the time information in the credit authorization data, the credit authorization data is expired and the transaction is cancelled;
[0135] Determine whether the random number in the authorization data exists in the previous transaction data. If so, the credit authorization data is a duplicate authorization, and cancel the transaction;
[0136] Determine whether the transaction amount exceeds the credit limit in the credit authorization data; if so, cancel the transaction.
[0137] In the above steps, the credit authorization data may not include time information. The credit authorization data is only obtained once by the smart terminal and can be used for a period of time, such as a week or a month. In each scenario where deductions are required, it is only necessary to verify the credit limit. After each deduction (usually by wireless communication, which can achieve data interaction and notify the smart terminal of the amount of deduction for this transaction), the credit authorization data saved in the smart terminal will be modified (decremented) until it is reduced to 0 or below a threshold value, and then the credit authorization data will not be allowed to continue to be used for transactions.
[0138] According to an embodiment of the present application, the credit authorization data for this transaction obtained by the intelligent terminal from the remote server also includes signature information of the remote server signing the credit authorization data using a private key; the method further includes:
[0139] After collecting the credit authorization data for this transaction obtained by the intelligent terminal from the remote server, before recording the credit authorization data and the transaction data, the following is also included:
[0140] The signature information is verified using the public key obtained in advance from the remote server to determine whether the credit authorization data is issued by the remote server, so that when it is determined that the credit authorization data is issued by the remote server, the step of recording the credit authorization data and the transaction data is performed.
[0141] In this embodiment, the authorization data obtained by the intelligent terminal from the remote server may be temporary or one-time (for example, it may be a one-time authorization with a validity period of a certain period of time).
[0142] Through the method of the above-mentioned embodiment of the present application, when the user does not use the bank card, the deduction terminal can quickly complete the transaction deduction without being connected to the Internet, and the credit authorization data generated for each transaction can be temporarily generated and cannot be reused, thereby solving the problem of information leakage of magnetic stripe bank cards in the prior art, which causes economic losses to users.
[0143] like Figure 8 The flowchart of an offline credit payment method according to an embodiment of the present application is shown, which describes the process of offline payment between the smart terminal and the charging terminal after the smart terminal obtains the credit authorization data.
[0144] Specifically, step 801 is to obtain the credit authorization data of the remote server for the user's current transaction.
[0145] Step 802: providing the credit authorization data to a charging terminal so that the charging terminal performs processing based on the credit authorization data.
[0146] According to an embodiment of the present application, obtaining the credit authorization data of the remote server for the user's current transaction further includes sending a unique identifier of the user to the remote server;
[0147] Receive credit authorization data including user account information generated by the remote server according to the unique identifier.
[0148] The identifier may be a user name, such as a user ID, or a device identifier of a smart terminal, or an identifier information formed by combining the two.
[0149] In this step, the smart terminal can communicate with the remote server to obtain credit authorization data containing user account information when there is a network, which can reduce the delay of the charging terminal connecting to the network when conducting transactions with each smart terminal. The user account information that may be included in the credit authorization data is, for example, bank card number, contact number and other information.
[0150] According to an embodiment of the present application, the credit authorization data may further include time information of this credit authorization, a random number of this credit authorization, and a credit limit.
[0151] like Fig. 9 Shown is a flow chart of an offline credit payment method according to an embodiment of the present application, which describes the workflow of a remote server in the offline payment method.
[0152] Specifically, the process includes step 901 of obtaining a credit authorization request sent by a user via a smart terminal.
[0153] Step 902: according to the credit authorization request of the smart terminal, send the credit authorization data of the user's current transaction to the smart terminal.
[0154] According to an embodiment of the present application, the credit authorization request includes a unique identifier of the user, and sending the credit authorization data for the user's current transaction to the smart terminal specifically includes:
[0155] The credit authorization data for the current transaction of the user is sent to the smart terminal according to the authorization data containing the user information generated by the unique identifier.
[0156] According to an embodiment of the present application, sending authorization data for the user's transaction to the smart terminal specifically includes: encrypting user information, signing the credit authorization data with a private key, and sending the signature information and the credit authorization data to the smart terminal in a password format.
[0157] In this step, after the credit authorization data is signed with the private key, the debit terminal needs to verify the signature of the credit authorization data with the public key, that is, it can verify whether the credit authorization data is issued by the remote server. If the user's account information is retained in the debit terminal, it is not safe. Therefore, the user's account information needs to be encrypted to protect the user's account information. The specific encryption method can refer to the method in the prior art and will not be repeated here.
[0158] Above Figure 7 , Figure 8 and Fig. 9 The steps shown can work together to realize credit payment. Specifically, when paying, it can be actively initiated by the smart terminal or the fare collection terminal. For example, in a public transportation application scenario, the NFC device in the smart terminal and the NFC device of the fare collection terminal in the public transportation can realize the interactive process of payment, and the payment process can be initiated by the fare collection terminal through the NFC device, that is, the fare collection terminal can initiate a payment request, and then obtain authorization data from the smart terminal to complete the payment process. For another example, in a public transportation application scenario, the fare collection terminal in the public transportation can initiate the payment process by scanning the QR code displayed on the smart terminal held by the user through the barcode scanning device configured thereon, and so on.
[0159] like Fig.10 The figure shows a schematic diagram of the structure of a charging terminal according to an embodiment of the present application. The charging terminal described in the figure may include a POS machine, a smart phone and other devices. Each functional unit may be implemented by a logic circuit or a chip, or may also be implemented by a high-performance computer.
[0160] Specifically, it includes a collection unit 1001, which is used to collect credit authorization data for this transaction obtained by the smart terminal from a remote server.
[0161] The recording unit 1002 is used to record the credit authorization data and the current transaction data.
[0162] According to an embodiment of the present application, it further includes a checking unit 1003, which is used to check the credit authorization data and transaction data with the remote server at a predetermined time.
[0163] According to an embodiment of the present application, the credit authorization data used for this transaction includes at least time information of this credit authorization, a random number of this credit authorization, user account information and credit limit.
[0164] According to an embodiment of the present application, the acquisition unit further includes a scanning module 1004, which is used to scan the barcode generated by the smart terminal according to the credit authorization data to obtain the credit authorization data;
[0165] Alternatively, it includes a wireless communication module 1005, which is used to obtain the credit authorization data from the smart terminal in a wireless communication manner.
[0166] According to one embodiment of the present application, the barcode includes a one-dimensional barcode and / or a two-dimensional barcode; the wireless communication method includes a near field communication method or an RFID method.
[0167] According to an embodiment of the present application, a verification unit 1007 is further included to verify the credit authorization data by performing one or a combination of the following judgments:
[0168] By comparing the time information in the credit authorization data with the current time, if the current time exceeds the time information in the credit authorization data, the credit authorization data is expired and the transaction is cancelled;
[0169] Determine whether the random number in the authorization data exists in the previous transaction data. If so, the credit authorization data is a duplicate authorization, and cancel the transaction;
[0170] Determine whether the transaction amount exceeds the credit limit in the credit authorization data; if so, cancel the transaction.
[0171] According to one embodiment of the present application, the credit authorization data for this transaction obtained by the collection intelligent terminal from the remote server also includes signature information in which the remote server signs the credit authorization data using a private key; the deduction terminal also includes: a signature verification unit 1006, which is used to verify the signature information using a public key obtained in advance from the remote server to determine whether the credit authorization data is issued by the remote server, so that when it is determined that the credit authorization data is issued by the remote server, the recording unit records the credit authorization data and the transaction data.
[0172] like Fig.11 What is shown is a schematic diagram of the structure of a smart terminal according to an embodiment of the present application. The diagram describes the structure of the smart terminal for achieving the offline payment purpose of the present application. Of course, the smart terminal may also include other necessary parts, such as a touch screen, a battery, a memory, a circuit board, etc., which are not described here. The smart terminal may be a smart phone, a tablet computer, or other smart wearable devices.
[0173] Specifically, an acquisition unit 1101 is used to acquire credit authorization data of a remote server for a user's current transaction.
[0174] The communication unit 1102 is used to provide the credit authorization data to the charging terminal so that the charging terminal processes based on the credit authorization data.
[0175] According to an embodiment of the present application, the acquisition unit is further used to send a unique identifier of the user to the remote server; and receive credit authorization data including user account information generated by the remote server according to the unique identifier.
[0176] According to an embodiment of the present application, the credit authorization data also includes time information of this credit authorization, a random number of this credit authorization, and a credit limit.
[0177] like Fig.12 Shown is a schematic diagram of the structure of a remote server of the present application, which describes a remote server for implementing offline payment. Of course, the remote server may also include other necessary parts, such as input and output devices, communication units, power supplies, memory, circuit boards, etc., which are not repeated here. The remote server may be a high-performance computer or a computer cluster.
[0178] Specifically include
[0179] The acquisition unit 1201 is used to acquire a credit authorization request sent by a user through a smart terminal;
[0180] The processing unit 1202 is used to send credit authorization data for the current transaction of the user to the smart terminal according to the credit authorization request of the smart terminal.
[0181] According to an embodiment of the present application, the credit authorization request includes a unique identifier of the user, and the processing unit is specifically configured to generate credit authorization data including user information based on the unique identifier and send credit authorization data for the user's transaction to the smart terminal.
[0182] According to one embodiment of the present application, the processing unit sends the credit authorization data for the user's transaction to the smart terminal, specifically including: encrypting the user information, signing the credit authorization data with a private key, and sending the signature information and credit authorization information to the smart terminal in the form of a password.
[0183] like Fig.13 The figure shows a schematic diagram of the structure of an offline credit payment system in an embodiment of the present application. The figure describes the system structure for implementing offline payment. The smart terminals in this embodiment may include smart phones, tablet computers and other devices, the deduction terminals may include POS machines, smart phones and other devices, and the remote servers may include high-performance computers and other devices.
[0184] Specifically includes a remote server 1301, an intelligent terminal 1302, and a charging terminal 1303;
[0185] The remote server 1301 sends credit authorization data for the user's current transaction to the smart terminal according to the credit authorization request of the smart terminal;
[0186] The intelligent terminal 1302 obtains the credit authorization data from the remote server;
[0187] The charging terminal 1303 collects the credit authorization data on the smart terminal and records the credit authorization data and the transaction data.
[0188] Through the system of the above-mentioned embodiment of the present application, when the user does not use the bank card, the deduction terminal can quickly complete the transaction deduction without being connected to the Internet, and the credit authorization data generated for each transaction is temporarily generated and cannot be reused, thereby solving the problem of information leakage of magnetic stripe bank cards in the prior art, which causes economic losses to users.
[0189] like Fig.14 The figure shows a specific method flow chart of offline credit payment according to an embodiment of the present application. In the figure, the deduction terminal is a POS machine, the smart terminal is a mobile phone, and the remote server is a high-performance computer. The high-performance computer is configured to be a server capable of generating credit authorization data and completing subsequent POS machine reconciliation services. Of course, the generation of credit authorization data and reconciliation services can be completed by two or more high-performance computers respectively. However, for the sake of simplicity of the drawings, only one remote server is used to complete the above two services in this embodiment.
[0190] Specifically, the process includes step 1401, in which a credit payment client on a mobile phone is registered on a remote server.
[0191] The registration process includes verifying the user's identity and financial account, such as verifying the user's ID card information, credit card information or bank card information, etc. The remote server will generate a private key based on the user's identity or financial account content, which will be used to sign the credit authorization data later.
[0192] The credit payment client may be an application implemented by software, or the credit payment client may be built into a security chip (eg, an eSE security chip) of a mobile phone.
[0193] The POS machine is also registered on the remote server, and the remote server sends a public key to the POS machine for the POS machine to verify the credit authorization data signature later.
[0194] Step 1402: The credit payment client initiates a request to generate credit authorization data to a remote server via the radio frequency communication unit of the mobile phone (or a WiFi network environment).
[0195] In the accompanying drawings, TOKEN() in this step is a token used when a mobile phone communicates with a remote server in the prior art.
[0196] The request may further include information such as the IMEI (International Mobile Equipment Identity) of the mobile phone and the user identity, so that the remote server can uniquely determine the identity of the user initiating the request.
[0197] Step 1403: The remote server generates credit authorization data according to the request.
[0198] In this step, the remote server matches the financial account information of the corresponding user according to the user identity or IMEI in the request and obtains the user information. The financial account information may include information such as credit limit, and the user information may include information such as user identity, bank card account number, private key, etc.
[0199] The remote server generates the time information of this credit authorization data, which further includes the current time, that is, the starting time of the credit authorization data used in this transaction, and obtains the effective time length according to the setting; the remote server also generates a random number to uniquely mark this credit authorization data.
[0200] The remote server generates the credit authorization data for this time together with the above time information, random number, and the user information and financial account information obtained in the previous step.
[0201] Furthermore, the remote server can also encrypt information such as user identity, bank card account number, etc. (it can also be placed in the smart terminal for encryption), and use the private key to sign the above credit authorization data, thereby ensuring the authenticity and reliability of the data.
[0202] In this step, the remote server can also make a judgment based on the user's consumption payment record and credit limit. If the user's consumption payment record is close to or exceeds the credit limit in the financial account information, the credit authorization request will be rejected and the reason for the failure will be fed back to the credit payment client on the mobile phone.
[0203] Step 1404: the remote server assembles the credit authorization data into TOKEN() and sends it to the credit payment client on the mobile phone.
[0204] Step 1405: The credit payment client generates a QR code using the credit authorization data.
[0205] The QR code generated in this step can be displayed on the screen of the mobile phone or stored in the memory of the mobile phone for use in this transaction.
[0206] Step 1406: The scanning module of the POS terminal obtains the QR code by scanning.
[0207] The step of scanning the QR code in this step can be completed using a barcode scanning device in the prior art, and the data and control interface of the device are connected to the POS machine, so that the POS machine can control the scanning device to complete the scanning task and return the scanned barcode data.
[0208] The POS machine in this application can be a POS machine with a deduction client application installed, or a terminal with data processing capabilities connected to the POS machine, on which the deduction client is installed to perform subsequent analysis, recording and other tasks.
[0209] Step 1407: the deduction client on the POS machine parses the QR code to obtain credit authorization data.
[0210] In this step, the charging client can verify the credit authorization data through the public key to verify that the credit authorization data comes from the remote server.
[0211] The charging client can also parse (or decrypt) the financial account information in the credit authorization data, that is, the credit limit of this transaction.
[0212] Step 1408: The charging client processes this payment transaction using the credit authorization data.
[0213] The processing in this step may include parsing the time information in the credit authorization data, determining whether the time of this payment transaction exceeds the current time + the effective time length in the credit authorization data; if so, the credit authorization data has expired and cannot be used for this payment transaction, and the credit payment client may be notified to generate the credit authorization data for this payment transaction again.
[0214] Determine whether the random number in the credit authorization data has been used in previous transactions. If it does not appear in the records of previous transactions, the credit authorization data is available. Otherwise, duplicate deductions may occur, and the credit payment client can be notified to generate the credit authorization data for this payment transaction again.
[0215] Determine whether the amount of this payment transaction exceeds the credit limit. If so, the payment transaction is unsuccessful and the reason for the failure is returned to the credit payment client.
[0216] The above-mentioned processing may be performed in any order, or only one or several of them may be performed, or other logical judgments or processing may also be performed.
[0217] Step 1409: the deduction client records the deduction record.
[0218] The deduction record includes the amount of this payment transaction and credit authorization data.
[0219] The payment transaction amount and credit authorization data recorded by the deduction client in this step can be stored locally on the POS machine. If the POS machine includes a processing device such as a computer, it can be stored on the computer's disk, or it can also be stored in other reliable storage devices (such as backup storage via the network, etc.).
[0220] Among them, the recorded credit authorization data can be the full amount of information of the aforementioned credit authorization data, or it can be user information. In the processing steps of the aforementioned deduction client, the encrypted user information is not decrypted. When recording, only the still encrypted user information can be recorded, thereby further ensuring the security of user information.
[0221] The deduction record may also store merchant information, such as merchant ID, payment transaction type, product information, etc.
[0222] At this point, the user's payment transaction is completed. If the POS machine corresponds to a transportation gate, the gate can be opened to let the person pass. If it is for consumption, the merchant can be informed that the payment is completed. At this point, the user's financial account has not changed, it is just a credit payment, and the merchant's POS machine has not communicated with the remote server to complete the deduction of this payment transaction. Therefore, the payment transaction time between the user's mobile phone and the POS machine is greatly shortened, and the user's payment efficiency is improved.
[0223] Step 1410: At a predetermined time, the POS terminal sends the deduction record to a remote server for verification.
[0224] The POS machine may record multiple deduction records within a time period. The POS machine transmits multiple deduction records each time it reconciles with the remote server. The predetermined time in this example can be 0:00 every day, which is the idle time of the POS machine. The POS machine sends the deduction record to the remote server via the network (wired network or wireless network). The deduction record includes user information and payment amount as described in the previous step. The remote server decrypts the user information, obtains the user identity and bank card account, and deducts the payment amount from the bank card account, thereby truly completing the user payment process.
[0225] like Fig.15 FIG. 1 is a flowchart of another specific method of offline credit payment in an embodiment of the present application. Fig.14The difference between the illustrated embodiments is that the credit payment client on the mobile phone does not generate a QR code, but sends the credit authorization data to the POS machine through an NFC (near field communication) communication module. The POS machine in this embodiment also has a corresponding NFC communication module for obtaining the credit authorization data transmitted from the mobile phone, and the POS machine also has a USB interface, which can store the deduction records in a mobile storage device through the USB interface.
[0226] and Fig.14 The same or similar steps in the embodiments are not described in detail in this embodiment, and only the differences are described.
[0227] Step 1505: The credit payment client of the smart terminal stores the credit authorization data in a local memory for access by the NFC communication module.
[0228] As an optional embodiment, the smart terminal does not need to obtain credit authorization data every time a credit payment is made. Instead, a remote server generates credit authorization data and stores it in the credit payment client of the smart terminal for use in multiple credit payments.
[0229] Step 1506: The charging client of the POS machine communicates with the NFC communication module of the smart terminal through the NFC communication module to obtain the credit authorization data of the credit payment client.
[0230] Step 1507: The charging client parses the credit authorization data obtained through the NFC communication module.
[0231] Specifically, the received credit authorization data may be signed by a public key sent by a remote server and then decrypted to obtain the credit authorization data.
[0232] Step 1508: The charging client processes this payment transaction using the credit authorization data.
[0233] As an optional embodiment, in this step, the deduction client judges the credit limit in the credit authorization data. If the credit limit satisfies the current consumption, the credit limit will be subtracted from the current consumption, and the remaining credit limit will be returned to the mobile phone through the NFC communication module. The credit payment client in the mobile phone will modify the credit limit in the locally saved credit authorization data to the remaining credit limit, so that it can be used as the new credit limit for the next credit payment.
[0234] Of course, the time information in the credit authorization data can be deleted or set to a longer time so that the credit authorization data can be used in multiple credit payments.
[0235] Step 1509: the deduction client records the deduction record in the mobile hard disk through the USB interface.
[0236] The deduction record includes the amount of this payment transaction and credit authorization data.
[0237] Step 1510: At a predetermined time, the POS terminal sends the deduction record to a remote server for verification.
[0238] Through the method and system in the above-mentioned embodiments of the present application, when the user does not use a bank card, the deduction terminal can quickly complete the transaction deduction without being connected to the Internet, and the credit authorization data generated for each transaction is temporarily generated and cannot be reused, thereby solving the problem of information leakage of magnetic stripe bank cards in the prior art, which causes economic losses to users.
[0239] For the improvement of a technology, it can be clearly distinguished whether it is a hardware improvement (for example, improvement of the circuit structure of diodes, transistors, switches, etc.) or a software improvement (for the improvement of the method flow). However, with the development of technology, many improvements of the method flow today can be regarded as direct improvements of the hardware circuit structure. Designers almost always obtain the corresponding hardware circuit structure by programming the improved method flow into the hardware circuit. Therefore, it cannot be said that the improvement of a method flow cannot be implemented with a hardware entity module. For example, a programmable logic device (PLD) (such as a field programmable gate array (FPGA)) is such an integrated circuit whose logical function is determined by the user's programming of the device. Designers can "integrate" a digital system on a PLD by programming themselves, without having to ask a chip manufacturer to design and produce a dedicated integrated circuit chip2. Moreover, nowadays, instead of manually making integrated circuit chips, this kind of programming is mostly implemented by "logic compiler" software, which is similar to the software compiler used when developing and writing programs, and the original code before compilation must also be written in a specific programming language, which is called hardware description language (HDL). There is not only one kind of HDL, but many kinds, such as ABEL (Advanced Boolean Expression Language), AHDL (Altera Hardware Description Language), Confluence, CUPL (Cornell University Programming Language), HDCal, JHDL (Java Hardware Description Language), Lava, Lola, MyHDL, PALASM, RHDL (Ruby Hardware Description Language), etc. The most commonly used ones are VHDL (Very-High-Speed Integrated Circuit Hardware Description Language) and Verilog2. Those skilled in the art should also know that it is only necessary to program the method flow slightly in the above-mentioned hardware description languages and program it into the integrated circuit, and then it is easy to obtain the hardware circuit that realizes the logic method flow.
[0240] The controller can be implemented in any suitable manner. For example, the controller can take the form of a microprocessor or processor and a computer-readable medium storing computer-readable program code (such as software or firmware) that can be executed by the (micro)processor, logic gates, switches, application specific integrated circuits (ASIC), programmable logic controllers, and embedded microcontrollers. Examples of controllers include but are not limited to the following microcontrollers: ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20, and Silicone Labs C8051F320. The memory controller can also be implemented as part of the control logic of the memory.
[0241] Those skilled in the art also know that, in addition to implementing the controller in a purely computer-readable program code, the controller can be made to implement the same function in the form of logic gates, switches, application-specific integrated circuits, programmable logic controllers, and embedded microcontrollers by logically programming the method steps. Therefore, such a controller can be considered as a hardware component, and the devices for implementing various functions included therein can also be considered as structures within the hardware component. Or even, the devices for implementing various functions can be considered as both software modules for implementing the method and structures within the hardware component.
[0242] The systems, devices, modules or units described in the above embodiments may be implemented by computer chips or entities, or by products with certain functions.
[0243] For the convenience of description, the above device is described in terms of functions and is described separately in various units. Of course, when implementing the present application, the functions of each unit can be implemented in the same or multiple software and / or hardware.
[0244] It can be known from the description of the above implementation methods that those skilled in the art can clearly understand that the present application can be implemented by means of software plus a necessary general hardware platform. Based on such an understanding, the technical solution of the present application can be essentially or partly contributed to the prior art in the form of a software product, which can be stored in a storage medium such as ROM / RAM, a magnetic disk, an optical disk, etc., and includes several instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in the various embodiments of the present application or certain parts of the embodiments.
[0245] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0246] The present application can be used in many general or special computer system environments or configurations, such as personal computers, server computers, handheld or portable devices, tablet devices, multiprocessor systems, microprocessor-based systems, set-top boxes, programmable consumer electronic devices, network PCs, minicomputers, mainframe computers, distributed computing environments including any of the above systems or devices, etc.
[0247] The present application may be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types. The present application may also be practiced in distributed computing environments where tasks are performed by remote processing devices connected through a communication network. In a distributed computing environment, program modules may be located in local and remote computer storage media, including storage devices.
[0248] Although the present application has been described through embodiments, persons skilled in the art will appreciate that there are many modifications and variations of the present application without departing from the spirit of the present application. It is intended that the appended claims include these modifications and variations without departing from the spirit of the present application.
Claims
1. A data interaction method, characterized in that: include: Collect the authorization data for this interaction obtained by the smart terminal from the remote server, wherein the authorization data is temporarily obtained by the smart terminal from the remote server in real time, or is obtained by the smart terminal from the remote server and becomes effective within a certain period of time; the authorization data includes the random number of this authorization, which is the unique identifier of the authorization; Record the authorization data and the interaction data; After collecting the authorization data for this interaction obtained by the intelligent terminal from the remote server, the method further includes: determining whether the random number in the authorization data exists in previous data interactions, and if so, the authorization data is a duplicate authorization, and canceling this data interaction; The authorization data for this interaction obtained by the intelligent terminal from the remote server also includes signature information of the remote server signing the authorization data with a private key; wherein the remote server encrypts the user information, signs the authorization data with a private key, and sends the signature information and the authorization information to the intelligent terminal in a password manner; the method also includes: After collecting the authorization data for this interaction obtained by the intelligent terminal from the remote server, before recording the authorization data and the interaction data, the following is also included: Using the public key obtained in advance from the remote server, the signature information is verified to determine whether the authorization data is issued by the remote server, so that when it is determined that the authorization data is issued by the remote server, the step of recording the authorization data and the interaction data is performed; The method also includes checking the authorization data and the interaction data with the remote server at a predetermined time.
2. The data interaction method according to claim 1, characterized in that: The collecting the authorization data for this interaction obtained by the smart terminal from the remote server further includes obtaining the authorization data by scanning a barcode generated by the smart terminal according to the authorization data; Alternatively, the authorization data is obtained from the smart terminal by wireless communication.
3. The data interaction method according to claim 2, characterized in that: The barcode includes a one-dimensional barcode and / or a two-dimensional barcode, and the wireless communication method includes a near field communication method or an RFID method.
4. The data interaction method according to claim 1, characterized in that: After collecting the authorization data for this interaction obtained by the intelligent terminal from the remote server, the method further includes: performing one or a combination of the following judgments to verify the authorization data: By comparing the time information in the authorization data with the current time, if the current time exceeds the time information in the authorization data, the authorization data is expired and the data interaction is canceled; It is determined whether the data of this interaction exceeds a threshold value in the authorization data. If so, the data interaction is cancelled.
5. A data interaction method, characterized in that: include: The smart terminal obtains the authorization data of the remote server for the user's current interaction, wherein the authorization data is temporarily obtained by the smart terminal from the remote server in real time, or is effective within a certain period of time after being obtained by the smart terminal from the remote server; the authorization data includes a random number for this authorization, which is a unique identifier for the authorization; the authorization data also includes signature information signed by the remote server using a private key to sign the authorization data; wherein the remote server encrypts the user information, signs the authorization data using the private key, and sends the signature information and the authorization information to the smart terminal in the form of a password; The intelligent terminal provides the authorization data to the interactive terminal so that the interactive terminal performs processing based on the authorization data; after obtaining the authorization data, the interactive terminal determines whether the random number in the authorization data exists in previous data interactions. If so, the authorization data is a repeated authorization and the data interaction is canceled; the interactive terminal also uses the public key obtained in advance from the remote server to verify the signature information to determine whether the authorization data is issued by the remote server, so that when it is determined that the authorization data is issued by the remote server, the step of recording the authorization data and the data of this interaction is executed; wherein, the interactive terminal verifies the authorization data and the interaction data with the remote server at a predetermined time.
6. The data interaction method according to claim 5, characterized in that: Get the remote server's authorization data for the user's interaction, including: Sending a unique identifier of the user to the remote server; Receive authorization data including user information generated by the remote server according to the unique identifier.
7. The data interaction method according to claim 5, characterized in that: The authorization data also includes the time information and threshold value of this authorization.
8. A data interaction method, characterized in that: include: Obtain the authorization request sent by the user through the smart terminal; According to the authorization request of the smart terminal, the authorization data for the user's current interaction is sent to the smart terminal, wherein the authorization data is temporarily obtained by the smart terminal from the remote server in real time, or is obtained by the smart terminal from the remote server and becomes effective within a certain period of time; the authorization data includes a random number for this authorization, which is a unique identifier for the authorization; Sending authorization data for the user's current interaction to the smart terminal, specifically including: encrypting the user information, signing the authorization data with a private key, and sending the signature information and the authorization data to the smart terminal in a password manner; The intelligent terminal provides the authorization data to the interactive terminal so that the interactive terminal performs processing based on the authorization data; after obtaining the authorization data, the interactive terminal determines whether the random number in the authorization data exists in previous data interactions. If so, the authorization data is a duplicate authorization, and the current data interaction is canceled; the interactive terminal also uses the pre-acquired public key to verify the signature information to determine whether the authorization data is issued by the remote server, so that when it is determined that the authorization data is issued by the remote server, the step of recording the authorization data and the current interaction data is executed; The authorization data and the interaction data are checked with the interaction terminal at a predetermined time.
9. The data interaction method according to claim 8, characterized in that: The authorization request includes a unique identifier of the user, and sending the authorization data for the user's current interaction to the smart terminal specifically includes: The authorization data for this interaction with the user is sent to the smart terminal according to the authorization data containing the user information generated by the unique identifier.
10. An interactive terminal, characterized in that ,include: A collection unit, used to collect authorization data for this interaction obtained by the smart terminal from the remote server, wherein the authorization data is temporarily obtained by the smart terminal from the remote server in real time, or is obtained by the smart terminal from the remote server and becomes effective within a certain period of time; the authorization data includes a random number for this authorization, which is a unique identifier for the authorization; A recording unit, used to record the authorization data and the current interaction data; A verification unit, used to determine whether the random number in the authorization data exists in previous data interactions. If so, the authorization data is a duplicate authorization, and the current data interaction is canceled; The authorization data for this interaction obtained by the intelligent terminal from the remote server also includes signature information of the authorization data signed by the remote server using a private key; wherein the remote server encrypts the user information, signs the authorization data using a private key, and sends the signature information and the authorization information to the intelligent terminal in the form of a password; the interactive terminal also includes: A signature verification unit, used to verify the signature information using a public key obtained in advance from the remote server, to determine whether the authorization data is issued by the remote server, so that when it is determined that the authorization data is issued by the remote server, the recording unit records the authorization data and the interaction data; It also includes: a checking unit, which is used to check the authorization data and the interaction data with the remote server at a predetermined time.
11. The interactive terminal according to claim 10, characterized in that: The acquisition unit further includes a scanning module for scanning a barcode generated by the smart terminal according to the authorization data to obtain the authorization data; Alternatively, it also includes a wireless communication module, which is used to obtain the authorization data from the smart terminal in a wireless communication manner.
12. The interactive terminal according to claim 11, characterized in that: The barcode includes a one-dimensional barcode and / or a two-dimensional barcode, and the wireless communication method includes a near field communication method or an RFID method.
13. The interactive terminal according to claim 10, characterized in that: The verification unit verifies the authorization data by performing one or a combination of the following judgments: By comparing the time information in the authorization data with the current time, if the current time exceeds the time information in the authorization data, the authorization data is expired and the data interaction is canceled; It is determined whether the data of this interaction exceeds a threshold value in the authorization data. If so, the data interaction is cancelled.
14. An intelligent terminal, characterized in that: include: The acquisition unit is used to acquire the authorization data of the remote server for the current interaction with the user, wherein the authorization data is temporarily acquired from the remote server in real time by the smart terminal, or is acquired by the smart terminal from the remote server and becomes effective within a certain period of time; the authorization data includes the random number of the current authorization, which is the unique identifier of the authorization; the authorization data also includes the signature information of the remote server signing the authorization data with the private key; wherein the remote server encrypts the user information, signs the authorization data with the private key, and sends the signature information and the authorization information to the smart terminal in the form of a password; A communication unit is used to provide the authorization data to an interactive terminal so that the interactive terminal performs processing based on the authorization data; after obtaining the authorization data, the interactive terminal determines whether the random number in the authorization data exists in previous data interactions. If so, the authorization data is a repeated authorization and the current data interaction is canceled; the interactive terminal also uses a public key obtained in advance from a remote server to verify the signature information to determine whether the authorization data is issued by the remote server, so that when it is determined that the authorization data is issued by the remote server, the step of recording the authorization data and the current interaction data is executed; wherein the interactive terminal verifies the authorization data and the interaction data with the remote server at a predetermined time.
15. The intelligent terminal according to claim 14, characterized in that: The acquisition unit is further used to send a unique identifier of the user to the remote server; and receive authorization data including user information generated by the remote server according to the unique identifier.
16. The intelligent terminal according to claim 14, characterized in that: The authorization data also includes the time information and threshold value of this authorization.
17. A remote server, characterized in that: include: An acquisition unit, used to acquire an authorization request sent by a user through a smart terminal; A processing unit, configured to send authorization data for the current user interaction to the smart terminal according to the authorization request of the smart terminal, wherein the authorization data is temporarily obtained by the smart terminal from the remote server in real time, or is obtained by the smart terminal from the remote server and becomes effective within a certain period of time; the authorization data includes a random number for the current authorization, which is a unique identifier for the authorization; The processing unit sends the authorization data for the user's current interaction to the smart terminal, which specifically includes: encrypting user information, signing the authorization data with a private key, and sending the signature information and the authorization data to the smart terminal in a password manner; wherein the smart terminal provides the authorization data to the interactive terminal so that the interactive terminal processes based on the authorization data; after obtaining the authorization data, the interactive terminal determines whether the random number in the authorization data exists in previous data interactions. If so, the authorization data is a repeated authorization and the current data interaction is canceled; the interactive terminal also uses the pre-acquired public key to verify the signature information to determine whether the authorization data is issued by the remote server, so that when it is determined that the authorization data is issued by the remote server, the step of recording the authorization data and the current interaction data is executed; the remote server verifies the authorization data and the interaction data with the interactive terminal at a predetermined time.
18. The remote server according to claim 17, characterized in that: The authorization request includes a unique identifier of the user, and the processing unit is specifically configured to generate authorization data including user information according to the unique identifier and send authorization data for this interaction of the user to the smart terminal.
19. An offline credit payment method, characterized in that: include: Collect the credit authorization data for this transaction obtained by the smart terminal from the remote server, wherein the credit authorization data is temporarily obtained by the smart terminal from the remote server in real time, or is obtained by the smart terminal from the remote server and becomes effective within a certain period of time; the credit authorization data includes a random number for this credit authorization, which is a unique identifier for the authorization; Record the credit authorization data and current transaction data; After collecting the credit authorization data for this transaction obtained by the smart terminal from the remote server, it also includes: determining whether the random number in the authorization data exists in the previous transaction data, if so, the credit authorization data is a duplicate authorization, and canceling this transaction; The credit authorization data for this transaction obtained by the intelligent terminal from the remote server also includes signature information of the credit authorization data signed by the remote server using a private key; wherein the remote server encrypts the user information, signs the credit authorization data using the private key, and sends the signature information and the credit authorization data to the intelligent terminal in a password manner, and the method further includes: After collecting the credit authorization data for this transaction obtained by the intelligent terminal from the remote server, before recording the credit authorization data and the transaction data, the following is also included: Using the public key obtained in advance from the remote server, the signature information is verified to determine whether the credit authorization data is issued by the remote server, so that when it is determined that the credit authorization data is issued by the remote server, the step of recording the credit authorization data and the transaction data is performed; After recording the credit authorization data and the data of this transaction, it also includes checking the credit authorization data and the data of this transaction with the remote server at a predetermined time; wherein the deduction terminal packages all the credit authorization data and the corresponding transaction data generated during the time interval between two checks and sends them to the remote server, and the remote server deducts the user's account according to the credit authorization data and the transaction data.
20. The offline credit payment method according to claim 19, characterized in that: The credit authorization data used for this transaction at least includes the time information of this credit authorization, the user's account information and the credit limit.
21. The offline credit payment method according to claim 19, characterized in that: The collecting of the credit authorization data for the transaction obtained by the smart terminal from the remote server further includes obtaining the credit authorization data by scanning a barcode generated by the smart terminal according to the credit authorization data; Alternatively, the credit authorization data is obtained from the smart terminal by wireless communication.
22. The offline credit payment method according to claim 21, characterized in that: The barcode includes a one-dimensional barcode and / or a two-dimensional barcode; the wireless communication method includes a near field communication method or an RFID method.
23. The offline credit payment method according to claim 19, characterized in that: After collecting the credit authorization data for this transaction obtained by the smart terminal from the remote server, the method further includes: performing one or a combination of the following judgments to verify the credit authorization data: By comparing the time information in the credit authorization data with the current time, if the current time exceeds the time information in the credit authorization data, the credit authorization data is expired and the transaction is cancelled; Determine whether the transaction amount exceeds the credit limit in the credit authorization data; if so, cancel the transaction.
24. An offline credit payment method, characterized in that: include: Obtain the credit authorization data of the remote server for the user's current transaction, wherein the credit authorization data is temporarily obtained from the remote server in real time by the smart terminal, or is obtained by the smart terminal from the remote server and becomes effective within a certain period of time; the credit authorization data includes a random number for this credit authorization, which is a unique identifier for authorization; the credit authorization data also includes signature information of the remote server signing the credit authorization data with a private key; wherein the remote server encrypts the user information, signs the credit authorization data with a private key, and sends the signature information and the credit authorization data to the smart terminal in the form of a password; The credit authorization data is provided to the charging terminal so that the charging terminal performs processing based on the credit authorization data; after obtaining the credit authorization data, the charging terminal determines whether the random number in the authorization data exists in the previous transaction data. If so, the credit authorization data is a repeated authorization and the transaction is cancelled; the charging terminal also uses the public key obtained in advance from the remote server to verify the signature information to determine whether the credit authorization data is issued by the remote server, so that when it is determined that it is the credit authorization data issued by the remote server, the step of recording the credit authorization data and the transaction data of this time is performed; the charging terminal also verifies the credit authorization data and the transaction data of this time with the remote server at a predetermined time; wherein, the charging terminal packages all the credit authorization data and the corresponding transaction data generated in the time interval between two verifications and sends them to the remote server, and the remote server deducts money from the user's account according to the credit authorization data and the transaction data.
25. The offline credit payment method according to claim 24, characterized in that: Acquiring the credit authorization data of the remote server for the user's current transaction further includes sending a unique identifier of the user to the remote server; Receive credit authorization data including user account information generated by the remote server according to the unique identifier.
26. The offline credit payment method according to claim 24, characterized in that: The credit authorization data also includes the time information and credit limit of this credit authorization.
27. An offline payment method, characterized in that: include: Obtain the credit authorization request sent by the user through the smart terminal; According to the credit authorization request of the smart terminal, the credit authorization data for the current transaction of the user is sent to the smart terminal, wherein the credit authorization data is temporarily obtained from the remote server in real time by the smart terminal, or is obtained by the smart terminal from the remote server and becomes effective within a certain period of time; the credit authorization data includes a random number for this credit authorization, which is a unique identifier for authorization; Sending authorization data for the user's current transaction to the smart terminal specifically includes: encrypting user information, signing the credit authorization data with a private key, and sending the signature information and the credit authorization data to the smart terminal in a password manner; wherein the smart terminal provides the credit authorization data to the charging terminal so that the charging terminal processes based on the credit authorization data; after obtaining the credit authorization data, the charging terminal determines whether the random number in the authorization data exists in the previous transaction data. If so, the credit authorization data is a duplicate authorization, and the current transaction is cancelled; the charging terminal uses the random number in the authorization data obtained in advance from The public key obtained by the remote server is used to verify the signature information to determine whether the credit authorization data is issued by the remote server, so that when it is determined that the credit authorization data is issued by the remote server, the step of recording the credit authorization data and the transaction data of this time is performed; the charging terminal also verifies the credit authorization data and the transaction data of this time with the remote server at a predetermined time; wherein, the charging terminal packages all the credit authorization data and the corresponding transaction data generated during the time interval between two verifications and sends them to the remote server, and the remote server deducts money from the user's account according to the credit authorization data and the transaction data.
28. The offline payment method according to claim 27, characterized in that: The credit authorization request includes the unique identifier of the user, and the sending of the credit authorization data for the current transaction of the user to the smart terminal specifically includes: The credit authorization data for the current transaction of the user is sent to the smart terminal according to the authorization data containing the user information generated by the unique identifier.
29. A fee deduction terminal, characterized in that: include: A collection unit, used to collect the credit authorization data for this transaction obtained by the smart terminal from the remote server, wherein the credit authorization data is temporarily obtained by the smart terminal from the remote server in real time, or is obtained by the smart terminal from the remote server and becomes effective within a certain period of time; the credit authorization data includes a random number for this credit authorization, which is a unique identifier for authorization; A recording unit, used to record the credit authorization data and current transaction data; A verification unit, used to verify the credit authorization data as follows: determine whether the random number in the authorization data exists in previous transaction data, if so, the credit authorization data is a duplicate authorization, and cancel the current transaction; The credit authorization data for this transaction obtained by the collection intelligent terminal from the remote server also includes signature information of the credit authorization data signed by the remote server using a private key; wherein the remote server encrypts the user information, signs the credit authorization data using the private key, and sends the signature information and the credit authorization data to the intelligent terminal in a password manner, and the fee deduction terminal also includes: a signature verification unit, which is used to verify the signature information using the public key obtained in advance from the remote server, and determine whether the credit authorization data is issued by the remote server, so that when it is determined that the credit authorization data is issued by the remote server, the recording unit records the credit authorization data and the transaction data It also includes: a checking unit, which is used to check the credit authorization data and transaction data with the remote server at a predetermined time.
30. The fee deduction terminal according to claim 29, characterized in that: The credit authorization data used for this transaction at least includes the time information of this credit authorization, the user's account information and the credit limit.
31. The fee deduction terminal according to claim 29, characterized in that: The collection unit further includes a scanning module for scanning a barcode generated by the smart terminal according to the credit authorization data to obtain the credit authorization data; Alternatively, the device further includes a wireless communication module, configured to obtain the credit authorization data from the smart terminal in a wireless communication manner.
32. The fee deduction terminal according to claim 31, characterized in that: The barcode includes a one-dimensional barcode and / or a two-dimensional barcode; the wireless communication method includes a near field communication method or an RFID method.
33. The fee deduction terminal according to claim 29, characterized in that: The verification unit verifies the credit authorization data by performing one or a combination of the following judgments: By comparing the time information in the credit authorization data with the current time, if the current time exceeds the time information in the credit authorization data, the credit authorization data is expired and the transaction is cancelled; Determine whether the transaction amount exceeds the credit limit in the credit authorization data; if so, cancel the transaction.
34. An intelligent terminal, characterized in that: include: The acquisition unit is used to acquire the credit authorization data of the remote server for the current transaction of the user, wherein the credit authorization data is temporarily acquired from the remote server in real time by the smart terminal, or is acquired by the smart terminal from the remote server and becomes effective within a certain period of time; the credit authorization data includes a random number of the current credit authorization, which is a unique identifier of the authorization; the credit authorization data also includes signature information of the remote server signing the credit authorization data with a private key; wherein the remote server encrypts the user information, signs the credit authorization data with a private key, and sends the signature information and the credit authorization data to the smart terminal in the form of a password; The communication unit is used to provide the credit authorization data to the charging terminal so that the charging terminal can process based on the credit authorization data; after obtaining the credit authorization data, the charging terminal determines whether the random number in the authorization data exists in the previous transaction data. If so, the credit authorization data is a repeated authorization and the transaction is cancelled; the charging terminal also uses the public key obtained from the remote server in advance to verify the signature information to determine whether the credit authorization data is issued by the remote server, so that when it is determined that it is the credit authorization data issued by the remote server, the step of recording the credit authorization data and the transaction data is performed; the charging terminal also verifies the credit authorization data and the transaction data with the remote server at a predetermined time; wherein, the charging terminal packages all the credit authorization data and the corresponding transaction data generated in the time interval between two verifications and sends them to the remote server, and the remote server deducts the user's account according to the credit authorization data and the transaction data.
35. The intelligent terminal according to claim 34, characterized in that: The acquisition unit is further used to send a unique identifier of the user to the remote server; and receive credit authorization data including user account information generated by the remote server according to the unique identifier.
36. The intelligent terminal according to claim 34, characterized in that: The credit authorization data also includes the time information and credit limit of this credit authorization.
37. A remote server, characterized in that: include: An acquisition unit, used to acquire a credit authorization request sent by a user through a smart terminal; A processing unit, configured to send credit authorization data for the current transaction of the user to the smart terminal according to the credit authorization request of the smart terminal, wherein the credit authorization data is temporarily obtained by the smart terminal from the remote server in real time, or is obtained by the smart terminal from the remote server and becomes effective within a certain period of time; the credit authorization data includes a random number for the current credit authorization, which is a unique identifier for the authorization; The processing unit sends the credit authorization data of the user's current transaction to the smart terminal, specifically including: encrypting the user information, signing the credit authorization data with a private key, and sending the signature information and the credit authorization information to the smart terminal in a password manner; wherein the smart terminal provides the credit authorization data to the charging terminal so that the charging terminal processes based on the credit authorization data; after obtaining the credit authorization data, the charging terminal determines whether the random number in the authorization data exists in the previous transaction data, and if so, the credit authorization data is a duplicate authorization, and the current transaction is cancelled; the charging terminal uses The signature information is verified using a public key obtained in advance from the remote server to determine whether the credit authorization data is issued by the remote server, so that when it is determined that the credit authorization data is issued by the remote server, the step of recording the credit authorization data and the transaction data of this time is performed; the charging terminal also verifies the credit authorization data and the transaction data of this time with the remote server at a predetermined time; wherein the charging terminal packages all the credit authorization data and the corresponding transaction data generated during the time interval between two verifications and sends them to the remote server, and the remote server deducts money from the user's account according to the credit authorization data and the transaction data.
38. The remote server according to claim 37, characterized in that: The credit authorization request includes a unique identifier of the user, and the processing unit is specifically configured to generate credit authorization data including user information according to the unique identifier and send credit authorization data for the current transaction of the user to the smart terminal.
39. An offline credit payment system, characterized in that: include: The intelligent terminal according to any one of claims 34 to 36, the remote server according to any one of claims 37 to 38, the fee deduction terminal according to any one of claims 29 to 33; The remote server sends credit authorization data for the current transaction of the user to the smart terminal according to the credit authorization request of the smart terminal; The smart terminal obtains the credit authorization data from the remote server; The charging terminal collects the credit authorization data on the smart terminal and records the credit authorization data and the current transaction data.
