Blockchain system-based resource transfer medium ownership change method and device

CN116319792BActive Publication Date: 2026-08-11INDUSTRIAL AND COMMERCIAL BANK OF CHINA
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-03-31
Publication Date
2026-08-11

AI Technical Summary

Technical Problem

[0003]目前,当用户需要变更资源转移媒介的服务方时,需要在新的服务方重新开通账户,无法满足变更资源转移媒介服务方保留媒介标识的需求

Benefits of technology

[0060]In the aforementioned method, apparatus, system, computer equipment, storage medium, and computer program product for changing the ownership of a resource transfer medium based on a blockchain system, the ownership change processing node can receive an ownership change request triggered by a target account for an associated target resource transfer medium in the blockchain system. If the request information corresponding to the ownership change request meets a first verification condition, the node transmits the request information to a first service node. The first service node can review the request information and, if the review is successful, construct an ownership change block matching the request information in the blockchain system. Next, the ownership change processing node can verify the ownership change block and, if the ownership change block meets a second verification condition, transmit the ownership change block to a second service node. The second service node can review the medium information of the target resource transfer medium contained in the ownership change block and return the review result to the ownership change processing node. If the review result indicates successful review, the ownership change processing node transfers the service node to which the target resource transfer medium belongs from the first service node to the second service node. The method provided in this application uses blockchain technology to break down barriers between different service providers, which can meet the user's need to keep the medium identifier (e.g., credit card number) unchanged when the ownership of the resource transfer medium (e.g., credit card) changes with different service providers. Furthermore, the immutability of the blockchain ensures the security of the medium information during the number portability process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116319792B_ABST
    Figure CN116319792B_ABST
Patent Text Reader

Abstract

This application provides a method, apparatus, system, computer device, storage medium, and computer program product for account transfer based on a blockchain system, relating to the field of blockchain technology. The method includes: receiving request information from a target resource transfer medium, and transmitting it to a first service node if the request information meets a first verification condition; verifying the ownership change block, and transmitting the ownership change block to a second service node if the ownership change block meets a second verification condition; and transferring the service node where the target resource transfer medium is located from the first service node to the second service node if the verification result indicates that the verification has passed. The method of this application embodiment can improve the security of account information and medium information during number portability ownership change.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of blockchain technology, and in particular to a method, apparatus, system, computer equipment, storage medium, and computer program product for changing the ownership of a resource transfer medium based on a blockchain system. Background Technology

[0002] With the continuous development of Internet technology, the need for users to maintain the same media identifier when their target account changes media ownership due to resource transfers between different service providers is increasing.

[0003] Currently, when users need to change the service provider for resource transfer, they need to open a new account with the new service provider, which cannot meet the requirement of retaining the media identifier when changing the service provider for resource transfer. Summary of the Invention

[0004] Therefore, it is necessary to provide a method, apparatus, system, computer equipment, storage medium, and computer program product for changing the ownership of resource transfer media based on a blockchain system to address the aforementioned technical problems.

[0005] Firstly, this application provides a method for changing the ownership of a resource transfer medium based on a blockchain system, applied to ownership change processing nodes in the blockchain system. The method includes:

[0006] The system receives a change of ownership request triggered by a target account for an associated target resource transfer medium, and transmits the request information to the first service provider node if the request information corresponding to the change of ownership request meets the first verification condition. The first service provider node is the service provider node to which the target resource transfer medium currently belongs, and is used to construct a change of ownership block matching the request information in the blockchain system if the request information is approved.

[0007] When the ownership change block meets the second verification condition, the ownership change block is transmitted to the second service node based on the request information; the second service node is the service node after the ownership change of the target resource transfer medium, and is used to return the verification result of the media information of the target resource transfer medium contained in the ownership change block to the ownership change processing node.

[0008] If the audit result indicates that the audit has passed, the service provider node to which the target resource transfer medium belongs will be transferred from the first service provider node to the second service provider node.

[0009] In one embodiment, transmitting the request information to the first service provider node includes: generating a first public key and a first private key corresponding to the ownership change processing node; hashing the request information to obtain a first digest; encrypting the request information and the first digest using the first private key to obtain ciphertext of the request information and a digital signature of the first digest; uploading the ciphertext, the digital signature, and the first public key to the blockchain system; and the first service provider node is used to obtain the first ciphertext, the first digital signature, and the first public key in the blockchain system, and to decrypt the first ciphertext and the first digital signature using the first public key to obtain the request information.

[0010] In one embodiment, generating the first public key and the first private key corresponding to the ownership change processing node includes: obtaining the encryption index and the decryption index corresponding to the ownership change processing node; and generating the first public key and the first private key corresponding to the ownership change processing node based on the encryption index and the decryption index.

[0011] In one embodiment, obtaining the encryption index and decryption index corresponding to the attribution change processing node includes: generating a first random initial value and a second random initial value; obtaining a third random initial value based on the first random initial value and the second random initial value; taking the minimum value of the first random initial value, the second random initial value, and the third random initial value as the encryption index; and determining the reciprocal of the encryption index as the decryption index.

[0012] In one embodiment, generating the first public key and the first private key corresponding to the account transfer processing node based on the encryption index and the decryption index includes: generating the first public key from the third random initial value and the encryption index; and generating the first private key from the third random initial value and the decryption index.

[0013] In one embodiment, receiving the ownership change request triggered by the target account for the associated target resource transfer medium includes: obtaining the second ciphertext, second digital signature, and second public key of the request information uploaded by the master node in the blockchain system; the master node generating its own second public key and second private key; hashing the request information to obtain a third digest information if the request information corresponding to the ownership change request meets the verification conditions; encrypting the request information and the third digest information using the second private key to obtain the second ciphertext of the request information and the second digital signature of the third digest information; uploading the second ciphertext, the second digital signature, and the second public key to the blockchain system; and decrypting the second ciphertext and the second digital signature using the second public key to obtain the request information.

[0014] In one embodiment, the step of decrypting the second ciphertext and the second digital signature using the second public key to obtain the request information includes: decrypting the second ciphertext and the second digital signature using the second public key to obtain second decryption information and third digest information corresponding to the request information; hashing the request information to obtain fourth digest information; and determining the second decryption information as the request information when the third digest information and the fourth digest information are consistent.

[0015] Secondly, this application provides a method for changing the ownership of a resource transfer medium based on a blockchain system, applied to the first service node in the blockchain system. The method includes:

[0016] Obtain the ownership change request triggered by the target account for the associated target resource transfer medium, and verify the ownership information corresponding to the request information of the ownership change request;

[0017] When the attribution information indicates that the current service provider node to which the target resource transfer medium belongs is the first service provider node, the number portability permission of the target resource transfer medium is verified, and the permission review result is obtained;

[0018] If the permission review result indicates that the review has passed, an ownership change block matching the request information is constructed in the blockchain system. The ownership change processing node is used to transmit the ownership change block to the second service node when the ownership change block meets the second verification condition. The second service node is the service node after the ownership change of the target resource transfer medium, and is used to return the review result of the media information of the target resource transfer medium contained in the ownership change block to the ownership change processing node. The ownership change processing node is also used to transfer the service node to which the target resource transfer medium belongs from the first service node to the second service node when the review result indicates that the review has passed.

[0019] In one embodiment, obtaining the ownership change request triggered by the target account for the associated target resource transfer medium includes: obtaining the ciphertext, digital signature, and first public key of the request information uploaded by the ownership change processing node in the blockchain system; the ownership change processing node is used to generate a first public key and a first private key corresponding to the ownership change processing node; hashing the request information to obtain a first digest; encrypting the request information and the first digest information using the first private key to obtain the ciphertext of the request information and the digital signature of the first digest; uploading the ciphertext, the digital signature, and the first public key to the blockchain system; decrypting the ciphertext and the digital signature using the first public key to obtain the decrypted information and the first digest information corresponding to the request information; hashing the request information to obtain a second digest; and determining the decrypted information as the request information when the first digest information and the second digest information are consistent.

[0020] In one embodiment, verifying the attribution information of the request information includes: obtaining the account identifier of the account to be transferred and the corresponding first service provider identifier based on the request information; and verifying the attribution information of the request information based on the account identifier and the first service provider identifier.

[0021] In one embodiment, constructing an ownership change block matching the request information in the blockchain system includes: hashing the request information to obtain record information corresponding to the request information; encapsulating the record information into an ownership change block matching the request information; and uploading the ownership change block to the blockchain system.

[0022] Thirdly, this application provides a method for changing the ownership of a resource transfer medium based on a blockchain system, applied to the master node in the blockchain system. The method includes:

