Digital Resource Transfer Control Method, Device, Computer Equipment and Storage Medium

By instructing the resource transferor and the resource receiver to perform initialization and voucher generation operations in parallel, the waiting problem in traditional digital resource transactions is solved and the efficiency of resource transfer control is improved.

CN114119012BActive Publication Date: 2025-07-11THE PEOPLES BANK OF CHINA DIGITAL CURRENCY INST
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202111410803.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-11-25
Publication Date
2025-07-11
Estimated Expiration
2041-11-25

AI Technical Summary

Technical Problem

In the traditional digital resource hard wallet transaction method, both parties need to wait for the other party to complete the operation during the digital resource transfer control process, resulting in too long resource transfer control and inefficient efficiency.

Method used

By instructing the resource transferor and the resource receiver to perform initialization and credential generation operations in parallel, the waiting time is reduced, including resource transfer initialization, offline resource information preprocessing, resource reception initialization and transfer credential generation and other steps.

Benefits of technology

It reduces the idle waiting time during resource transfer and improves the overall efficiency of digital resource transfer control.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114119012B_ABST
    Figure CN114119012B_ABST
Patent Text Reader

Abstract

This application relates to a digital resource transfer control method, apparatus, computer device, and storage medium. The method includes: according to a resource transfer initialization instruction, instructing a resource transfer party to perform a resource transfer initialization operation, and concurrently instructing a resource receiving party to perform an offline resource information preprocessing operation. When the offline resource information preprocessing operation is completed, triggering a resource receiving initialization instruction to instruct the resource receiving party to perform a resource receiving initialization operation, and concurrently instructing the resource transfer party to perform a transfer voucher generation operation. Sequentially triggering a resource offline transfer instruction to instruct the resource transfer party to perform a resource offline transfer operation, triggering a resource offline receiving instruction to instruct the resource receiving party to perform a resource offline receiving operation, and updating the current digital resource status according to the execution result of the resource offline receiving operation. Using this method can reduce the idle waiting time of both the resource transfer and receiving parties, as well as the overall time-consuming of the offline resource transfer task, and improve the efficiency of digital resource transfer control.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and particularly to a method, device, computer device, and storage medium for controlling the transfer of digital resources. Background Art

[0002] With the development of computer technology and the gradual popularization and application of Internet finance, more and more people conduct transactions by using digital resources. Among them, the digital resource hard wallet belongs to a common transaction method, that is, both the payer and the payee are equipped with hard wallets that support mutual transactions. Through the hard wallet, the payer can transfer and control the digital resources in the account to the account where the payee is located. Among them, the payer is usually a user, and the payee is usually a merchant or an enterprise.

[0003] In the traditional transaction method of digital resource hard wallets, the payer first needs to perform payment initialization. When the payment initialization of the payee is completed, the corresponding payee starts to perform receipt initialization operations. When both the receipt initialization and the payment initialization are completed, the payer makes an offline payment, and further the payee performs offline receipt until it is determined that the payment is completed, then the current digital resource transaction is completed.

[0004] However, in the current transaction method of digital resource hard wallets, since both parties need to wait for the other party to complete the corresponding operations and receive the corresponding feedback information during the process of transferring and controlling digital resources through the hard wallet before they can perform the operations they need to perform, when one party performs processing operations, the other party is in a completely idle waiting state, resulting in a waste of their respective processing capabilities, thus causing the overall time-consuming of digital resource transfer control to be too long and the efficiency of digital resource transfer control to be relatively low. Summary of the Invention

[0005] Based on this, it is necessary to provide a method, device, computer device, and storage medium for controlling the transfer of digital resources that can reduce the overall time-consuming of digital resource transfer control and improve the efficiency of digital resource transfer control for the above technical problems.

[0006] In a first aspect, the present application provides a method for controlling the transfer of digital resources. The method includes:

[0007] When a resource offline transfer request initiated by a resource transfer party is detected, a resource transfer initialization instruction is triggered according to the resource offline transfer request; the resource transfer initialization instruction is used to instruct the resource transfer party to perform a resource transfer initialization operation and concurrently instruct the resource recipient to perform an offline resource information preprocessing operation;

[0008] When it is determined that the preprocessing operation of the offline resource information is completed, a corresponding resource reception initialization instruction is triggered; the resource reception initialization instruction is used to instruct the resource receiver to perform a resource reception initialization operation, and concurrently instruct the resource transfer party to perform a transfer voucher generation operation;

[0009] When it is determined that the resource reception initialization operation is completed, a resource offline transfer instruction is generated; the resource offline transfer instruction is used to instruct the resource transfer party to perform a resource offline transfer operation;

[0010] When it is determined that the resource offline transfer operation is completed, a resource offline reception instruction is generated; the resource offline reception instruction is used to instruct the resource receiver to perform a resource offline reception operation;

[0011] Update the current digital resource status according to the execution result of the resource offline reception operation.

[0012] In one embodiment, instructing the resource transfer party to perform a resource transfer initialization operation and concurrently instructing the resource receiver to perform a preprocessing operation on offline resource information includes:

[0013] Instruct the resource transfer party to verify the current resource transfer value, generate a corresponding value verification result, and update the first application program count value corresponding to the resource transfer party when it is determined that the value verification result passes; obtain the transfer attribute information corresponding to the current resource offline transfer task, the first random resource factor corresponding to the resource transfer party, and the resource transfer number; and

[0014] Concurrently instruct the resource receiver to update the second application program count value corresponding to the resource receiver; obtain the second random resource factor and the resource reception number corresponding to the resource receiver, and generate a corresponding session key factor according to the second random resource factor.

[0015] In one embodiment, instructing the resource receiver to perform a resource reception initialization operation and concurrently instructing the resource transfer party to perform a transfer voucher generation operation includes:

[0016] Instruct the resource receiver to verify the transfer attribute information corresponding to the resource transfer party; when the verification of the transfer attribute information passes, encrypt the session key factor and the resource reception number, and encrypt the second random resource factor to obtain the encrypted payment attribute information; and

[0017] Concurrently instruct the resource transfer party to generate a corresponding session key factor according to the first random resource factor; generate a corresponding transfer voucher according to the transfer attribute information.

[0018] In one embodiment, instructing the resource transfer party to perform an off-line resource transfer operation includes:

[0019] Instruct the resource transfer party to verify the corresponding collection attribute information. When the verification is passed, encrypt the session key factor and the resource transfer number to generate a session key; after signing the transfer voucher, encrypt the signed transfer voucher with the session key to generate a corresponding first message authentication code; record the transfer flow data corresponding to the current off-line resource transfer task, and update the current resource balance voucher.

[0020] In one embodiment, instructing the resource recipient to perform an off-line resource reception operation includes:

[0021] Instruct the resource recipient to decrypt the session key to generate a decrypted session key; when the verification of the first message authentication code passes, decrypt the transfer voucher according to the decrypted session key; when the decryption is successful, record the reception flow data corresponding to the current off-line resource transfer task, and update the current resource storage voucher; obtain a transaction result identifier corresponding to the current off-line resource transfer task, and generate a second message authentication code by encrypting the transaction result identifier; update the task status corresponding to the current off-line resource transfer task.

[0022] In one embodiment, the method further includes:

[0023] Instruct the resource recipient to verify the second message authentication code. When the verification passes, update the task status corresponding to the current off-line resource transfer task.

[0024] In a second aspect, the present application also provides a digital resource transfer control device. The device includes:

[0025] A resource transfer initialization instruction trigger module, configured to trigger a resource transfer initialization instruction according to the off-line resource transfer request when detecting an off-line resource transfer request initiated by a resource transfer party; the resource transfer initialization instruction is used to instruct the resource transfer party to perform a resource transfer initialization operation, and concurrently instruct the resource recipient to perform an off-line resource information preprocessing operation;

