Resource processing method, device, electronic device and storage medium

Through blockchain storage and identity verification, the security and convenience issues in the process of transferring and returning virtual resources are solved, unified management of shared device virtual resources is achieved, and the security and convenience of resources are ensured.

CN110599311BActive Publication Date: 2024-10-15TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201910925592.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-09-27
Publication Date
2024-10-15
Estimated Expiration
2040-06-01

AI Technical Summary

Technical Problem

When users rent shared equipment, the transfer and return process of virtual resources is controlled by the operator, resulting in reduced security and convenience, and the virtual resource management of different operators is not unified.

Method used

By storing resource information on the blockchain, resource transfer between user accounts and shared accounts is realized. The identity verification and authority management of the blockchain are used to ensure the security and reliability of resource information, avoid repeated storage of resources, and manage virtual resources in a unified manner. .

Benefits of technology

It improves the security and utilization convenience of virtual resources, avoids resource return difficulties caused by operator problems, realizes unified resource management of the same type of equipment, and reduces user operation complexity.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN110599311B_ABST
    Figure CN110599311B_ABST
Patent Text Reader

Abstract

The present application discloses a resource processing method, device, electronic device and storage medium, which belongs to the field of blockchain technology. The method processes the resource data carried by the business request by utilizing the resource information matching the target application system stored in the blockchain, so that the first application can respond to the business request of the first user based on the resource data processing result. The resource information matching the target system is stored on the blockchain, which realizes the security and reliability of resource information storage. At the same time, the resource information is for the target system including the first application and / or the second application having a specific relationship with the first application. This enables unified management of virtual resources, ensuring the security of virtual resources and the convenience of use.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of blockchain technology, and in particular to a resource processing method, device, electronic device and storage medium. Background Art

[0002] With the rapid development of Internet technology, the rental of shared devices based on the Internet has become more and more popular among users. Before using a shared device, the user needs to transfer some virtual resources (such as virtual assets) in his personal account to the account of the shared device provider as a pledge guarantee for the shared device. When the user is no longer using the shared device, he can apply to transfer the above virtual resources back to the user's account through a resource transfer application.

[0003] However, currently, since the virtual resources transferred by users are controlled by the operator of the shared device, when the operator has problems, it is difficult for users to return the virtual resources to their accounts, making it impossible to ensure the safety of the user's virtual resources. In addition, when the existing virtual resources transferred by users are for the same type of shared devices of different operators, the virtual resources are also different, which reduces the convenience and security of users in managing virtual resources. Summary of the invention

[0004] In view of this, the present application provides an electronic asset processing method, device, equipment and storage medium to enable unified management of virtual resources, thereby ensuring the security of virtual resources and the convenience of use.

[0005] To achieve the above objectives, on the one hand, the present application provides a resource processing method, including:

[0006] Obtaining a service request initiated by a first user for a first application;

[0007] Using the resource information matching the target application system stored in the blockchain, the resource data carried in the service request is processed, so that the first application can respond to the service request of the first user based on the resource data processing result;

[0008] The target application system includes the first application and / or a second application having a specific association relationship with the first application, and the resource information is generated when resources are transferred between the account of the first user and the shared account of the blockchain.

[0009] In a possible implementation, the method further includes:

[0010] Obtaining a user's resource transfer request received by the target application;

[0011] Authenticate the user using the user's identity information stored in the blockchain;

[0012] If the verification is successful, the resource information corresponding to the resource transfer request is stored in the blockchain.

[0013] In yet another possible implementation, the method further includes:

[0014] Obtaining user information carried in a first registration request of a user for the blockchain;

[0015] Generate a user account of the blockchain according to the user information, so that the user can access resource information matching the user stored in the blockchain through the user account;

[0016] Obtain application information carried by a second registration request of the target application for the blockchain;

[0017] A target application account of the blockchain is generated according to the application information, so that the target application accesses resource information matching the target application stored in the blockchain through the target application account.

[0018] On the other hand, the present application also provides a blockchain node device, including:

[0019] An acquisition unit, configured to acquire a service request initiated by a first user for a first application;

[0020] A processing unit, configured to process resource data carried in the service request by using resource information matching the target application system stored in the blockchain, so that the first application can respond to the service request of the first user based on the resource data processing result;