[0023] In response to a request from the target account for a list of service providers, retrieve a pre-stored list of service providers;

[0024] Return the list of service providers to the target account;

[0025] Upon receiving an attribution change request triggered by the target account for a second service provider node included in the service provider list, the attribution change request is transmitted to the attribution change processing node; the attribution change processing node is used to transfer the service provider node to which the target resource transfer medium belongs from the first service provider node to the second service provider node based on the request information corresponding to the attribution change request.

[0026] In one embodiment, transmitting the ownership change request to the ownership change processing node includes: generating a second public key and a second private key corresponding to the master node; hashing the request information corresponding to the ownership change request to obtain a third digest information if the request information meets the verification conditions; encrypting the request information and the third digest information using the second private key to obtain a second ciphertext of the request information and a second digital signature of the third digest information; uploading the second ciphertext, the second digital signature, and the second public key to the blockchain system; and the ownership change processing node is used to obtain the second ciphertext, the second digital signature, and the second public key in the blockchain system, and to decrypt the second ciphertext and the second digital signature using the second public key to obtain the request information.

[0027] In one embodiment, the method further includes: receiving joining application information from a service provider to be joined, and, if the joining application information meets the verification conditions, constructing a service provider block matching the service provider to be joined in the blockchain system; adding the service provider to be joined to the service provider list; the service provider list is used by the target account to query whether the second service provider node exists in the service provider list.

[0028] Fourthly, this application provides a resource transfer medium ownership change device based on a blockchain system, applied to ownership change processing nodes in the blockchain system. The device includes:

[0029] The first processing module is used to receive a change of ownership request triggered by a target account for an associated target resource transfer medium, and transmit the request information to the first service provider node when the request information corresponding to the change of ownership request meets the first verification condition; the first service provider node is the service provider node to which the target resource transfer medium currently belongs, and is used to construct a change of ownership block matching the request information in the blockchain system when the request information is approved.

[0030] The second processing module is used to transmit the ownership change block to the second service node based on the request information when the ownership change block meets the second verification condition; the second service node is the service node after the ownership change of the target resource transfer medium, and is used to return the verification result of the media information of the target resource transfer medium contained in the ownership change block to the ownership change processing node.

[0031] The transfer module is used to transfer the service provider node to which the target resource transfer medium belongs from the first service provider node to the second service provider node when the audit result indicates that the audit has passed.

[0032] Fifthly, this application provides a resource transfer medium ownership change device based on a blockchain system, applied to the first service node in the blockchain system. The device includes:

[0033] The first verification module is used to obtain the ownership change request triggered by the target account for the associated target resource transfer medium, and to verify the ownership information corresponding to the request information of the ownership change request.

[0034] The second verification module is used to verify the number portability permission of the target resource transfer medium and obtain the permission verification result when the attribution information indicates that the current service provider node of the target resource transfer medium is the first service provider node.

[0035] A block construction module is used to construct an ownership change block matching the request information in the blockchain system when the permission review result indicates that the review has passed. An ownership change processing node is used to transmit the ownership change block to a second service provider node when the ownership change block meets a second verification condition. The second service provider node is the service provider node after the ownership change of the target resource transfer medium, and is used to return the review result of the media information of the target resource transfer medium contained in the ownership change block to the ownership change processing node. The ownership change processing node is also used to transfer the service provider node to which the target resource transfer medium belongs from the first service provider node to the second service provider node when the review result indicates that the review has passed.

[0036] Sixthly, this application provides a resource transfer medium ownership change device based on a blockchain system, applied to the master node of the blockchain system. The device includes:

[0037] The acquisition module is used to retrieve a pre-stored list of service providers in response to a request from a target account for a list of service providers.

[0038] The first sending module is used to return the list of service providers to the target account;

[0039] The second sending module is used to transmit the attribution change request to the attribution change processing node when it receives an attribution change request triggered by the target account for a second service provider node included in the service provider list; the attribution change processing node is used to transfer the service provider node to which the target resource transfer medium belongs from the first service provider node to the second service provider node based on the request information corresponding to the attribution change request.

[0040] Seventhly, this application provides a resource transfer medium ownership change system based on a blockchain system. The system includes:

[0041] The master control node is used to respond to a request from a target account for a list of service providers, obtain a pre-stored list of service providers, and return the list of service providers to the target account.

[0042] The master control node is also configured to transmit the ownership change request to the ownership change processing node when it receives an ownership change request triggered by the target account for the second service provider node included in the service provider list.

[0043] The ownership change processing node is used to receive the ownership change request triggered by the target account for the associated target resource transfer medium, and transmit the request information to the first service provider node when the request information corresponding to the ownership change request meets the first verification condition.

[0044] The first service provider node is used to obtain the ownership change request triggered by the target account for the associated target resource transfer medium, verify the ownership information corresponding to the request information of the ownership change request; and when the ownership information indicates that the service provider node currently owned by the target resource transfer medium is the first service provider node, verify the number portability permission of the target resource transfer medium and obtain the permission review result.

[0045] The attribution change processing node is further configured to transmit the attribution change block to the second service node based on the request information when the attribution change block meets the second verification condition.

[0046] The second service node is used to return the review result of the media information of the target resource transfer medium contained in the ownership change block to the ownership change processing node;

[0047] The attribution change processing node is also used to transfer the service provider node to which the target resource transfer medium belongs from the first service provider node to the second service provider node when the audit result indicates that the audit has passed.

[0048] Eighthly, this application also provides a computer device. The computer device includes a memory and a processor, the memory storing a computer program, and the processor executing the computer program to perform the following steps:

[0049] The system receives a change of ownership request triggered by a target account for an associated target resource transfer medium, and transmits the request information to the first service provider node if the request information corresponding to the change of ownership request meets the first verification condition. The first service provider node is the service provider node to which the target resource transfer medium currently belongs, and is used to construct a change of ownership block matching the request information in the blockchain system if the request information is approved.

[0050] When the ownership change block meets the second verification condition, the ownership change block is transmitted to the second service node based on the request information; the second service node is the service node after the ownership change of the target resource transfer medium, and is used to return the verification result of the media information of the target resource transfer medium contained in the ownership change block to the ownership change processing node.

[0051] If the audit result indicates that the audit has passed, the service provider node to which the target resource transfer medium belongs will be transferred from the first service provider node to the second service provider node.

[0052] Ninthly, this application also provides a computer-readable storage medium. The computer-readable storage medium stores a computer program thereon, which, when executed by a processor, performs the following steps:

[0053] The system receives a change of ownership request triggered by a target account for an associated target resource transfer medium, and transmits the request information to the first service provider node if the request information corresponding to the change of ownership request meets the first verification condition. The first service provider node is the service provider node to which the target resource transfer medium currently belongs, and is used to construct a change of ownership block matching the request information in the blockchain system if the request information is approved.

[0054] When the ownership change block meets the second verification condition, the ownership change block is transmitted to the second service node based on the request information; the second service node is the service node after the ownership change of the target resource transfer medium, and is used to return the verification result of the media information of the target resource transfer medium contained in the ownership change block to the ownership change processing node.

[0055] If the audit result indicates that the audit has passed, the service provider node to which the target resource transfer medium belongs will be transferred from the first service provider node to the second service provider node.

[0056] Tenthly, this application also provides a computer program product. The computer program product includes a computer program that, when executed by a processor, performs the following steps:

[0057] The system receives a change of ownership request triggered by a target account for an associated target resource transfer medium, and transmits the request information to the first service provider node if the request information corresponding to the change of ownership request meets the first verification condition. The first service provider node is the service provider node to which the target resource transfer medium currently belongs, and is used to construct a change of ownership block matching the request information in the blockchain system if the request information is approved.

[0058] When the ownership change block meets the second verification condition, the ownership change block is transmitted to the second service node based on the request information; the second service node is the service node after the ownership change of the target resource transfer medium, and is used to return the verification result of the media information of the target resource transfer medium contained in the ownership change block to the ownership change processing node.

[0059] If the audit result indicates that the audit has passed, the service provider node to which the target resource transfer medium belongs will be transferred from the first service provider node to the second service provider node.

[0060] In the aforementioned method, apparatus, system, computer equipment, storage medium, and computer program product for changing the ownership of a resource transfer medium based on a blockchain system, the ownership change processing node can receive an ownership change request triggered by a target account for an associated target resource transfer medium in the blockchain system. If the request information corresponding to the ownership change request meets a first verification condition, the node transmits the request information to a first service node. The first service node can review the request information and, if the review is successful, construct an ownership change block matching the request information in the blockchain system. Next, the ownership change processing node can verify the ownership change block and, if the ownership change block meets a second verification condition, transmit the ownership change block to a second service node. The second service node can review the medium information of the target resource transfer medium contained in the ownership change block and return the review result to the ownership change processing node. If the review result indicates successful review, the ownership change processing node transfers the service node to which the target resource transfer medium belongs from the first service node to the second service node. The method provided in this application uses blockchain technology to break down barriers between different service providers, which can meet the user's need to keep the medium identifier (e.g., credit card number) unchanged when the ownership of the resource transfer medium (e.g., credit card) changes with different service providers. Furthermore, the immutability of the blockchain ensures the security of the medium information during the number portability process. Attached Figure Description