[0026] A resource recipient initialization instruction trigger module, configured to trigger a corresponding resource recipient initialization instruction when determining that the off-line resource information preprocessing operation is completed; the resource recipient initialization instruction is used to instruct the resource recipient to perform a resource recipient initialization operation, and concurrently instruct the resource transfer party to perform a transfer voucher generation operation;

[0027] A resource offline transfer instruction triggering module, configured to trigger the generation of a resource offline transfer instruction when it is determined that the resource reception initialization operation is completed; the resource offline transfer instruction is used to instruct the resource transfer party to perform a resource offline transfer operation;

[0028] A resource offline reception instruction triggering module, configured to trigger the generation of a resource offline reception instruction when it is determined that the resource offline transfer operation is completed; the resource offline reception instruction is used to instruct the resource reception party to perform a resource offline reception operation;

[0029] A digital resource status update module, configured to update the current digital resource status according to the execution result of the resource offline reception operation.

[0030] In a third aspect, the present application further provides a computer device. The computer device includes a memory and a processor. The memory stores a computer program. When the processor executes the computer program, the following steps are implemented:

[0031] When detecting a resource offline transfer request initiated by a resource transfer party, triggering a resource transfer initialization instruction according to the resource offline transfer request; the resource transfer initialization instruction is used to instruct the resource transfer party to perform a resource transfer initialization operation and concurrently instruct the resource reception party to perform an offline resource information preprocessing operation;

[0032] When it is determined that the offline resource information preprocessing operation is completed, triggering a corresponding resource reception initialization instruction; the resource reception initialization instruction is used to instruct the resource reception party to perform a resource reception initialization operation and concurrently instruct the resource transfer party to perform a transfer voucher generation operation;

[0033] When it is determined that the resource reception initialization operation is completed, triggering the generation of a resource offline transfer instruction; the resource offline transfer instruction is used to instruct the resource transfer party to perform a resource offline transfer operation;

[0034] When it is determined that the resource offline transfer operation is completed, triggering the generation of a resource offline reception instruction; the resource offline reception instruction is used to instruct the resource reception party to perform a resource offline reception operation;

[0035] Updating the current digital resource status according to the execution result of the resource offline reception operation.

[0036] In a fourth aspect, the present application further provides a computer-readable storage medium. The computer-readable storage medium stores a computer program. When the computer program is executed by a processor, the following steps are implemented:

[0037] When a resource offline transfer request initiated by a resource transfer party is detected, a resource transfer initialization instruction is triggered according to the resource offline transfer request; the resource transfer initialization instruction is used to instruct the resource transfer party to perform a resource transfer initialization operation, and concurrently instruct the resource receiving party to perform an offline resource information preprocessing operation;

[0038] When it is determined that the offline resource information preprocessing operation is completed, a corresponding resource receiving initialization instruction is triggered; the resource receiving initialization instruction is used to instruct the resource receiving party to perform a resource receiving initialization operation, and concurrently instruct the resource transfer party to perform a transfer voucher generation operation;

[0039] When it is determined that the resource receiving initialization operation is completed, a resource offline transfer instruction is generated; the resource offline transfer instruction is used to instruct the resource transfer party to perform a resource offline transfer operation;

[0040] When it is determined that the resource offline transfer operation is completed, a resource offline receiving instruction is generated; the resource offline receiving instruction is used to instruct the resource receiving party to perform a resource offline receiving operation;

[0041] Update the current digital resource status according to the execution result of the resource offline receiving operation.

[0042] In a fifth aspect, the present application further provides a computer program product. The computer program product includes a computer program, and when the computer program is executed by a processor, the following steps are implemented:

[0043] When a resource offline transfer request initiated by a resource transfer party is detected, a resource transfer initialization instruction is triggered according to the resource offline transfer request; the resource transfer initialization instruction is used to instruct the resource transfer party to perform a resource transfer initialization operation, and concurrently instruct the resource receiving party to perform an offline resource information preprocessing operation;

[0044] When it is determined that the offline resource information preprocessing operation is completed, a corresponding resource receiving initialization instruction is triggered; the resource receiving initialization instruction is used to instruct the resource receiving party to perform a resource receiving initialization operation, and concurrently instruct the resource transfer party to perform a transfer voucher generation operation;

[0045] When it is determined that the resource receiving initialization operation is completed, a resource offline transfer instruction is generated; the resource offline transfer instruction is used to instruct the resource transfer party to perform a resource offline transfer operation;

[0046] When it is determined that the resource offline transfer operation is completed, a resource offline receiving instruction is generated; the resource offline receiving instruction is used to instruct the resource receiving party to perform a resource offline receiving operation;

[0047] Update the current digital resource status according to the execution result of the offline resource receiving operation.

[0048] In the above digital resource transfer control method, device, computer device and storage medium, when detecting a resource offline transfer request initiated by a resource transfer party, trigger a resource transfer initialization instruction according to the resource offline transfer request to instruct the resource transfer party to perform a resource transfer initialization operation, and simultaneously instruct the resource receiving party to perform an offline resource information preprocessing operation, so as to reduce the idle waiting time of the resource receiving party when the resource transfer party performs the resource transfer initialization operation. When it is determined that the offline resource information preprocessing operation is completed, trigger a corresponding resource receiving initialization instruction to instruct the resource receiving party to perform a resource receiving initialization operation, and simultaneously instruct the resource transfer party to perform a transfer voucher generation operation, so as to reduce the idle waiting time of the resource transfer party when the resource receiving party performs the resource receiving initialization operation. When it is determined that the resource receiving initialization operation is completed, trigger the generation of a resource offline transfer instruction to instruct the resource transfer party to perform a resource offline transfer operation. Similarly, when it is determined that the resource offline transfer operation is completed, trigger the generation of a resource offline receiving instruction to instruct the resource receiving party to perform a resource offline receiving operation, and then update the current digital resource status according to the execution result of the resource offline receiving operation. It realizes that when the resource transfer party performs the resource transfer initialization operation, the resource receiving party synchronously and parallelly performs the offline resource information preprocessing operation, and when the resource receiving party performs the resource receiving initialization operation, the resource transfer party synchronously and parallelly performs the transfer voucher generation operation, reducing the idle waiting time of both parties, so as to reduce the overall time-consuming of the offline resource transfer task and further improve the digital resource transfer control efficiency. Description of the Drawings

[0049] Figure 1 It is an application environment diagram of the digital resource transfer control method in an embodiment;

[0050] Figure 2 It is a flowchart of the digital resource transfer control method in an embodiment;

[0051] Figure 3 It is a flowchart of instructing the resource transfer party to perform a resource transfer initialization operation and simultaneously instructing the resource receiving party to perform an offline resource information preprocessing operation in an embodiment;

[0052] Figure 4 It is a flowchart of instructing the resource receiving party to perform a resource receiving initialization operation and simultaneously instructing the resource transfer party to perform a transfer voucher generation operation in an embodiment;

[0053] Figure 5 It is a flowchart of instructing the resource transfer party to perform a resource offline transfer operation in an embodiment;

[0054] Figure 6 A flowchart showing a resource receiver in an embodiment performing an offline resource receiving operation;

[0055] Figure 7 A timing diagram of a digital resource transfer control method in an embodiment;

[0056] Figure 8 A structural block diagram of a digital resource transfer control device in an embodiment;

[0057] Figure 9 An internal structure diagram of a computer device in an embodiment. Detailed implementation manners

