Order processing method, device and equipment

By generating and matching order identifiers in online shopping, the problem that users cannot confirm order information in the payment interface is solved, ensuring the security of the payment process and preventing payment errors caused by malware tampering.

CN111738732BActive Publication Date: 2024-12-20CHINA CONSTRUCTION BANK
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202010547024.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-06-16
Publication Date
2024-12-20
Estimated Expiration
2040-06-16

AI Technical Summary

Technical Problem

In online shopping, users cannot confirm order information in the payment interface, resulting in unsafe payment process. Especially when malware modifys order information, payment does not correspond to order information.

Method used

After establishing a resource collection on the server, the first order identification is generated and sent to the third-party device, display the graphic code to the client, and the customer is provided by comparing the amount of resources to the quantity of resources to be transferred in the order information and the specified number of resources in the resource collection. When the terminal confirms that the information matches the server, transfer resources to the third-party device account to ensure the security of the payment process.

Benefits of technology

It achieves the matching of user order payment and corresponding order information, ensures the security of the payment process, and prevents payment errors caused by malware tampering.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN111738732B_ABST
    Figure CN111738732B_ABST
Patent Text Reader

Abstract

The embodiments of this specification provide an order processing method, device and equipment. The method includes: establishing a resource set of a user account; the resource set includes a specified number of resources; receiving order information corresponding to the user account submitted by a third-party device; the order information includes the amount of resources to be transferred; when the amount of resources to be transferred is less than or equal to the specified amount, generating a first order identifier corresponding to the order information; sending the first order identifier to the third-party device so that the third-party device displays a graphic code representing the first order identifier; receiving a confirmation message sent by the client of the user account; the confirmation message is accompanied by a second order identifier; when the second order identifier matches the first order identifier, transferring the amount of resources to be transferred from the resource set of the user account to the account corresponding to the third-party device. The above method ensures the security of order payment.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present specification relate to the field of computer technology, and more particularly to an order processing method, device and equipment. Background Art

[0002] With the development of Internet technology, online shopping has become more and more important in people's daily life. Users can conveniently use the client in mobile devices or personal computers to submit orders and complete payment for orders, directly meeting their corresponding shopping needs.

[0003] Currently, when users conduct online shopping, after submitting an online order, the client will directly display the corresponding payment interface. The user completes the payment for the online order after entering the payment password or other verification information on the payment interface. However, during the above payment process, the user can only perform payment operations on the payment interface and cannot confirm the submitted order information. Even if the order information is displayed on the payment interface, it is difficult for the user to verify all the order information when there is a lot of order information. In the case of malicious software modifying the order information, the payment completed by the user will not correspond to the submitted order information. Therefore, there is an urgent need for a technical solution that can ensure user security payment. Summary of the invention

[0004] The purpose of the embodiments of this specification is to provide an order processing method, device and equipment to solve the problem of how to ensure the security of order payment.

[0005] In order to solve the above technical problems, the embodiment of this specification proposes an order processing method, including:

[0006] Establishing a resource set for a user account; wherein the resource set includes a specified number of resources;

[0007] Receiving order information corresponding to the user account submitted by a third-party device; wherein the order information includes the amount of resources to be transferred;

[0008] In a case where the amount of resources to be transferred is less than or equal to the specified amount, generating a first order identifier corresponding to the order information;

[0009] Sending the first order identifier to the third-party device so that the third-party device displays a graphic code representing the first order identifier;

[0010] Receiving confirmation information sent by the client of the user account; wherein the confirmation information is accompanied by a second order identifier;

[0011] In a case where the second order identifier matches the first order identifier, the resources of the to-be-transferred amount are transferred from the resource set of the user account to the account corresponding to the third-party device.

[0012] The embodiment of this specification also proposes an order processing method, including:

[0013] Sending order information corresponding to the user account to the server, so that the server feeds back a first order identifier corresponding to the order information when the amount of resources to be transferred contained in the order information is less than or equal to the specified amount of resources in the resource set; the resource set includes the set corresponding to the user account established by the server;

[0014] Displaying the graphic code of the first order identification to the client, so that the client sends a confirmation message to the server; the confirmation message is accompanied by the second order identification;

[0015] Receive resources of the amount of resources to be transferred from the resource set of the user account transferred by the server; the resources include resources transferred by the server when the received second order identifier matches the first order identifier.

[0016] The embodiment of this specification also proposes an order processing method, including:

[0017] receiving a graphic code of a first order identifier displayed by a third-party device, wherein the first order identifier includes an identifier corresponding to the order information generated and sent to the third-party device by the server after the third-party device submits the order information corresponding to the user account to the server, when the amount of resources to be transferred included in the order information is less than or equal to the specified amount of resources in the resource set; the resource set includes a set corresponding to the user account established by the server;

[0018] Send a confirmation message to the server so that the server transfers the resources to be transferred from the resource set of the user account to the account corresponding to the third-party device when the second order identifier matches the first order identifier; the confirmation message is accompanied by the second order identifier.

[0019] In order to solve the above technical problems, the embodiment of this specification further proposes an order processing device, including:

[0020] A collection establishment module, used to establish a resource collection of a user account; wherein the resource collection includes a specified number of resources;

[0021] An order information receiving module, used to receive order information corresponding to the user account submitted by a third-party device; wherein the order information includes the amount of resources to be transferred;

[0022] an identification generating module, configured to generate a first order identification corresponding to the order information when the amount of resources to be transferred is less than or equal to the specified amount;

[0023] an identification sending module, configured to send the first order identification to the third-party device, so that the third-party device displays a graphic code representing the first order identification;

[0024] A confirmation information receiving module, used to receive the confirmation information sent by the client of the user account; wherein the confirmation information is accompanied by a second order identifier;