[0061] Figure 1 This is a schematic diagram of the structure of a blockchain system provided in an embodiment of this application;

[0062] Figure 2 This is a schematic diagram of the structure of the master control node provided in an embodiment of this application;

[0063] Figure 3 This is a schematic diagram illustrating the process of a service provider joining a blockchain system, as provided in an embodiment of this application.

[0064] Figure 4 This is a schematic diagram of the structure of the service node provided in the embodiments of this application;

[0065] Figure 5 A flowchart illustrating a method for changing the ownership of a resource transfer medium based on a blockchain system, provided as one embodiment of this application;

[0066] Figure 6 This is a schematic diagram illustrating the process of encrypting request information provided in an embodiment of this application;

[0067] Figure 7 A flowchart illustrating a method for changing the ownership of a resource transfer medium based on a blockchain system, as provided in another embodiment of this application;

[0068] Figure 8 A flowchart illustrating a method for changing the ownership of a resource transfer medium based on a blockchain system, as provided in another embodiment of this application;

[0069] Figure 9 A flowchart illustrating a method for changing the ownership of a resource transfer medium based on a blockchain system, as provided in another embodiment of this application;

[0070] Figure 10 A schematic diagram of a resource transfer medium ownership change device based on a blockchain system, provided as an embodiment of this application;

[0071] Figure 11 A schematic diagram of the structure of a resource transfer medium ownership change device based on a blockchain system, provided as another embodiment of this application;

[0072] Figure 12 A schematic diagram of a resource transfer medium ownership change device based on a blockchain system, provided as another embodiment of this application;

[0073] Figure 13 A schematic diagram of a resource transfer medium ownership change system based on a blockchain system, provided as one embodiment of this application;

[0074] Figure 14 This is an internal structural diagram of a computer device provided in an embodiment of this application. Detailed Implementation

[0075] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.

[0076] The resource transfer medium ownership change method based on a blockchain system provided in this application embodiment can be applied to, for example... Figure 1 In the blockchain system shown, Figure 1 This is a schematic diagram of the blockchain system. The blockchain system includes a master node, an ownership change processing node, and multiple service provider nodes; these multiple service provider nodes may include a first service provider node and a second service provider node; the first service provider node is the service provider node to which the target resource transfer medium currently belongs, and the second service provider node is the service provider node after the ownership of the target resource transfer medium has changed.

[0077] like Figure 2As shown, the master node can include a genesis block creation module, a bank qualification verification module, a public disclosure module, and a service provider list module. The original module is the genesis block of the blockchain system, which may include the master node's identity information (e.g., ID number), the personal information records of the blockchain system's creator, and the public key; all records of the master node can be encrypted using the master node's private key. Figure 3 As shown, the bank qualification verification module is used when a service provider (e.g., a credit card issuer) applies to join the blockchain system. After receiving the application, the master node verifies the service provider's qualifications and registration information. If the application meets the verification conditions, a service provider block matching the service provider is constructed in the blockchain system. The public announcement module, after the service provider's application is approved, saves the service provider's identifier (e.g., ID), registration information, public key, and other relevant attribute information. This information is then encrypted using the master node's private key and broadcast to the blockchain system, publicly announcing the service provider's attributes and signifying that it has become a service provider node in the blockchain system. The service provider list module stores the relevant attribute information of all service provider nodes that have joined the blockchain system.

[0078] like Figure 4As shown, a service node may include a genesis block verification module, an application sending module, an address acquisition module, a business processing module, a confirmation module, and a number portability change information recording module. Taking a node to be added as an example, the genesis block verification module of the node to be added sends a query message for the blockchain genesis block to two or more adjacent service nodes in the blockchain system. This query message is signed using the private key of the node to be added. After the adjacent service nodes return the query information for the blockchain genesis block, the node to be added can compare the percentage of authenticity of the blockchain genesis blocks returned by the two or more adjacent service nodes to confirm the authenticity of the master node's genesis block. The application submission module, after confirming the authenticity of the master node's genesis block, involves the node seeking to join the blockchain sending a membership application to become a service provider in the blockchain system. This application is broadcast within the blockchain system and includes the node's service provider identifier (e.g., ID), public key, and identity information. This identity information includes at least the node's name, legal representative, registration number, establishment date, business qualifications, registered capital, registered address, and contact information. The address retrieval module retrieves the master node's information and extracts the address of its genesis block. The business processing module handles the internal business of the node seeking to join. The confirmation module broadcasts the corresponding processing message to the blockchain system after business processing is complete. The number portability change information recording module records all number portability change transactions on the blockchain system.

[0079] The ownership change processing node can receive ownership change requests triggered by a target account for an associated target resource transfer medium within the blockchain system. It performs a first verification of the request information and, if the request information meets the first verification condition, transmits it to a first service provider node. The first service provider node is the current service provider node to which the target resource transfer medium belongs. This first service provider node can review the request information and, if the review is successful, constructs an ownership change block matching the request information in the blockchain system. Next, the ownership change processing node can verify the ownership change block and, if the ownership change block meets a second verification condition, transmit it to a second service provider node. The second service provider node is the service provider node after the ownership change of the target resource transfer medium. This second service provider node can review the medium information of the target resource transfer medium contained in the ownership change block and return the review result to the ownership change processing node. If the review result indicates successful review, the ownership change processing node transfers the service provider node to which the target resource transfer medium belongs from the first service provider node to the second service provider node.

[0080] In one embodiment, such as Figure 5 As shown, a method for changing the ownership of a resource transfer medium based on a blockchain system is provided. This embodiment illustrates the method by applying it to a server. It is understood that this method can also be applied to a terminal, or to a system including both a terminal and a server, and is implemented through interaction between the terminal and the server. In this embodiment, the method is applied to an ownership change processing node in the blockchain system and may include the following steps:

[0081] Step S501: Receive the ownership change request triggered by the target account for the associated target resource transfer medium, and if the request information corresponding to the ownership change request meets the first verification condition, transmit the request information to the first service node.

[0082] In this blockchain system, the ownership change processing node can obtain ownership change requests triggered by a target account for an associated target resource transfer medium. The target account is an account with a number portability ownership change requirement. This target account can be associated with one or more resource transfer mediums, and the target resource transfer medium is one of those mediums that has a number portability ownership change requirement. In one possible implementation, the target account can be a user initiating a credit card number portability ownership change; the target resource transfer medium can be a medium used for resource transfer transactions that requires number portability ownership change, such as a credit card. The ownership change request can be used by the target resource transfer medium to request a number portability ownership change. This number portability ownership change means that when the service provider node to which the target resource transfer medium belongs is transferred from a first service provider node to a second service provider node, the medium identifier (e.g., credit card number) of the target resource transfer medium remains unchanged. The request information can include relevant attribute information of the target resource transfer medium, the first service provider node, and the second service provider node, such as the medium identifier of the target resource transfer medium (e.g., credit card number), the first service identifier of the first service provider node (e.g., service provider name and ID), and the second service identifier of the second service provider node (e.g., service provider name and ID). In some possible implementations, the ownership change processing node can review the request information based on a first verification condition. This first verification condition can be a condition set based on the legality of the ownership change of the target resource transfer medium and the accuracy of the request information. For example, whether there are multiple ownership change records for the target resource transfer medium within the current time period in the blockchain system. If multiple ownership change records exist, the accuracy of the request information is verified. The first service node can be the service node to which the target resource transfer medium currently belongs. When the first service node receives the request information, it can review the request information and, if the review is successful, construct an ownership change block matching the request information in the blockchain system.

[0083] Step S502: When the ownership change block meets the second verification condition, the ownership change block is transmitted to the second service node based on the request information.