[0058] In order to make the objectives, technical solutions and advantages of the present application clearer, the present application will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0059] The digital resource transfer control method provided by the embodiments of the present application can be applied to, for example Figure 1In the application environment shown. Among them, wireless communication is carried out between the first terminal device 102 where the resource transfer party is located, the hardware wallet 104, and the second terminal device 106 where the resource recipient is located. Specifically, Bluetooth communication or NFC near-field communication can be used to achieve communication connection, so as to realize the offline resource transfer between the first terminal device 102, the hardware wallet 104, and the second terminal device 106. Among them, when the hardware wallet 104 detects a resource offline transfer request initiated by the first terminal device 102 where the resource transfer party is located, it triggers a resource transfer initialization instruction according to the resource offline transfer request. Among them, the resource transfer initialization instruction is used to instruct the resource transfer party set on the first terminal device 102 to perform a resource transfer initialization operation, and concurrently instruct the resource recipient set on the second terminal device 106 to perform an offline resource information preprocessing operation. And when the hardware wallet 104 determines that the offline resource information preprocessing operation is completed, it triggers a corresponding resource reception initialization instruction. Among them, the resource reception initialization instruction is used to instruct the resource recipient set on the second terminal device 106 to perform a resource reception initialization operation, and concurrently instruct the resource transfer party set on the first terminal device 102 to perform a transfer voucher generation operation. Further, when the hardware wallet 104 determines that the resource reception initialization operation is completed, it triggers the generation of a resource offline transfer instruction. Among them, the resource offline transfer instruction is used to instruct the resource transfer party set on the first terminal device 102 to perform a resource offline transfer operation. Similarly, when the hardware wallet 104 determines that the resource offline transfer operation is completed, it triggers the generation of a resource offline reception instruction. Among them, the resource offline reception instruction is used to instruct the resource recipient set on the second terminal device 106 to perform a resource offline reception operation. The hardware wallet 104 further updates the current digital resource status according to the execution result of the resource offline reception operation, and displays the updated current digital resource status. Among them, the first terminal device 102 can be but is not limited to various smart phones, tablet computers, Internet of Things devices, and portable wearable devices. The Internet of Things device can be a smart speaker or a smart in-vehicle device, etc. The portable wearable device can be a smart watch, a smart bracelet, and a head-mounted device, etc. The hardware wallet 104 can be an integrated portable card or an integrated chip embedded in a mobile terminal device. The second terminal device 106 can be a terminal device such as a cash register, a payment machine, and a card reader used by different merchants or enterprises.

[0060] In one embodiment, as Figure 2 shown, a digital resource transfer control method is provided. Taking the hardware wallet in Figure 1 as an example, the method includes the following steps:

[0061] Step S202, when a resource offline transfer request initiated by a resource transfer party is detected, trigger a resource transfer initialization instruction according to the resource offline transfer request. The resource transfer initialization instruction is used to instruct the resource transfer party to perform a resource transfer initialization operation, and concurrently instruct the resource recipient to perform an offline resource information preprocessing operation.

[0062] Specifically, when the hard wallet detects a real-time resource offline transfer request initiated by the first terminal device where the resource transfer party is located, trigger a resource transfer initialization instruction according to the resource offline transfer request, and send the resource transfer initialization instruction to the first terminal device where the resource transfer party is located through Bluetooth communication or NFC near-field communication.

[0063] Furthermore, the resource transfer initialization instruction is used to instruct the resource transfer party to perform a resource transfer initialization operation. Among them, instructing the resource transfer party to perform a resource transfer initialization operation specifically includes: instructing the resource transfer party to verify the current resource transfer value, generate a corresponding value verification result, and when it is determined that the value verification result passes, update the first application program count value corresponding to the resource transfer party; obtain the transfer attribute information corresponding to the current resource offline transfer task, the first random resource factor corresponding to the resource transfer party, and the resource transfer number.

[0064] Among them, the resource transfer initialization instruction is used to instruct the resource transfer party to verify the current resource transfer value and generate a corresponding value verification result. Among them, the value verification result is used to indicate whether the current offline resource transfer task is executable. When it is determined that the value verification result passes, it means that the current offline resource transfer task is executable, and the first application program count value corresponding to the resource transfer party is further updated. Among them, the first application program count value can be understood as the count of the number of times the resource transfer party performs the resource offline transfer task.

[0065] Furthermore, the resource transfer party also needs to obtain the transfer attribute information corresponding to the current resource offline transfer task, the first random resource factor corresponding to the resource transfer party, and the resource transfer number. Among them, the transfer attribute information includes the resource transfer value, the resource transfer time, and the resource transfer party certificate. The first random resource factor can be a randomly selected number, which is used to generate a session key factor corresponding to the resource transfer party. The resource transfer number can be understood as the program number of the resource transfer application installed on the first terminal device.

[0066] Similarly, while the resource transfer initialization instruction instructs the resource transfer party to perform the resource transfer initialization operation, it concurrently instructs the resource receiving party to perform the preprocessing operation on the offline resource information. Among them, instructing the resource receiving party to perform the preprocessing operation on the offline resource information specifically includes: instructing the resource receiving party to update the second application program count value corresponding to the resource receiving party; obtaining the second random resource factor and the resource receiving number corresponding to the resource receiving party, and generating the corresponding session key factor according to the second random resource factor.

[0067] Among them, the resource transfer initialization instruction instructs the resource receiving party to update the second application program count value corresponding to the resource receiving party. The second application program count value can be understood as the count of the number of times the resource receiving party performs the task of receiving digital resources.

[0068] Furthermore, the resource transfer party obtains the second random resource factor and the resource receiving number corresponding to the resource receiving party, and generates the corresponding session key factor according to the second random resource factor. Among them, the second random resource factor can be a random number with any value, which is used to generate the session key factor corresponding to the resource receiving party. The resource receiving number can be understood as the program number of the resource receiving application installed on the second terminal device.

[0069] In one embodiment, the resource transfer party can be understood as the payer in the current offline resource transfer task, that is, the current digital resource transaction task. Similarly, the resource receiving party can be understood as the payee in the current digital resource transaction task, and the hardware wallet is represented as an integrated portable card or an integrated chip embedded in a mobile terminal device, which can realize wireless communication with the payee and the payer.

[0070] Among them, the first terminal device where the payer is located can be various smart phones, tablets, Internet of Things devices, portable wearable devices, etc. The first terminal device is installed with a payer wallet application program that matches the payer. The user can view the corresponding digital resource balance and transaction flow information in real time based on the payer wallet application program. Similarly, the second terminal device where the payee is located can be cash registers, payment machines, card readers, etc. used by different merchants or enterprises. The second terminal device is also installed or integrated with a payee wallet application program that matches the payee. The merchant or enterprise can view the transaction flow information and the digital resource storage balance in real time based on the payee wallet application program.

[0071] Step S204, when it is determined that the preprocessing operation on the offline resource information is completed, trigger the corresponding resource receiving initialization instruction. The resource receiving initialization instruction is used to instruct the resource receiving party to perform the resource receiving initialization operation and concurrently instruct the resource transfer party to perform the transfer voucher generation operation.

[0072] Specifically, when it is determined that the preprocessing operation of the offline resource information is completed, the corresponding resource reception initialization instruction is triggered, and the resource reception initialization instruction is used to instruct the resource recipient to perform the resource reception initialization operation. Among them, instructing the resource recipient to perform the resource reception initialization operation specifically includes: instructing the resource recipient to verify the transfer attribute information corresponding to the resource transferor; when the verification of the transfer attribute information passes, encrypt the session key factor and the resource reception number, and encrypt the second random resource factor to obtain the encrypted collection attribute information.