[0021] The target application system includes the first application and / or a second application with a specific association relationship with the first application, and the resource information is generated when resources are transferred between the account of the first user and the shared account of the blockchain.

[0022] In another aspect, the present application further provides an electronic device, comprising: a processor and a memory, wherein the memory stores a computer program, and the computer program is suitable for being loaded by the processor and executing the following steps:

[0023] Obtaining a service request initiated by a first user for a first application;

[0024] Using the resource information matching the target application system stored in the blockchain, the resource data carried in the service request is processed, so that the first application can respond to the service request of the first user based on the resource data processing result;

[0025] The target application system includes the first application and / or a second application having a specific association relationship with the first application, and the resource information is generated when resources are transferred between the account of the first user and the shared account of the blockchain.

[0026] On the other hand, the present application further provides a computer storage medium, wherein the computer storage medium stores a plurality of instructions, wherein the instructions are suitable for being loaded by a processor and executed by any one of the resource processing methods.

[0027] It can be seen that when a user initiates a service request to the first application, it is only necessary to process the resource data carried by the service request by using the resource information matching the target application system stored in the blockchain, so that the first application can respond to the service request of the first user based on the resource data processing result. Storing the resource information matching the target system on the blockchain achieves the security and reliability of resource information storage. At the same time, the resource information is for the target system including the first application and / or the second application having a specific relationship with the first application. This can avoid storing resource information in databases corresponding to multiple applications, resulting in repeated storage of resource information, thereby avoiding the inconvenience of using corresponding resources in accounts corresponding to different applications. This enables unified management of virtual resources, ensuring the security of virtual resources and the convenience of use. BRIEF DESCRIPTION OF THE DRAWINGS

[0028] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are merely embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying any creative work.

[0029] Figure 1 A schematic diagram of an interaction process between a user and an operator server of a first application in the prior art is shown;

[0030] Figure 2 A schematic diagram of an implementation environment for resource processing provided by an embodiment of the present application is shown;

[0031] Figure 3 A schematic diagram of a process flow of a resource processing method provided in an embodiment of the present application is shown;

[0032] Figure 4 A schematic diagram of a resource processing scenario provided by an embodiment of the present application is shown;

[0033] Figure 5 A schematic diagram of processing a user usage request according to an embodiment of the present application is shown;

[0034] Figure 6 A schematic diagram showing an account interface according to an embodiment of the present application is shown;

[0035] Figure 7 A schematic diagram showing the structure of a block node device according to an embodiment of the present application is shown;

[0036] Figure 8 A schematic structural diagram of an electronic device according to an embodiment of the present application is shown. DETAILED DESCRIPTION

[0037] The solution of this application can be applied when resources are transferred between users and applications (App, Application), that is, when users initiate business requests for applications and applications respond to business requests. Among them, resources refer to virtual assets that need to be transferred to the application when the application is used to achieve the target operation.

[0038] For example, if a user wants to use shared device A through a first application, the first application needs to verify whether the user has transferred the virtual resources of his account to the account corresponding to the first application before responding to the user's use request, so as to realize the pledge guarantee for shared device A. Figure 1 As shown, it shows a schematic diagram of the interaction process between a user and an operator server of a first application in the prior art. The user issues a virtual resource transfer request, that is, a request to transfer the virtual resources of the user account to the operator account, and then the operator server verifies it. If the verification passes, the virtual resources are stored in the operator account. When the user requests to transfer the virtual resources back, that is, to transfer the virtual resources from the operator account back to the user account, the operator server verifies whether the user has transferred the virtual resources by searching the resource transfer record. If so, the virtual resources stored in the operator account are transferred back to the user account.

[0039] It can be seen that in the process of transferring or transferring back virtual resources, users of the prior art need to go through the operator's server. If there is a problem with the operator, the transfer of virtual resources back to the user's account will inevitably be affected, and the virtual resource information of different operators is different. Even if the user uses the same type of shared device, if the operator of the shared device is different, the above-mentioned resource transfer process needs to be repeated, which makes the user processing more cumbersome and reduces the user experience.

[0040] Correspondingly, in the embodiment of the present application, the resource information of the target application system is stored on the blockchain to solve the problems existing in the above-mentioned prior art.