[0084] After a change of ownership block exists in the blockchain system, the change of ownership processing node can review the block based on a second verification condition. This second verification condition can be based on the recorded form of the medium information in the change of ownership block, as well as the risk control information and credit information of the target resource transfer medium corresponding to the change of ownership block. For example, it can be used to determine whether the target resource transfer medium exists in the blacklist of each service provider. When the change of ownership block meets the second verification condition, the change of ownership processing node can encrypt the block based on the generated private key and upload the encrypted block and the generated public key to the blockchain system. After the second service provider node obtains the change of ownership block in the blockchain system, it can decrypt the block based on the public key of the change of ownership processing node. After decryption, it obtains the medium information in the block and reviews the current status of the target resource transfer medium based on the medium information. It determines whether the current status is a state where number portability and change of ownership are not allowed. This state of not allowing number portability and change of ownership may include, but is not limited to, being frozen, having an invalid card, or having an incomplete installment payment record. If no state disallows number portability for ownership change in the current state, the review result is "approved." If any of the states disallowing number portability for ownership change exists in the current state, the review result is "disapproved." Subsequently, the second service node can encrypt the review result of the target resource transfer medium information contained in the ownership change block using its own generated private key, and upload the encrypted review result and the public key generated by the second service node to the blockchain system. This second service node is the service node after the ownership change of the target resource transfer medium. If the ownership change block does not meet the second verification condition, the ownership change processing node can discard the ownership change block.

[0085] Step S503: If the audit result indicates that the audit has passed, the service node to which the target resource transfer medium belongs is transferred from the first service node to the second service node.

[0086] The ownership change processing node obtains the review result uploaded by the second service provider node in the blockchain system. If the review result indicates that the review is passed, the service provider node to which the target resource transfer medium belongs is transferred from the first service provider node to the second service provider node.

[0087] In this embodiment, the ownership change processing node can receive an ownership change request triggered by a target account for an associated target resource transfer medium in the blockchain system. If the request information corresponding to the ownership change request meets a first verification condition, the node transmits the request information to a first service provider node. The first service provider node can review the request information and, if the review is successful, construct an ownership change block matching the request information in the blockchain system. Next, the ownership change processing node can verify the ownership change block and, if the ownership change block meets a second verification condition, transmit the ownership change block to a second service provider node. The second service provider node can review the medium information of the target resource transfer medium contained in the ownership change block and return the review result to the ownership change processing node. If the review result indicates successful review, the ownership change processing node transfers the service provider node to which the target resource transfer medium belongs from the first service provider node to the second service provider node. The method provided in this application uses blockchain technology to break down barriers between different service providers, which can meet the user's need to keep the medium identifier (e.g., credit card number) unchanged when the ownership of the resource transfer medium (e.g., credit card) changes with different service providers. Furthermore, the immutability of the blockchain ensures the security of the medium information during the number portability process.

[0088] In some embodiments, such as Figure 6 As shown, the step S501 of transmitting the request information to the first service node may include:

[0089] Generate the first public key and first private key corresponding to the ownership change processing node; hash the request information to obtain the first digest information; encrypt the request information and the first digest information using the first private key to obtain the ciphertext of the request information and the digital signature of the first digest information; upload the ciphertext, digital signature and first public key to the blockchain system; the first service node is used to obtain the ciphertext, digital signature and first public key in the blockchain system.

[0090] In some possible implementations, asymmetric encryption can be used to ensure the security of the target resource transfer medium during ownership change processes. Each node in the blockchain system can generate a key pair using an encryption algorithm. This key pair can include a public key and a private key. The public key is a shared key, i.e., a key publicly disclosed, while the private key is a private key, i.e., a key kept secret by the node itself. Taking the ownership change processing node as an example, the ownership change processing node can generate its own first public key and first private key using an encryption algorithm. It can then use the first private key to encrypt the information to be uploaded, and upload the encrypted information along with the first public key to the blockchain system. When other nodes in the blockchain system, excluding the ownership change processing node, obtain the information to be uploaded, they can use the first public key of the ownership change processing node to decrypt the encrypted information, thereby obtaining the information. Furthermore, the first public key and first private key are only used for the encryption and decryption of the currently uploaded information, changing only once, further enhancing the security of account information interaction.

[0091] The request information is hashed, which means converting the request information into an irreversible hash string of the same length. This hash string can be called the first digest information. The first digest information is used to determine whether the request information decrypted by other nodes is consistent with the original request information.

[0092] The method in this embodiment can encrypt the information to be uploaded to the blockchain system based on asymmetric encryption and hash processing, ensuring the security of account information and media information interaction during ownership changes.

[0093] In some embodiments, the step of generating the first public key and the first private key corresponding to the ownership change processing node may include:

[0094] Obtain the encryption index and decryption index corresponding to the ownership change processing node; generate the first public key and first private key corresponding to the ownership change processing node based on the encryption index and decryption index.

[0095] In some embodiments, the steps of obtaining the encryption index and decryption index corresponding to the ownership change processing node may include: generating a first random initial value and a second random initial value; obtaining a third random initial value based on the first random initial value and the second random initial value; taking the minimum value of the first random initial value, the second random initial value, and the third random initial value as the encryption index; and determining the reciprocal of the encryption index as the decryption index.

[0096] Taking the ownership change processing node as an example, the ownership change processing node can generate a first random initial value and a second random initial value based on the encryption algorithm; and determine the product of the first random initial value and the second random initial value as the third random initial value; thus, the minimum value of the first random initial value, the second random initial value and the third random initial value can be used as the encryption index; and the reciprocal of the encryption index can be determined as the decryption index.

[0097] In some embodiments, the step of generating the first public key and the first private key corresponding to the ownership change processing node based on the encryption index and the decryption index may include:

[0098] The first public key is generated from the third random initial value and the encryption exponent; the first private key is generated from the third random initial value and the decryption exponent.

[0099] In some embodiments, receiving the ownership change request triggered by the target account for the associated target resource transfer medium in step S501 may include:

[0100] In a blockchain system, the second ciphertext, second digital signature, and second public key of the request information uploaded by the master node are obtained. The master node generates its own second public key and second private key. If the request information corresponding to the ownership change request meets the verification conditions, the request information is hashed to obtain a third digest. The second private key is used to encrypt the request information and the third digest, respectively, to obtain the second ciphertext of the request information and the second digital signature of the third digest. The second ciphertext, second digital signature, and second public key are uploaded to the blockchain system. The second public key is used to decrypt the second ciphertext and the second digital signature to obtain the request information. In some embodiments, the step of decrypting the second ciphertext and the second digital signature using the second public key to obtain the request information may include:

[0101] The second public key is used to decrypt the second ciphertext and the second digital signature to obtain the second decrypted information and the third digest information corresponding to the request information; the request information is hashed to obtain the fourth digest information; when the third digest information and the fourth digest information are consistent, the second decrypted information is identified as the request information.

[0102] In another embodiment, such as Figure 7 As shown, a method for changing the ownership of a resource transfer medium based on a blockchain system is provided. In this embodiment, the method is applied to the first service node in the blockchain system and may include the following steps:

[0103] Step S701: Obtain the ownership change request triggered by the target account for the associated target resource transfer medium, and verify the ownership information corresponding to the request information of the ownership change request.

[0104] In this process, when the request information meets the second verification condition, the ownership change processing node encrypts the request information using the first private key and uploads the encrypted request information and the first public key to the blockchain system. The first service provider node can obtain the encrypted request information and the first public key from the blockchain system and decrypt the encrypted request information using the first public key to obtain the request information of the target resource transfer medium. This ownership information can be used to indicate the service provider to which the target resource transfer medium currently belongs. Based on the medium identifier of the target resource transfer medium in the request information and the first service provider node's first service provider identifier, the current service provider to which the target resource transfer medium belongs can be determined. The first service provider node can be the service provider node to which the target resource transfer medium currently belongs. In some possible implementations, the first service provider node can also verify the current status information of the target resource transfer medium. This status information may include, but is not limited to, whether the target resource transfer medium has any outstanding debts, or whether the account status or medium status is abnormal. If the current status information of the target resource transfer medium is abnormal, the transaction cannot be triggered.

[0105] Step S702: When the attribution information indicates that the current service node to which the target resource transfer medium belongs is the first service node, the number portability permission of the target resource transfer medium is verified, and the permission verification result is obtained.

[0106] The number portability permission indicates whether the target resource transfer medium can maintain its identity when transferred from a first service provider node to a second service provider node, i.e., a change in number portability ownership. The first service provider node can determine whether the target resource transfer medium has number portability permission based on preset number portability ownership change conditions. If the target resource transfer medium meets the preset number portability ownership change conditions, the permission review result is approved; if the target resource transfer medium does not meet the preset number portability ownership change conditions, the permission review result is rejected. In some possible implementations, not meeting the number portability ownership change conditions may include, but is not limited to, account freezing, card cancellation, or the existence of incomplete installment payment records.

[0107] Step S703: If the permission review result indicates that the review has passed, construct an ownership change block in the blockchain system that matches the request information.