[0073] Furthermore, the resource recipient verifies the transfer attribute information corresponding to the resource transferor, specifically by verifying the resource transferor's certificate. When the verification of the resource transferor's certificate passes, encrypt the session key factor and the resource reception number, and further encrypt the second random resource factor to obtain the encrypted collection attribute information.

[0074] Among them, the encrypted collection attribute information includes data such as the resource recipient's certificate, the second random resource factor, the resource reception number, the session key factor, and the second application program count value.

[0075] Similarly, while the resource reception initialization instruction instructs the resource recipient to perform the resource reception initialization operation, it concurrently instructs the resource transferor to perform the transfer voucher generation operation. Among them, instructing the resource transferor to perform the transfer voucher generation operation specifically includes: instructing the resource transferor to generate the corresponding session key factor according to the first random resource factor; generating the corresponding transfer voucher according to the transfer attribute information.

[0076] Furthermore, the resource reception initialization instruction instructs the resource transferor to generate the corresponding session key factor according to the first random resource factor, and further generate the transfer voucher according to the transfer attribute information, that is, according to the resource transfer value, the resource transfer time, and the resource transferor's certificate.

[0077] Step S206, when it is determined that the resource reception initialization operation is completed, trigger the generation of the resource offline transfer instruction, and the resource offline transfer instruction is used to instruct the resource transferor to perform the resource offline transfer operation.

[0078] Specifically, when it is determined that the resource reception initialization operation is completed, the hardware wallet triggers the generation of a resource offline transfer instruction and sends the resource offline transfer instruction to the first terminal device where the resource transfer party is located. The resource offline transfer instruction is used to instruct the resource transfer party to perform a resource offline transfer operation, which specifically includes: instructing the resource transfer party to verify the corresponding collection attribute information, and when the verification is passed, encrypting the session key factor and the resource transfer number to generate a session key; after signing the transfer voucher, encrypting the signed transfer voucher with the session key to generate a corresponding first message authentication code; recording the transfer flow data corresponding to the current resource offline transfer task and updating the current resource balance voucher.

[0079] Furthermore, the resource offline transfer instruction instructs the resource transfer party to verify the corresponding collection attribute information, specifically by verifying the resource recipient's certificate. When the verification of the resource recipient's certificate is passed, the session key factor and the resource transfer number are encrypted to obtain the session key. The session key between the resource transfer party and the resource recipient is a symmetric session key. Using the symmetric session key for encryption and decryption, compared with the asymmetric (public key + private key) method, the current symmetric session key can reduce the encryption and decryption time and further reduce the overall time consumption.

[0080] After signing the transfer voucher, the signed transfer voucher is encrypted with the session key to generate a corresponding first message authentication code. The first message authentication code is used to further encrypt the data transmitted by the resource transfer party to reduce the data error situation caused during the transmission process.

[0081] Step S208, when it is determined that the resource offline transfer operation is completed, trigger the generation of a resource offline reception instruction, and the resource offline reception instruction is used to instruct the resource recipient to perform a resource offline reception operation.

[0082] Specifically, when it is determined that the resource offline transfer operation is completed, the hardware wallet triggers the generation of a resource offline reception instruction and sends the resource offline reception instruction to the resource recipient. The resource offline reception instruction is used to instruct the resource recipient to perform a resource offline reception operation, which specifically includes: instructing the resource recipient to decrypt the session key to generate a decrypted session key; when the verification of the first message authentication code passes, decrypt the transfer voucher according to the decrypted session key; when the decryption is successful, record the received flow data corresponding to the current resource offline transfer task and update the current resource storage voucher; obtain the transaction result identifier corresponding to the current resource offline transfer task and the second message authentication code generated by encrypting the transaction result identifier; update the task status corresponding to the current resource offline transfer task.

[0083] Further, the resource offline reception instruction instructs the resource recipient to decrypt the session key to generate the decrypted session key. Here, the session key between the resource transferor and the resource recipient is a symmetric session key, which can be used for encryption and decryption. When the decryption is successful, the received transaction data corresponding to the current resource offline transfer task is recorded, and the current resource storage certificate is updated.

[0084] Among them, the resource offline reception instruction is also used to instruct the resource recipient of the transaction result identifier corresponding to the current resource offline transfer task, and the second message authentication code generated by encrypting the transaction result identifier, and further update the task status corresponding to the current resource offline transfer task. The task status includes the resource reception completion status. The second message authentication code is used to further encrypt the data transmitted by the resource recipient to reduce data errors caused during the transmission process.

[0085] Step S210, update the current digital resource status according to the execution result of the resource offline reception operation.

[0086] Specifically, the execution result of the resource offline reception operation includes that the resource recipient has completed the resource reception. When it is determined that the resource recipient has completed the resource reception, the current digital resource status of the resource recipient is updated, specifically, the digital resource value is increased.

[0087] In one embodiment, after instructing the resource recipient to perform the resource offline reception operation, it further includes:

[0088] Instruct the resource recipient to verify the second message authentication code. When the verification passes, update the task status corresponding to the current resource offline transfer task.

[0089] Specifically, after the hardware wallet instructs the resource recipient to perform the resource offline reception operation, it further instructs the resource recipient to verify the second message authentication code to obtain the response data fed back by the resource recipient. According to the response data, it can be determined whether the resource recipient has truly received the digital resources corresponding to the corresponding digits.

[0090] Among them, when the verification passes, update the task status corresponding to the current resource offline transfer task, that is, update the current resource offline transfer task to the resource transfer completion status.

[0091] Similarly, when it is determined that the resource transfer of the resource transferor is completed, the current digital resource status of the resource transferor is updated, specifically, the digital resource value is decreased.

[0092] In the above digital resource transfer control method, when a resource offline transfer request initiated by the resource transfer party is detected, a resource transfer initialization instruction is triggered according to the resource offline transfer request to instruct the resource transfer party to perform a resource transfer initialization operation, and the resource receiving party is concurrently instructed to perform an offline resource information preprocessing operation, so as to reduce the idle waiting time of the resource receiving party when the resource transfer party performs the resource transfer initialization operation. When it is determined that the offline resource information preprocessing operation is completed, a corresponding resource receiving initialization instruction is triggered to instruct the resource receiving party to perform a resource receiving initialization operation, and the resource transfer party is concurrently instructed to perform a transfer voucher generation operation, so as to reduce the idle waiting time of the resource transfer party when the resource receiving party performs the resource receiving initialization operation. When it is determined that the resource receiving initialization operation is completed, a resource offline transfer instruction is generated to instruct the resource transfer party to perform a resource offline transfer operation. Similarly, when it is determined that the resource offline transfer operation is completed, a resource offline receiving instruction is generated to instruct the resource receiving party to perform a resource offline receiving operation, and then the current digital resource status is updated according to the execution result of the resource offline receiving operation. When the resource transfer party performs the resource transfer initialization operation, the resource receiving party synchronously and concurrently performs the offline resource information preprocessing operation, and when the resource receiving party performs the resource receiving initialization operation, the resource transfer party synchronously and concurrently performs the transfer voucher generation operation, reducing the idle waiting time of both parties, reducing the overall time consumption of the offline resource transfer task, and further improving the digital resource transfer control efficiency.

[0093] In one embodiment, as Figure 3 shown, the steps of instructing the resource transfer party to perform a resource transfer initialization operation and concurrently instructing the resource receiving party to perform an offline resource information preprocessing operation specifically include:

[0094] Step S302, instruct the resource transfer party to verify the current resource transfer value, generate a corresponding value verification result, and update the first application program count value corresponding to the resource transfer party when it is determined that the value verification result passes.