[0025] A resource transfer module is used to transfer the resources of the to-be-transferred amount from the resource set of the user account to the account corresponding to the third-party device when the second order identifier matches the first order identifier.

[0026] The embodiment of this specification also provides an order processing device, including:

[0027] An order information sending module, used to send order information corresponding to a user account to a server, so that the server feeds back a first order identifier corresponding to the order information when the amount of resources to be transferred contained in the order information is less than or equal to a specified amount of resources in a resource set; the resource set includes a set corresponding to the user account established by the server;

[0028] A graphic code display module, used for displaying the graphic code of the first order identifier to the client, so that the client sends a confirmation message to the server; the confirmation message is accompanied by the second order identifier;

[0029] The resource receiving module is used to receive resources of the amount of resources to be transferred from the resource set of the user account by the server; the resources include the resources transferred by the server when the received second order identifier matches the first order identifier.

[0030] The embodiment of this specification also provides an order processing device, including:

[0031] a graphic code receiving module, configured to receive a graphic code of a first order identification displayed by a third-party device, wherein the first order identification includes an identification corresponding to the order information generated and sent to the third-party device by the server when the amount of resources to be transferred contained in the order information is less than or equal to a specified amount of resources in a resource set after the third-party device submits the order information corresponding to the user account to the server; the resource set includes a set corresponding to the user account established by the server;

[0032] A confirmation information sending module is used to send confirmation information to the server so that the server transfers the resources to be transferred from the resource set of the user account to the account corresponding to the third-party device when the second order identifier matches the first order identifier; the confirmation information is accompanied by the second order identifier.

[0033] In order to solve the above technical problems, an embodiment of the present specification also proposes a server, comprising a memory and a processor; the memory is used to store computer program instructions; the processor is used to execute the computer program instructions to implement the following steps: establishing a resource set of a user account; wherein the resource set includes a specified number of resources; receiving order information corresponding to the user account submitted by a third-party device; wherein the order information includes the amount of resources to be transferred; when the amount of resources to be transferred is less than or equal to the specified amount, generating a first order identifier corresponding to the order information; sending the first order identifier to the third-party device so that the third-party device displays a graphic code representing the first order identifier; receiving confirmation information sent by the client of the user account; wherein the confirmation information is accompanied by a second order identifier; when the second order identifier matches the first order identifier, transferring the resources of the amount of resources to be transferred from the resource set of the user account to the account corresponding to the third-party device.

[0034] The embodiment of this specification also proposes a third-party device, including a memory and a processor; the memory is used to store computer program instructions; the processor is used to execute the computer program instructions to implement the following steps: sending order information corresponding to a user account to a server, so that the server feeds back a first order identifier corresponding to the order information when the amount of resources to be transferred contained in the order information is less than or equal to a specified number of resources in a resource set; the resource set includes a set corresponding to the user account established by the server; displaying a graphic code of the first order identifier to the client, so that the client sends a confirmation message to the server; the confirmation message is accompanied by a second order identifier; receiving resources of the amount of resources to be transferred transferred by the server from the resource set of the user account; the resources include resources transferred by the server when the received second order identifier matches the first order identifier.

[0035] An embodiment of the present specification also proposes a client, comprising a memory and a processor; the memory is used to store computer program instructions; the processor is used to execute the computer program instructions to implement the following steps: receiving a graphic code of a first order identification displayed by a third-party device, the first order identification including that after the third-party device submits order information corresponding to the user account to the server, the server generates and sends an identification corresponding to the order information to the third-party device when the amount of resources to be transferred contained in the order information is less than or equal to the specified number of resources in the resource set; the resource set includes a set corresponding to the user account established by the server; sending confirmation information to the server, so that the server transfers the resources of the amount of resources to be transferred from the resource set of the user account to the account corresponding to the third-party device when the second order identification matches the first order identification; the confirmation information is accompanied by the second order identification.

[0036] It can be seen from the technical solutions provided by the above embodiments of this specification that after the server establishes a resource set, the above order processing method compares the amount of resources to be transferred contained in the received order information with the specified number of resources in the resource set, and sends a first order identifier corresponding to the order information to the third-party device if the conditions are met, so that the third-party device displays the graphic code of the first order identifier to the client, and when the second order identifier fed back by the client to the server is the same as the first order identifier, the resources corresponding to the amount of resources to be transferred are transferred to the third-party device to complete the payment of the order. In the above order processing process, the server allocates resources when it determines that the order identifier received by the client is the same as the order identifier sent by the server, thereby ensuring that the order payment implemented by the user matches the corresponding order information and ensuring the security of the payment process. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] In order to more clearly illustrate the embodiments of this specification 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 this specification. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0038] Figure 1 This is a structural diagram of an order processing system according to an embodiment of this specification;

[0039] Figure 2 This is a flow chart of an order processing method according to an embodiment of this specification;

[0040] Figure 3This is a flow chart of an order processing method according to an embodiment of this specification;

[0041] Figure 4 This is a flow chart of an order processing method according to an embodiment of this specification;

[0042] Figure 5 This is a flow chart of an order processing method according to an embodiment of this specification;

[0043] Figure 6 This is a module diagram of an order processing device according to an embodiment of this specification;

[0044] Figure 7 This is a module diagram of an order processing device according to an embodiment of this specification;

[0045] Figure 8 This is a module diagram of an order processing device according to an embodiment of this specification;

[0046] Fig. 9 A schematic diagram of a computer device according to an embodiment of the present specification. DETAILED DESCRIPTION

[0047] The following will be combined with the drawings in the embodiments of this specification to clearly and completely describe the technical solutions in the embodiments of this specification. Obviously, the described embodiments are only part of the embodiments of this specification, not all of the embodiments. Based on the embodiments in this specification, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of this specification.