[0108] In one embodiment, step S703, which involves constructing an ownership change block in the blockchain system that matches the request information, may include:

[0109] The request information is hashed to obtain the record information corresponding to the request information; the record information is encapsulated into an ownership change block that matches the request information, and the ownership change block is uploaded to the blockchain system.

[0110] Subsequently, once a change of ownership block exists in the blockchain system, the change of ownership processing node can review the block based on a second verification condition. This second verification condition can be based on the recorded account information within the block, as well as risk control and credit information of the target resource transfer medium corresponding to the block. For example, it can be used to determine whether the target resource transfer medium exists on the blacklist of each service provider. When the change of ownership block meets the second verification condition, the change of ownership processing node can encrypt the block using the generated private key and upload the encrypted block and the generated public key to the blockchain system. After the second service provider node obtains the change of ownership block in the blockchain system, it can decrypt the block using the public key of the change of ownership processing node. After decryption, it obtains the medium information within the block and reviews the current status of the target resource transfer medium based on this information. It determines whether the current status is one where number portability and change of ownership are not permitted. This state of disallowed number portability and change of ownership may include, but is not limited to, being frozen, having an invalid card, or having outstanding installment payment records. If there is no state in the current state that does not allow number portability and ownership change, the review result is "approved"; if there is any state in the current state that does not allow number portability and ownership change, the review result is "not approved". Afterwards, the second service node can encrypt the review result of the target resource transfer medium information contained in the ownership change block using its own generated private key, and upload the encrypted review result and the public key generated by the second service node to the blockchain system. The second service node is the service node to which the target resource transfer medium is to be transferred.

[0111] In this embodiment, the ownership change processing node can receive request information from the target resource transfer medium in the blockchain system, and transmit the request information to the first service node if the request information meets the first verification condition. The first service node can review the request information, and if the review is successful, construct an ownership change block matching the request information in the blockchain system. Next, the ownership change processing node can verify the ownership change block, and if the ownership change block meets the second verification condition, transmit the ownership change block to the second service node. The second service node can review the medium information of the target resource transfer medium contained in the ownership change block, and return the review result to the ownership change processing node. If the review result indicates that the review is successful, the ownership change processing node transfers the service node where the target resource transfer medium is located from the first service node to the second service node. The method provided in this application uses blockchain technology to break down barriers between different service providers, which can meet the user's need to keep the medium identifier (e.g., credit card number) unchanged when the ownership of the resource transfer medium (e.g., credit card) changes with different service providers. Furthermore, the immutability of the blockchain ensures the security of the medium information during the number portability process.

[0112] In one embodiment, such as Figure 6 As shown, step S701, obtaining the ownership change request triggered by the target account for the associated target resource transfer medium, may include:

[0113] In the blockchain system, obtain the ciphertext, digital signature, and first public key of the request information uploaded by the ownership change processing node; use the first public key to decrypt the ciphertext and digital signature respectively to obtain the decrypted information and first digest information corresponding to the request information; perform hash processing on the request information to obtain the second digest information; when the first digest information and the second digest information are consistent, the decrypted information is determined to be the request information.

[0114] Prior to this step, the ownership change processing node generates its own first public key and first private key; it then hashes the request information to obtain a first digest; subsequently, it uses the first private key to encrypt both the request information and the first digest, resulting in the ciphertext of the request information and the digital signature of the first digest; finally, it uploads the ciphertext, digital signature, and first public key to the blockchain system. Thus, the first service node can obtain the ciphertext, digital signature, and first public key of the request information uploaded by the ownership change processing node from the blockchain system.

[0115] The method of this application can ensure the security of account information of the target resource transfer medium based on asymmetric encryption and hash processing. Furthermore, the decrypted information can only be identified as the request information when the first digest information and the second digest information are consistent, which further ensures the security of the request information.

[0116] In yet another embodiment, such as Figure 8 As shown, a method for changing the ownership of a resource transfer medium based on a blockchain system is provided. In this embodiment, the method is applied to the master node in the blockchain system and may include the following steps:

[0117] Step S801: In response to the target account's request for a list of service providers, obtain the pre-stored list of service providers.

[0118] Step S802: Return the list of service providers to the target account.

[0119] Step S803: Upon receiving an ownership change request triggered by the target account for a second service provider node included in the service provider list, the ownership change request is transmitted to the ownership change processing node.

[0120] The ownership change processing node is used to transfer the service provider node to which the target resource transfer medium belongs from the first service provider node to the second service provider node based on the request information corresponding to the ownership change request.

[0121] In one embodiment, transmitting the ownership change request to the ownership change processing node in step S803 may include:

[0122] Generate a second public key and a second private key corresponding to the master node; if the request information corresponding to the ownership change request meets the verification conditions, hash the request information to obtain a third digest; use the second private key to encrypt the request information and the third digest information respectively to obtain the second ciphertext of the request information and the second digital signature of the third digest information; upload the second ciphertext, the second digital signature, and the second public key to the blockchain system; the ownership change processing node is used to obtain the second ciphertext, the second digital signature, and the second public key from the blockchain system, and use the second public key to decrypt the second ciphertext and the second digital signature to obtain the request information.

[0123] In one embodiment, the steps for a service provider to join a blockchain system may include:

[0124] The system receives application information from potential service providers and, if the application information meets the verification conditions, constructs a service provider block in the blockchain system that matches the potential service provider; it then adds the potential service provider to the service provider list; the service provider list is used by the target account to query whether the second service provider node exists in the service provider list.

[0125] In yet another embodiment, such as Figure 9 As shown, a method for changing the ownership of a resource transfer medium based on a blockchain system is provided, which may include:

[0126] In step S901, in response to the service provider list request triggered by the target account for the associated target resource transfer medium, the master node returns the service provider list to the target account.

[0127] The list of service providers can include multiple service providers corresponding to multiple service provider nodes in the blockchain system.

[0128] Step S902: Based on the service provider list, the target account determines whether the first service provider corresponding to the first service provider node exists in the service provider list.

[0129] Step S903: When the first service provider corresponding to the first service provider node exists in the service provider list, the request information corresponding to the attribution change request is sent to the master node.

[0130] Step S904: The master node encrypts the request information and uploads the encrypted request information to the blockchain system.

[0131] The process involves the master node generating its public and private keys based on an encryption algorithm; hashing the request information to obtain the corresponding first digest information; encrypting the request information and the corresponding first digest information using the master node's private key to obtain the ciphertext of the request information and the digital signature of the corresponding first digest information; and uploading the ciphertext, digital signature, and master node's public key to the blockchain system.

[0132] In step S905, the ownership change processing node obtains the request information in the blockchain system and reviews the request information based on the first verification condition.

[0133] Specifically, the ownership change processing node obtains the ciphertext, digital signature, and public key of the request information uploaded by the master node in the blockchain system; it decrypts the ciphertext and digital signature using the master node's public key to obtain the decrypted information and the corresponding first digest information corresponding to the request information; it hashes the request information to obtain the corresponding second digest information; and when the first digest information and the second encrypted information are consistent, the decrypted information is identified as the request information.

[0134] Step S906: If the request information meets the first verification condition, encrypt the request information and the first verification result, and upload them to the blockchain system.

[0135] Step S907: The first service node obtains the request information in the blockchain system and verifies the ownership information of the request information.

[0136] Specifically, the media identifier of the target resource transfer medium and the corresponding first service provider identifier are obtained based on the request information; the attribution information of the request information is verified based on the media identifier and the first service provider identifier.

[0137] Step S908: When the attribution information indicates that the service node to which the target resource transfer medium belongs is the first service node, the first service node verifies the number portability permission of the target resource transfer medium and obtains the permission review result.

[0138] In step S909, if the permission review result indicates that the review has passed, the first service node performs hash processing on the request information to obtain the record information corresponding to the request information.

[0139] Step S910: Encapsulate the recorded information into an ownership change block that matches the request information, and upload the ownership change block to the blockchain system.

[0140] In step S911, the ownership change processing node can review the ownership change block based on the second verification condition.

[0141] Step S912: When the ownership change block meets the second verification condition, the ownership change block is transmitted to the second service node.

[0142] In step S913, the second service node obtains the ownership change block in the blockchain system and reviews the current status of the target resource transfer medium based on the medium information to obtain the review result.

[0143] In some possible implementations, in addition to the first and second service provider nodes, other service provider nodes in the blockchain system can also obtain request information and their own record information uploaded by each node. Therefore, based on the request information, they can obtain the account identifier of the target resource transfer medium and the service provider identifier of the service provider to be transferred out, and determine whether the service provider to be transferred out is the current service provider based on these identifiers. If the service provider to be transferred out is the current service provider, then the current service provider can be identified as the first service provider. If the service provider to be transferred out is not the current service provider, record information for the current service provider is generated. This record information may include, but is not limited to, the account identifier, the service provider identifier of the service provider to be transferred out, and the service provider identifier of the service provider to be transferred in.