[0095] Specifically, when the hard wallet detects a resource offline transfer request initiated by the first terminal device where the resource transfer party is located in real time, a resource transfer initialization instruction is triggered according to the resource offline transfer request, and the resource transfer initialization instruction is sent to the first terminal device where the resource transfer party is located, thereby instructing the resource transfer party to verify the current resource transfer value, generate a corresponding value verification result, and determine whether the current offline resource transfer task is executable according to the value verification result.

[0096] Among them, when it is determined that the numerical verification result passes, indicating that the current offline resource transfer task is executable, the first application program count value corresponding to the resource transfer party is further updated. The first application program count value can be understood as the count of the number of times the resource transfer party executes the resource offline transfer task.

[0097] Step S304, obtain the transfer attribute information corresponding to the current resource offline transfer task, the first random resource factor corresponding to the resource transfer party, and the resource transfer number.

[0098] Specifically, the resource transfer initialization instruction instructs the resource transfer party to obtain the transfer attribute information corresponding to the current resource offline transfer task. Among them, the transfer attribute information includes the resource transfer value, the resource transfer time, and the resource transfer party certificate.

[0099] Furthermore, according to the resource transfer initialization instruction, the resource transfer party also needs to obtain the first random resource factor corresponding to the resource transfer party and the resource transfer number. Among them, the first random resource factor can be a randomly selected number with any value, which is used to generate the session key factor corresponding to the resource transfer party. The resource transfer number can be understood as the program number of the resource transfer application installed on the first terminal device.

[0100] Step S306, concurrently instruct the resource recipient to update the second application program count value corresponding to the resource recipient.

[0101] Specifically, when the resource transfer initialization instruction instructs the resource transfer party to verify the current resource transfer value, generate the corresponding numerical verification result, and when it is determined that the numerical verification result passes, update the first application program count value corresponding to the resource transfer party, obtain the transfer attribute information corresponding to the current resource offline transfer task, the first random resource factor corresponding to the resource transfer party, and the resource transfer number, it concurrently instructs the resource recipient to update the second application program count value corresponding to the resource recipient.

[0102] Among them, the second application program count value can be understood as the count of the number of times the resource recipient executes the task of receiving digital resources.

[0103] Step S308, obtain the second random resource factor corresponding to the resource recipient and the resource receiving number, and generate the corresponding session key factor according to the second random resource factor.

[0104] Specifically, the resource transfer initialization instruction is also used to instruct the resource recipient to obtain the second random resource factor corresponding to the resource recipient and the resource receiving number, and generate the corresponding session key factor according to the second random resource factor.

[0105] Among them, the second random resource factor can be a random number with any value, which is used to generate a session key factor corresponding to the resource recipient. The resource receiving number can be understood as the program number of the resource receiving application installed on the second terminal device.

[0106] Among them, steps S302 to S304 and steps S306 to S308 are executed in parallel.

[0107] In this embodiment, when a resource offline transfer request initiated by the resource transfer party is detected, a resource transfer initialization instruction is triggered according to the resource offline transfer request to instruct the resource transfer party to perform a resource transfer initialization operation, and the resource recipient is concurrently instructed to perform an offline resource information preprocessing operation, so as to reduce the idle waiting time of the resource recipient when the resource transfer party performs the resource transfer initialization operation, thereby reducing the overall time consumption of the offline resource transfer task and further improving the digital resource transfer control efficiency.

[0108] In one embodiment, as Figure 4 shown, the steps of instructing the resource recipient to perform a resource receiving initialization operation and concurrently instructing the resource transfer party to perform a transfer voucher generation operation specifically include:

[0109] Step S402, instruct the resource recipient to verify the transfer attribute information corresponding to the resource transfer party.

[0110] Specifically, when it is determined that the offline resource information preprocessing operation is completed, a corresponding resource receiving initialization instruction is triggered. The resource receiving initialization instruction is used to instruct the resource recipient to verify the transfer attribute information corresponding to the resource transfer party.

[0111] Among them, when the resource recipient verifies the transfer attribute information corresponding to the resource transfer party, it is specifically to verify the resource transfer party certificate.

[0112] Step S404, when the verification of the transfer attribute information is passed, encrypt the session key factor and the resource receiving number, and encrypt the second random resource factor to obtain the encrypted payment attribute information.

[0113] Specifically, when the verification of the resource transfer party certificate is passed, encrypt the session key factor and the resource receiving number, and further encrypt the second random resource factor to obtain the encrypted payment attribute information.

[0114] Among them, the encrypted payment attribute information includes data such as the resource recipient certificate, the second random resource factor, the resource receiving number, the session key factor, and the second application program count value.

[0115] Step S406, concurrently instruct the resource transfer party to generate a corresponding session key factor according to the first random resource factor.

[0116] Specifically, the resource reception initialization instruction instructs the resource recipient to verify the transfer attribute information corresponding to the resource transferor. When the verification of the transfer attribute information passes, the session key factor and the resource reception number are encrypted, and the second random resource factor is encrypted. While obtaining the encrypted collection attribute information, it concurrently instructs the resource transferor to generate the corresponding session key factor according to the first random resource factor.

[0117] Step S408: Generate the corresponding transfer voucher according to the transfer attribute information.

[0118] Specifically, the resource reception initialization instruction is also used to instruct the resource recipient to generate the corresponding transfer voucher according to the transfer attribute information, specifically to generate the transfer voucher according to the resource transfer value, the resource transfer time, and the resource transferor's certificate.

[0119] Among them, steps S402 to S404 are executed in parallel with steps S406 to S408.

[0120] In this embodiment, when it is determined that the offline resource information preprocessing operation is completed, the corresponding resource reception initialization instruction is triggered. This instruction is used to instruct the resource recipient to perform the resource reception initialization operation and concurrently instruct the resource transferor to perform the transfer voucher generation operation, so as to reduce the idle waiting time of the resource transferor when the resource recipient performs the resource reception initialization operation, thereby reducing the overall time consumption of the offline resource transfer task and further improving the digital resource transfer control efficiency.

[0121] In one embodiment, as Figure 5 shown, the steps of instructing the resource transferor to perform the resource offline transfer operation specifically include:

[0122] Step S502: Instruct the resource transferor to verify the corresponding collection attribute information. When the verification passes, encrypt the session key factor and the resource transfer number to generate the session key.

[0123] Specifically, when it is determined that the resource reception initialization operation is completed, the hardware wallet triggers the generation of the resource offline transfer instruction and sends the resource offline transfer instruction to the first terminal device where the resource transferor is located. The resource offline transfer instruction instructs the resource transferor to verify the corresponding collection attribute information, specifically to verify the resource recipient's certificate. When the verification of the resource recipient's certificate passes, encrypt the session key factor and the resource transfer number to obtain the session key.

[0124] Among them, the session key between the resource transferor and the resource recipient is a symmetric session key. Using the symmetric session key for encryption and decryption, compared with the asymmetric (public key + private key), the current symmetric session key can reduce the encryption and decryption time and further reduce the overall time consumption.

[0125] In step S504, after signing the transfer voucher, encrypt the signed transfer voucher using the session key to generate a corresponding first message authentication code.

[0126] Specifically, the resource offline transfer instruction is also used to instruct the resource transfer party to sign the transfer voucher and then encrypt the signed transfer voucher using the session key to generate a corresponding first message authentication code. The first message authentication code is used to further encrypt the data transmitted by the resource transfer party to reduce data errors during the transmission process.

[0127] In step S506, record the transfer transaction data corresponding to the current resource offline transfer task and update the current resource balance voucher.