[0048] In order to better understand the inventive concept of an order processing method in the embodiment of this specification, Figure 1 As shown, firstly, an order processing system 100 according to an embodiment of the specification is introduced. The order processing system 100 includes a client 130 , a server 110 and a third-party device 120 .

[0049] The client 130 may be an independent application or a functional module embedded in an application. For example, the client 130 may be a mobile phone APP of "CCB Huidongni" or an order payment module in other applications. The client 130 may obtain the user's operation and perform corresponding functions according to the user's operation, such as scanning a QR code. The client 130 may also communicate with the server 110, for example, the client 130 may be used to send confirmation information to the server 110. The client 130 may also receive information sent by a third-party device 120, such as a graphic code displayed by the third-party device 120.

[0050] The server 110 may be a server 110 associated with the client 130. The server 110 may be a server 110 or a server 110 cluster. Specifically, the server 110 may be a data processing server 110 in a bank data center. The server 110 or a database associated with the server 110 may store a user account associated with the client 130. The user account may be associated with user information such as a user password, user identity information, and user operation information. The server 110 may query the corresponding user information based on the user account. The server 110 may also receive order information; the server 110 may also determine whether the resource set corresponding to the current user account can complete the payment of the order based on the order information and user information. The server 110 may also exchange information with a third-party device 120 and a client 130.

[0051] The third-party device 120 can be used as a device corresponding to the payee of the order. For example, when the order is an order provided by a shopping website such as Taobao or JD.com, the third-party device 120 can be a server used by the shopping website to process the order; when the order is an order provided by an ordinary user, the third-party device 120 can be a device used by an individual or a server that provides services for an individual device. The third-party device 120 can communicate with the client 130 and the server 110, and can generate a deduction request based on the deduction authorization information sent by the server 110.

[0052] Based on the above order processing system, such as Figure 2 As shown, the embodiment of this specification proposes an order processing method. The execution subject of the order processing method is the above-mentioned order processing system, and the order processing method specifically includes the following steps.

[0053] S210: Establish a resource set for the user account; wherein the resource set includes a specified number of resources.

[0054] The user account is an account associated with the client. Using a specific example, when the client is the CCB Huidongni APP, the user account can be the account used by the user to log in to the CCB Huidongni APP.

[0055] The resource set is a set established by the server that can be used for order processing. The resource set contains a certain number of resources, and the order processing can be completed by using the resources. Specifically, the resource set can be an account corresponding to the user account, and accordingly, the resources contained in the resource set are the balance in the account.

[0056] In some implementations, the server may establish the resource set after receiving a resource set establishment request sent by the client. The server may establish certain audit conditions in advance, obtain user information corresponding to the user account after receiving the resource set establishment request, establish the resource set according to the user information, and allocate a specified number of resources to the resource set according to the standard corresponding to the user information.

[0057] The specified quantity indicates the number of resources in the resource set. In some implementations, the specified quantity may also be used to indicate the upper limit of the resources in the established resource set. The resource set is limited by the specified quantity, so that when the order is processed by the resource set, the type of order is limited, that is, the resources in the resource set are the resources obtained after authorization, rather than the resources for arbitrary use.

[0058] In some embodiments, the resource set may be a loan balance corresponding to the user account. Accordingly, the specified number may be used to represent the loan balance of the user account. When a user takes out a loan, the user's loan amount may be obtained through a credit assessment by a bank or other financial institution. After a loan contract is signed with the user, the loan amount may be used as the specified number of the user's resource set. After the user pays for the order with the loan, the loan balance before payment minus the amount required to pay for the order is used as the specified number of resources in the resource set after payment is completed. After the user repays the loan, the loan balance before repayment plus the user's repayment amount is used as the specified number of resources in the resource set after repayment.

[0059] S220: Receive order information corresponding to the user account submitted by a third-party device; wherein the order information includes the amount of resources to be transferred.

[0060] The order information may be information corresponding to an order that involves fund transfer and has not yet completed payment. For example, when a user browses a third-party shopping website and needs to purchase a certain product, the third-party device may generate a corresponding order based on the product selected by the user and the user's purchase confirmation operation. The order information is the information contained in the order.

[0061] The order information may be associated with the user account. When generating the order information, the client may provide the user's relevant information to a third-party device, thereby enabling the third-party device to generate order information associated with the user account. For example, when a user uses the "CCB Huidongni" APP, he or she first needs to register a corresponding account using his or her own identity information. When the third-party device generates order information, the user account associated with the "CCB Huidongni" APP can be obtained, thereby enabling the server to obtain the corresponding user account when receiving the order information.

[0062] The order information may also include relevant information of the product. When a user needs to purchase a product and confirms to purchase the product, when entering the payment stage, relevant information of the purchased product, such as the quantity of the product, the unit price of the product, and the preferential information of the product, will be pushed to the client. After the client submits it to the third-party device, the third-party device can complete the generation of the order information based on the above information.

[0063] The order information may also include the amount of resources to be transferred. The amount of resources to be transferred is used to indicate the amount of resources acquired for the order corresponding to the order information. For example, when the order information corresponds to a commodity A worth 200 yuan, the amount of resources to be transferred may be 200 yuan. Based on the size of the amount of resources to be transferred, it can be determined whether the resources in the resource set can be used to complete the processing of the order.

[0064] After the third-party device generates the order information, the order information may be sent to the server, so that information interaction and resource transfer corresponding to the order information can be achieved between the server and the third-party device.

[0065] S230: When the amount of resources to be transferred is less than or equal to the specified amount, generate a first order identifier corresponding to the order information.