[0144] In step S914, if the audit result indicates that the audit has passed, the ownership change processing node will transfer the service provider node to which the target resource transfer medium belongs from the first service provider node to the second service provider node.

[0145] In this embodiment, the ownership change processing node can receive request information from the target resource transfer medium in the blockchain system. If the request information meets a first verification condition, it transmits the request information to a first service provider node. The first service provider node can review the request information and, if the review is successful, construct an ownership change block matching the request information in the blockchain system. Next, the ownership change processing node verifies the ownership change block and, if the block meets a second verification condition, transmits it to a second service provider node. The second service provider node can review the account information of the target resource transfer medium contained in the ownership change block and return the review result to the ownership change processing node. If the review result indicates successful review, the ownership change processing node transfers the service provider node where the target resource transfer medium is located from the first service provider node to the second service provider node. The method provided in this application embodiment utilizes blockchain technology to overcome barriers between different service providers, meeting the user's need to maintain the medium identifier (e.g., credit card number) when changing the ownership of a resource transfer medium (e.g., credit card) with different service providers. Furthermore, the immutability of the blocks ensures the security of the medium information during the number portability ownership change process. It should be understood that although the steps in the flowcharts of the embodiments described above are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the embodiments described above may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the steps or stages of other steps.

[0146] Based on the same inventive concept, this application also provides a blockchain-based resource transfer medium ownership change device for implementing the above-mentioned blockchain-based resource transfer medium ownership change method. The solution provided by this device is similar to the solution described in the above method. Therefore, the specific limitations of one or more blockchain-based resource transfer medium ownership change device embodiments provided below can be found in the limitations of the blockchain-based resource transfer medium ownership change method described above, and will not be repeated here.

[0147] In one embodiment, such as Figure 10As shown, a resource transfer medium ownership change device based on a blockchain system is provided, comprising: a first processing module 1001, a second processing module 1002, and a transfer module 1003, wherein:

[0148] The first processing module 1001 is used to receive a change of ownership request triggered by a target account for an associated target resource transfer medium, and transmit the request information to the first service provider node when the request information corresponding to the change of ownership request meets the first verification condition; the first service provider node is the service provider node to which the target resource transfer medium currently belongs, and is used to construct a change of ownership block matching the request information in the blockchain system when the request information is approved.

[0149] The second processing module 1002 is used to transmit the attribution change block to the second service node when the attribution change block meets the second verification condition; the second service node is the service node after the attribution change of the target resource transfer medium, and is used to return the review result of the media information of the target resource transfer medium contained in the attribution change block to the attribution change processing node; the transfer module 1003 is used to transfer the service node to which the target resource transfer medium belongs from the first service node to the second service node when the review result indicates that the review is passed.

[0150] The first processing module 1001 is further configured to: generate a first public key and a first private key corresponding to the ownership change processing node; perform hash processing on the request information to obtain first digest information; use the first private key to encrypt the request information and the first digest information respectively to obtain ciphertext of the request information and digital signature of the first digest information; upload the ciphertext, the digital signature and the first public key to the blockchain system; and the first service node is configured to obtain the ciphertext, the digital signature and the first public key in the blockchain system.

[0151] The first processing module 1001 is further configured to: obtain the encryption index and decryption index corresponding to the ownership change processing node; and generate a first public key and a first private key corresponding to the ownership change processing node based on the encryption index and the decryption index.

[0152] The first processing module 1001 is further configured to: generate a first random initial value and a second random initial value; obtain a third random initial value based on the first random initial value and the second random initial value; take the minimum value of the first random initial value, the second random initial value and the third random initial value as the encryption index; and determine the reciprocal of the encryption index as the decryption index.

[0153] Furthermore, the first processing module 1001 is also used to: generate the first public key from the third random initial value and the encryption exponent; and generate the first private key from the third random initial value and the decryption exponent.

[0154] In one embodiment, such as Figure 11 As shown, a resource transfer medium ownership change device based on a blockchain system is provided, comprising: a first verification module 1101, a second verification module 1102, and a block construction module 1103, wherein:

[0155] The first verification module 1101 is used to obtain the ownership change request triggered by the target account for the associated target resource transfer medium, and to verify the ownership information corresponding to the request information of the ownership change request.

[0156] The second verification module 1102 is used to verify the number portability permission of the target resource transfer medium and obtain the permission verification result when the attribution information indicates that the current service provider node of the target resource transfer medium is the first service provider node.

[0157] A block construction module 1103 is used to construct an ownership change block matching the request information in the blockchain system when the permission review result indicates that the review has passed; the ownership change processing node is used to transmit the ownership change block to the second service provider node when the ownership change block meets the second verification condition; the second service provider node is used to return the review result of the media information of the target resource transfer medium contained in the ownership change block to the ownership change processing node; the ownership change processing node is also used to transfer the service provider node to which the target resource transfer medium belongs from the first service provider node to the second service provider node when the review result indicates that the review has passed.

[0158] The first verification module 1101 is further configured to: obtain the ciphertext, digital signature, and first public key of the request information uploaded by the ownership change processing node in the blockchain system; the ownership change processing node is configured to generate a first public key and a first private key corresponding to the ownership change processing node; perform hash processing on the request information to obtain first digest information; encrypt the request information and the first digest information using the first private key to obtain the ciphertext of the request information and the digital signature of the first digest information; upload the ciphertext, the digital signature, and the first public key to the blockchain system; decrypt the ciphertext and the digital signature using the first public key to obtain decrypted information and the first digest information corresponding to the request information; perform hash processing on the request information to obtain second encrypted information; when the first digest information and the second encrypted information are consistent, determine the decrypted information as the request information.

[0159] Furthermore, the first verification module 1101 is also used to: obtain the account identifier of the target resource transfer medium and the corresponding first service provider identifier according to the request information; and verify the attribution information of the request information according to the account identifier and the first service provider identifier.

[0160] The block construction module 1103 is further configured to: perform hash processing on the request information to obtain record information corresponding to the request information; encapsulate the record information into an ownership change block that matches the request information; and upload the ownership change block to the blockchain system.

[0161] In one embodiment, such as Figure 12 As shown, a resource transfer medium ownership change device based on a blockchain system is provided, comprising: an acquisition module 1201, a first sending module 1202, and a second sending module 1203, wherein:

[0162] The acquisition module 1201 is used to retrieve a pre-stored list of service providers in response to a request from a target account for a list of service providers.

[0163] The first sending module 1202 is used to return the service provider list to the target account;

[0164] The second sending module 1203 is used to transmit the attribution change request to the attribution change processing node when it receives an attribution change request triggered by the target account for a second service provider node included in the service provider list; the attribution change processing node is used to transfer the service provider node to which the target resource transfer medium belongs from the first service provider node to the second service provider node based on the request information corresponding to the attribution change request.

[0165] In one embodiment, such as Figure 13 As shown, a resource transfer medium ownership change system based on a blockchain system is provided. This system includes: a master node 1301, an ownership change processing node 1302, a first service node 1303, and a second service node 1304.

[0166] The master control node 1301 is used to respond to a request from a target account for a list of service providers, obtain a pre-stored list of service providers, and return the list of service providers to the target account.

[0167] The master control node 1301 is also configured to transmit the ownership change request to the ownership change processing node when it receives an ownership change request triggered by the target account for the second service provider node included in the service provider list.

[0168] The ownership change processing node 1302 is used to receive the ownership change request triggered by the target account for the associated target resource transfer medium, and transmit the request information to the first service provider node when the request information corresponding to the ownership change request meets the first verification condition.

[0169] The first service provider node 1303 is used to obtain the ownership change request triggered by the target account for the associated target resource transfer medium, verify the ownership information corresponding to the request information of the ownership change request; and when the ownership information indicates that the service provider node currently owned by the target resource transfer medium is the first service provider node, verify the number portability permission of the target resource transfer medium and obtain the permission review result.

[0170] The attribution change processing node 1302 is further configured to transmit the attribution change block to the second service node based on the request information when the attribution change block meets the second verification condition.

[0171] The second service node 1304 is used to return the audit result of the media information of the target resource transfer medium contained in the ownership change block to the ownership change processing node;

[0172] The attribution change processing node 1302 is also used to transfer the service provider node to which the target resource transfer medium belongs from the first service provider node to the second service provider node when the audit result indicates that the audit has passed.

