WO2021027145A1 - 无应用支付方法、装置、计算设备和存储介质 - Google Patents

无应用支付方法、装置、计算设备和存储介质 Download PDF

Info

Publication number
WO2021027145A1
WO2021027145A1 PCT/CN2019/117691 CN2019117691W WO2021027145A1 WO 2021027145 A1 WO2021027145 A1 WO 2021027145A1 CN 2019117691 W CN2019117691 W CN 2019117691W WO 2021027145 A1 WO2021027145 A1 WO 2021027145A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal
password
account
information
order information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Ceased
Application number
PCT/CN2019/117691
Other languages
English (en)
French (fr)
Inventor
康昕煜
陈源
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ping An Technology Shenzhen Co Ltd
Original Assignee
Ping An Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ping An Technology Shenzhen Co Ltd filed Critical Ping An Technology Shenzhen Co Ltd
Publication of WO2021027145A1 publication Critical patent/WO2021027145A1/zh
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/382Payment protocols; Details thereof insuring higher security of transaction
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/385Payment protocols; Details thereof using an alias or single-use codes
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/40Authorisation, e.g. identification of payer or payee, verification of customer or shop credentials; Review and approval of payers, e.g. check credit lines or negative lists
    • G06Q20/401Transaction verification

Definitions

  • This application relates to the field of information encryption technology, in particular to a non-application payment method, device, computing device, and computer non-volatile readable storage medium.
  • the inventor of the present application realizes that at present, in order for users to make mobile payments, they must install an application (Application, App for short) on their mobile terminal, that is, the user binds the app with a specific account to the payment institution on the terminal.
  • the server performs two-way data transfer to realize the entire mobile payment process. Since mobile payment is an operation directly related to money transfer, a large amount of data is required to monitor the security of payment.
  • various data related to payment security of users are encapsulated in the App to ensure payment security.
  • payment is also required. At present, there is no method that can realize mobile payment while ensuring the security of payment when the user's mobile terminal does not have an App.
  • the purpose of this application is to provide a non-application payment method, device, computing device, and computer non-volatile readable storage medium.
  • a non-application payment method including:
  • the account of is encrypted by the second password generated by the first terminal according to the password parameter and the order information;
  • the payment amount is transferred from the account of the user of the first terminal to the account of the user of the second terminal.
  • a non-application payment device including:
  • the first receiving module is configured to receive payment information sent by the second terminal, the payment information including the account of the user of the second terminal, and the identification of the first terminal sent by the first terminal to the second terminal Information and order information corresponding to the identification information of the first terminal, where the order information includes a payment amount, and the first terminal has not installed an application for completing the payment;
  • the first sending module is configured to send a password parameter generation request to the first terminal according to the identification information of the first terminal, so that the first terminal generates a password parameter according to the password parameter generation request;
  • the second receiving module is configured to receive the password parameter sent by the first terminal
  • a generating module configured to generate a first password according to the password parameter and the order information
  • the second sending module is configured to send an account acquisition request to the first terminal, so that the user of the first terminal determines whether or not according to the order information corresponding to the identification information of the first terminal in the account acquisition request
  • the account number corresponding to the identification information of the first terminal is sent through the first terminal, wherein the account acquisition request includes order information corresponding to the identification information of the first terminal, and the first terminal sends and
  • the account number corresponding to the identification information of the first terminal is encrypted by the second password generated by the first terminal according to the password parameter and the order information;
  • a decryption module configured to use the first password to obtain the account of the user of the first terminal when receiving the account encrypted by the second password sent by the first terminal;
  • the payment module is configured to transfer the payment amount from the account of the user of the first terminal to the second terminal when the account of the user of the first terminal matches the identification information of the first terminal.
  • the account of the user of the terminal is configured to transfer the payment amount from the account of the user of the first terminal to the second terminal when the account of the user of the first terminal matches the identification information of the first terminal. The account of the user of the terminal.
  • a computing device including a memory and a processor, the memory is used to store a program of the processor’s application-less payment method, and the processor is configured to execute the application-less payment method via The program executes the following processing: receiving payment information sent by the second terminal, the payment information including the account of the user of the second terminal, the identification information of the first terminal sent by the first terminal to the second terminal, and Order information corresponding to the identification information of the first terminal, wherein the order information includes the payment amount, and the first terminal has not installed an application for completing the payment; The first terminal sends a password parameter generation request, so that the first terminal generates a password parameter according to the password parameter generation request; receives a password parameter sent by the first terminal; and generates a first terminal according to the password parameter and the order information.
  • Password send an account acquisition request to the first terminal, so that the user of the first terminal determines whether to pass the first terminal according to the order information corresponding to the identification information of the first terminal in the account acquisition request Send an account corresponding to the identification information of the first terminal, wherein the account acquisition request includes order information corresponding to the identification information of the first terminal, and the first terminal sends an identification corresponding to the first terminal
  • the account corresponding to the information is encrypted by the second password generated by the first terminal according to the password parameters and the order information; when the account encrypted by the second password sent by the first terminal is received, the The first password obtains the account number of the user of the first terminal; when the account number of the user of the first terminal matches the identification information of the first terminal, the payment amount is changed from the account number of the first terminal
  • the user's account is transferred to the user's account of the second terminal.
  • a computer non-volatile readable storage medium storing computer readable instructions, on which is stored a program of a non-application payment method, which is implemented when the program of the non-application payment method is executed by a processor The following processing:
  • Receive payment information sent by a second terminal where the payment information includes the account of the user of the second terminal, the identification information of the first terminal sent to the second terminal by the first terminal, and the identification information with the first terminal
  • Order information corresponding to the identification information of the first terminal wherein the order information includes the payment amount, and the first terminal does not have an application for completing the payment installed
  • a terminal sends an account acquisition request, so that the user of the first terminal can determine whether to send a request to the first terminal through the first terminal according to the order information corresponding to the identification information of the first terminal in the account acquisition request.
  • the account number corresponding to the identification information of the terminal wherein the account acquisition request includes order information corresponding to the identification information of the first terminal, and the first terminal sends the account number corresponding to the identification information of the first terminal.
  • the first terminal is encrypted according to the second password generated by the password parameters and the order information; when receiving the account encrypted by the second password sent by the first terminal, the first password is used to obtain the The account of the user of the first terminal; when the account of the user of the first terminal matches the identification information of the first terminal, the payment amount is transferred from the account of the user of the first terminal to the The account of the user of the second terminal.
  • the user only needs to send the terminal’s identification information, password parameters, and the encrypted user’s account through the terminal to complete the payment.
  • Fig. 1 is a schematic diagram showing an application scenario of a non-application payment method according to an exemplary embodiment
  • Fig. 2 is a flow chart showing a method for non-application payment according to an exemplary embodiment
  • FIG. 3 is a detailed flowchart of step 240 according to an embodiment shown in the embodiment corresponding to FIG. 2;
  • FIG. 4 is a flowchart showing details of step 241 of an embodiment according to the embodiment corresponding to FIG. 3;
  • FIG. 5 is a flowchart showing details of step 244 in an embodiment according to the embodiment corresponding to FIG. 3;
  • FIG. 6 is a flowchart showing details of step 244 in another embodiment according to the embodiment corresponding to FIG. 3;
  • FIG. 7 is a flowchart of steps after step 270 in an embodiment shown according to the embodiment corresponding to FIG. 2;
  • Fig. 8 is a block diagram showing a non-application payment device according to an exemplary embodiment
  • Fig. 9 is an exemplary block diagram showing a computing device that implements the above application-free payment method according to an exemplary embodiment
  • Fig. 10 shows a computer non-volatile readable storage medium for implementing the above application-free payment method according to an exemplary embodiment.
  • the implementation terminal of this application can be any device with computing and processing functions.
  • the device can be connected to an external device to receive or send information. It can be a portable mobile device, such as a smart phone, a tablet computer, a notebook computer, or a PDA (Personal Digital Assistant), etc., can also be fixed devices, such as computer equipment, field terminals, desktop computers, servers, workstations, etc., or a collection of multiple devices, such as the physical infrastructure of cloud computing.
  • the implementation terminal of this application may be a server or a physical infrastructure of cloud computing.
  • NFC Near Field Communication
  • FIG. 1 is a schematic diagram showing an application scenario of a non-application payment method according to an exemplary embodiment.
  • the implementation terminal of the present application is the server 110.
  • the user terminal 130, the merchant terminal 120, and the server 110 are connected by a communication link, and the transmission of information and data can be realized between each other.
  • Fig. 2 is a flow chart showing an application-less payment method according to an exemplary embodiment. As shown in Figure 2, it includes the following steps:
  • Step 210 Receive payment information sent by the second terminal.
  • the second terminal is any terminal with computing, processing, and communication functions, such as servers, desktop computers, computer equipment, field terminals, desktop computers, etc.
  • Payment information is information that can indicate the relationship between the receiving account and the payment account. The so-called payment is to transfer a certain amount of money in the payment account to the receiving account.
  • the so-called payment information includes the account of the user of the second terminal, the identification information of the first terminal sent by the first terminal to the second terminal, and the order information corresponding to the identification information of the first terminal, where: The order information includes the payment amount, and the first terminal has not installed an application for completing the payment.
  • the first terminal may be various mobile terminals such as smart phones, tablet computers, and PDAs.
  • the user's account is the account corresponding to any account that has the function of collecting money or transferring money.
  • it can be an account corresponding to a payment tool, such as WeChat's Lingqiantong, WeChat's change, Alipay's balance, Yu'ebao, etc., or a financial institution's account, such as an insurance wealth management account number, bank card number, etc.
  • the identification information of a terminal refers to information that can uniquely indicate the identity of a terminal relative to the local terminal. It can be a combination of various codes or codes such as serial number and serial code.
  • the International Mobile Equipment Identity International Mobile Equipment Identity
  • IMEI International Mobile Equipment Identity
  • MAC Media Access Control Address
  • P/N Product Number
  • S/N Serial Number
  • mobile phone number and serial number combination Combination of mailbox and serial number, etc.
  • the identity of the first terminal is an inherent identity of the first terminal, such as a MAC address.
  • the identity of the first terminal is another identity generated by the first terminal according to the fixed identity of the terminal.
  • the first terminal converts the international mobile equipment identification code into a string of predetermined length through a hash algorithm, and sends it to the second terminal as the identifier of the first terminal.
  • the specific hash algorithm used may be MD4, MD5, SHA-1, for example. Wait.
  • Order information is used to indicate both parties involved in the payment process and the goods or services related to this payment.
  • the order information includes a payment code, which is used to identify each payment.
  • the order information includes a nickname corresponding to the identification information of the first terminal and a nickname corresponding to the account of the user of the second terminal.
  • the order information further includes the time when the first terminal sends the identification information of the first terminal to the second terminal.
  • the payment amount is the amount to be deducted from the account of the first user to complete the payment, that is, the amount of money to be transferred from the account of the first user to the account of the second user.
  • the specific manners for the first terminal to send the identification information of the first terminal to the second terminal include, but are not limited to, Bluetooth, SMS, NFC, mail, scanning, and the like.
  • the first terminal sends the identification information of the first terminal through Bluetooth, NFC, and scanning, so that the first terminal can send the identification information of the first terminal to the second terminal without a network signal, thereby completing the entire payment process.
  • Step 220 Send a password parameter generation request to the first terminal according to the identification information of the first terminal, so that the first terminal generates a password parameter according to the password generation parameter request.
  • Password parameters are numeric values, characters, or strings used to generate passwords.
  • the password parameter generation request may be a request that triggers the first terminal to start generating password parameters, for example, it may be an HTTP/HTTPS type request, or any request based on a network or a communication protocol.
  • the password parameter generation request may also be a request that instructs the user of the first terminal to trigger the first terminal to generate the password parameter through the page pointed to by the request and upload the password parameter to the local terminal through the page.
  • the identification information of the first terminal includes an email, and the local end sends a password parameter generation request to the first terminal by way of email.
  • the first terminal is a smart phone
  • the identification information of the first terminal includes a mobile phone number
  • the local terminal sends a password parameter generation request to the first terminal by means of a short message.
  • the official account of the social software associates the local terminal with the first terminal, and the local terminal pushes information through the official account of the social software, so as to send a password parameter generation request to the first terminal.
  • the identification information of the first terminal and the identification information of the local terminal are associated with a specific official account on the official account platform in advance, and the local terminal sends a password parameter generation request to the first terminal through the official account platform, for example, WeChat Public account platform.
  • a browser and a small program of social software associate the local terminal with the first terminal, and the local terminal sends a password parameter generation request to the first terminal through the small program, such as Alipay, UC browser, QQ Small programs integrated with browsers, Baidu App, WeChat App and other software.
  • the password parameter is randomly generated by the first terminal according to the password parameter generation request.
  • the password parameter is a randomly generated string.
  • the password parameter can be generated by the following methods: get the random number between [50, 122]; use the first random number as the number of times to get the random number, that is, the length of the string to be randomly generated; When a random number is obtained, the ASCII code corresponding to the random number is used as each character in the character string to be obtained, and the character string is finally generated as a password parameter.
  • the advantage of this embodiment is that since the length of the character string is random, each character in the character string is also random, which guarantees the reliability of the generated password parameters to a certain extent.
  • the password parameter is a randomly generated sequence of numbers.
  • the password parameter can be generated by the following methods: obtain a random number between [0, 100] as the first random number; use the obtained first random number as the length of the password parameter of the digital sequence type to be generated; Then, a random number between [0, 10] is acquired as the second random number, where the number of the acquired second random number is equal to the first random number.
  • the generated password parameter further includes the time when the first terminal receives the request for generating the password parameter, where the time may be used as the prefix or suffix of the password parameter to be randomly generated. For example, the time when the password parameter generation request is received is 15:23:18, and the part of the password parameter generated by the first terminal is 0E4A7BDFH, then the final password parameter generated by the first terminal is 1523180E4A7BDFH.
  • Step 230 Receive the password parameter sent by the first terminal.
  • the password parameter In order to obtain the encrypted account to be sent by the first terminal, the password parameter must be obtained first, and then the password is obtained according to the password parameter, and then the account of the first terminal is obtained using the password.
  • the local end sends a password parameter generation request to the first terminal by email.
  • the page of the email contains a button control for triggering the first terminal to generate password parameters.
  • the button control When the user of the first terminal When the button control is clicked, the first terminal is triggered to generate the password parameters and automatically sent to the local terminal, so as to realize the reception of the password parameters sent by the first terminal.
  • the local terminal sends a password parameter generation request to the first terminal by using a public account to push information.
  • the pushed information contains a link, and the page to which the link points can trigger the first terminal to generate a password parameter and automatically send it to the local terminal.
  • the first terminal automatically generates the password parameters and sends them to the local terminal.
  • the local terminal sends a password parameter generation request to the first terminal through a small program.
  • the applet on the first terminal receives the password parameter request
  • the first terminal generates the password parameter according to the request of the applet and sends the password parameter to the local terminal via the applet, so that the local terminal receives the password parameter request from the first terminal.
  • the password parameter generation request is sent to the first terminal before receiving the password parameter sent by the first terminal after a predetermined period of time
  • the password parameter sent by the first terminal is rejected, that is, for every A terminal
  • the implementation terminal of this application only receives the password parameters sent by the terminal within a predetermined period of time after sending the password parameter generation request to the terminal.
  • the password parameter generation request is sent to the first terminal again.
  • Step 240 Generate a first password according to the password parameter and the order information.
  • the password parameter is a numeric serial number
  • the hash value in the form of a string of the order information is obtained through a hash algorithm; first, the first number in the hash value is obtained as the first number , And then obtain the first number in the serial number of the password parameter as the second number; then in the hash value string, start with the character sorted in the second digit, and intercept the number of the second digit Characters as the first password.
  • the password parameter is a serial number of a character type, and the hash value in the form of a string of the order information is obtained through a hash algorithm; first, the first character in the serial number of the password parameter is obtained as the first character One character; then obtain the first character identical to the first character in the hash value in the form of a string as the second character; obtain the first number after the second character in the hash value as the third number; Then, starting from the second character in the character string of the hash value, the character whose number is the third number is intercepted as the first password.
  • the advantage of this embodiment is that because the order information is different each time the payment is made, the generated hash values are different, and the password parameters are also different, so that the first password generated each time is random, which improves the first password.
  • the difficulty of being cracked improves the security of user accounts during transmission.
  • Step 250 Send an account acquisition request to the first terminal, so that the user of the first terminal determines whether to pass the first terminal according to the order information corresponding to the identification information of the first terminal in the account acquisition request.
  • the terminal sends an account corresponding to the identification information of the first terminal.
  • the so-called account acquisition request includes order information corresponding to the identification information of the first terminal, and the first terminal sends the account corresponding to the identification information of the first terminal by the first terminal according to the password parameter and The second password generated by the order information is encrypted. After the order information is confirmed by the user of the first terminal, the account can be sent to the local terminal to complete the entire mobile payment process, which further improves the security of payment without application to a certain extent.
  • the local end sends an account acquisition request to the first terminal by email.
  • the local terminal sends an account acquisition request to the first terminal by means of short messages.
  • the local end sends an account acquisition request to the first terminal through an official account or a small program.
  • Step 260 When receiving the account encrypted by the second password sent by the first terminal, obtain the account of the user of the first terminal by using the first password.
  • the second password and the first password are the same password.
  • the advantage of this is that the uniqueness of the password is guaranteed and the security of encryption is improved.
  • the second password and the first password are different passwords
  • the first password is a predetermined character string added to the second password, that is, a part of the first password is consistent with the generation method of the second password .
  • the second password is used to decrypt the encrypted account, it cannot be decrypted.
  • Only the first password with a predetermined character string added to the second password can be used to decrypt the account.
  • the manner of adding the predetermined character string can be arbitrary, such as adding the predetermined character string before the second password, adding the predetermined character string after the second password, or adding the predetermined character string to the first character of the second password. And other characters and so on.
  • the advantage of this embodiment is that the second password is stolen in time, and the encrypted account is also difficult to crack, which further increases the security of the mobile payment process.
  • the account can be decrypted through comparison. For example, when the first password is consistent with the second password, the account is decrypted.
  • the account can be decrypted through calculation of a specific function.
  • the second password generated by the first terminal according to the password parameters and the order information is a value of x
  • the first password generated by the local terminal according to the password parameters and the order information is a function based on x.
  • Step 270 When the account of the user of the first terminal matches the identification information of the first terminal, transfer the payment amount from the account of the user of the first terminal to the user of the second terminal Account.
  • the correspondence between the account of the user of the first terminal and the identification information of the first terminal is stored on the local terminal in advance.
  • the identification information of the first terminal is sent by the first terminal to the second terminal.
  • the identification of the first terminal does not have financial-level security, and can only play an additional role in the entire payment process instead of leading
  • the function is to determine whether the user's account of the first terminal has actually made this payment through the identification information of the first terminal, so as to ensure the security of non-application payment to a greater extent.
  • the inventor ingeniously thought that the first terminal does not need to send a more private user account to the second terminal, but only needs to send identification information to the first terminal and Sending the password parameters and the user’s account to the local terminal can complete the payment process without application, providing a solution for payment without application.
  • the user’s account sent is encrypted, it ensures the payment process without application Security of payment in China.
  • FIG. 3 is a detailed flowchart of step 240 according to an embodiment shown in the embodiment corresponding to FIG. 2.
  • the password parameters include a code sequence and a modulus, and the manner in which the first terminal generates the second password according to the password parameters and the order information is different from that of the local terminal according to the password parameters. It is consistent with the way the order information generates the first password.
  • step 240 includes the following steps:
  • Step 241 Obtain summary information of the order information.
  • the summary information is a string obtained by calculating the order information through the summary algorithm.
  • the digest algorithm may be, for example, a hash algorithm.
  • the summary information of all the character strings in the order information is obtained by a summary algorithm as the summary information of the order information.
  • the summary information of a string of a predetermined length in the order information is obtained by a summary algorithm as the summary information of the order information.
  • Step 242 Determine the number of characters included in the summary information.
  • the implementation terminal of the present application is provided with a counter to obtain the number of characters contained in the summary information.
  • Step 243 Perform a modulo operation on the number and the modulus to obtain a remainder.
  • Modulo operation refers to the use of the mod function in the computer field to obtain the remainder.
  • Step 244 Generate a first password based on the remainder and the code sequence.
  • step 244 includes:
  • step 244' M bits are successively taken from the remainder bits in the code sequence as the first password, where M is a positive integer.
  • the value of M is fixed.
  • the password parameter generated and sent by the first terminal further includes the value of M.
  • step 244 includes:
  • Step 244" take 2n characters from the remainder of the code sequence as the first password, where n is a positive integer, among the 2n characters, alphabetic characters and numeric characters The number of is n, and the sequence of the 2n characters constituting the first password in the first password is consistent with the sequence of the 2n characters in the code sequence.
  • the advantage of the embodiment shown in FIG. 3 is that because the digests of different order information are different, the remainder obtained for different order information is different, which increases the complexity of the first password generation rule and ensures encryption Security of account transfer.
  • FIG. 4 is a flowchart showing details of step 241 in an embodiment according to the embodiment corresponding to FIG. 3. As shown in Figure 4, step 241 includes the following steps:
  • Step 2411 Acquire a digest algorithm corresponding to the sequence number from a preset digest algorithm library according to the sequence number of the digest algorithm.
  • Both the first terminal and the local end can access the data in the same summary algorithm library.
  • the so-called summary information of the order information is obtained through the summary algorithm, and the summary algorithm is one of the preset summary algorithm libraries.
  • the digest algorithm library includes a plurality of digest algorithms, and each digest algorithm and sequence number are correspondingly stored in the digest algorithm library.
  • the password parameters generated by the first terminal according to the password parameter generation request also include the password parameters and The sequence number of the digest algorithm used when the order information generates the second password.
  • Step 2412 Use the summary algorithm to obtain summary information of the order information.
  • the advantage of this embodiment is that the constantly changing digest algorithm further increases the complexity of the account after cracking the encryption, thereby improving the security of non-application payment.
  • FIG. 7 is a flowchart of steps after step 270 in an embodiment shown according to the embodiment corresponding to FIG. 2. As shown in Figure 7, including:
  • Step 280 Send reminder information including the payment amount to the first terminal.
  • the reminder information can be sent to the reminder through multiple methods such as email, short message, official account, and applet.
  • the reminder information may include the payment amount, the payment time, the account number of the user of the first terminal making the payment, and so on.
  • the advantage of this embodiment is that by sending reminder information to the first terminal, the user's non-application payment order can be traced by the user of the first terminal, which improves the transparency of non-application payment.
  • This application also provides an application-less payment device.
  • the following are device embodiments of the application.
  • Fig. 8 is a block diagram showing a non-application payment device according to an exemplary embodiment. As shown in FIG. 8, the device 800 includes:
  • the first receiving module 810 is configured to receive payment information sent by the second terminal, where the payment information includes the account number of the user of the second terminal, and the information sent by the first terminal to the second terminal of the first terminal.
  • the first sending module 820 is configured to send a password parameter generation request to the first terminal according to the identification information of the first terminal, so that the first terminal generates a password parameter according to the password generation parameter request.
  • the second receiving module 830 is configured to receive the password parameter sent by the first terminal.
  • the generating module 840 is configured to generate a first password according to the password parameter and the order information.
  • the second sending module 850 is configured to send an account acquisition request to the first terminal, so that the user of the first terminal determines according to the order information corresponding to the identification information of the first terminal in the account acquisition request Whether to send the account corresponding to the identification information of the first terminal through the first terminal, wherein the account acquisition request includes order information corresponding to the identification information of the first terminal, and the first terminal sends
  • the account number corresponding to the identification information of the first terminal is encrypted by a second password generated by the first terminal according to the password parameter and the order information.
  • the decryption module 860 is configured to obtain the account of the user of the first terminal by using the first password when receiving the account encrypted by the second password sent by the first terminal.
  • the payment module 870 is configured to transfer the payment amount from the user’s account of the first terminal to the first terminal when the user’s account of the first terminal matches the identification information of the first terminal. 2. The account of the user of the terminal.
  • the password parameters include a code sequence and a modulus
  • the way in which the first terminal generates the second password according to the password parameters and the order information is different from that of the local terminal according to the password parameters and the order information.
  • the information generates the first password in the same manner.
  • the generating of the first password according to the password parameters and the order information includes: obtaining summary information of the order information; determining the number of characters contained in the summary information; Perform a modulo operation on the number and the modulus to obtain a remainder; and generate a first password based on the remainder and the code sequence.
  • the summary information of the order information is obtained through a summary algorithm
  • the summary algorithm is one of a preset summary algorithm library
  • the summary algorithm library includes a plurality of summary algorithms, and each summary algorithm
  • the sequence number is correspondingly stored in the digest algorithm library
  • the password parameter generated by the first terminal according to the password generation parameter request also includes the digest used when generating the second password according to the password parameter and the order information
  • the sequence number of the algorithm, said obtaining the summary information of the order information includes: obtaining the summary algorithm corresponding to the sequence number from a preset summary algorithm library according to the sequence number of the summary algorithm; The summary information of the order information.
  • the generating the first password based on the remainder and the code sequence includes: successively taking M bits from the remainder in the code sequence as the first password, where M is positive Integer.
  • the generating a first password based on the remainder and the code sequence includes: taking 2n characters from the remainder in the code sequence as the first password, where n Is a positive integer, the number of alphabetic characters and numeric characters in the 2n characters is n, and the sequence of the 2n characters in the first password is the same as that of the 2n characters in the first password.
  • the sequence of the characters in the code sequence is consistent.
  • the password parameter is randomly generated by the first terminal according to the password generation parameter request.
  • the payment module is further configured to transfer the payment amount from the first terminal’s account when the user’s account of the first terminal matches the identification information of the first terminal. After the user's account is transferred to the user's account of the second terminal: sending reminder information including the payment amount to the first terminal.
  • the computing equipment includes:
  • At least one processor At least one processor
  • a memory communicatively connected with the at least one processor; wherein,
  • the memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor, so that the at least one processor can execute as shown in any one of the above exemplary embodiments. No application payment method.
  • the computing device 900 according to this embodiment of the present application will be described below with reference to FIG. 9.
  • the computing device 900 shown in FIG. 9 is only an example, and should not bring any limitation to the function and scope of use of the embodiments of the present application.
  • the computing device 900 is represented in the form of a general-purpose computing device.
  • the components of the computing device 900 may include, but are not limited to: the aforementioned at least one processing unit 910, the aforementioned at least one storage unit 920, and a bus 930 connecting different system components (including the storage unit 920 and the processing unit 910).
  • the storage unit stores program code, and the program code can be executed by the processing unit 910, so that the processing unit 910 executes the various exemplary methods described in the "Methods of Embodiments" section of this specification. Implementation steps.
  • the storage unit 920 may include a readable medium in the form of a volatile storage unit, such as a random access storage unit (RAM) 921 and/or a cache storage unit 922, and may further include a read-only storage unit (ROM) 923.
  • RAM random access storage unit
  • ROM read-only storage unit
  • the storage unit 920 may also include a program/utility tool 924 having a set of (at least one) program module 925.
  • program module 925 includes but is not limited to: an operating system, one or more application programs, other program modules, and program data, Each of these examples or some combination may include the implementation of a network environment.
  • the bus 930 may represent one or more of several types of bus structures, including a storage unit bus or a storage unit controller, a peripheral bus, a graphics acceleration port, a processing unit, or a local area using any bus structure among multiple bus structures. bus.
  • the computing device 900 may also communicate with one or more external devices 1100 (such as keyboards, pointing devices, Bluetooth devices, etc.), and may also communicate with one or more devices that enable a user to interact with the computing device 900, and/or communicate with Any device (eg, router, modem, etc.) that enables the computing device 900 to communicate with one or more other computing devices. This communication can be performed through an input/output (I/O) interface 950.
  • the computing device 900 may also communicate with one or more networks (such as a local area network (LAN), a wide area network (WAN), and/or a public network, such as the Internet) through the network adapter 960.
  • networks such as a local area network (LAN), a wide area network (WAN), and/or a public network, such as the Internet
  • the network adapter 960 communicates with other modules of the computing device 900 through the bus 930. It should be understood that although not shown in the figure, other hardware and/or software modules can be used in conjunction with the computing device 900, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives And data backup storage system, etc.
  • the exemplary embodiments described herein can be implemented by software, or can be implemented by combining software with necessary hardware. Therefore, the technical solution according to the embodiments of the present application can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (can be a CD-ROM, U disk, mobile hard disk, etc.) or on the network , Including several instructions to make a computing device (which may be a personal computer, server, terminal device, or network device, etc.) execute the method according to the embodiment of the present application.
  • a non-volatile storage medium can be a CD-ROM, U disk, mobile hard disk, etc.
  • Including several instructions to make a computing device which may be a personal computer, server, terminal device, or network device, etc.
  • each aspect of the present application can also be implemented in the form of a program product, which includes program code.
  • the program product runs on a terminal device, the program code is used to make the The terminal device executes the steps according to various exemplary embodiments of the present application described in the above-mentioned "Exemplary Method" section of this specification.
  • a computer non-volatile readable storage medium 1000 for implementing the above method according to an embodiment of the present application is described, which may adopt a portable compact disk read-only memory (CD-ROM) and includes program code , And can run on terminal devices, such as personal computers.
  • CD-ROM portable compact disk read-only memory
  • the program product of this application is not limited to this.
  • the computer non-volatile readable storage medium can be any tangible medium that contains or stores a program, and the program can be used by or in combination with an instruction execution system, device, or device. In conjunction with.
  • the program product can use any combination of one or more readable media.
  • the readable medium may be a readable signal medium or a readable storage medium.
  • the readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or device, or a combination of any of the above. More specific examples (non-exhaustive list) of readable storage media include: electrical connections with one or more wires, portable disks, hard disks, random access memory (RAM), read only memory (ROM), erasable Type programmable read only memory (EPROM or flash memory), optical fiber, portable compact disk read only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the above.
  • the computer-readable signal medium may include a data signal propagated in baseband or as a part of a carrier wave, and readable program code is carried therein. This propagated data signal can take many forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing.
  • the readable signal medium may also be any readable medium other than a readable storage medium, and the readable medium may send, propagate, or transmit a program for use by or in combination with the instruction execution system, apparatus, or device.
  • the program code contained on the readable medium can be transmitted by any suitable medium, including but not limited to wireless, wired, optical cable, RF, etc., or any suitable combination of the foregoing.
  • the program code used to perform the operations of this application can be written in any combination of one or more programming languages.
  • the programming languages include object-oriented programming languages-such as Java, C++, etc., as well as conventional procedural programming languages. Programming language-such as "C" language or similar programming language.
  • the program code can be executed entirely on the user's computing device, partly on the user's device, executed as an independent software package, partly on the user's computing device and partly executed on the remote computing device, or entirely on the remote computing device or server Executed on.
  • the remote computing device can be connected to a user computing device through any kind of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computing device (for example, using Internet service providers) Business to connect via the Internet).
  • LAN local area network
  • WAN wide area network
  • Internet service providers Internet service providers