[0066] After obtaining the order information, the server can determine whether the current resource set can satisfy the payment of the order corresponding to the order information according to the amount of resources to be transferred contained in the order information. Specifically, if the amount of resources to be transferred is not less than the specified amount in the resource set, the resources in the current resource set can complete the processing of the order; if the amount of resources to be transferred is not less than the specified amount in the resource set, the resources in the current resource set can no longer complete the payment of the order.

[0067] When the resources in the current resource set can complete the processing of the order, a first order identifier is generated. The first order identifier is associated with the order information. The first order identifier indicates that the server can complete the processing of the order using the resource set of the user account, but the user needs to further confirm the order information. After the first order identifier is displayed to the user and the order identifier fed back by the user is accepted, it is possible to ensure that the user's payment process matches the order information based on whether the order identifier matches.

[0068] When the resources in the current resource set are unable to complete the payment for the order, the order processing failure information is fed back to the client, which indicates that the server cannot complete the processing of the order using the resource set corresponding to the user account.

[0069] In some implementations, if the amount of resources to be transferred is not less than the specified amount in the resource set, it may be that the user's previous orders consumed too many resources, resulting in too few specified resources in the resource set. In this case, the order processing failure information can be used to remind the user to replenish the resources in the resource set. For example, when the resource set is a loan balance, the user is notified to repay the loan amount to ensure normal payment for the order in the subsequent process.

[0070] The server may generate a corresponding first order identifier according to the information in the order information and the user identity information. Specifically, the server may generate the corresponding first order identifier by using BASE64 encoding to ensure the security of information transmission.

[0071] In some embodiments, before generating the first order identifier, the server may first determine whether the order information is valid. In some cases, the order information may have exceeded the effective processing time of the order due to untimely user operation, and continuing to process the order still cannot complete the normal processing of the order. The corresponding preset order validity condition may include that the order information is within the effective processing time of the order; in other cases, the order information may be missing some information, for example, the order information may not include the specific amount of the order, making it impossible to determine whether the order information meets the deduction conditions in subsequent steps. Accordingly, the preset order validity condition may include that the order information includes all the preset order processing information. The above examples are only for better explanation of the preset order validity conditions. In actual applications, the preset order validity conditions are not limited to the above examples, which will not be repeated here.

[0072] In some embodiments, since the first order identifier will contain the corresponding order information, and the order information may contain the user identity information corresponding to the user account. When the server generates the first order identifier, it is necessary to desensitize the user identity information. The user identity information may contain sensitive information such as the user identity account number and the user's mobile phone number. Directly using the user identity information to generate the first order identifier may cause the user's privacy to be leaked to a third-party device. Therefore, when using the user identity information to generate the first order identifier, the user identity information may be desensitized first, and then the desensitized user identity information and other information in the order information except the user identity information may be used to generate the first order identifier.

[0073] S240: The server sends the first order identifier to the third-party device.

[0074] The server sends the first order identifier to the third-party device based on the communication method between the server and the third-party device, and the specific sending process is not repeated here.

[0075] S250: The third-party device displays the graphic code representing the first order identifier to the client.

[0076] After obtaining the first order identifier, the third-party device can generate a corresponding graphic code according to the first order identifier. The graphic code includes a QR code, a bar code, etc. The graphic code can be scanned by the client to obtain the information contained therein.

[0077] In the case where the first order identifier corresponds to order information, the graphic code may also include the order information, and the user may obtain the order information included in the graphic code by scanning the graphic code. For example, the graphic code may be a QR code generated by a third-party device based on the first order identifier, and the user may extract the order information included in the graphic code by scanning the QR code using a terminal device.

[0078] After generating the graphic code, the third-party device may display the graphic code to the client so that the client can scan the graphic code.

[0079] S260: The client sends a confirmation message to the server; wherein the confirmation message is accompanied by a second order identifier.

[0080] The confirmation information is information generated by the client after scanning the graphic code of the first order identifier. In the case where the scanned graphic code includes the first order identifier, the first order identifier can be obtained after scanning the graphic code, and the confirmation information is generated based on the first order identifier. In this case, the second order identifier is the first order identifier.

[0081] In some cases, the third-party device may be tampered with by malware when displaying the identification code of the first order identifier, resulting in the display of a graphic code of another order identifier instead of the graphic code of the first order identifier. After scanning the graphic code, the client can only generate confirmation information based on the graphic code of the other order identifier. Accordingly, in this case, the second order identifier is another order identifier different from the first order identifier.

[0082] In some embodiments, when a third-party device displays the graphic code of the first order identification, the terminal device of the user scanning the graphic code may not have the client installed, so that the confirmation information cannot be generated. Therefore, when the server generates the first order identification, it can use the order information and the jump information to generate the first order identification. The jump information can be a URL for jumping to download the corresponding client. When the user scans the graphic identification code using a terminal device, if the client is not installed in the terminal device, the mobile terminal can obtain the jump information in the graphic identification code, thereby jumping to the address for downloading the client, so as to re-scan the graphic identification code after the download is completed and generate the confirmation information.

[0083] S270: When the second order identifier matches the first order identifier, the server transfers the resources of the to-be-transferred amount from the resource set of the user account to the account corresponding to the third-party device.

[0084] After the client feeds back the confirmation information to the server, the server can compare the second order identifier attached to the confirmation information with the first order identifier. If the second order identifier matches the first order identifier, it means that the user generated the second order identifier after receiving the first order identifier, that is, agreed to use the corresponding resource set to complete the processing of the order. The server can transfer the resources in the resource set to the account corresponding to the third-party device, thereby completing the processing of the order.

[0085] If the server receives the second order identifier and finds that the second order identifier does not match the first order identifier, the order information corresponding to the first order identifier sent by the server is different from the order information obtained by the client, and the payment process of the order does not match the order information. The server can reject the payment of this order, thereby ensuring that the resource collection corresponding to the user account is not stolen and ensuring security.