[0173] Each module in the aforementioned account screening device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in or independent of the processor in a computer device, or stored in the memory of a computer device as software, so that the processor can invoke and execute the corresponding operations of each module.

[0174] In one embodiment, a computer device is provided, which may be a server, and its internal structure diagram may be as follows: Figure 14 As shown, the computer device includes a processor, memory, and a network interface connected via a system bus. The processor provides computing and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system, computer programs, and a database. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The database stores data related to changes in ownership of resource transfer media. The network interface communicates with external terminals via a network connection. When executed by the processor, the computer program implements an account transfer method based on a blockchain system.

[0175] Those skilled in the art will understand that Figure 14 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.

[0176] In one embodiment, a computer device is also provided, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the steps in the above method embodiments.

[0177] In one embodiment, a computer-readable storage medium is provided having a computer program stored thereon that, when executed by a processor, implements the steps in the above method embodiments.

[0178] In one embodiment, a computer program product is provided, including a computer program that, when executed by a processor, implements the steps in the above method embodiments.

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

[0180] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. 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), magnetic 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 take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, etc., and are not limited to these.

[0181] The technical features of the above embodiments can be combined in any way. For the sake of brevity, 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, they should be considered to be within the scope of this specification.

[0182] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of this patent application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.

Claims

1. A method for changing the attribution of a resource transfer medium based on a blockchain system, characterized by, The method, applied to ownership change processing nodes in a blockchain system, includes: The system receives a change of ownership request triggered by a target account for an associated target resource transfer medium, and transmits the request information to the first service provider node if the request information corresponding to the change of ownership request meets the first verification condition. The first service provider node is the service provider node to which the target resource transfer medium currently belongs, and is used to construct an ownership change block matching the request information in the blockchain system if the request information is approved. The first verification condition includes verification of the legality of the ownership change based on the target resource transfer medium and verification of the accuracy of the request information. When the ownership change block meets the second verification condition, the ownership change block is transmitted to the second service node based on the request information; the second service node is the service node after the ownership change of the target resource transfer medium, and is used to return the verification result of the media information of the target resource transfer medium contained in the ownership change block to the ownership change processing node; wherein, the second verification condition includes verification based on the recording format, risk control information and credit information of the media information in the ownership change block; If the audit result indicates that the audit has passed, the service provider node to which the target resource transfer medium belongs will be transferred from the first service provider node to the second service provider node; The receipt of the ownership change request triggered by the target account for the associated target resource transfer medium includes: In the blockchain system, the second ciphertext, second digital signature, and second public key of the request information uploaded by the master node are obtained; the master node is used to generate the second public key and second private key corresponding to the master node; if the request information corresponding to the ownership change request meets the verification conditions, the request information is hashed to obtain third digest information; the request information and the third digest information are encrypted using the second private key to obtain the second ciphertext of the request information and the second digital signature of the third digest information; the second ciphertext, the second digital signature, and the second public key are uploaded to the blockchain system. The second public key is used to decrypt the second ciphertext and the second digital signature to obtain the request information; The step of transmitting the request information to the first service provider node includes: Generate the first public key and the first private key corresponding to the ownership change processing node; The request information is hashed to obtain a first digest. The request information and the first digest information are encrypted using the first private key to obtain the first ciphertext of the request information and the first digital signature of the first digest information. The first ciphertext, the first digital signature, and the first public key are uploaded to the blockchain system; the first service node is used to obtain the first ciphertext, the first digital signature, and the first public key in the blockchain system, and to decrypt the first ciphertext and the first digital signature using the first public key to obtain the request information.

2. The method of claim 1, wherein, The generation of the first public key and first private key corresponding to the ownership change processing node includes: Obtain the encryption index and decryption index corresponding to the ownership change processing node; Based on the encryption index and the decryption index, a first public key and a first private key corresponding to the ownership change processing node are generated.

3. The method of claim 2, wherein, The step of obtaining the encryption index and decryption index corresponding to the attribution change processing node includes: Generate the first and second random initial values; Based on the first and second random initial values, a third random initial value is obtained; The minimum value of the first random initial value, the second random initial value, and the third random initial value is used as the encryption index; and the reciprocal of the encryption index is determined as the decryption index.

4. The method according to claim 3, characterized in that, The step of generating the first public key and the first private key corresponding to the ownership change processing node based on the encryption index and the decryption index includes: The first public key is generated from the third random initial value and the encryption exponent; The first private key is generated from the third random initial value and the decryption exponent.

5. The method according to claim 1, characterized in that, The step of decrypting the second ciphertext and the second digital signature using the second public key to obtain the request information includes: The second public key is used to decrypt the second ciphertext and the second digital signature to obtain the second decryption information and the third digest information corresponding to the request information. The request information is hashed to obtain the fourth digest information; When the third digest information and the fourth digest information are consistent, the second decryption information is determined to be the request information.

6. A method for changing the ownership of a resource transfer medium based on a blockchain system, characterized in that, The method, applied to the first service node in a blockchain system, includes: Obtain the ownership change request triggered by the target account for the associated target resource transfer medium, and verify the ownership information corresponding to the request information of the ownership change request; When the attribution information indicates that the current service provider node to which the target resource transfer medium belongs is the first service provider node, the number portability permission of the target resource transfer medium is verified, and the permission review result is obtained; If the permission review result indicates that the review is passed, an ownership change block matching the request information is constructed in the blockchain system. The ownership change processing node transmits the ownership change block to a second service provider node when the ownership change block meets the second verification condition. The second service provider node is the service provider node after the ownership change of the target resource transfer medium, and is used to return the review result of the media information of the target resource transfer medium contained in the ownership change block to the ownership change processing node. The ownership change processing node is also used to transfer the service provider node to which the target resource transfer medium belongs from the first service provider node to the second service provider node when the review result indicates that the review is passed. The second verification condition includes verification based on the recording format, risk control information, and credit information of the media information in the ownership change block. The acquisition of the ownership change request triggered by the target account for the associated target resource transfer medium includes: The blockchain system obtains the ciphertext, digital signature, and first public key of the request information uploaded by the ownership change processing node; the ownership change processing node generates a first public key and a first private key corresponding to itself; the request information is hashed to obtain a first digest; the request information and the first digest are encrypted using the first private key to obtain the ciphertext of the request information and the digital signature of the first digest; and the ciphertext, the digital signature, and the first public key are uploaded to the blockchain system. The first public key is used to decrypt the ciphertext and the digital signature respectively to obtain the decryption information corresponding to the request information and the first digest information. The request information is hashed to obtain a second digest. When the first digest information and the second digest information are consistent, the decryption information is determined to be the request information.

7. The method according to claim 6, characterized in that, The verification of the attribution information of the requested information includes: Based on the request information, obtain the media identifier and the corresponding first service provider identifier of the target resource transfer medium; The attribution information of the request information is verified based on the media identifier and the first service provider identifier.

8. The method according to claim 6, characterized in that, The step of constructing an ownership change block matching the request information in the blockchain system includes: The request information is hashed to obtain the record information corresponding to the request information; The recorded information is encapsulated into an ownership change block that matches the request information, and the ownership change block is uploaded to the blockchain system.

9. A method for changing the ownership of a resource transfer medium based on a blockchain system, characterized in that, The method, applied to the master node in a blockchain system, includes: In response to a request from the target account for a list of service providers, retrieve a pre-stored list of service providers; Return the list of service providers to the target account; Upon receiving an ownership change request triggered by the target account for a second service provider node included in the service provider list, the ownership change request is transmitted to the ownership change processing node. The ownership change processing node is used to verify the request information based on the request information corresponding to the ownership change request, perform a first verification condition verification on the request information, and perform a second verification condition verification on the ownership change block. The service provider node to which the target resource transfer medium belongs is transferred from the first service provider node to the second service provider node. The first verification condition includes verification of the legality of the ownership change based on the target resource transfer medium and verification of the accuracy of the request information. The second verification condition includes verification based on the recording format, risk control information, and credit information of the medium information in the ownership change block. The step of transmitting the attribution change request to the attribution change processing node includes: Generate the second public key and the second private key corresponding to the master control node; If the request information corresponding to the ownership change request meets the verification conditions, the request information is hashed to obtain the third digest information; The request information and the third digest information are encrypted using the second private key to obtain the second ciphertext of the request information and the second digital signature of the third digest information; The second ciphertext, the second digital signature, and the second public key are uploaded to the blockchain system; the ownership change processing node is used to obtain the second ciphertext, the second digital signature, and the second public key in the blockchain system, and to decrypt the second ciphertext and the second digital signature using the second public key to obtain the request information.