[0128] Specifically, the resource offline transfer instruction is also used to instruct the resource transfer party to record the transfer transaction data corresponding to the current resource offline transfer task and update the current resource balance voucher. The transfer transaction data includes specific data such as the resource transfer amount, the resource receiving object (i.e., the resource recipient), and the resource transfer time, and the successfully transferred resource amount for the current transfer is excluded from the current resource balance to update the current resource balance voucher.

[0129] In this embodiment, by instructing the resource transfer party to verify the corresponding payment attribute information, when the verification is passed, encrypt the session key factor and the resource transfer number to generate a session key, and after signing the transfer voucher, encrypt the signed transfer voucher using the session key to generate a corresponding first message authentication code. Further record the transfer transaction data corresponding to the current resource offline transfer task and update the current resource balance voucher. It realizes the generation of the session key by encryption according to the session key factor and the resource transfer number, and encrypts the transfer voucher of the resource transfer party according to the session key, so that the resource recipient can decrypt the session key and the transfer voucher. When encrypting and decrypting with the symmetric session key, the overall time consumption of the resource offline transfer task can be reduced, and the resource transfer efficiency can be further improved.

[0130] In one embodiment, as Figure 6 shown, the steps of instructing the resource recipient to perform the resource offline receiving operation specifically include:

[0131] In step S602, instruct the resource recipient to decrypt the session key to generate a decrypted session key.

[0132] Specifically, when it is determined that the resource offline transfer operation has been completed, the hardware wallet triggers the generation of a resource offline receipt instruction and sends the resource offline receipt instruction to the resource recipient. The resource offline receipt instruction instructs the resource recipient to decrypt the session key to generate a decrypted session key. Herein, the session key between the resource transferor and the resource recipient is a symmetric session key, and the symmetric session key can be used for encryption and decryption.

[0133] Step S604, when the verification of the first message authentication code passes, decrypt the transfer voucher according to the decrypted session key.

[0134] Specifically, when the verification of the first message authentication code passes, the resource offline receipt instruction is further used to instruct the resource recipient to decrypt the transfer voucher according to the decrypted session key. Herein, the session key between the resource transferor and the resource recipient is a symmetric session key, and the symmetric session key can be used for encryption and decryption, which can reduce the overall time consumption of the resource offline transfer task and further improve the resource transfer efficiency.

[0135] Step S606, when the decryption is successful, record the receipt flow data corresponding to the current resource offline transfer task and update the current resource storage voucher.

[0136] Specifically, when the decryption is successful, the resource offline receipt instruction is further used to instruct the resource recipient to record the receipt flow data corresponding to the current resource offline transfer task and update the current resource storage voucher. The receipt flow data may include specific data such as the resource receipt value, the resource transfer object (i.e., the resource transferor), and the resource receipt time, and increase the currently received resource value to the current resource balance to update the current resource balance voucher.

[0137] Step S608, obtain the transaction result identifier corresponding to the current resource offline transfer task and the second message authentication code generated by encrypting the transaction result identifier.

[0138] Specifically, the resource offline receipt instruction is further used to instruct the resource recipient to obtain the transaction result identifier corresponding to the current resource offline transfer task. The transaction result identifier is used to indicate whether the current resource offline transfer task has been successfully completed, and the transaction result of transfer success or transfer failure can be known according to the transaction result identifier. The second message authentication code is used to further encrypt the data transmitted by the resource recipient to reduce the data error situation during the transmission process.

[0139] Step S610, update the task status corresponding to the current resource offline transfer task.

[0140] Specifically, the task status includes a resource reception completion status. When it is determined that the digital resource transfer control is successful according to the transaction result identifier corresponding to the current resource offline transfer task, the task status corresponding to the current resource offline transfer task is updated to resource reception completion.

[0141] In this embodiment, by instructing the resource recipient to decrypt the session key to generate the decrypted session key, and when the verification of the first message authentication code passes, decrypt the transfer voucher according to the decrypted session key. When the decryption is successful, record the received transaction data corresponding to the current resource offline transfer task, update the current resource storage voucher, obtain the transaction result identifier corresponding to the current resource offline transfer task, and the second message authentication code generated by encrypting the transaction result identifier, and further update the task status corresponding to the current resource offline transfer task. It realizes that after the resource transfer party encrypts the transfer voucher of the resource transfer party according to the session key in the early stage, the resource recipient decrypts the transfer voucher according to the decrypted session key, which can reduce the overall time consumption of the resource offline transfer task when encrypting and decrypting with the symmetric session key, and further improve the resource transfer efficiency.

[0142] In one embodiment, as Figure 7 shown, a timing schematic diagram of a digital resource transfer control method is provided. Referring to Figure 7 it can be seen that the digital resource transfer control method specifically includes the following steps:

[0143] Step S701, the resource transfer party responds to the resource transfer initialization instruction, verifies the current resource transfer value, and generates the corresponding value verification result.

[0144] Step S702, when it is determined that the value verification result passes, the resource transfer party updates the first application program count value corresponding to the resource transfer party.

[0145] Step S703, the resource transfer party obtains the transfer attribute information, the first random resource factor, and the resource transfer number corresponding to the current resource offline transfer task.

[0146] While steps S701 to S703 are being executed, steps S704 to S705 are executed in parallel:

[0147] Step S704, the resource recipient updates the second application program count value corresponding to the resource recipient.

[0148] Step S705, the resource recipient obtains the second random resource factor and the resource reception number corresponding to the resource recipient, and generates the corresponding session key factor according to the second random resource factor.

[0149] Step S706: The resource recipient verifies the transfer attribute information corresponding to the resource transferor.

[0150] Step S707: When the verification of the transfer attribute information passes, the resource recipient encrypts the session key factor and the resource recipient number, and encrypts the second random resource factor to obtain the encrypted payment attribute information.

[0151] While executing steps S706 to S707, steps S708 to S709 are executed in parallel:

[0152] Step S708: The resource transferor generates the corresponding session key factor according to the first random resource factor.

[0153] Step S709: The resource transferor generates the corresponding transfer voucher according to the transfer attribute information.

[0154] Step S710: The resource transferor verifies the corresponding payment attribute information. When the verification passes, it encrypts the session key factor and the resource transfer number to generate the session key.

[0155] Step S711: After the resource transferor signs the transfer voucher, it encrypts the signed transfer voucher using the session key to generate the corresponding first message authentication code.

[0156] Step S712: The resource transferor records the transfer flow data corresponding to the current resource offline transfer task and updates the current resource balance voucher.

[0157] After executing step S712, step S713 is executed. Step S713: The resource recipient decrypts the session key to generate the decrypted session key.

[0158] Step S714: When the verification of the first message authentication code passes, the resource recipient decrypts the transfer voucher according to the decrypted session key.

[0159] Step S715: When the decryption is successful, the resource recipient records the received flow data corresponding to the current resource offline transfer task and updates the current resource storage voucher.

[0160] Step S716: The resource recipient obtains the transaction result identifier corresponding to the current resource offline transfer task and the second message authentication code generated by encrypting the transaction result identifier.

[0161] Step S717: The resource recipient updates the task status corresponding to the current resource offline transfer task.

[0162] Step S718: The resource transferor verifies the second message authentication code. When the verification passes, it updates the task status corresponding to the current resource offline transfer task.

[0163] The above digital resource transfer control method enables the resource recipient to synchronously and parallelly execute the preprocessing operation of offline resource information when the resource transferor executes the resource transfer initialization operation, and enables the resource transferor to synchronously and parallelly execute the transfer voucher generation operation when the resource recipient executes the resource receiving initialization operation, reducing the idle waiting time of both parties, thereby reducing the overall time consumption of the offline resource transfer task and further improving the digital resource transfer control efficiency.