[0041] See also Figure 2, which shows a schematic diagram of an implementation environment for resource processing provided by an embodiment of the present application, and the implementation environment includes: a resource processing system 201 and a terminal 202. The resource processing system may include multiple nodes, each of which may correspond to a server, and the multiple nodes may store the same blockchain, which is composed of multiple blocks, each of which stores different information, and the blocks on a blockchain are stored in chronological order. In an embodiment of the present invention, each block may store interactive messages in the resource processing process and resource data generated based on the interactive messages, etc. The terminal 202 refers to the terminal where the user served by the resource processing system is located, and is used to interact with the resource processing system, so as to transfer resources from the user's account to a specified shared account, or return resources in the account based on the management of the resource management system, etc. The resource processing system 201 is used to process resources in the user account, generate resource information in the resource processing process, and store the interactive information and resource information in the blocks on the blockchain. The user's account refers to the account associated with the user who logs into the terminal 202, such as the user's online banking, instant messaging tool account or an application account, etc. The account can store the user's resources, which are resources used at all times for business processing of related applications, such as the asset resources included in the user's online banking, the asset resources stored in the instant messaging tool account, the virtual assets stored in a certain application account, etc.

[0042] The following describes multiple nodes in the resource processing system 201. Each node can receive input information when performing normal work, and maintain the shared resource information in the resource processing system based on the received input information. In order to ensure the intercommunication of resource information in the resource processing system, there may be an information connection between each node, and information can be transmitted between nodes through the above information connection. For example, when any node in the resource processing system receives resource information, other nodes in the system can obtain the resource information using a consensus algorithm, and store the resource information as shared resource data, so that the data stored on all nodes in the resource processing system are consistent. For each node in the resource processing system, there is a node identifier corresponding to it, and each node in the system can store other node identifiers in the system, so that the generated blocks can be broadcast to other nodes in the resource processing system based on the node identifiers of other nodes.

[0043] The blockchain consists of multiple blocks. The genesis block includes a block header and a block body. The block header stores the input information characteristic value, version number, timestamp and difficulty value, and the block body stores the input information. The next block of the genesis block takes the genesis block as the parent block. The next block also includes a block header and a block body. The block header stores the input information characteristic value of the current block, the block header characteristic value, version number, timestamp and difficulty value of the parent block, and so on. This makes the block data stored in each block in the blockchain associated with the block data stored in the parent block, ensuring the security of the input information in the block.

[0044] See also Figure 3 , which shows a schematic diagram of a process flow of a resource processing method provided in an embodiment of the present application. The resource processing method may include the following steps:

[0045] S301: Obtain a service request initiated by a first user for a first application.

[0046] Specifically, the blockchain node device obtains a service request initiated by the first user for the first application. The blockchain node device is a node in a blockchain, and the blockchain is a blockchain that processes resource information between users and applications. The first user is the current user of the first application, who is the initiator of the service. The service request may refer to a request for a target operation that the first user expects to achieve using the first application, such as a request by a user of a shared bicycle application to scan a code to ride a bicycle through the shared bicycle application.

[0047] S302: Use the resource information stored in the blockchain that matches the target application system to process the resource data carried in the business request.

[0048] The resource information is generated when the first user's account transfers resources to the shared account of the blockchain. After obtaining the business request, it is not directly processed by the first application, but it is also necessary to verify whether the user has the authority to obtain the business operation corresponding to the business request. Specifically, the business request needs to be processed by the resource information matching the target application system stored in the blockchain. Among them, the target system includes the first application and / or the second application having a specific association relationship with the first application. The characteristic association relationship indicates that the first application and the second application are associated, which can specifically represent the use association of the same type of device, or it can be an application with a common account.

[0049] For example, the target application system includes: a first application, a second application, a third application, and a fourth application. By triggering any application in the target application system, the user can use a shared device with the same attribute function if the conditions are met. Specifically, if the corresponding shared device in the target application system is a bicycle, the user can use the corresponding shared bicycle through any application in the target application system if the conditions are met.

[0050] Therefore, the embodiment of the present application is different from the resource information storage in the prior art in that, on the one hand, storing the resource information on the blockchain ensures the reliability and security of the resource information; on the other hand, the resource information is the resource information for all associated applications, not the resource information for a specific application, which can facilitate the management and utilization of the resource information.