10. The method according to claim 9, characterized in that, The method further includes: Receive the joining application information of the service provider to be joined, and if the joining application information meets the verification conditions, construct a service provider block matching the service provider to be joined in the blockchain system; The service provider to be added is added to the service provider list; the service provider list is used by the target account to query whether the second service provider node exists in the service provider list.

11. A resource transfer medium ownership change device based on a blockchain system, applied to an ownership change processing node in a blockchain system, characterized in that, The device includes: The first processing module is configured to receive a change of ownership request triggered by a target account for an associated target resource transfer medium, and, if the request information corresponding to the change of ownership request meets the first verification condition, transmit the request information to the first service provider node; the first service provider node is the service provider node to which the target resource transfer medium currently belongs, and is configured to construct a change of ownership block matching the request information in the blockchain system if the request information is approved; wherein, the first verification condition includes verification of the legality of the change of ownership based on the target resource transfer medium and verification of the accuracy of the request information; The second processing module is used to transmit the ownership change block to the second service node based on the request information when the ownership change block meets the second verification condition; the second service node is the service node after the ownership change of the target resource transfer medium, and is used to return the verification result of the media information of the target resource transfer medium contained in the ownership change block to the ownership change processing node; wherein, the second verification condition includes verification based on the recording format, risk control information and credit information of the media information in the ownership change block; The transfer module is used to transfer the service provider node to which the target resource transfer medium belongs from the first service provider node to the second service provider node when the audit result indicates that the audit has passed. The first processing module is specifically used to obtain the second ciphertext, second digital signature, and second public key of the request information uploaded by the master node in the blockchain system; the master node is used to generate the second public key and second private key corresponding to the master node; when the request information corresponding to the ownership change request meets the verification conditions, the request information is hashed to obtain third digest information; the request information and the third digest information are encrypted using the second private key to obtain the second ciphertext of the request information and the second digital signature of the third digest information; the second ciphertext, the second digital signature, and the second public key are uploaded to the blockchain system; the second ciphertext and the second digital signature are decrypted using the second public key to obtain the request information; The first processing module is further specifically used to generate a first public key and a first private key corresponding to the ownership change processing node; hash the request information to obtain a first digest information; encrypt the request information and the first digest information using the first private key to obtain a first ciphertext of the request information and a first digital signature of the first digest information; upload the first ciphertext, the first digital signature, and the first public key to the blockchain system; the first service node is used to obtain the first ciphertext, the first digital signature, and the first public key in the blockchain system, and decrypt the first ciphertext and the first digital signature using the first public key to obtain the request information.

12. A resource transfer medium ownership change device based on a blockchain system, applied to the first service node in the blockchain system, characterized in that, The device includes: The first verification module is used to obtain the ownership change request triggered by the target account for the associated target resource transfer medium, and verify the ownership information corresponding to the request information of the ownership change request. The second verification module is used to verify the number portability permission of the target resource transfer medium and obtain the permission verification result when the attribution information indicates that the current service provider node of the target resource transfer medium is the first service provider node. A block construction module is used to construct an ownership change block matching the request information in the blockchain system when the permission review result indicates that the review has passed. An ownership change processing node is used to transmit the ownership change block to a second service provider node when the ownership change block meets a second verification condition. The second service provider node is the service provider node after the ownership change of the target resource transfer medium, and is used to return the review result of the media information of the target resource transfer medium contained in the ownership change block to the ownership change processing node. The ownership change processing node is also used to transfer the service provider node to which the target resource transfer medium belongs from the first service provider node to the second service provider node when the review result indicates that the review has passed. The second verification condition includes verification based on the recording format, risk control information, and credit information of the media information in the ownership change block. The first verification module is specifically used to obtain the ciphertext, digital signature, and first public key of the request information uploaded by the ownership change processing node in the blockchain system; the ownership change processing node is used to generate a first public key and a first private key corresponding to the ownership change processing node; hash the request information to obtain a first digest; encrypt the request information and the first digest using the first private key to obtain the ciphertext of the request information and the digital signature of the first digest; upload the ciphertext, the digital signature, and the first public key to the blockchain system; decrypt the ciphertext and the digital signature using the first public key to obtain the decrypted information and the first digest corresponding to the request information; hash the request information to obtain a second digest; and when the first digest and the second digest are consistent, the decrypted information is identified as the request information.

13. A resource transfer medium ownership change device based on a blockchain system, applied to the master node of the blockchain system, characterized in that, The device includes: The acquisition module is used to retrieve a pre-stored list of service providers in response to a request from a target account for a list of service providers. The first sending module is used to return the list of service providers to the target account; The second sending module is used to transmit the attribution change request to the attribution change processing node when it receives an attribution change request triggered by the target account for a second service provider node included in the service provider list. The attribution change processing node is used to verify the request information based on the request information corresponding to the attribution change request, perform a first verification condition verification on the request information, and perform a second verification condition verification on the attribution change block. The attribution change processing node is used to transfer the service provider node to which the target resource transfer medium belongs from the first service provider node to the second service provider node. The first verification condition includes verification of the legality of the attribution change based on the target resource transfer medium and verification of the accuracy of the request information. The second verification condition includes verification based on the recording format, risk control information, and credit information of the medium information in the attribution change block. The second sending module is specifically used to generate a second public key and a second private key corresponding to the master node; when the request information corresponding to the ownership change request meets the verification conditions, it performs hash processing on the request information to obtain third digest information; it uses the second private key to encrypt the request information and the third digest information respectively to obtain a second ciphertext of the request information and a second digital signature of the third digest information; it uploads the second ciphertext, the second digital signature, and the second public key to the blockchain system; the ownership change processing node is used to obtain the second ciphertext, the second digital signature, and the second public key in the blockchain system, and uses the second public key to decrypt the second ciphertext and the second digital signature to obtain the request information.

14. A resource transfer medium ownership change system based on a blockchain system, characterized in that, The resource transfer medium ownership change system includes a master control node, an ownership change processing node, a first service provider node, and a second service provider node, wherein... The master control node is used to respond to a request from a target account for a list of service providers, obtain a pre-stored list of service providers, and return the list of service providers to the target account. The master control node is also configured to transmit the ownership change request to the ownership change processing node when it receives an ownership change request triggered by the target account for the second service provider node included in the service provider list. The ownership change processing node is used to receive the ownership change request triggered by the target account for the associated target resource transfer medium, and transmit the request information to the first service provider node if the request information corresponding to the ownership change request meets the first verification condition; wherein, the first verification condition includes the legality verification of the ownership change based on the target resource transfer medium and the accuracy verification of the request information. The ownership change processing node is specifically used to obtain the second ciphertext, second digital signature, and second public key of the request information uploaded by the master node in the blockchain system; the master node is used to generate the second public key and second private key corresponding to the master node; when the request information corresponding to the ownership change request meets the verification conditions, the request information is hashed to obtain third digest information; the request information and the third digest information are encrypted using the second private key to obtain the second ciphertext of the request information and the second digital signature of the third digest information; the second ciphertext, the second digital signature, and the second public key are uploaded to the blockchain system; the second ciphertext and the second digital signature are decrypted using the second public key to obtain the request information; The ownership change processing node is further specifically used to generate a first public key and a first private key corresponding to the ownership change processing node; hash the request information to obtain a first digest information; encrypt the request information and the first digest information using the first private key to obtain a first ciphertext of the request information and a first digital signature of the first digest information; and upload the first ciphertext, the first digital signature, and the first public key to the blockchain system. The first service node is used to obtain the first ciphertext, the first digital signature, and the first public key from the blockchain system, and decrypt the first ciphertext and the first digital signature using the first public key to obtain the request information. The first service provider node is used to obtain the ownership change request triggered by the target account for the associated target resource transfer medium, verify the ownership information corresponding to the request information of the ownership change request; and when the ownership information indicates that the service provider node currently owned by the target resource transfer medium is the first service provider node, verify the number portability permission of the target resource transfer medium and obtain the permission review result. The attribution change processing node is further configured to transmit the attribution change block to the second service provider node based on the request information when the attribution change block meets the second verification condition; wherein, the second verification condition includes verification based on the recording format of the media information, risk control information and credit information in the attribution change block; The second service node is used to return the review result of the media information of the target resource transfer medium contained in the ownership change block to the ownership change processing node; The attribution change processing node is also used to transfer the service provider node to which the target resource transfer medium belongs from the first service provider node to the second service provider node when the audit result indicates that the audit has passed.

15. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1-10.

16. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1-10.

17. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1-10.

Citation Information

Patent Citations

  • Number portability method, number portability device, and equipment

    CN109451446A

  • User information processing method and device, electronic equipment and storage medium

    CN110942292A