[0164] It should be understood that although the steps in the flowcharts involved in the above embodiments are shown in sequence according to the arrows, these steps do not necessarily have to be executed in the order indicated by the arrows. Unless specifically stated herein, there is no strict order limit for the execution of these steps, and these steps can be executed in other orders. Moreover, at least some of the steps in the flowcharts involved in the above embodiments may include multiple steps or multiple stages. These steps or stages do not necessarily have to be executed at the same time, but can be executed at different times. The execution order of these steps or stages does not necessarily have to be sequential, but can be executed alternately or in turns with at least some of the steps or stages in other steps or other steps.

[0165] Based on the same inventive concept, an embodiment of the present application further provides a digital resource transfer control device for implementing the above-mentioned digital resource transfer control method. The solution provided by this device for solving problems is similar to the solution described in the above method. Therefore, the specific limitations in one or more embodiments of the digital resource transfer control device provided below can refer to the limitations on the digital resource transfer control method in the above text, and will not be repeated here.

[0166] In one embodiment, as Figure 8 shown, a digital resource transfer control device is provided, including: a resource transfer initialization instruction trigger module 802, a resource receiving initialization instruction trigger module 804, a resource offline transfer instruction trigger module 806, a resource offline receiving instruction trigger module 808, and a digital resource status update module 810, where:

[0167] The resource transfer initialization instruction trigger module 802 is configured to, when detecting a resource offline transfer request initiated by the resource transferor, trigger a resource transfer initialization instruction according to the resource offline transfer request. The resource transfer initialization instruction is used to instruct the resource transferor to execute a resource transfer initialization operation and concurrently instruct the resource recipient to execute a preprocessing operation of offline resource information.

[0168] The resource reception initialization instruction triggering module 804 is used to trigger a corresponding resource reception initialization instruction when it is determined that the offline resource information preprocessing operation has been completed. The resource reception initialization instruction is used to instruct the resource receiver to perform a resource reception initialization operation and concurrently instruct the resource transferor to perform a transfer voucher generation operation.

[0169] The resource offline transfer instruction triggering module 806 is used to trigger the generation of a resource offline transfer instruction when it is determined that the resource reception initialization operation has been completed. The resource offline transfer instruction is used to instruct the resource transferor to perform a resource offline transfer operation.

[0170] The resource offline reception instruction triggering module 808 is used to trigger the generation of a resource offline reception instruction when it is determined that the resource offline transfer operation has been completed. The resource offline reception instruction is used to instruct the resource receiver to perform a resource offline reception operation.

[0171] The digital resource status update module 810 is used to update the current digital resource status according to the execution result of the resource offline reception operation.

[0172] The above digital resource transfer control device realizes that when the resource transferor performs a resource transfer initialization operation, the resource receiver synchronously and concurrently performs an offline resource information preprocessing operation, and when the resource receiver performs a resource reception initialization operation, the resource transferor synchronously and concurrently performs a transfer voucher generation operation, reducing the idle waiting time of both parties, so as to reduce the overall time consumption of the offline resource transfer task and further improve the digital resource transfer control efficiency.

[0173] In one embodiment, the resource transfer initialization instruction triggering module is further used to:

[0174] instruct the resource transferor to verify the current resource transfer value, generate a corresponding value verification result, and update the first application program count value corresponding to the resource transferor when it is determined that the value verification result passes; obtain the transfer attribute information corresponding to the current resource offline transfer task, the first random resource factor corresponding to the resource transferor, and the resource transfer number; and concurrently instruct the resource receiver to update the second application program count value corresponding to the resource receiver; obtain the second random resource factor and the resource reception number corresponding to the resource receiver, and generate a corresponding session key factor according to the second random resource factor.

[0175] In one embodiment, the resource reception initialization instruction triggering module is further used to:

[0176] Instruct the resource recipient to verify the transfer attribute information corresponding to the resource transferor; when the verification of the transfer attribute information passes, encrypt the session key factor and the resource recipient number, and encrypt the second random resource factor to obtain the encrypted collection attribute information; and concurrently instruct the resource transferor to generate a corresponding session key factor according to the first random resource factor; generate a corresponding transfer voucher according to the transfer attribute information.

[0177] In one embodiment, the resource offline transfer instruction trigger module is further configured to:

[0178] Instruct the resource transferor to verify the corresponding collection attribute information, and when the verification passes, encrypt the session key factor and the resource transfer number to generate a session key; after signing the transfer voucher, encrypt the signed transfer voucher with the session key to generate a corresponding first message authentication code; record the transfer flow data corresponding to the current resource offline transfer task, and update the current resource balance voucher.

[0179] In one embodiment, the resource offline reception instruction trigger module is further configured to:

[0180] Instruct the resource recipient to decrypt the session key to generate a decrypted session key; when the verification of the first message authentication code passes, decrypt the transfer voucher according to the decrypted session key; when the decryption is successful, record the reception flow data corresponding to the current resource offline transfer task, and update the current resource storage voucher; obtain the transaction result identifier corresponding to the current resource offline transfer task, and the second message authentication code generated by encrypting the transaction result identifier; update the task status corresponding to the current resource offline transfer task.

[0181] In one embodiment, a digital resource transfer control device is provided, further including a task status update module, configured to: instruct the resource recipient to verify the second message authentication code, and when the verification passes, update the task status corresponding to the current resource offline transfer task.

[0182] Each module in the above digital resource transfer control device can be implemented in whole or in part by software, hardware, and their combination. The above modules can be embedded in the processor of the computer device in hardware form or independent of it, or stored in the memory of the computer device in software form, so that the processor can call and execute the operations corresponding to the above respective modules.

[0183] In one embodiment, a computer device is provided. The computer device can be a hard wallet, and its internal structure diagram can be as Figure 9As shown in the figure. The computer device includes a processor, a memory, a communication interface, a display screen, and an input device connected via a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and computer programs. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage medium. The communication interface of the computer device is used to communicate with an external terminal in a wireless manner, and the wireless manner can be implemented through Bluetooth communication or NFC (Near Field Communication) or other technologies. When the computer program is executed by the processor, it implements a digital resource transfer control method. The display screen of the computer device can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covering the display screen or a button provided on the casing of the computer device.

[0184] Those skilled in the art can understand that Figure 9 the structure shown in the figure is only a block diagram of some structures related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine some components, or have a different component layout.

[0185] In one embodiment, a computer device is further provided, including a memory and a processor. A computer program is stored in the memory, and when the processor executes the computer program, the steps in the above method embodiments are implemented.

[0186] In one embodiment, a computer-readable storage medium is provided, storing a computer program, and when the computer program is executed by the processor, the steps in the above method embodiments are implemented.

[0187] In one embodiment, a computer program product or a computer program is provided. The computer program product or the computer program includes computer instructions, and the computer instructions are stored in a computer-readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the steps in the above method embodiments.

[0188] It should be noted that the information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data for analysis, stored data, displayed data, etc.) involved in the present application are all information and data authorized by the user or fully authorized by all parties.

[0189] Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be completed by instructing relevant hardware through a computer program. The computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above methods. Among them, any reference to a memory, database, or other medium used in the embodiments provided in the present application can include at least one of non-volatile and volatile memories. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM), etc. The databases involved in the embodiments provided in the present application can include at least one of relational databases and non-relational databases. Non-relational databases can include distributed databases based on blockchain, etc., without limitation. The processors involved in the embodiments provided in the present application can be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, data processing logics based on quantum computing, etc., without limitation.

[0190] The technical features of the above embodiments can be combined arbitrarily. For the sake of brevity of description, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, it should be considered as the scope recorded in this specification.