[0051] Specifically, when resource information is generated when resources in a user account are transferred to a shared account, or when resources corresponding to a user in a shared account are transferred to a user account, it should be noted that the resource is a resource that usually remains unchanged for a period of time, as opposed to a resource that changes each time an application responds to a target application. For example, corresponding to an application system used for the same type of shared device, the resource may be a deposit for the use of the shared device, rather than a usage fee that needs to be paid after the shared device is used. This is because the resource information corresponding to the deposit is managed in a unified manner, which makes it easier to reduce the user's processing process. If the same management of usage fees also requires frequent information exchanges with the operators corresponding to each application, the processing efficiency will be lower.

[0052] When the resource information stored in the blockchain that matches the target application system is used to process the resource data carried by the business request, it is necessary to verify whether the resource information stored in the blockchain can meet the processing of the resource data. For example, when the first user initiates a use request for shared device A through the first application. First, it is necessary to determine whether the blockchain stores the resource information used by the first user for shared device A, and the resource information represents the information of the user-generated resource transfer to the target shared account. That is, through the resource information, it is verified whether there are resources transferred by the user in the target shared account. If so, the first application will jump to the operation interface corresponding to the business request. If not, the first application will jump to the operation interface for resource transfer for the user to transfer resources. Among them, the resource data carried by the business request refers to the information that the resources of the current business corresponding to the business request need to be transferred or the data that represents the need to be processed, such as resource transfer data.

[0053] See also Figure 4, which shows a schematic diagram of a resource processing scenario. When a user sends a riding request through riding application A in terminal 401, the riding request will be sent to block node device 402, and then block node device 402 calls the stored resource information of target application system B corresponding to riding application A to determine whether the user has deposit information for target application system B, which may include resource transfer information, transfer time information, available application information, etc. If yes, terminal 401 will enter the page of scanning code to ride a bike. If not, terminal 401 will enter the recharge interface, and the specific display information may be "You have not paid the deposit, please recharge."

[0054] This allows for secure storage of resource information generated by users, making it easier for multiple applications to use it. It also prevents criminals from tampering with resource information. At the same time, when an application operator encounters operational problems, resources can be transferred directly from the corresponding shared account without going through the operator. For example, this can solve the problem of difficulty in returning deposits for shared devices.

[0055] In order to ensure the security of the user's resource transfer process, when the target application receives the user's resource transfer request, the block node device needs to authenticate the user. In order to further solve the problem of identity information tampering, the user's identity information is stored in the blockchain in the embodiment of the present application, so that the user's identity information stored in the blockchain can be used for identity authentication. If the verification is passed, the thief will store the resource information corresponding to the resource transfer request in the blockchain. At the same time, the resources corresponding to the resource transfer request will also be stored in the shared account.

[0056] See also Figure 5 , which shows a processing diagram for user use requests. When users use the same type of product A and product B, they need to verify the relevant use deposit. First, the user needs to pay the deposit and authenticate through the blockchain. After the verification is passed, enter the blockchain deposit service, that is, realize blockchain storage, which mainly includes storing the deposit in a shared account and storing the deposit information in the blockchain. Then, when the user issues a use request for product A or product B, the blockchain deposit service will be used to verify whether the deposit has been paid.

[0057] In a possible implementation of the embodiment of the present application, the resource processing method further includes:

[0058] Obtaining user information carried in a first registration request of a user for the blockchain;

[0059] Generate a user account of the blockchain according to the user information, so that the user can access resource information matching the user stored in the blockchain through the user account;

[0060] Obtain application information carried by a second registration request of the target application for the blockchain;

[0061] A target application account of the blockchain is generated according to the application information, so that the target application accesses resource information matching the target application stored in the blockchain through the target application account.

[0062] Specifically, the block node device in the resource processing system obtains the user's first registration request and obtains the user information carried therein, which may include name information, gender information, certificate information, etc. Then, a user account of the blockchain is generated, which is a private account of the registered user in the blockchain. The user has a private key of the user account, and the user can access the user account through the private key to access the resource information matching the target application through the user account, specifically, part of the resource information matching the user in the resource information.

[0063] The block node device in the resource processing system obtains the second registration request of the application and obtains the application information carried therein, which may include application identification information, product information of the application, etc. Then, an application account of the blockchain is generated, which is a private account of the application in the blockchain. The operator of the application has the private key of the application account. The operator can access the application account through the private key to access the resource information matching the target application through the application account, specifically, the part of the resource information matching the application.