Landscapes

  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Engineering & Computer Science (AREA)
  • Finance (AREA)
  • Strategic Management (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

一种无应用支付方法、装置、计算设备和存储介质,涉及信息加密领域。该方法包括:接收第二终端发送的支付信息(210);根据第一终端的标识信息向第一终端发送生成密码参数请求,以便第一终端根据生成密码参数请求生成密码参数(220);接收第一终端发送的密码参数(230);根据密码参数和订单信息生成第一密码(240);向第一终端发送账号获取请求,以便第一终端发送用户的账号;当接收到第一终端发送的由第二密码加密的账号时,利用第一密码得到第一终端的用户的账号(260);当第一终端的用户的账号与第一终端的标识信息匹配时,将支付金额从第一终端用户账号转移至所述第二终端用户账号(270)。此方法下,实现了在用户终端没有安装应用程序的情况下的支付,同时由于发送的该用户的账号是经过加密的,提高了支付过程的安全性。

Description

无应用支付方法、装置、计算设备和存储介质 技术领域
本申请基于并要求2019年8月13日申请的、申请号为CN 201910744500.9、名称为“无应用支付方法、装置、介质及电子设备”的中国专利申请的优先权,其全部内容在此并入作为参考。
本申请涉及信息加密技术领域,特别是涉及一种无应用支付方法、装置、计算设备和计算机非易失性可读存储介质。
背景技术
随着移动互联网到来,产生了大量新的信息传播模式和商业模式。由于移动支付的安全性的不断提高以及智能手机的发展,移动支付以其便捷性和高效性的特点迅速在大众流行开来,逐渐融入了人们的生活,无现金时代已经到来。
本申请发明人意识到,在当前,用户为了能够进行移动支付,必须要在其移动终端上安装应用程序(Application,简称App),即用户在其终端上通过绑定特定账号的App与支付机构的服务器进行双向数据的传递,来实现整个移动支付的流程。由于移动支付是直接与金钱转移相关的操作,因此需要大量数据来监测支付的安全性,而在现有技术,App内封装了用户的各种涉及支付安全的数据,来保证支付安全。在很多情况下,当用户的移动终端没有App时,也需要支付,目前缺少一种能在用户的移动终端没有App时,在保证支付的安全性的前提下实现移动支付的方法。
发明概述
技术问题
问题的解决方案
技术解决方案
在信息加密技术领域,为了解决上述技术问题,本申请的目的在于提供一种无应用支付方法、装置、计算设备和计算机非易失性可读存储介质。
第一方面,提供了一种无应用支付方法,包括:
接收第二终端发送的支付信息,所述支付信息包括所述第二终端的用户的账号、第一终端发送给所述第二终端的所述第一终端的标识信息和与所述第一终端的标识信息对应的订单信息,其中,所述订单信息包括支付金额,所述第一终端没有安装用于完成支付的应用;
根据所述第一终端的标识信息向所述第一终端发送生成密码参数请求,以便所述第一终端根据所述生成密码参数请求生成密码参数;
接收所述第一终端发送的密码参数;
根据所述密码参数和所述订单信息生成第一密码;
向所述第一终端发送账号获取请求,以便所述第一终端的用户根据所述账号获取请求中的与所述第一终端的标识信息对应的订单信息确定是否通过所述第一终端发送与所述第一终端的标识信息对应的账号,其中,所述账号获取请求包括与所述第一终端的标识信息对应的订单信息,所述第一终端发送与所述第一终端的标识信息对应的账号被所述第一终端根据所述密码参数和所述订单信息生成的第二密码加密;
当接收到所述第一终端发送的由所述第二密码加密的账号时,利用所述第一密码得到所述第一终端的用户的账号;
当所述第一终端的用户的账号与所述第一终端的标识信息相匹配时,将所述支付金额从所述第一终端的用户的账号转移至所述第二终端的用户的账号。
第二方面,提供了一种无应用支付装置,包括:
第一接收模块,被配置为接收第二终端发送的支付信息,所述支付信息包括所述第二终端的用户的账号、第一终端发送给所述第二终端的所述第一终端的标识信息和与所述第一终端的标识信息对应的订单信息,其中,所述订单信息包括支付金额,所述第一终端没有安装用于完成支付的应用;
第一发送模块,被配置为根据所述第一终端的标识信息向所述第一终端发送生成密码参数请求,以便所述第一终端根据所述生成密码参数请求生成密码参数;
第二接收模块,被配置为接收所述第一终端发送的密码参数;
生成模块,被配置为根据所述密码参数和所述订单信息生成第一密码;
第二发送模块,被配置为向所述第一终端发送账号获取请求,以便所述第一终端的用户根据所述账号获取请求中的与所述第一终端的标识信息对应的订单信息确定是否通过所述第一终端发送与所述第一终端的标识信息对应的账号,其中,所述账号获取请求包括与所述第一终端的标识信息对应的订单信息,所述第一终端发送与所述第一终端的标识信息对应的账号被所述第一终端根据所述密码参数和所述订单信息生成的第二密码加密;
解密模块,被配置为当接收到所述第一终端发送的由所述第二密码加密的账号时,利用所述第一密码得到所述第一终端的用户的账号;
支付模块,被配置为当所述第一终端的用户的账号与所述第一终端的标识信息相匹配时,将所述支付金额从所述第一终端的用户的账号转移至所述第二终端的用户的账号。
第三方面,提供了一种计算设备,包括存储器和处理器,所述存储器用于存储所述处理器的无应用支付方法的程序,所述处理器配置为经由执行所述无应用支付方法的程序来执行以下处理:接收第二终端发送的支付信息,所述支付信息包括所述第二终端的用户的账号、第一终端发送给所述第二终端的所述第一终端的标识信息和与所述第一终端的标识信息对应的订单信息,其中,所述订单信息包括支付金额,所述第一终端没有安装用于完成支付的应用;根据所述第一终端的标识信息向所述第一终端发送生成密码参数请求,以便所述第一终端根据所述生成密码参数请求生成密码参数;接收所述第一终端发送的密码参数;根据所述密码参数和所述订单信息生成第一密码;向所述第一终端发送账号获取请求,以便所述第一终端的用户根据所述账号获取请求中的与所述第一终端的标识信息对应的订单信息确定是否通过所述第一终端发送与所述第一终端的标识信息对应的账号,其中,所述账号获取请求包括与所述第一终端的标识信息对应的订单信息,所述第一终端发送与所述第一终端的标识信息对应的账号被所述第一终端根据所述密码参数和所述订单信息生成的第二密码加密;当接收到所述第一终端发送的由所述第二密码加密的账号时,利用所述第一密码得到所述第一终端的用户的账号;当所述第一终端的用户的账号与所述第一终端的标识信息相匹配时,将所述支付金额从所述第一终端的用户的账号转移 至所述第二终端的用户的账号。
第四方面,提供了一种存储有计算机可读指令的计算机非易失性可读存储介质,其上存储有无应用支付方法的程序,所述无应用支付方法的程序被处理器执行时实现以下处理:
接收第二终端发送的支付信息,所述支付信息包括所述第二终端的用户的账号、第一终端发送给所述第二终端的所述第一终端的标识信息和与所述第一终端的标识信息对应的订单信息,其中,所述订单信息包括支付金额,所述第一终端没有安装用于完成支付的应用;根据所述第一终端的标识信息向所述第一终端发送生成密码参数请求,以便所述第一终端根据所述生成密码参数请求生成密码参数;接收所述第一终端发送的密码参数;根据所述密码参数和所述订单信息生成第一密码;向所述第一终端发送账号获取请求,以便所述第一终端的用户根据所述账号获取请求中的与所述第一终端的标识信息对应的订单信息确定是否通过所述第一终端发送与所述第一终端的标识信息对应的账号,其中,所述账号获取请求包括与所述第一终端的标识信息对应的订单信息,所述第一终端发送与所述第一终端的标识信息对应的账号被所述第一终端根据所述密码参数和所述订单信息生成的第二密码加密;当接收到所述第一终端发送的由所述第二密码加密的账号时,利用所述第一密码得到所述第一终端的用户的账号;当所述第一终端的用户的账号与所述第一终端的标识信息相匹配时,将所述支付金额从所述第一终端的用户的账号转移至所述第二终端的用户的账号。
上述无应用支付方法、装置、计算设备和计算机非易失性可读存储介质,用户只需要通过终端发送终端的标识信息、密码参数以及加密后的该用户的账号就可以完成支付,实现了在用户终端没有安装应用程序的情况下的支付,同时由于发送的该用户的账号是经过加密的,有效提高了支付过程的安全性。
应当理解的是,以上的一般描述和后文的细节描述仅是示例性的,并不能限制本申请。
发明的有益效果
对附图的简要说明
附图说明
图1是根据一示例性实施例示出的无应用支付方法的应用场景示意图;
图2是根据一示例性实施例示出的一种无应用支付方法的流程图;
图3是根据图2对应实施例示出的一实施例的步骤240的细节的流程图;
图4是根据图3对应实施例示出的一实施例的步骤241的细节的流程图;
图5是根据图3对应实施例示出的一实施例的步骤244的细节的流程图;
图6是根据图3对应实施例示出的另一实施例的步骤244的细节的流程图;
图7是根据图2对应实施例示出的一实施例的步骤270之后步骤的流程图;
图8是根据一示例性实施例示出的一种无应用支付装置的框图;
图9是根据一示例性实施例示出的一种实现上述无应用支付方法的计算设备的示例框图;
图10是根据一示例性实施例示出的一种实现上述无应用支付方法的计算机非易失性可读存储介质。
发明实施例
本发明的实施方式
这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本申请相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本申请的一些方面相一致的装置和方法的例子。
此外,附图仅为本申请的示意性图解,并非一定是按比例绘制。图中相同的附图标记表示相同或类似的部分,因而将省略对它们的重复描述。附图中所示的一些方框图是功能实体,不一定必须与物理或逻辑上独立的实体相对应。
本申请首先提供了一种无应用支付方法。无应用支付是指无应用程序的电子支付。本申请的实施终端可以是任何具有计算和处理功能的设备,该设备可与外部设备相连,用于接收或者发出信息,可以是便携移动设备,例如智能手机、平板电脑、笔记本电脑、PDA(Personal Digital Assistant)等,也可以是固定式设备,例如,计算机设备、现场终端、台式电脑、服务器、工作站等,还可以是多个设备的集合,比如云计算的物理基础设施。
可选地,本申请的实施终端可以为服务器或者云计算的物理基础设施。
在目前,当用户在线下实体店铺购买商品或者服务时,可以通过使用其移动终端安装的App来完成支付。常见的移动支付方式有用户使用终端上安装的App扫商家的收款码进行支付、用户出示在终端上App所显示的付款码进行支付以及用户通过使用具有支持近场通信(Near Field Communication,简称NFC)模块的终端与商家的支持NFC功能的终端进行近距离接触以完成支付,其中,在实现NFC支付的前提是用户的终端必须安装有特定的App,可见,在目前,为了保证整个支付流程的安全性,用户都需要在其终端上安装应用程序。图1是根据一示例性实施例示出的无应用支付方法的应用场景示意图。图1所示的实施例中,本申请的实施终端为服务器110,用户终端130、商家终端120以及服务器110两两之间通过通信链路进行连接,彼此之间可以实现信息的传输以及数据的交换;在实施本申请的技术方案时,通过用户终端130、商家终端120以及服务器110之间的数据传递完成了整个支付过程,用户的终端上并没有安装App;此外,图1所示出的三者之间进行数据传递时,一些特定的信息被加密,使得用户在使用没有安装用于支付的App的终端来完成移动支付时,有较高的安全性,从而在保证安全的前提下,为用户在使用无应用的终端来完成移动支付提供了解决方案。
图2是根据一示例性实施例示出的一种无应用支付方法的流程图。如图2所示,包括以下步骤:
步骤210,接收第二终端发送的支付信息。
第二终端是任何具有运算、处理以及通信功能的终端,例如可以是服务器、台式计算机、计算机设备、现场终端、台式电脑等。支付信息是能表示收款账户和付款账户的关联关系的信息,所谓的支付即,将付款账户内一定金额的金钱转移至收款账户。所谓支付信息包括所述第二终端的用户的账号、第一终端发送给所述第二终端的所述第一终端的标识信息和与所述第一终端的标识信息对应的订单信息,其中,所述订单信息包括支付金额,所述第一终端没有安装用于完成支付的应用。第一终端可以是智能手机、平板电脑、PDA等各种移动式终端。用户的账号是任何具有收钱或者转钱功能的账户对应的账号。比如可以是支付工具对应的账号,如微信的零钱通、微信的零钱、支付宝的余额、余额 宝等,还可以是金融机构的账号,比如保险理财账号、银行卡号等。终端的标识信息是指相对于本端来说,可以唯一地表示一个终端的身份的信息,可以序列号、串码等各种代码或者代码的组合,例如,国际移动设备识别码(Internatio nal Mobile Equipment Identity,IMEI)、媒体控制访问地址(Media Access Control Address,MAC)以及产品编号(Product Number,P/N)和序列号(Serial Number,S/N)的组合、手机号与序列号的组合、邮箱与序列号的组合等等。当所述第一终端在本端注册时,第一终端的用户会得到一个唯一标识该用户的账号,本端还会得到第一终端的标识,用于保证日后用户通过其终端进行移动支付时的安全性。
在一个实施例中,第一终端的标识是第一终端自身固有的标识,比如MAC地址。
在一个实施例中,第一终端的标识是第一终端根据该终端的固定标识生成的另一标识。比如第一终端通过哈希算法将国际移动设备识别码转化为预定长度的字符串,作为第一终端的标识发送给第二终端,具体采用的哈希算法例如可以是MD4、MD5、SHA-1等。
订单信息是用于表示支付过程所涉及的收付款双方以及与本次支付有关的商品或者服务的信息。
在一个实施例中,订单信息包括支付码,该支付码用于标识每笔支付。
在一个实施例中,订单信息包括第一终端的标识信息对应的昵称以及与第二终端的用户的账号对应的昵称。
在一个实施例中,订单信息还包括第一终端发送给所述第二终端的所述第一终端的标识信息的时间。
支付金额是要完成支付要对第一用户的账号扣款的数额,即要从第一用户的账号转移至第二用户的账号的金钱的数额。第一终端向第二终端发送所述第一终端的标识信息的具体方式包括但不限于蓝牙、短信、NFC、邮件、扫描等方式。第一终端通过蓝牙、NFC和扫描的方式发送第一终端的标识信息,可以使得第一终端在没有网络信号的情况下实现向第二终端发送第一终端的标识信息,进而完成整个支付流程。
步骤220,根据所述第一终端的标识信息向所述第一终端发送生成密码参数请求,以便所述第一终端根据所述生成密码参数请求生成密码参数。
密码参数是用于生成密码的数值、字符或者字符串等。生成密码参数请求可以是触发所述第一终端开始生成密码参数的请求,例如可以是HTTP/HTTPS类型的请求,还可以是任何基于网络或者通信协议的请求等。生成密码参数请求还可以是指示第一终端的用户通过该请求指向的页面触发第一终端生成密码参数并通过该页面将密码参数上传至本端的请求。
在一个实施例中,所述第一终端的标识信息包括邮件,本端通过邮件的方式向所述第一终端发送生成密码参数请求。
在一个实施例中,所述第一终端为智能手机,所述第一终端的标识信息包括手机号,本端通过短信的方式向所述第一终端发送生成密码参数请求。
在一个实施例中,社交软件的公众号将本端与第一终端关联,本端通过社交软件的公众号进行推送信息,实现向所述第一终端发送生成密码参数请求。比如事先将第一终端的标识信息以及本端的标识信息与在公众号平台上与特定的公众号关联,本端通过该公众号平台向所述第一终端发送生成密码参数请求,例如可以是微信的公众号平台。
在一个实施例中,浏览器以及社交软件的小程序将本端与第一终端关联,本端通过小程序向所述第一终端发送生成密码参数请求,例如可以是支付宝、UC浏览器、QQ浏览器、百度App、微信App等软件集成的小程序。
在一个实施例中,密码参数是所述第一终端根据密码参数生成请求随机生成的。
在一个实施例中,密码参数是随机生成的字符串。比如密码参数可以是通过下列方式生成的:获取[50,122]之间的随机数;将获取的第一个随机数作为获取随机数的次数,即要随机生成的字符串的长度;每当获取到一个随机数,就将该随机数对应的ASCII码作为要获取的字符串中的每一个字符,最终生成字符串作为密码参数。本实施例的好处在于,由于字符串的长度是随机的,字符串中每一字符也是随机的,在一定程度上保证了生成的密码参数的可靠性。
在一个实施例中,密码参数是随机生成的数字序列。比如密码参数可以是通过 下列方式生成的:获取[0,100]之间的随机数,作为第一随机数;将获取的该第一随机数作为要生成的数字序列类型的密码参数的长度;然后获取[0,10]之间的随机数作为第二随机数,其中获取的第二随机数的数目等于第一随机数。
在一个实施例中,生成的密码参数还包括第一终端接收到生成密码参数请求的时间,其中时间可以作为要随机生成的密码参数的前缀或者后缀。比如,接收到生成密码参数请求的时间为15:23:18,密码参数中由第一终端生成的部分为0E4A7BDFH,则最终第一终端生成的密码参数为1523180E4A7BDFH。
步骤230,接收所述第一终端发送的密码参数。
为了获取将由第一终端发送的加密的账号,要先获取密码参数,然后根据该密码参数得到密码,进而使用该密码得到第一终端的账号。
在一个实施例中,本端通过邮件的方式向所述第一终端发送生成密码参数请求,邮件的页面中包含用于触发所述第一终端生成密码参数的按钮控件,当第一终端的用户点击该按钮控件时,触发所述第一终端生成密码参数并自动发送至本端,实现接收第一终端发送的密码参数。
在一个实施例中,本端通过短信的方式向所述第一终端发送生成密码参数请求。短信中包含特定的链接,该链接指向的页面可以触发所述第一终端生成密码参数并自动发送至本端。当用户点击该链接时,第一终端就自动生成密码参数并发送至本端。
在一个实施例中,本端通过使用公众号推送信息的方式向所述第一终端发送生成密码参数请求。推送的信息中包含链接,该链接指向的页面可以触发所述第一终端生成密码参数并自动发送至本端。当用户点击该链接时,第一终端就自动生成密码参数并发送至本端。
在一个实施例中,本端通过小程序的方式向所述第一终端发送生成密码参数请求。当第一终端上的小程序接收到该生成密码参数请求后,由第一终端根据小程序的请求生成密码参数并将该密码参数经由小程序向本端发送,实现本端接收由第一终端发送的密码参数。
在一个实施例中,当向所述第一终端发送生成密码参数请求后在预定时间段后才接收所述第一终端发送的密码参数,则拒绝该第一终端发送的密码参数,即 针对每一终端,本申请的实施终端仅接收向该终端发送生成密码参数请求后预定时间段内由该终端发送的密码参数。这样做的好处在于,降低了由于允许密码参数生成的时间段过长导致的密码参数被篡改的可能性,在一定程度上提高了无应用支付流程的安全性和可靠性。
在一个实施例中,如果向所述第一终端发送生成密码参数请求后在预定时间段内未接收所述第一终端发送的密码参数,则再次向所述第一终端发送生成密码参数请求。
步骤240,根据所述密码参数和所述订单信息生成第一密码。
在一个实施例中,密码参数为一个数值类型的序列号,通过哈希算法获得所述订单信息的字符串形式的哈希值;首先获取哈希值中的第一位数字,作为第一数字,然后获取密码参数的序列号中的排序为第一数字的数字,作为第二数字;然后在哈希值的字符串中从排序在第二数字位的字符开始,截取数目为第二数字的字符,作为所述第一密码。
在一个实施例中,密码参数为一个字符类型的序列号,通过哈希算法获得所述订单信息的字符串形式的哈希值;首先获取密码参数的序列号中的第一个字符,作为第一字符;然后在字符串形式的哈希值获取与该第一字符相同的第一个字符,作为第二字符;获取哈希值中第二字符后的第一个数字,作为第三数字;然后在哈希值的字符串中从第二字符开始,截取数目为第三数字的字符,作为所述第一密码。本实施例的好处在于,由于每次支付时的订单信息不同,生成的哈希值不同,而密码参数也是不同的,这样使得每次生成的第一密码都是随机的,提高了第一密码被破解的难度,提高了用户账号在传输时的安全性。
步骤250,向所述第一终端发送账号获取请求,以便所述第一终端的用户根据所述账号获取请求中的与所述第一终端的标识信息对应的订单信息确定是否通过所述第一终端发送与所述第一终端的标识信息对应的账号。
所谓的账号获取请求包括与所述第一终端的标识信息对应的订单信息,所述第一终端发送与所述第一终端的标识信息对应的账号被所述第一终端根据所述密码参数和所述订单信息生成的第二密码加密。当订单信息被第一终端的用户确认后,才能向本端发送账号,以完成整个移动支付过程,在一定程度上进一步 提高了无应用支付时的安全性。
在一个实施例中,本端通过邮件的方式向所述第一终端发送账号获取请求。
在一个实施例中,本端通过短信的方式向所述第一终端发送账号获取请求。
在一个实施例中,本端通过公众号或者小程序的方式向所述第一终端发送账号获取请求。
步骤260,当接收到所述第一终端发送的由所述第二密码加密的账号时,利用所述第一密码得到所述第一终端的用户的账号。
在一个实施例中,第二密码和第一密码是相同的密码,这样做的好处在于,保证了密码的唯一性,提高了加密的安全性。
在一个实施例中,第二密码与第一密码是不同的密码,第一密码是在第二密码的基础上增加了预定字符串,即第一密码中的一部分与第二密码的生成方式一致。当账号被第二密码加密后,如果使用第二密码来解密加密后的账号,是无法解密的。只有使用在第二密码的基础上增加了预定字符串的第一密码,才能解密该账号。具体地,增加预定字符串的方式可以是任意的,比如将预定字符串加在第二密码之前、将预定字符串加在第二密码之后、将预定字符串加在第二密码的第一字符与其余字符之间等等。本实施例的好处在于,及时第二密码被盗取,加密后的账号也很难被破解,进一步增加了移动支付过程的安全性。
在一个实施例中,通过比对的方式,可以解密该账号。比如当第一密码与第二密码一致时,就解密该账号。
在一个实施例中,通过特定的函数的计算,可以解密该账号。比如第一终端根据所述密码参数和所述订单信息生成的第二密码是数值x,而本端根据所述密码参数和所述订单信息生成的第一密码是在x的基础上再进行函数运算得到的,例如第一密码可以是y=sin(x),只有数值为sin(x)的第二密码才能解密。这样做的好处在于,在一定程度上降低了所述密码参数和所述订单信息在所述第一终端和本端之间进行传输时被截获导致的加密账号被盗取的可能性,提高了移动支付过程中的安全性。
步骤270,当所述第一终端的用户的账号与所述第一终端的标识信息相匹配时,将所述支付金额从所述第一终端的用户的账号转移至所述第二终端的用户的 账号。
第一终端的用户的账号与第一终端的标识信息的对应关系是事先存储在本端的。如前所述,第一终端的标识信息是由第一终端发送给第二终端的,第一终端的标识不具有金融级别的安全性,只能在整个支付过程中起到附加作用而不是主导作用,通过第一终端的标识信息判断第一终端的用户的账号是否真的进行了本次支付,才能在更大程度上保证无应用支付的安全性。
综上所述,在本申请的一个或多个实施例中,发明人别出心裁地想到了第一终端不用向第二终端发送更为隐私的用户的账号,只需要向第一终端发送标识信息并向本端发送密码参数和用户的账号,就可以完成无应用的支付过程,提供了一个无应用支付的解决方案,同时由于发送的该用户的账号是经过加密的,保证了在无应用支付过程中支付的安全性。
图3是根据图2对应实施例示出的一实施例的步骤240的细节的流程图。在图3所示的实施例中,所述密码参数包括代码序列和模数,所述第一终端根据所述密码参数和所述订单信息生成第二密码的方式与本端根据所述密码参数和所述订单信息生成第一密码的方式一致。如图3所示,步骤240包括以下步骤:
步骤241,获取所述订单信息的摘要信息。
摘要信息是通过摘要算法对订单信息进行运算得到的字符串。摘要算法例如可以是哈希算法等。
在一个实施例中,通过摘要算法获取订单信息中的所有字符串的摘要信息,作为所述订单信息的摘要信息。
在一个实施例中,通过摘要算法获取订单信息中的前预定长度的字符串的摘要信息,作为所述订单信息的摘要信息。
步骤242,确定所述摘要信息包含的字符的数目。
在一个实施例中,本申请的实施终端内设有计数器,可以获取摘要信息中包含的字符的数目。
步骤243,对所述数目和所述模数进行取模运算,得到余数。
取模运算是指使用计算机领域的mod函数来获得余数。
步骤244,基于所述余数和所述代码序列生成第一密码。
在一个实施例中,步骤244的具体方案如图5所示。图5是根据图3对应实施例示出的一实施例的步骤244的细节的流程图。如图5所示,步骤244包括:
步骤244′,在所述代码序列中从所述余数位开始连续取M位,作为第一密码,其中M为正整数。
在一个实施例中,M值是固定的。在另一个实施例中,第一终端生成并发送的密码参数还包括M的值。
在一个实施例中,步骤244的具体方案如图6所示。图6是根据图3对应实施例示出的另一实施例的步骤244的细节的流程图。如图6所示,步骤244包括:
步骤244″,在所述代码序列中从所述余数位开始取2n个字符,作为所述第一密码,其中n为正整数,在所述2n个字符中字母类型的字符与数字类型的字符的数目都为n,构成所述第一密码的2n个字符在所述第一密码中的先后顺序与所述2n个字符在所述代码序列中的先后顺序一致。
综上所述,图3所示的实施例的好处在于,由于不同的订单信息的摘要不同,因此针对不同订单信息获取的余数不同,提高了第一密码的生成规则的复杂性,保证了加密账号传输的安全性。
图4是根据图3对应实施例示出的一实施例的步骤241的细节的流程图。如图4所示,步骤241包括以下步骤:
步骤2411,根据所述摘要算法的序号从预设的摘要算法库中获取与所述序号对应的摘要算法。
第一终端和本端都能够存取相同的摘要算法库中的数据,所谓的订单信息的摘要信息是通过摘要算法获得的,所述摘要算法为预设的摘要算法库中的一个,所述摘要算法库包括多个摘要算法,每一摘要算法与序号在所述摘要算法库中对应存储,所述第一终端根据所述生成密码参数请求生成的密码参数还包括要根据所述密码参数和所述订单信息生成第二密码时所使用的摘要算法的序号。
步骤2412,利用所述摘要算法,获取所述订单信息的摘要信息。
本实施例的好处在于,通过不断变化的摘要算法,进一步提高了破解加密后的账号的复杂度,从而提高了无应用支付的安全性。
图7是根据图2对应实施例示出的一实施例的步骤270之后步骤的流程图。如图7 所示,包括:
步骤280,向所述第一终端发送包含所述支付金额的提醒信息。
提醒信息可以通过邮件、短信、公众号、小程序等多种方式向发送提醒信息。提醒信息可以包括,支付金额、支付时间、进行支付的第一终端的用户的账号等。
本实施例的好处在于,通过向所述第一终端发送提醒信息,使得用户的无应用支付订单可以被第一终端的用户追溯,提高了无应用支付的透明度。
本申请还提供了一种无应用支付装置,以下是本申请的装置实施例。
图8是根据一示例性实施例示出的一种无应用支付装置的框图。如图8所示,装置800包括:
第一接收模块810,被配置为接收第二终端发送的支付信息,所述支付信息包括所述第二终端的用户的账号、第一终端发送给所述第二终端的所述第一终端的标识信息和与所述第一终端的标识信息对应的订单信息,其中,所述订单信息包括支付金额,所述第一终端没有安装用于完成支付的应用。
第一发送模块820,被配置为根据所述第一终端的标识信息向所述第一终端发送生成密码参数请求,以便所述第一终端根据所述生成密码参数请求生成密码参数。
第二接收模块830,被配置为接收所述第一终端发送的密码参数。
生成模块840,被配置为根据所述密码参数和所述订单信息生成第一密码。
第二发送模块850,被配置为向所述第一终端发送账号获取请求,以便所述第一终端的用户根据所述账号获取请求中的与所述第一终端的标识信息对应的订单信息确定是否通过所述第一终端发送与所述第一终端的标识信息对应的账号,其中,所述账号获取请求包括与所述第一终端的标识信息对应的订单信息,所述第一终端发送与所述第一终端的标识信息对应的账号被所述第一终端根据所述密码参数和所述订单信息生成的第二密码加密。
解密模块860,被配置为当接收到所述第一终端发送的由所述第二密码加密的账号时,利用所述第一密码得到所述第一终端的用户的账号。
支付模块870,被配置为当所述第一终端的用户的账号与所述第一终端的标识 信息相匹配时,将所述支付金额从所述第一终端的用户的账号转移至所述第二终端的用户的账号。
在一个实施例中,所述密码参数包括代码序列和模数,所述第一终端根据所述密码参数和所述订单信息生成第二密码的方式与本端根据所述密码参数和所述订单信息生成第一密码的方式一致,所述根据所述密码参数和所述订单信息生成第一密码,包括:获取所述订单信息的摘要信息;确定所述摘要信息包含的字符的数目;对所述数目和所述模数进行取模运算,得到余数;基于所述余数和所述代码序列生成第一密码。
在一个实施例中,所述订单信息的摘要信息是通过摘要算法获得的,所述摘要算法为预设的摘要算法库中的一个,所述摘要算法库包括多个摘要算法,每一摘要算法与序号在所述摘要算法库中对应存储,所述第一终端根据所述生成密码参数请求生成的密码参数还包括要根据所述密码参数和所述订单信息生成第二密码时所使用的摘要算法的序号,所述获取所述订单信息的摘要信息,包括:根据所述摘要算法的序号从预设的摘要算法库中获取与所述序号对应的摘要算法;利用所述摘要算法,获取所述订单信息的摘要信息。
在一个实施例中,所述基于所述余数和所述代码序列生成第一密码,包括:在所述代码序列中从所述余数位开始连续取M位,作为第一密码,其中M为正整数。
在一个实施例中,所述基于所述余数和所述代码序列生成第一密码,包括:在所述代码序列中从所述余数位开始取2n个字符,作为所述第一密码,其中n为正整数,在所述2n个字符中字母类型的字符与数字类型的字符的数目都为n,构成所述第一密码的2n个字符在所述第一密码中的先后顺序与所述2n个字符在所述代码序列中的先后顺序一致。
在一个实施例中,所述密码参数是所述第一终端根据所述生成密码参数请求随机生成的。
在一个实施例中,所述支付模块被进一步配置为在当所述第一终端的用户的账号与所述第一终端的标识信息相匹配时,将所述支付金额从所述第一终端的用户的账号转移至所述第二终端的用户的账号之后:向所述第一终端发送包含所 述支付金额的提醒信息。
根据本申请的第三方面,还提供了一种计算设备,执行上述任一所示的无应用支付方法的全部或者部分步骤。该计算设备包括:
至少一个处理器;以及
与所述至少一个处理器通信连接的存储器;其中,
所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够执行如上述任一个示例性实施例所示出的无应用支付方法。
所属技术领域的技术人员能够理解,本申请的各个方面可以实现为系统、方法或程序产品。因此,本申请的各个方面可以具体实现为以下形式,即:完全的硬件实施方式、完全的软件实施方式(包括固件、微代码等),或硬件和软件方面结合的实施方式,这里可以统称为“电路”、“模块”或“系统”。
下面参照图9来描述根据本申请的这种实施方式的计算设备900。图9显示的计算设备900仅仅是一个示例,不应对本申请实施例的功能和使用范围带来任何限制。
如图9所示,计算设备900以通用计算设备的形式表现。计算设备900的组件可以包括但不限于:上述至少一个处理单元910、上述至少一个存储单元920、连接不同系统组件(包括存储单元920和处理单元910)的总线930。
其中,所述存储单元存储有程序代码,所述程序代码可以被所述处理单元910执行,使得所述处理单元910执行本说明书上述“实施例方法”部分中描述的根据本申请各种示例性实施方式的步骤。
存储单元920可以包括易失性存储单元形式的可读介质,例如随机存取存储单元(RAM)921和/或高速缓存存储单元922,还可以进一步包括只读存储单元(ROM)923。
存储单元920还可以包括具有一组(至少一个)程序模块925的程序/实用工具924,这样的程序模块925包括但不限于:操作系统、一个或者多个应用程序、其它程序模块以及程序数据,这些示例中的每一个或某种组合中可能包括网络环境的实现。
总线930可以为表示几类总线结构中的一种或多种,包括存储单元总线或者存储单元控制器、外围总线、图形加速端口、处理单元或者使用多种总线结构中的任意总线结构的局域总线。
计算设备900也可以与一个或多个外部设备1100(例如键盘、指向设备、蓝牙设备等)通信,还可与一个或者多个使得用户能与该计算设备900交互的设备通信,和/或与使得该计算设备900能与一个或多个其它计算设备进行通信的任何设备(例如路由器、调制解调器等等)通信。这种通信可以通过输入/输出(I/O)接口950进行。并且,计算设备900还可以通过网络适配器960与一个或者多个网络(例如局域网(LAN),广域网(WAN)和/或公共网络,例如因特网)通信。如图所示,网络适配器960通过总线930与计算设备900的其它模块通信。应当明白,尽管图中未示出,可以结合计算设备900使用其它硬件和/或软件模块,包括但不限于:微代码、设备驱动器、冗余处理单元、外部磁盘驱动阵列、RAID系统、磁带驱动器以及数据备份存储系统等。
通过以上的实施方式的描述,本领域的技术人员易于理解,这里描述的示例实施方式可以通过软件实现,也可以通过软件结合必要的硬件的方式来实现。因此,根据本申请实施方式的技术方案可以以软件产品的形式体现出来,该软件产品可以存储在一个非易失性存储介质(可以是CD-ROM,U盘,移动硬盘等)中或网络上,包括若干指令以使得一台计算设备(可以是个人计算机、服务器、终端装置、或者网络设备等)执行根据本申请实施方式的方法。
根据本申请的第四方面,还提供了一种计算机非易失性可读存储介质,其上存储有能够实现本说明书上述方法的程序产品。在一些可能的实施方式中,本申请的各个方面还可以实现为一种程序产品的形式,其包括程序代码,当所述程序产品在终端设备上运行时,所述程序代码用于使所述终端设备执行本说明书上述“示例性方法”部分中描述的根据本申请各种示例性实施方式的步骤。
参考图10所示,描述了根据本申请的实施方式的用于实现上述方法的计算机非易失性可读存储介质1000,其可以采用便携式紧凑盘只读存储器(CD-ROM)并包括程序代码,并可以在终端设备,例如个人电脑上运行。然而,本申请的程序产品不限于此,在本文件中,计算机非易失性可读存储介质可以是任何包含或 存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。
所述程序产品可以采用一个或多个可读介质的任意组合。可读介质可以是可读信号介质或者可读存储介质。可读存储介质例如可以为但不限于电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。可读存储介质的更具体的例子(非穷举的列表)包括:具有一个或多个导线的电连接、便携式盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。
计算机可读信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了可读程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。可读信号介质还可以是可读存储介质以外的任何可读介质,该可读介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。
可读介质上包含的程序代码可以用任何适当的介质传输,包括但不限于无线、有线、光缆、RF等等,或者上述的任意合适的组合。
可以以一种或多种程序设计语言的任意组合来编写用于执行本申请操作的程序代码,所述程序设计语言包括面向对象的程序设计语言-诸如Java、C++等,还包括常规的过程式程序设计语言-诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算设备上执行、部分地在用户设备上执行、作为一个独立的软件包执行、部分在用户计算设备上部分在远程计算设备上执行、或者完全在远程计算设备或服务器上执行。在涉及远程计算设备的情形中,远程计算设备可以通过任意种类的网络,包括局域网(LAN)或广域网(WAN),连接到用户计算设备,或者,可以连接到外部计算设备(例如利用因特网服务提供商来通过因特网连接)。
此外,上述附图仅是根据本申请示例性实施例的方法所包括的处理的示意性说明,而不是限制目的。易于理解,上述附图所示的处理并不表明或限制这些处理的时间顺序。另外,也易于理解,这些处理可以是例如在多个模块中同步或 异步执行的。
应当理解的是,本申请并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围执行各种修改和改变。本申请的范围仅由所附的权利要求来限制。

Claims (20)

  1. 一种无应用支付方法,包括:
    接收第二终端发送的支付信息,所述支付信息包括所述第二终端的用户的账号、第一终端发送给所述第二终端的所述第一终端的标识信息和与所述第一终端的标识信息对应的订单信息,其中,所述订单信息包括支付金额,所述第一终端没有安装用于完成支付的应用;
    根据所述第一终端的标识信息向所述第一终端发送生成密码参数请求,以便所述第一终端根据所述生成密码参数请求生成密码参数;
    接收所述第一终端发送的密码参数;
    根据所述密码参数和所述订单信息生成第一密码;
    向所述第一终端发送账号获取请求,以便所述第一终端的用户根据所述账号获取请求中的与所述第一终端的标识信息对应的订单信息确定是否通过所述第一终端发送与所述第一终端的标识信息对应的账号,其中,所述账号获取请求包括与所述第一终端的标识信息对应的订单信息,所述第一终端发送与所述第一终端的标识信息对应的账号被所述第一终端根据所述密码参数和所述订单信息生成的第二密码加密;
    当接收到所述第一终端发送的由所述第二密码加密的账号时,利用所述第一密码得到所述第一终端的用户的账号;
    当所述第一终端的用户的账号与所述第一终端的标识信息相匹配时,将所述支付金额从所述第一终端的用户的账号转移至所述第二终端的用户的账号。
  2. 根据权利要求1所述的方法,其中,所述密码参数包括代码序列和模数,所述第一终端根据所述密码参数和所述订单信息生成第二密码的方式与本端根据所述密码参数和所述订单信息生成第一密码的方式一致,所述根据所述密码参数和所述订单信息生成第一 密码包括:
    获取所述订单信息的摘要信息;
    确定所述摘要信息包含的字符的数目;
    对所述数目和所述模数进行取模运算,得到余数;
    基于所述余数和所述代码序列生成第一密码。
  3. 根据权利要求2所述的方法,其中,所述订单信息的摘要信息是通过摘要算法获得的,所述摘要算法为预设的摘要算法库中的一个,所述摘要算法库包括多个摘要算法,每一摘要算法与序号在所述摘要算法库中对应存储,所述第一终端根据所述生成密码参数请求生成的密码参数还包括要根据所述密码参数和所述订单信息生成第二密码时所使用的摘要算法的序号,所述获取所述订单信息的摘要信息,包括:
    根据所述摘要算法的序号从预设的摘要算法库中获取与所述序号对应的摘要算法;
    利用所述摘要算法,获取所述订单信息的摘要信息。
  4. 根据权利要求2所述的方法,其中,所述基于所述余数和所述代码序列生成第一密码,包括:在所述代码序列中从所述余数位开始连续取M位,作为第一密码,其中M为正整数。
  5. 根据权利要求2所述的方法,其中,所述基于所述余数和所述代码序列生成第一密码,包括:在所述代码序列中从所述余数位开始取2n个字符,作为所述第一密码,其中n为正整数,在所述2n个字符中字母类型的字符与数字类型的字符的数目都为n,构成所述第一密码的2n个字符在所述第一密码中的先后顺序与所述2n个字符在所述代码序列中的先后顺序一致。
  6. 根据权利要求1所述的方法,其中,所述密码参数是所述第一终端根据所述生成密码参数请求随机生成的。
  7. 根据权利要求1所述的方法,其中,在当所述第一终端的用户的账号与所述第一终端的标识信息相匹配时,将所述支付金额从所述 第一终端的用户的账号转移至所述第二终端的用户的账号之后,所述方法还包括:
    向所述第一终端发送包含所述支付金额的提醒信息。
  8. 一种无应用支付装置,包括:
    第一接收模块,被配置为接收第二终端发送的支付信息,所述支付信息包括所述第二终端的用户的账号、第一终端发送给所述第二终端的所述第一终端的标识信息和与所述第一终端的标识信息对应的订单信息,其中,所述订单信息包括支付金额,所述第一终端没有安装用于完成支付的应用;
    第一发送模块,被配置为根据所述第一终端的标识信息向所述第一终端发送生成密码参数请求,以便所述第一终端根据所述生成密码参数请求生成密码参数;
    第二接收模块,被配置为接收所述第一终端发送的密码参数;
    生成模块,被配置为根据所述密码参数和所述订单信息生成第一密码;
    第二发送模块,被配置为向所述第一终端发送账号获取请求,以便所述第一终端的用户根据所述账号获取请求中的与所述第一终端的标识信息对应的订单信息确定是否通过所述第一终端发送与所述第一终端的标识信息对应的账号,其中,所述账号获取请求包括与所述第一终端的标识信息对应的订单信息,所述第一终端发送与所述第一终端的标识信息对应的账号被所述第一终端根据所述密码参数和所述订单信息生成的第二密码加密;
    解密模块,被配置为当接收到所述第一终端发送的由所述第二密码加密的账号时,利用所述第一密码得到所述第一终端的用户的账号;
    支付模块,被配置为当所述第一终端的用户的账号与所述第一终端的标识信息相匹配时,将所述支付金额从所述第一终端的用户的账号转移至所述第二终端的用户的账号。
  9. 根据权利要求8所述的装置,其中,所述密码参数包括代码序列和模数,所述第一终端根据所述密码参数和所述订单信息生成第二密码的方式与本端根据所述密码参数和所述订单信息生成第一密码的方式一致,所述根据所述密码参数和所述订单信息生成第一密码,包括:
    获取所述订单信息的摘要信息;
    确定所述摘要信息包含的字符的数目;
    对所述数目和所述模数进行取模运算,得到余数;
    基于所述余数和所述代码序列生成第一密码。
  10. 根据权利要求9所述的装置,其中,所述订单信息的摘要信息是通过摘要算法获得的,所述摘要算法为预设的摘要算法库中的一个,所述摘要算法库包括多个摘要算法,每一摘要算法与序号在所述摘要算法库中对应存储,所述第一终端根据所述生成密码参数请求生成的密码参数还包括要根据所述密码参数和所述订单信息生成第二密码时所使用的摘要算法的序号,所述获取所述订单信息的摘要信息,包括:
    根据所述摘要算法的序号从预设的摘要算法库中获取与所述序号对应的摘要算法;
    利用所述摘要算法,获取所述订单信息的摘要信息。
  11. 根据权利要求9所述的装置,其中,所述基于所述余数和所述代码序列生成第一密码,包括:
    在所述代码序列中从所述余数位开始连续取M位,作为第一密码,其中M为正整数。
  12. 根据权利要求9所述的装置,其中,所述基于所述余数和所述代码序列生成第一密码,包括:在所述代码序列中从所述余数位开始取2n个字符,作为所述第一密码,其中n为正整数,在所述2n个字符中字母类型的字符与数字类型的字符的数目都为n,构成所述第一密码的2n个字符在所述第一密码中的先后顺序与所述2n个字符 在所述代码序列中的先后顺序一致。
  13. 根据权利要求8所述的装置,其中,所述密码参数是所述第一终端根据所述生成密码参数请求随机生成的。
  14. 根据权利要求8所述的装置,其中,所述支付模块被进一步配置为在当所述第一终端的用户的账号与所述第一终端的标识信息相匹配时,将所述支付金额从所述第一终端的用户的账号转移至所述第二终端的用户的账号之后:
    向所述第一终端发送包含所述支付金额的提醒信息。
  15. 一种计算设备,包括存储器和处理器,所述存储器中存储有计算机可读指令,所述计算机可读指令被所述处理器执行时,使得所述处理器执行:
    接收第二终端发送的支付信息,所述支付信息包括所述第二终端的用户的账号、第一终端发送给所述第二终端的所述第一终端的标识信息和与所述第一终端的标识信息对应的订单信息,其中,所述订单信息包括支付金额,所述第一终端没有安装用于完成支付的应用;
    根据所述第一终端的标识信息向所述第一终端发送生成密码参数请求,以便所述第一终端根据所述生成密码参数请求生成密码参数;
    接收所述第一终端发送的密码参数;
    根据所述密码参数和所述订单信息生成第一密码;
    向所述第一终端发送账号获取请求,以便所述第一终端的用户根据所述账号获取请求中的与所述第一终端的标识信息对应的订单信息确定是否通过所述第一终端发送与所述第一终端的标识信息对应的账号,其中,所述账号获取请求包括与所述第一终端的标识信息对应的订单信息,所述第一终端发送与所述第一终端的标识信息对应的账号被所述第一终端根据所述密码参数和所述订单信息生成的第二密码加密;
    当接收到所述第一终端发送的由所述第二密码加密的账号时,利用所述第一密码得到所述第一终端的用户的账号;
    当所述第一终端的用户的账号与所述第一终端的标识信息相匹配时,将所述支付金额从所述第一终端的用户的账号转移至所述第二终端的用户的账号。
  16. 根据权利要求15所述的计算设备,其中,所述密码参数包括代码序列和模数,所述第一终端根据所述密码参数和所述订单信息生成第二密码的方式与本端根据所述密码参数和所述订单信息生成第一密码的方式一致,所述根据所述密码参数和所述订单信息生成第一密码包括:
    获取所述订单信息的摘要信息;
    确定所述摘要信息包含的字符的数目;
    对所述数目和所述模数进行取模运算,得到余数;
    基于所述余数和所述代码序列生成第一密码。
  17. 根据权利要求16所述的计算设备,其中,所述订单信息的摘要信息是通过摘要算法获得的,所述摘要算法为预设的摘要算法库中的一个,所述摘要算法库包括多个摘要算法,每一摘要算法与序号在所述摘要算法库中对应存储,所述第一终端根据所述生成密码参数请求生成的密码参数还包括要根据所述密码参数和所述订单信息生成第二密码时所使用的摘要算法的序号,所述获取所述订单信息的摘要信息,包括:
    根据所述摘要算法的序号从预设的摘要算法库中获取与所述序号对应的摘要算法;
    利用所述摘要算法,获取所述订单信息的摘要信息。
  18. 根据权利要求16所述的计算设备,其中,所述基于所述余数和所述代码序列生成第一密码,包括:
    在所述代码序列中从所述余数位开始连续取M位,作为第一密码,其中M为正整数。
  19. 根据权利要求16所述的计算设备,其中,所述基于所述余数和所述代码序列生成第一密码,包括:在所述代码序列中从所述余数位开始取2n个字符,作为所述第一密码,其中n为正整数,在所述2n个字符中字母类型的字符与数字类型的字符的数目都为n,构成所述第一密码的2n个字符在所述第一密码中的先后顺序与所述2n个字符在所述代码序列中的先后顺序一致。
  20. 一种存储有计算机可读指令的计算机非易失性可读存储介质,所述计算机可读指令被一个或多个处理器执行时,使得一个或多个处理器执行权利要求1至7任一项所述的方法。
PCT/CN2019/117691 2019-08-13 2019-11-12 无应用支付方法、装置、计算设备和存储介质 Ceased WO2021027145A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910744500.9 2019-08-13
CN201910744500.9A CN110659900B (zh) 2019-08-13 2019-08-13 无应用支付方法、装置、介质及电子设备

Publications (1)

Publication Number Publication Date
WO2021027145A1 true WO2021027145A1 (zh) 2021-02-18

Family

ID=69037674

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/117691 Ceased WO2021027145A1 (zh) 2019-08-13 2019-11-12 无应用支付方法、装置、计算设备和存储介质

Country Status (2)

Country Link
CN (1) CN110659900B (zh)
WO (1) WO2021027145A1 (zh)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115208934A (zh) * 2022-07-14 2022-10-18 潍柴动力股份有限公司 挖掘机安全操作的控制方法以及其控制装置
CN115278679A (zh) * 2022-07-06 2022-11-01 北京达佳互联信息技术有限公司 标识的管理方法、装置、电子设备及存储介质
CN116483892A (zh) * 2023-05-04 2023-07-25 平安付科技服务有限公司 流水编号生成方法、装置、计算机设备及可读存储介质

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103186851A (zh) * 2011-12-30 2013-07-03 上海博泰悦臻电子设备制造有限公司 基于云数据处理技术的电子支付系统
US20130226717A1 (en) * 2012-02-27 2013-08-29 American Express Travel Related Services Company, Inc. Smart phone system and method
CN103530770A (zh) * 2013-09-09 2014-01-22 金子光 一种手机一键付款方法
CN104732394A (zh) * 2015-02-15 2015-06-24 金硕澳门离岸商业服务有限公司 一种网络支付方法网络支付装置
CN105678553A (zh) * 2015-08-05 2016-06-15 腾讯科技(深圳)有限公司 一种处理订单信息的方法、装置和系统

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102968717A (zh) * 2012-11-07 2013-03-13 华为技术有限公司 一种电子支付方法、相关设备及系统
CN109472525B (zh) * 2017-09-08 2022-08-09 北京京东振世信息技术有限公司 用于订单签收的方法、装置、电子设备及终端设备
CN109214801B (zh) * 2018-08-17 2022-01-11 惠龙易通国际物流股份有限公司 一种电子支付确认方法、装置和存储介质

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103186851A (zh) * 2011-12-30 2013-07-03 上海博泰悦臻电子设备制造有限公司 基于云数据处理技术的电子支付系统
US20130226717A1 (en) * 2012-02-27 2013-08-29 American Express Travel Related Services Company, Inc. Smart phone system and method
CN103530770A (zh) * 2013-09-09 2014-01-22 金子光 一种手机一键付款方法
CN104732394A (zh) * 2015-02-15 2015-06-24 金硕澳门离岸商业服务有限公司 一种网络支付方法网络支付装置
CN105678553A (zh) * 2015-08-05 2016-06-15 腾讯科技(深圳)有限公司 一种处理订单信息的方法、装置和系统

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115278679A (zh) * 2022-07-06 2022-11-01 北京达佳互联信息技术有限公司 标识的管理方法、装置、电子设备及存储介质
CN115208934A (zh) * 2022-07-14 2022-10-18 潍柴动力股份有限公司 挖掘机安全操作的控制方法以及其控制装置
CN116483892A (zh) * 2023-05-04 2023-07-25 平安付科技服务有限公司 流水编号生成方法、装置、计算机设备及可读存储介质

Also Published As

Publication number Publication date
CN110659900B (zh) 2023-07-25
CN110659900A (zh) 2020-01-07

Similar Documents

Publication Publication Date Title
CN107888656B (zh) 服务端接口的调用方法和调用装置
EP3061025B1 (en) Method and system for authenticating service
WO2021036877A1 (zh) 一种信息处理方法、设备和计算机存储介质
CN110839004A (zh) 访问认证的方法和装置
US20250061211A1 (en) Secure resolution of email-based queries involving confidential third-party data
CN107528830A (zh) 账号登陆方法、系统及存储介质
CN113761566A (zh) 一种数据处理方法和装置
WO2021027145A1 (zh) 无应用支付方法、装置、计算设备和存储介质
CN114615031A (zh) 文件存储方法、装置、电子设备及存储介质
CN110519203A (zh) 一种数据加密传输方法和装置
US10250579B2 (en) Secure file transfers within network-based storage
CN116244682A (zh) 数据库的访问方法、装置、设备以及存储介质
CN108881122A (zh) App信息验证的方法和装置
CN119783159B (zh) 由客户端程序执行的数据访问方法、装置、设备及介质
US20210243036A1 (en) Blockchain network communication management
CN112565156B (zh) 信息注册方法、装置和系统
CN116136844A (zh) 实体标识信息的生成方法、装置、介质及电子设备
CN118199992A (zh) 一种数据加密的方法、装置、电子设备及存储介质
US20240345741A1 (en) System and method for managing data storage to identify undesired data modification
CN114422586B (zh) 事件通知方法、装置、计算机设备及存储介质
US20240193594A1 (en) Method, Terminal and System for Splitting and Managing Digital Currency in Transaction
CN110602700A (zh) 种子密钥处理方法、装置及电子设备
CN115459964A (zh) 一种数据安全处理方法和装置
CN115525608A (zh) 一种数据处理方法、装置、电子设备及计算机可读介质
CN110166226A (zh) 一种生成秘钥的方法和装置

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19941540

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19941540

Country of ref document: EP

Kind code of ref document: A1