[0191] The above embodiments only represent several implementation manners of the present application. The description is relatively specific and detailed, but it should not be construed as a limitation on the patent scope of the present application. It should be noted that for those of ordinary skill in the art, without departing from the concept of the present application, several modifications and improvements can still be made, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the appended claims.

Claims

1. A digital resource transfer control method, characterized in that, The method includes: When a resource offline transfer request initiated by a resource transfer party is detected, triggering a resource transfer initialization instruction according to the resource offline transfer request; the resource transfer initialization instruction is used to instruct the resource transfer party to perform a resource transfer initialization operation, and concurrently instruct the resource receiving party to perform an offline resource information preprocessing operation; wherein, the instructing the resource transfer party to perform a resource transfer initialization operation and concurrently instructing the resource receiving party to perform an offline resource information preprocessing operation includes: instructing the resource transfer party to verify the current resource transfer value, generating a corresponding value verification result, and when it is determined that the value verification result passes, updating the first application program count value corresponding to the resource transfer party; obtaining transfer attribute information corresponding to the current resource offline transfer task, the first random resource factor corresponding to the resource transfer party, and the resource transfer number; and concurrently instructing the resource receiving party to update the second application program count value corresponding to the resource receiving party; obtaining the second random resource factor and the resource receiving number corresponding to the resource receiving party, and generating a corresponding session key factor according to the second random resource factor; When it is determined that the offline resource information preprocessing operation is completed, triggering a corresponding resource receiving initialization instruction; the resource receiving initialization instruction is used to instruct the resource receiving party to perform a resource receiving initialization operation, and concurrently instruct the resource transfer party to perform a transfer voucher generation operation; wherein, the instructing the resource receiving party to perform a resource receiving initialization operation and concurrently instructing the resource transfer party to perform a transfer voucher generation operation includes: instructing the resource receiving party to verify the transfer attribute information corresponding to the resource transfer party; when the verification of the transfer attribute information passes, encrypting the session key factor and the resource receiving number, and encrypting the second random resource factor to obtain encrypted collection attribute information; and concurrently instructing the resource transfer party to generate a corresponding session key factor according to the first random resource factor; generating a corresponding transfer voucher according to the transfer attribute information; When it is determined that the resource receiving initialization operation is completed, triggering the generation of a resource offline transfer instruction; the resource offline transfer instruction is used to instruct the resource transfer party to perform a resource offline transfer operation; When it is determined that the resource offline transfer operation is completed, triggering the generation of a resource offline receiving instruction; the resource offline receiving instruction is used to instruct the resource receiving party to perform a resource offline receiving operation; Updating the current digital resource status according to the execution result of the resource offline receiving operation.

2. The method according to claim 1, wherein Instructing the resource transfer party to perform a resource offline transfer operation includes: Instructing the resource transfer party to verify the corresponding collection attribute information, and when the verification passes, encrypting the session key factor and the resource transfer number to generate a session key; signing the transfer voucher, and then encrypting the signed transfer voucher with the session key to generate a corresponding first message authentication code; recording the transfer flow data corresponding to the current resource offline transfer task, and updating the current resource balance voucher.

3. The method according to claim 2, wherein Instruct the resource recipient to perform an off-line resource receiving operation, including: Instruct the resource recipient to decrypt the session key to generate a decrypted session key; when the verification of the first message authentication code passes, decrypt the transfer voucher according to the decrypted session key; when the decryption is successful, record the receiving flow data corresponding to the current off-line resource transfer task, and update the current resource storage voucher; obtain a transaction result identifier corresponding to the current off-line resource transfer task, and generate a second message authentication code by encrypting the transaction result identifier; update the task status corresponding to the current off-line resource transfer task.

4. The method according to claim 3, characterized in that, The method further includes: Instruct the resource recipient to verify the second message authentication code, and when the verification passes, update the task status corresponding to the current off-line resource transfer task.

5. A digital resource transfer control device, characterized in that, The apparatus includes: A resource transfer initialization instruction trigger module, configured to, when detecting a resource off-line transfer request initiated by a resource transfer party, trigger a resource transfer initialization instruction according to the resource off-line transfer request; the resource transfer initialization instruction is used to instruct the resource transfer party to perform a resource transfer initialization operation, and concurrently instruct the resource recipient to perform an off-line resource information preprocessing operation; The resource transfer initialization instruction trigger module is further configured to: instruct the resource transfer party to verify the current resource transfer value, generate a corresponding value verification result, and update a first application program count value corresponding to the resource transfer party when determining that the value verification result passes; obtain transfer attribute information corresponding to the current off-line resource transfer task, a first random resource factor corresponding to the resource transfer party, and a resource transfer number; and concurrently instruct the resource recipient to update a second application program count value corresponding to the resource recipient; obtain a second random resource factor and a resource receiving number corresponding to the resource recipient, and generate a corresponding session key factor according to the second random resource factor; A resource receiving initialization instruction trigger module, configured to, when determining that the off-line resource information preprocessing operation is completed, trigger a corresponding resource receiving initialization instruction; the resource receiving initialization instruction is used to instruct the resource recipient to perform a resource receiving initialization operation, and concurrently instruct the resource transfer party to perform a transfer voucher generation operation; The resource receiving initialization instruction trigger module is further configured to: instruct the resource recipient to verify the transfer attribute information corresponding to the resource transfer party; when the verification of the transfer attribute information passes, encrypt the session key factor and the resource receiving number, and encrypt the second random resource factor to obtain encrypted collection attribute information; and concurrently instruct the resource transfer party to generate a corresponding session key factor according to the first random resource factor; generate a corresponding transfer voucher according to the transfer attribute information; A resource off-line transfer instruction trigger module, configured to, when determining that the resource receiving initialization operation is completed, trigger the generation of a resource off-line transfer instruction; the resource off-line transfer instruction is used to instruct the resource transfer party to perform a resource off-line transfer operation; A resource offline receiving instruction triggering module, configured to trigger and generate a resource offline receiving instruction when it is determined that the resource offline transfer operation is completed; the resource offline receiving instruction is used to instruct the resource recipient to perform a resource offline receiving operation; A digital resource status update module, configured to update the current digital resource status according to the execution result of the resource offline receiving operation.

6. The device according to claim 5, characterized in that The resource offline transfer instruction triggering module is further configured to: Instruct the resource transferor to verify the corresponding collection attribute information, and when the verification is passed, encrypt the session key factor and the resource transfer number to generate a session key; after signing the transfer voucher, encrypt the signed transfer voucher with the session key to generate a corresponding first message authentication code; Record the transfer flow data corresponding to the current resource offline transfer task, and update the current resource balance voucher.

7. The device according to claim 6, characterized in that, The resource offline receiving instruction triggering module is further configured to: Instruct the resource recipient to decrypt the session key to generate a decrypted session key; when the verification of the first message authentication code passes, decrypt the transfer voucher according to the decrypted session key; when the decryption is successful, record the receiving flow data corresponding to the current resource offline transfer task, and update the current resource storage voucher; Obtain a transaction result identifier corresponding to the current resource offline transfer task, and a second message authentication code generated by encrypting the transaction result identifier; update the task status corresponding to the current resource offline transfer task.

8. A computer device, comprising a memory and a processor, the memory storing a computer program, characterized in that, When the processor executes the computer program, the steps of the method according to any one of claims 1 to 4 are implemented.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 4 are implemented.

10. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 4 are implemented.

Citation Information

Patent Citations

  • Data transfer processing method and device and computer readable storage medium

    CN111062717A

  • Resource transfer method, device and system

    CN112418845A