[0064] For example, when a user registers and applies for a blockchain user account, the user can obtain relevant resource information by entering the corresponding user information, such as whether to transfer the resource to the target account, and information about products that can be used with the resource. Correspondingly, the application operator can also enter the user identification information recorded in the corresponding application through the application account to query the time information of resource processing, etc.

[0065] See also Figure 6 , which shows a schematic diagram of an account interface, Figure 6 (a) shows the user's deposit record interface. The user enters his or her name and corresponding ID number to query whether he or she has paid the deposit and the product information using the deposit. Figure 6 (b) shows the deposit record of the application operator. By entering the user's name and corresponding ID number, the user's deposit payment record and deposit return record can be queried.

[0066] It should be noted that after a user transfers resources from a resource account corresponding to the user to a shared account, when the user is no longer using the product corresponding to the target application, the user needs to apply to transfer the resources from the shared account back to the resource account corresponding to the user. At this time, the service request initiated by the corresponding user is to transfer the target resources from the account corresponding to the first application to the account of the first user, and the account corresponding to the first application is a shared account. The process includes:

[0067] Using the permission information matching the target application system stored in the blockchain, verifying the permissions of the first user and the first application;

[0068] If the authority verification is successful, the resource data of the service request is processed using the resource processing conditions corresponding to the first application stored in the blockchain to obtain a second prompt information;

[0069] Sending the second prompt information to the first application so that the first application displays the second prompt information, where the second prompt information is used to prompt the transfer of the target resource to the account of the first user;

[0070] Among them, the resource information matching the target application system stored in the blockchain includes the permission information and the resource processing conditions.

[0071] In this process, the permission information of the target application system, the permission information of the user, and the resource processing conditions stored in the blockchain are used. The permission information of the target application and the user is to verify the permissions of the user and the target application to avoid risk processing caused by tampering with information. Usually, the user will initiate a resource transfer request through an application such as the first application. If the first application is stolen by criminals, risk information may be generated, that is, the resource transfer request of the disguised user. In this way, by verifying the permissions of the application, the security of the resource transfer can be guaranteed. Similarly, verifying the user's permission information can also ensure the security of user resources. Resource processing conditions refer to the conditions for resource transfer, that is, the user resource account to be transferred back, the transfer time, or whether some resources need to be deducted. For example, if the user does not return the shared device within the specified time or the user damages the shared device, the target resource will be deducted accordingly, and then the remaining resources will be transferred back to the user's resource account. The second prompt information at this time can be "Your use time of shared device A has expired, and the detention fee has been deducted from the returned deposit."

[0072] The blockchain includes a series of blocks that are continuous with each other in the order of their generation. Once a new area is added to the blockchain, it will not be removed. The block records the record data submitted by the nodes in the blockchain system. Correspondingly, in the embodiment of the present application, after each service request is processed and the resource data is processed, after obtaining new resource data, a new block needs to be created on the blockchain to store the updated resource data, so as to facilitate the secure recording and access of the data.

[0073] Through the resource processing method provided by this application, users log in to the blockchain service through social identity authentication. After each user transfers the target resource to the shared account, the corresponding resource information can be stored in the blockchain; when the user who has transferred the target resource logs in to other product services, the corresponding product can query whether the user has transferred the target resource through the blockchain service. If so, the service is provided normally, otherwise the service is refused. Corresponding to the application scenario of deposit payment, the deposit can be stored stably for a long time without being restricted by time and space; users do not need to pay deposits repeatedly when using multiple services, which greatly improves convenience; it provides a reliable deposit query interface for various product operators, greatly reducing product operating costs.

[0074] On the other hand, a block node device is also provided in the embodiment of the present application, see Figure 7 , which shows a schematic diagram of the structure of a block node device, including:

[0075] An acquisition unit 701 is configured to acquire a service request initiated by a first user for a first application;

[0076] The processing unit 702 is used to process the resource data carried in the service request by using the resource information matching the target application system stored in the blockchain, so that the first application can respond to the service request of the first user based on the resource data processing result;

[0077] The target application system includes the first application and / or a second application having a specific association relationship with the first application, and the resource information is generated when resources are transferred between the account of the first user and the shared account of the blockchain.

[0078] In a possible implementation of this embodiment, the block node device further includes:

[0079] A transfer request acquisition unit, used to acquire a user's resource transfer request received by a target application;

[0080] An identity verification unit, configured to verify the identity of the user using the user's identity information stored in the blockchain;

[0081] The information storage unit is used to store the resource information corresponding to the resource transfer request in the blockchain if the verification is passed.

[0082] In another possible implementation of this embodiment, the device further includes:

[0083] A user account generating unit is configured to obtain user information carried by a user in a first registration request for the blockchain; generate a user account of the blockchain according to the user information, so that the user can access resource information matching the user stored in the blockchain through the user account;

[0084] The application account generation unit is used to obtain application information carried by the second registration request of the target application for the blockchain; generate a target application account of the blockchain according to the application information, so that the target application accesses resource information matching the target application stored in the blockchain through the target application account.

[0085] Optionally, the resource data carried by the service request includes transfer information of the target resource, and the processing unit is specifically configured to:

[0086] Using the resource information matching the target application system stored in the blockchain, it is determined whether there is a target resource matching the first user in the first account corresponding to the target application system;

[0087] If yes, the first control information is sent to the first application, so that the first application enters the operation interface of the target function according to the first control information.

[0088] Based on the above embodiment, the processing unit is further used for:

[0089] If it is determined that there is no target resource matching the first user in the first account corresponding to the target application system using the resource information matching the target application system stored in the blockchain, a prompt message is generated;

[0090] The prompt information is sent to the first application, so that the first application displays the prompt information, where the prompt information is used to prompt a current user of the first application to transfer the target resource to the first user.

[0091] Optionally, the service request is to transfer a target resource from an account corresponding to the first application to an account of the first user, wherein the processing unit is further configured to:

[0092] Using the permission information matching the target application system stored in the blockchain, verifying the permissions of the first user and the first application;

[0093] If the authority verification is successful, the resource data of the service request is processed using the resource processing conditions corresponding to the first application stored in the blockchain to obtain a second prompt information;

[0094] Sending the second prompt information to the first application so that the first application displays the second prompt information, where the second prompt information is used to prompt the transfer of the target resource to the account of the first user;

[0095] Among them, the resource information matching the target application system stored in the blockchain includes the permission information and the resource processing conditions.

[0096] Optionally, the device further comprises:

[0097] The block creation unit is used to create a new block on the blockchain and store the updated resource data corresponding to the resource data processing result in the new block.

[0098] On the other hand, the present application also provides an electronic device, such as Figure 8 , which shows a schematic diagram of the composition structure of an electronic device of the present application. The electronic device 800 of this embodiment may include: a processor 801 and a memory 802.

[0099] Optionally, the terminal may further include a communication interface 803 , an input unit 804 , a display 805 , and a communication bus 806 .

[0100] The processor 801 , the memory 802 , the communication interface 803 , the input unit 804 , and the display 805 all communicate with each other via the communication bus 806 .

[0101] In the embodiment of the present application, the processor 801 may be a central processing unit (CPU), an application specific integrated circuit, a digital signal processor, a readily available programmable gate array, or other programmable logic devices, etc.

[0102] The processor may call the program stored in the memory 802. Specifically, the processor may execute the resource processing method in the above embodiment.

[0103] The memory 802 is used to store one or more programs. The program may include program code, and the program code includes computer operation instructions. In the embodiment of the present application, the memory at least stores a program for implementing the following functions:

[0104] Obtaining a service request initiated by a first user for a first application;

[0105] Using the resource information matching the target application system stored in the blockchain, the resource data carried in the service request is processed, so that the first application can respond to the service request of the first user based on the resource data processing result;

[0106] The target application system includes the first application and / or a second application having a specific association relationship with the first application, and the resource information is generated when resources are transferred between the account of the first user and the shared account of the blockchain.

[0107] In one possible implementation, the memory 802 may include a program storage area and a data storage area, wherein the program storage area may store an operating system and an application program required for at least one function (such as a permission verification function, etc.); the data storage area may store data created during the use of the computer, such as resource information, user information, etc.

[0108] In addition, the memory 802 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device or other volatile solid-state storage device.

[0109] The communication interface 803 may be an interface of a communication module, such as an interface of a GSM module.

[0110] The present application may further include a display 805 and an input unit 804 and the like.