[0086] Based on the above order processing method, a specific scenario example is used for illustration. User A can submit a fund allocation application to the CCB Huidongni APP in advance, so that the server corresponding to the CCB Huidongni APP establishes a resource set corresponding to user A after reviewing user A, and the resource set contains a specified amount of funds of 2,000 yuan. Thereafter, when user A is shopping on Taobao, he confirms to purchase a commodity A worth 200 yuan. After the user performs a shopping operation on the Taobao interface, the third-party device corresponding to Taobao generates order information corresponding to the commodity A containing user A's CCB Huidongni account according to the user's shopping operation, and sends the order information to the server. After receiving the order information, the server obtains the corresponding resource set according to the account of user A associated with the order information, determines that the funds in the resource set are 2,000 yuan, and then obtains the amount of resources to be transferred contained in the order information as 200 yuan. If the amount of resources to be transferred is less than the amount of resources in the resource set, a BASE64 code is generated according to the order information and transmitted to the third-party device corresponding to Taobao. The third-party device generates a corresponding QR code according to the BASE64 code and displays it to user A. After user A scans the QR code through the CCB Huidongni APP, the order information contained in the obtained QR code is used to generate confirmation information and sent to the server, so as to use the server to confirm the order information to complete the payment for the order.

[0087] It can be seen from the introduction of the above method embodiments and scenario examples that after the server establishes a resource set, the order processing method compares the amount of resources to be transferred contained in the received order information with the specified number of resources in the resource set, and sends a first order identifier corresponding to the order information to the third-party device if the conditions are met, so that the third-party device displays the graphic code of the first order identifier to the client, and when the second order identifier fed back to the server by the client is the same as the first order identifier, the resources corresponding to the amount of resources to be transferred are transferred to the third-party device to complete the payment of the order. In the above order processing process, the server allocates resources when it determines that the order identifier received by the client is the same as the order identifier sent by the server, thereby ensuring that the order payment implemented by the user matches the corresponding order information and ensuring the security of the payment process.

[0088] based on Figure 2 The corresponding order processing method, such as Figure 3 As shown, the embodiment of this specification also proposes an order processing method, and the execution subject of the order processing method is a server. The order processing method specifically includes the following steps.

[0089] S310: Establish a resource set for the user account; wherein the resource set includes a specified number of resources.

[0090] For the introduction of this step, please refer to the description in step S210, which will not be repeated here.

[0091] S320: Receive order information corresponding to the user account submitted by a third-party device; wherein the order information includes the amount of resources to be transferred.

[0092] For the introduction of this step, please refer to the description in step S220, which will not be repeated here.

[0093] S330: When the amount of resources to be transferred is less than or equal to the specified amount, generate a first order identifier corresponding to the order information.

[0094] For the introduction of this step, please refer to the description in step S230, which will not be repeated here.

[0095] S340: Send the first order identifier to the third-party device, so that the third-party device displays a graphic code representing the first order identifier.

[0096] For the introduction of this step, please refer to the description in steps S240 and S250, which will not be repeated here.

[0097] S350: Receive confirmation information sent by the client of the user account; wherein the confirmation information is accompanied by a second order identifier.

[0098] For the introduction of this step, please refer to the description in step S260, which will not be repeated here.

[0099] S360: When the second order identifier matches the first order identifier, transfer the resources of the to-be-transferred amount from the resource set of the user account to the account corresponding to the third-party device.

[0100] For the introduction of this step, please refer to the description in step S270, which will not be repeated here.

[0101] based on Figure 2 The corresponding order processing method, such as Figure 4 As shown, the embodiment of this specification also proposes an order processing method, and the execution subject of the order processing method is a third-party device. The order processing method specifically includes the following steps.

[0102] S410: Send the order information corresponding to the user account to the server, so that the server will feedback the first order identifier corresponding to the order information when the amount of resources to be transferred contained in the order information is less than or equal to the specified number of resources in the resource set; the resource set includes the set established by the server corresponding to the user account.

[0103] For the introduction of this step, please refer to the description of steps S210, S220, S230, and S240, which will not be repeated here.

[0104] S420: Displaying the graphic code of the first order identifier to the client, so that the client sends a confirmation message to the server; the confirmation message is accompanied by the second order identifier.

[0105] For the introduction of this step, please refer to the description in steps S250 and S260, which will not be repeated here.

[0106] S430: Receive resources of a to-be-transferred amount transferred by the server from the resource set of the user account; the resources include resources transferred by the server when the received second order identifier matches the first order identifier.

[0107] For the introduction of this step, please refer to the description in step S270, which will not be repeated here.

[0108] based on Figure 2 The corresponding order processing method, such as Figure 5 As shown, the embodiment of this specification also proposes an order processing method, and the execution subject of the order processing method is a client. The order processing method specifically includes the following steps.

[0109] S510: receiving a graphic code of a first order identifier displayed by a third-party device, wherein the first order identifier includes an identifier corresponding to the order information generated and sent to the third-party device by the server after the third-party device submits the order information corresponding to the user account to the server, when the amount of resources to be transferred included in the order information is less than or equal to the specified amount of resources in the resource set; the resource set includes a set corresponding to the user account established by the server;

[0110] For the introduction of this step, please refer to the descriptions in steps S210, S220, S230, S240, and S250, which will not be repeated here.

[0111] S520: Send a confirmation message to the server so that the server transfers the resources to be transferred from the resource set of the user account to the account corresponding to the third-party device when the second order identifier matches the first order identifier; the confirmation message is accompanied by the second order identifier.

[0112] For the introduction of this step, please refer to the description in steps S260 and S270, which will not be repeated here.

[0113] In order to better implement the embodiments of this specification Figure 3 The corresponding order processing method, such as Figure 6 As shown, the embodiment of this specification also provides an order processing device, which is arranged on the server, and the order processing device includes:

[0114] A collection establishment module 610 is used to establish a resource collection for a user account; wherein the resource collection includes a specified number of resources;

[0115] The order information receiving module 620 is used to receive the order information corresponding to the user account submitted by the third-party device; wherein the order information includes the amount of resources to be transferred;

[0116] An identification generating module 630 is used to generate a first order identification corresponding to the order information when the amount of resources to be transferred is less than or equal to the specified amount;

[0117] The identification sending module 640 is used to send the first order identification to the third-party device, so that the third-party device displays a graphic code representing the first order identification;

[0118] The confirmation information receiving module 650 is used to receive the confirmation information sent by the client of the user account; wherein the confirmation information is accompanied by a second order identifier;

[0119] The resource transfer module 660 is used to transfer the resources of the to-be-transferred amount from the resource set of the user account to the account corresponding to the third-party device when the second order identifier matches the first order identifier.

[0120] In order to better implement the embodiments of this specification Figure 4 The corresponding order processing method, such as Figure 7 As shown, the embodiment of this specification also provides an order processing device, which is arranged in the third-party device, and the order processing device includes:

[0121] The order information sending module 710 is used to send the order information corresponding to the user account to the server, so that the server can feedback the first order identifier corresponding to the order information when the amount of resources to be transferred contained in the order information is less than or equal to the specified amount of resources in the resource set; the resource set includes the set corresponding to the user account established by the server;

[0122] The graphic code display module 720 is used to display the graphic code of the first order identifier to the client, so that the client sends a confirmation message to the server; the confirmation message is accompanied by the second order identifier;

[0123] The resource receiving module 730 is used to receive resources of the amount of resources to be transferred from the resource set of the user account by the server; the resources include the resources transferred by the server when the received second order identifier matches the first order identifier.

[0124] In order to better implement the embodiments of this specification Figure 5 The corresponding order processing method, such as Figure 8 As shown, the embodiment of this specification also provides an order processing device, which is arranged on the client, and the order processing device includes:

[0125] The graphic code receiving module 810 is used to receive a graphic code of a first order identification displayed by a third-party device, wherein the first order identification includes an identification corresponding to the order information generated and sent to the third-party device by the server when the amount of resources to be transferred included in the order information is less than or equal to the specified amount of resources in the resource set after the third-party device submits the order information corresponding to the user account to the server; the resource set includes a set corresponding to the user account established by the server;

[0126] The confirmation information sending module 820 is used to send confirmation information to the server so that the server transfers the resources to be transferred from the resource set of the user account to the account corresponding to the third-party device when the second order identifier matches the first order identifier; the confirmation information is accompanied by the second order identifier.

[0127] In order to better implement the embodiments of this specification Figure 3 The corresponding order processing method, such as Fig. 9 As shown, an embodiment of this specification provides a server. The server may include a memory and a processor.

[0128] In this embodiment, the memory may be implemented in any appropriate manner. For example, the memory may be a read-only memory, a mechanical hard disk, a solid-state hard disk, or a USB flash drive, etc. The memory may be used to store computer instructions.

[0129] In this embodiment, the processor can be implemented in any appropriate manner. For example, the processor can take the form of a microprocessor or processor and a computer-readable medium storing a computer-readable program code (such as software or firmware) that can be executed by the (micro)processor, a logic gate, a switch, an application-specific integrated circuit (ASIC), a programmable logic controller, and an embedded microcontroller, etc. The processor can execute the computer instructions to implement the following steps: establish a resource set of a user account; wherein the resource set includes a specified number of resources; receive order information corresponding to the user account submitted by a third-party device; wherein the order information includes the amount of resources to be transferred; if the amount of resources to be transferred is less than or equal to the specified amount, generate a first order identifier corresponding to the order information; send the first order identifier to the third-party device so that the third-party device displays a graphic code representing the first order identifier; receive confirmation information sent by the client of the user account; wherein the confirmation information is accompanied by a second order identifier; if the second order identifier matches the first order identifier, transfer the resources of the amount of resources to be transferred from the resource set of the user account to the account corresponding to the third-party device.

[0130] In order to better implement the embodiments of this specification Figure 4 The corresponding order processing method, such as Fig. 9 As shown, the embodiment of this specification also provides a third-party device. The third-party device may include a memory and a processor.

[0131] In this embodiment, the memory may be implemented in any appropriate manner. For example, the memory may be a read-only memory, a mechanical hard disk, a solid-state hard disk, or a USB flash drive, etc. The memory may be used to store computer instructions.

[0132] In this embodiment, the processor can be implemented in any appropriate manner. For example, the processor can take the form of a microprocessor or processor and a computer-readable medium storing a computer-readable program code (such as software or firmware) that can be executed by the (micro)processor, a logic gate, a switch, an application-specific integrated circuit (ASIC), a programmable logic controller, and an embedded microcontroller, etc. The processor can execute the computer instructions to implement the following steps: sending order information corresponding to the user account to the server, so that the server can feedback the first order identifier corresponding to the order information when the amount of resources to be transferred contained in the order information is less than or equal to the specified amount of resources in the resource set; the resource set includes the set corresponding to the user account established by the server; displaying the graphic code of the first order identifier to the client, so that the client sends a confirmation message to the server; the confirmation message is accompanied by a second order identifier; receiving resources of the amount of resources to be transferred transferred by the server from the resource set of the user account; the resources include resources transferred by the server when the received second order identifier matches the first order identifier.

[0133] In order to better implement the embodiments of this specification Figure 5 The corresponding order processing method, such as Fig. 9 As shown, the embodiment of this specification also provides a client. The client may include a memory and a processor.