[0111] certainly, Figure 8 The structure of the terminal shown does not constitute a limitation on the terminal in the embodiment of the present application. In actual applications, the terminal may include Figure 8 More or fewer components than shown, or combinations of certain components.

[0112] On the other hand, an embodiment of the present application further provides a computer storage medium, wherein the computer storage medium stores a plurality of instructions, wherein the instructions are suitable for being loaded by a processor and executing the resource processing method in any of the above embodiments.

[0113] It should be noted that each embodiment in this specification is described in a progressive manner, and each embodiment focuses on the differences from other embodiments, and the same or similar parts between the embodiments can be referred to each other. For the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0114] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.

[0115] The above description of the disclosed embodiments enables those skilled in the art to implement or use the present invention. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features disclosed herein.

[0116] The above are only preferred embodiments of the present invention. It should be pointed out that, for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.

Claims

1. A resource processing method, characterized in that: The method comprises: Acquire a service request initiated by a first user for a first application, where the service request is to transfer a target resource from an account corresponding to the first application to an account of the first user; the account corresponding to the first application is a shared account; The resource data carried in the service request is processed by using the resource information matching the target application system stored in the blockchain, so that the first application can respond to the service request of the first user based on the resource data processing result; wherein the target application system includes the first application and multiple applications having a specific association relationship with the first application; applications having a specific association relationship refer to applications that use associated or common accounts for the same type of device; the resource information is generated when the first user's account transfers resources to the shared account of the blockchain; Creating a new block on the blockchain, and storing updated resource data corresponding to the resource data processing result in the new block; The resource information matching the target application system stored in the blockchain is used to process the resource data carried by the business request, including: Using the permission information matching the target application system stored in the blockchain, verifying the permissions of the first user and the first application; If the permission verification of both the first user and the first application is successful, the resource data of the service request is processed using the resource processing conditions corresponding to the first application stored in the blockchain to obtain second prompt information, where the resource processing conditions are the transferred user account resources, the transfer time, or whether the corresponding resources need to be deducted; Sending the second prompt information to the first application so that the first application displays the second prompt information, wherein the second prompt information is used to prompt the target resource to be transferred to the account of the first user; wherein the resource information matching the target application system stored in the blockchain includes the permission information and the resource processing condition; If the resource data carried by the service request includes transfer information of the target resource, the resource information matching the target application system stored in the blockchain is used to process the resource data carried by the service request, including: Using the resource information matching the target application system stored in the blockchain, it is determined whether there is a target resource matching the first user in the first account corresponding to the target application system; If yes, sending the first control information to the first application so that the first application enters the operation interface of the target function according to the first control information; If it is determined that there is no target resource matching the first user in the first account corresponding to the target application system using the resource information matching the target application system stored in the blockchain, a prompt message is generated; The prompt information is sent to the first application, so that the first application displays the prompt information, where the prompt information is used to prompt a current user of the first application to transfer the target resource to the first account.

2. The method according to claim 1, characterized in that The method further includes: Obtaining a user's resource transfer request received by the target application; Authenticate the user using the user's identity information stored in the blockchain; If the verification is successful, the resource information corresponding to the resource transfer request is stored in the blockchain.

3. The method according to claim 1, characterized in that The method further includes: Obtaining user information carried in a first registration request of a user for the blockchain; Generate a user account of the blockchain according to the user information, so that the user can access resource information matching the user stored in the blockchain through the user account; Obtain application information carried by a second registration request of the target application for the blockchain; A target application account of the blockchain is generated according to the application information, so that the target application accesses resource information matching the target application stored in the blockchain through the target application account.