[0134] In this embodiment, the memory may be implemented in any appropriate manner. For example, the memory may be a read-only memory, a mechanical hard disk, a solid-state hard disk, or a USB flash drive, etc. The memory may be used to store computer instructions.

[0135] In this embodiment, the processor can be implemented in any appropriate manner. For example, the processor can take the form of a microprocessor or processor and a computer-readable medium storing a computer-readable program code (such as software or firmware) that can be executed by the (micro)processor, a logic gate, a switch, an application-specific integrated circuit (ASIC), a programmable logic controller, and an embedded microcontroller, etc. The processor can execute the computer instructions to implement the following steps: receiving a graphic code of a first order identification displayed by a third-party device, the first order identification including after the third-party device submits the order information corresponding to the user account to the server, the server generates and sends to the third-party device an identification corresponding to the order information when the amount of resources to be transferred contained in the order information is less than or equal to the specified amount of resources in the resource set; the resource set includes a set corresponding to the user account established by the server; sending a confirmation message to the server so that the server transfers the resources of the amount of resources to be transferred from the resource set of the user account to the account corresponding to the third-party device when the second order identification matches the first order identification; the confirmation message is accompanied by the second order identification.

[0136] In the 1990s, improvements to a technology could be clearly distinguished as hardware improvements (for example, improvements to the circuit structure of diodes, transistors, switches, etc.) or software improvements (improvements to the method flow). However, with the development of technology, many improvements to the method flow today can be regarded as direct improvements to 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 an improvement in a method flow cannot be implemented using 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 it themselves, without having to ask a chip manufacturer to design and produce a dedicated integrated circuit chip. 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 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 implements the logic method flow.

[0137] 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. A typical implementation device is a computer. Specifically, the computer may be, for example, a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.

[0138] It can be known from the above description of the implementation mode that the technicians in this field can clearly understand that the present specification can be implemented by means of software plus the necessary general hardware platform. Based on such an understanding, the technical solution of the present specification can be essentially or the part that contributes to the prior art can be embodied in the form of a software product, which can be stored in a storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present specification or some parts of the embodiments.

[0139] 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.

[0140] This specification 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, and distributed computing environments that include any of the above systems or devices.

[0141] This specification 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. This specification 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.

[0142] Although the present specification is described through embodiments, those skilled in the art will appreciate that there are many modifications and changes to the present specification without departing from the spirit of the present specification, and it is intended that the appended claims include these modifications and changes without departing from the spirit of the present specification.

Claims

1. An order processing method, characterized in that: include: Establishing a resource set for a user account; wherein the resource set includes a specified number of resources; The server of the order processing system receives order information corresponding to the user account submitted by the third-party device; wherein the order information includes the amount of resources to be transferred; In the case where the amount of resources to be transferred is less than or equal to the specified amount, the server of the order processing system generates a first order identifier corresponding to the order information; The server of the order processing system sends the first order identifier to the third-party device, so that the third-party device displays a graphic code representing the first order identifier; the graphic code is used for the client to scan to obtain the order information contained therein; The server of the order processing system receives the confirmation information sent by the client of the user account; wherein the confirmation information is accompanied by the second order identifier; the confirmation information is generated by the information scanned by the client in the graphic code; In the case where the second order identifier matches the first order identifier, the server of the order processing system transfers the resources of the to-be-transferred amount from the resource set of the user account to the account corresponding to the third-party device; In the case where the second order identifier does not match the first order identifier, the server of the order processing system rejects the order payment.

2. The method according to claim 1, characterized in that The collection of resources includes a loan balance corresponding to the user account.

3. The method according to claim 1, characterized in that After receiving the order information corresponding to the user account submitted by the third-party device, the method further includes: If the amount of resources to be transferred is greater than the specified amount, an order processing failure message is fed back.

4. The method according to claim 1, characterized in that Before generating the first order identifier corresponding to the order information, the method further includes: Determine whether the order information is valid; Accordingly, when the amount of resources to be transferred is less than or equal to the specified amount, generating a first order identifier corresponding to the order information includes: In a case where the amount of resources to be transferred is less than or equal to the specified amount and the order information is valid, a first order identifier corresponding to the order information is generated.

5. The method according to claim 1, characterized in that The confirmation information includes information generated after the client scans the graphic code.

6. An order processing method, characterized in that: include: Sending order information corresponding to the user account to the server, so that the server feeds back a first order identifier corresponding to the order information when the amount of resources to be transferred contained in the order information is less than or equal to the specified amount of resources in the resource set; the resource set includes the set corresponding to the user account established by the server; Displaying the graphic code of the first order identification to the client, so that the client sends a confirmation message to the server; the confirmation message is accompanied by the second order identification; The graphic code is used for the client to scan and obtain the order information contained therein; The confirmation information is generated by the information scanned by the client in the graphic code; receiving resources of a to-be-transferred amount transferred by the server from the resource set of the user account; the resources comprising resources transferred by the server when the received second order identifier matches the first order identifier; In the case where the second order identifier does not match the first order identifier, the server rejects the order payment.

7. An order processing method, characterized in that: include: receiving a graphic code of a first order identification displayed by a third-party device, wherein the first order identification includes an identification corresponding to the order information generated and sent to the third-party device by the server after the third-party device submits the order information corresponding to the user account to the server, when the amount of resources to be transferred included in the order information is less than or equal to the specified amount of resources in the resource set; the resource set includes a set corresponding to the user account established by the server; the graphic code is used for the client to scan to obtain the order information contained therein; Sending a confirmation message to the server, so that the server transfers the resources of the to-be-transferred amount from the resource set of the user account to the account corresponding to the third-party device when the second order identifier matches the first order identifier; the confirmation message is accompanied by the second order identifier; The confirmation information is generated by the information scanned by the client in the graphic code; In the case where the second order identifier does not match the first order identifier, the server rejects the order payment.