4. A block node device, characterized in that: include: an acquisition unit, configured to acquire a service request initiated by a first user for a first application, wherein the service request is to transfer a target resource from an account corresponding to the first application to an account of the first user; The account corresponding to the first application is a shared account; A processing unit, configured to process resource data carried in the service request by using resource information matching the target application system stored in the blockchain, so that the first application can respond to the service request of the first user based on the resource data processing result; The target application system includes the first application and multiple applications having a specific association relationship with the first application; applications having a specific association relationship refer to applications that use associated or common accounts for the same type of device; the resource information is generated when the account of the first user transfers resources to the shared account of the blockchain; The processing unit is also used for: Using the permission information matching the target application system stored in the blockchain, verifying the permissions of the first user and the first application; If the permission verification of both the first user and the first application is successful, the resource data of the service request is processed using the resource processing conditions corresponding to the first application stored in the blockchain to obtain second prompt information, where the resource processing conditions are the transferred user account resources, the transfer time, or whether the corresponding resources need to be deducted; Sending the second prompt information to the first application so that the first application displays the second prompt information, where the second prompt information is used to prompt the transfer of the target resource to the account of the first user; The resource information matching the target application system stored in the blockchain includes the permission information and the resource processing conditions; The resource data carried by the service request includes transfer information of the target resource, and the processing unit is specifically used for: Using the resource information matching the target application system stored in the blockchain, it is determined whether there is a target resource matching the first user in the first account corresponding to the target application system; If yes, sending the first control information to the first application so that the first application enters the operation interface of the target function according to the first control information; The processing unit is also used for: If it is determined that there is no target resource matching the first user in the first account corresponding to the target application system using the resource information matching the target application system stored in the blockchain, a prompt message is generated; Sending the prompt information to the first application so that the first application displays the prompt information, where the prompt information is used to prompt a current user of the first application to transfer the target resource to the first account; The block creation unit is used to create a new block on the blockchain and store the updated resource data corresponding to the resource data processing result in the new block.

5. The device according to claim 4, characterized in that The device also includes: A transfer request acquisition unit, used to acquire a user's resource transfer request received by a target application; An identity verification unit, configured to verify the identity of the user using the user's identity information stored in the blockchain; The information storage unit is used to store the resource information corresponding to the resource transfer request in the blockchain if the verification is passed.

6. The device according to claim 4, characterized in that The device also includes: A user account generating unit is configured to obtain user information carried by a user in a first registration request for the blockchain; generate a user account of the blockchain according to the user information, so that the user can access resource information matching the user stored in the blockchain through the user account; The application account generation unit is used to obtain application information carried by the second registration request of the target application for the blockchain; generate a target application account of the blockchain according to the application information, so that the target application accesses resource information matching the target application stored in the blockchain through the target application account.

7. An electronic device, characterized in that: include: A processor and a memory, wherein the memory stores a computer program, the computer program being adapted to be loaded by the processor and executing the following steps: Acquire a service request initiated by a first user for a first application, where the service request is to transfer a target resource from an account corresponding to the first application to an account of the first user; the account corresponding to the first application is a shared account; Using the resource information matching the target application system stored in the blockchain, the resource data carried in the service request is processed, so that the first application can respond to the service request of the first user based on the resource data processing result; The target application system includes the first application and multiple applications having a specific association relationship with the first application; applications having a specific association relationship refer to applications that use associated or common accounts for the same type of device; the resource information is generated when the account of the first user transfers resources to the shared account of the blockchain; Creating a new block on the blockchain, and storing updated resource data corresponding to the resource data processing result in the new block; The resource information matching the target application system stored in the blockchain is used to process the resource data carried by the business request, including: Using the permission information matching the target application system stored in the blockchain, verifying the permissions of the first user and the first application; If the permission verification of both the first user and the first application is successful, the resource data of the service request is processed using the resource processing conditions corresponding to the first application stored in the blockchain to obtain second prompt information, where the resource processing conditions are the transferred user account resources, the transfer time, or whether the corresponding resources need to be deducted; Sending the second prompt information to the first application so that the first application displays the second prompt information, where the second prompt information is used to prompt the transfer of the target resource to the account of the first user; The resource information matching the target application system stored in the blockchain includes the permission information and the resource processing conditions; If the resource data carried by the service request includes transfer information of the target resource, the resource information matching the target application system stored in the blockchain is used to process the resource data carried by the service request, including: Using the resource information matching the target application system stored in the blockchain, it is determined whether there is a target resource matching the first user in the first account corresponding to the target application system; If yes, sending the first control information to the first application so that the first application enters the operation interface of the target function according to the first control information; If it is determined that there is no target resource matching the first user in the first account corresponding to the target application system using the resource information matching the target application system stored in the blockchain, a prompt message is generated; The prompt information is sent to the first application, so that the first application displays the prompt information, where the prompt information is used to prompt a current user of the first application to transfer the target resource to the first account.

8. A computer storage medium, characterized in that: The computer storage medium stores a plurality of instructions, which are suitable for being loaded by a processor and executing the method steps according to any one of claims 1 to 3.