8. An order processing device, characterized in that: include: A collection establishment module, used to establish a resource collection of a user account; wherein the resource collection includes a specified number of resources; An order information receiving module, used for the server of the order processing system to receive order information corresponding to the user account submitted by a third-party device; wherein the order information includes the amount of resources to be transferred; an identification generating module, configured to generate, by a server of an order processing system, a first order identification corresponding to the order information when the amount of resources to be transferred is less than or equal to the specified amount; an identification sending module, used for the server of the order processing system to send the first order identification to the third-party device, so that the third-party device displays a graphic code representing the first order identification; the graphic code is used for the client to scan to obtain the order information contained therein; A confirmation information receiving module, used for the server of the order processing system to receive the confirmation information sent by the client of the user account; wherein the confirmation information is accompanied by a second order identifier; the confirmation information is generated by the information scanned by the client in the graphic code; A resource transfer module, configured to transfer, by a server of an order processing system, the resources of the to-be-transferred amount from the resource set of the user account to the account corresponding to the third-party device when the second order identifier matches the first order identifier; In the case where the second order identifier does not match the first order identifier, the server of the order processing system rejects the order payment.

9. An order processing device, characterized in that: include: An order information sending module, used to send order information corresponding to a user account to a server, so that the server feeds back a first order identifier corresponding to the order information when the amount of resources to be transferred contained in the order information is less than or equal to a specified amount of resources in a resource set; the resource set includes a set corresponding to the user account established by the server; A graphic code display module, used for displaying the graphic code of the first order identification to the client, so that the client sends confirmation information to the server; The confirmation information is accompanied by a second order identifier; The graphic code is used for the client to scan and obtain the order information contained therein; The confirmation information is generated by the information scanned by the client in the graphic code; A resource receiving module, configured to receive resources of a to-be-transferred amount transferred by the server from the resource set of the user account; the resources include resources transferred by the server when the received second order identifier matches the first order identifier; In the case where the second order identifier does not match the first order identifier, the server rejects the order payment.

10. An order processing device, characterized in that: include: A graphic code receiving module, used to receive a graphic code of a first order identification displayed by a third-party device, wherein the first order identification includes an identification corresponding to the order information generated and sent to the third-party device by the server when the amount of resources to be transferred contained in the order information is less than or equal to the specified amount of resources in the resource set after the third-party device submits the order information corresponding to the user account to the server; the resource set includes a set corresponding to the user account established by the server; the graphic code is used for the client to scan to obtain the order information contained therein; a confirmation information sending module, used for sending confirmation information to the server, so that the server transfers the resources of the to-be-transferred amount of resources from the resource set of the user account to the account corresponding to the third-party device when the second order identifier matches the first order identifier; the confirmation information is accompanied by the second order identifier; The confirmation information is generated by the information scanned by the client in the graphic code; In the case where the second order identifier does not match the first order identifier, the server rejects the order payment.

11. A server comprising a memory and a processor; The memory is used to store computer program instructions; The processor is used to execute the computer program instructions to implement the following steps: establishing a resource set of a user account; wherein, The resource collection includes a specified number of resources; the server of the order processing system receives the order information corresponding to the user account submitted by the third-party device; wherein the order information includes the amount of resources to be transferred; when the amount of resources to be transferred is less than or equal to the specified amount, the server of the order processing system generates a first order identifier corresponding to the order information; the server of the order processing system sends the first order identifier to the third-party device so that the third-party device displays a graphic code representing the first order identifier; the graphic code is used for scanning by the client to obtain the order information contained therein; the server of the order processing system receives the confirmation information sent by the client of the user account; wherein the confirmation information is accompanied by a second order identifier; the confirmation information is generated by the information scanned by the client in the graphic code; when the second order identifier matches the first order identifier, the server of the order processing system transfers the resources of the amount of resources to be transferred from the resource collection of the user account to the account corresponding to the third-party device; In the case where the second order identifier does not match the first order identifier, the server of the order processing system rejects the order payment.

12. A third-party device comprising a memory and a processor; The memory is used to store computer program instructions; The processor is used to execute the computer program instructions to implement the following steps: sending order information corresponding to the user account to the server, so that the server feeds back a first order identifier corresponding to the order information when the amount of resources to be transferred contained in the order information is less than or equal to the specified amount of resources in the resource set; the resource set includes a set corresponding to the user account established by the server; displaying a graphic code of the first order identifier to the client, so that the client sends a confirmation message to the server; the confirmation message is accompanied by a second order identifier; The graphic code is used for the client to scan and obtain the order information contained therein; The confirmation information is generated by information scanned by the client in the graphic code; receiving resources of the amount of resources to be transferred from the resource set of the user account by the server; the resources include resources transferred by the server when the received second order identifier matches the first order identifier; In the case where the second order identifier does not match the first order identifier, the server rejects the order payment.

13. A client comprising a memory and a processor; The memory is used to store computer program instructions; The processor is used to execute the computer program instructions to implement the following steps: receiving a graphic code of a first order identification displayed by a third-party device, the first order identification including, after the third-party device submits order information corresponding to a user account to a server, the server generates and sends to the third-party device an identification corresponding to the order information when the amount of resources to be transferred contained in the order information is less than or equal to a specified amount of resources in a resource set; the resource set includes a set corresponding to the user account established by the server; the graphic code is used for a client to scan and obtain the order information contained therein; sending confirmation information to the server, so that the server transfers the resources of the amount of resources to be transferred from the resource set of the user account to the account corresponding to the third-party device when the second order identification matches the first order identification; the confirmation information is accompanied by a second order identification; The confirmation information is generated by the information scanned by the client in the graphic code; In the case where the second order identifier does not match the first order identifier, the server rejects the order payment.