CN110599311A - Resource processing method and device, electronic equipment and storage medium - Google Patents

Resource processing method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN110599311A
CN110599311A CN201910925592.0A CN201910925592A CN110599311A CN 110599311 A CN110599311 A CN 110599311A CN 201910925592 A CN201910925592 A CN 201910925592A CN 110599311 A CN110599311 A CN 110599311A
Authority
CN
China
Prior art keywords
application
resource
user
information
block chain
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910925592.0A
Other languages
Chinese (zh)
Inventor
黎蒙
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201910925592.0A priority Critical patent/CN110599311A/en
Publication of CN110599311A publication Critical patent/CN110599311A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping [e-shopping]
    • G06Q30/0609Buyer or seller confidence or verification

Landscapes

  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Storage Device Security (AREA)

Abstract

The method processes resource data carried by a service request by utilizing resource information which is stored in a block chain and matched with a target application system, so that a first application can respond to the service request of a first user based on a resource data processing result. Storing resource information that matches the target system on the blockchain achieves security and reliability of storage of the resource information for the target system that includes the first application and/or a second application having a particular relationship with the first application. Therefore, the virtual resources can be managed in a unified manner, and the safety and the utilization convenience of the virtual resources are ensured.

Description

Resource processing method and device, electronic equipment and storage medium
Technical Field
The present application relates to the field of block chain technologies, and in particular, to a resource processing method and apparatus, an electronic device, and a storage medium.
Background
With the rapid development of internet technology, the leasing of internet-based shared devices is favored by more and more users. Before using the shared device, the user must act as a pledge to use the shared device by transferring some of the virtual resources (e.g., virtual assets) in the individual account to the shared device provider's account. When the user is not using the sharing device, the virtual resource can be applied to be transferred back to the account of the user through a resource transfer application.
However, at present, because the virtual resources transferred by the user are controlled by the operator of the shared device, when the operator has a problem, the user faces the problem that it is difficult to return the virtual resources to the user account, so that the virtual resources of the user cannot be safely guaranteed. Moreover, when the virtual resources transferred by the existing user are directed at the shared devices of different operators of the same type, the virtual resources are also different, so that convenience and safety of the user in managing the virtual resources are reduced.
Disclosure of Invention
In view of this, the present application provides an electronic asset processing method, apparatus, device and storage medium, so as to perform unified management on virtual resources, and ensure security and convenience of utilization of the virtual resources.
To achieve the above object, in one aspect, the present application provides a resource processing method, including:
acquiring a service request initiated by a first user aiming at a first application;
processing resource data carried by the service request by using resource information which is stored in a block chain and matched with a target application system, so that the first application can respond to the service request of the first user based on a resource data processing result;
the target application system comprises the first application and/or a second application having a specific association relation with the first application, and the resource information is generated when the account of the first user and a shared account of the block chain are subjected to resource transfer.
In one possible implementation, the method further includes:
acquiring a resource transfer request of a user received by a target application;
performing identity authentication on the user by using the identity information of the user stored in the block chain;
and if the verification is passed, storing the resource information corresponding to the resource transfer request to the block chain.
In yet another possible implementation manner, the method further includes:
acquiring user information carried by a first registration request of a user for the block chain;
generating a user account of the block chain according to the user information, so that the user accesses the resource information which is stored in the block chain and matched with the user through the user account;
acquiring application information carried by a second registration request of the target application for the block chain;
and generating a target application account of the block chain according to the application information, so that the target application accesses the resource information which is stored in the block chain and matched with the target application through the target application account.
In yet another aspect, the present application also provides a block link point device, including:
an obtaining unit, configured to obtain a service request initiated by a first user for a first application;
the processing unit is used for processing the resource data carried by the service request by utilizing the resource information which is stored in the block chain and matched with the target application system, 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 comprises the first application and/or a second application with a specific association relation with the first application, and the resource information is generated when the account of the first user and the shared account of the block chain are subjected to resource transfer.
In another aspect, the present application further provides an electronic device, including: a processor and a memory, wherein the memory stores a computer program adapted to be loaded by the processor and to perform the steps of:
acquiring a service request initiated by a first user aiming at a first application;
processing resource data carried by the service request by using resource information which is stored in a block chain and matched with a target application system, so that the first application can respond to the service request of the first user based on a resource data processing result;
the target application system comprises the first application and/or a second application having a specific association relation with the first application, and the resource information is generated when the account of the first user and a shared account of the block chain are subjected to resource transfer.
In yet another aspect, the present application further provides a computer storage medium storing a plurality of instructions adapted to be loaded by a processor and to perform any one of the resource processing methods.
Therefore, when a user initiates a service request to a first application, only resource data carried by the service request needs to be processed by using resource information which is stored in a block chain and matched with a target application system, so that the first application can respond to the service request of the first user based on a resource data processing result. The resource information matched with the target system is stored on the block chain, so that the safety and reliability of resource information storage are realized, and meanwhile, the resource information is specific to the target system comprising the first application and/or the second application having a specific relation with the first application, so that the resource information can be prevented from being stored in databases respectively corresponding to a plurality of applications, the resource information is prevented from being repeatedly stored, and the inconvenience of using the corresponding resource stored in accounts corresponding to different applications is avoided. Therefore, the virtual resources can be managed in a unified manner, and the safety and the utilization convenience of the virtual resources are ensured.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on the provided drawings without creative efforts.
Fig. 1 shows a schematic interaction flow between a user and an operator server of a first application in the prior art;
FIG. 2 is a schematic diagram illustrating an implementation environment of resource processing according to an embodiment of the present application;
fig. 3 is a schematic flowchart illustrating a resource processing method according to an embodiment of the present application;
FIG. 4 is a schematic diagram illustrating a resource processing scenario provided by an embodiment of the present application;
FIG. 5 is a diagram illustrating a process for a user usage request according to an embodiment of the present application;
FIG. 6 is a schematic diagram illustrating an account interface according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of a block node apparatus according to an embodiment of the present application;
fig. 8 shows a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The scheme of the Application can be applied to resource transfer between a user and an Application (App), namely when the user initiates a service request for the Application and the Application responds to the service request. The resource is a virtual asset that needs to be transferred to the application when the application achieves the target operation.
For example, if a user wants to use the shared device a through a first application, the first application needs to verify whether the user transfers the virtual resource of its account to the account corresponding to the first application before responding to the user's use request, so as to implement a pledge on the shared device a. As shown in fig. 1, which illustrates an interaction flow diagram between a user and an operator server of a first application in the prior art, the user sends a virtual resource transfer request, that is, a request for transferring a virtual resource of a user account to an operator account, and then the operator server performs verification, and if the verification passes, the virtual resource is stored in the operator account. When the user requests to transfer the virtual resources back, namely the virtual resources are transferred back from the operator account to the user account, the operator server checks whether the user transfers the virtual resources or not by searching the resource transfer record, and if so, the virtual resources stored in the operator account are transferred back to the user account.
It can be seen that, in the prior art, the user needs to pass through the operator server in the process of transferring or returning the virtual resource, if the operator has a problem, the virtual resource is inevitably affected when being transferred back to the user account, and the virtual resource information of different operators is different from each other, even if the user uses the sharing device of the same type, if the operators of the sharing device are different, the process of transferring the resource needs to be repeated, so that the user is more cumbersome to handle, and the experience effect of the user is reduced.
Correspondingly, in the embodiment of the present application, the resource information of the target application system is stored on the block chain, so as to solve the problems existing in the foregoing prior art.
Referring to fig. 2, a schematic diagram of an implementation environment of resource processing provided in an embodiment of the present application is shown, where the implementation environment includes: a resource processing system 201 and a terminal 202. The resource processing system can comprise a plurality of nodes, each node can correspond to one server, the plurality of nodes can store the same block chain, the block chain is composed of a plurality of blocks, each block stores different information, and the blocks on one block chain are stored according to a time sequence. In the embodiment of the present invention, each block may store the interaction message in the resource processing process, the resource data generated based on the interaction message, and the like. The terminal 202 is a terminal where a user served by the resource processing system is located, and is configured to interact with the resource processing system, thereby performing resource transfer from an account of the user to a designated shared account, or returning resources to the account based on management by the resource management system, or the like. The resource processing system 201 is configured to process resources in a user account, generate resource information during a resource processing process, and store interaction information and resource information in a block on a block chain. The account of the user refers to an account associated with the user who logs in the terminal 202, for example, an internet bank of the user, an even communication tool account, or an application account, and the like, resources of the user may be stored in the account, and these resources are resources used at the time of performing business processing of the relevant application, and are used, asset resources included in the internet bank of the user, asset resources stored in the instant communication tool account, virtual assets stored in the application account, and the like.
The following describes a plurality of nodes in the resource processing system 201, each of which can receive input information during normal operation and maintain shared resource information in the resource processing system based on the received input information. In order to ensure the resource information intercommunication in the resource processing system, information connection can exist between each node, and the nodes can transmit information through the information connection. For example, when any node in the resource processing system receives the resource information, other nodes in the system may acquire the resource information by 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. Each node in the resource processing system has a node identifier corresponding thereto, and each node in the system may store other node identifiers in the system, so that the generated block is broadcast to other nodes in the resource processing system according to the node identifiers of the other nodes in the following.
The block chain is composed of a plurality of blocks, the starting block comprises a block head and a block main body, the block head stores an input information characteristic value, a version number, a timestamp and a difficulty value, and the block main body stores input information; the next block of the starting block takes the starting block as a parent block, the next block also comprises a block head and a block main body, the block head stores the input information characteristic value of the current block, the block head characteristic value of the parent block, the version number, the timestamp and the difficulty value, and the like, so that the block data stored in each block in the block chain is associated with the block data stored in the parent block, and the safety of the input information in the block is ensured.
Referring to fig. 3, a schematic flowchart of a resource processing method provided in an embodiment of the present application is shown. The resource processing method may include the steps of:
s301, a service request initiated by a first user for a first application is obtained.
Specifically, the block link point device acquires a service request initiated by a first user for a first application. The blockchain link point device is a node in a blockchain, and the blockchain is a blockchain for processing resource information between users and applications. The first user is a user of the current first application, which is an initiator of the service. The service request may refer to a request for a target operation that the first user desires to achieve with the first application, such as a request for a user of the shared bicycle application to scan a code bike through the shared bicycle application.
And S302, processing the resource data carried by the service request by using the resource information which is stored in the block chain and matched with the target application system.
The resource information is generated when the account of the first user and the shared account of the block chain are subjected to resource transfer. After the service request is obtained, the first application does not directly process the service request, and it is also required to verify whether the user has the authority to obtain the service operation corresponding to the service request. Specifically, the service request needs to be processed through resource information stored in the block chain and matched with the target application system. The target system comprises a first application and/or a second application with a specific association relation with the first application, wherein the characteristic association relation characterizes that the first application and the second application are associated, and specifically can represent usage association of the same type of equipment and also can be applications with a common account.
For example, the target application system includes: the user can use the shared device with the same attribute function by triggering any one of the target application systems through the first application, the second application, the third application and the fourth application under the condition that the condition is met. Specifically, if the corresponding sharing device in the target application system is a bicycle, that is, the user can use the corresponding sharing bicycle through any application in the target application system under the condition that the condition is satisfied.
Therefore, in the embodiment of the present application, unlike the resource information storage in the prior art, on one hand, storing the resource information on the block chain ensures the reliability and security of the resource information, and on the other hand, the resource information is the resource information for all associated applications, and is not the resource information for a certain application, which can facilitate the management and utilization of the resource information.
Specifically, when the resource generated in the user account is transferred to the shared account, or the resource corresponding to the user in the shared account is transferred to the user account, it should be noted that the resource is usually a resource that remains unchanged for a period of time, and is different from a resource that is changed after each application responds to the target application. For example, the resource may be a deposit for use by the shared device, rather than a usage charge to be paid after use of the shared device, corresponding to an application used by the application system for the same type of shared device. This is because the resource information corresponding to the deposit is managed in a unified manner, which facilitates the reduction of the processing procedure of the user. If the same management of the usage cost also requires frequent information interaction with the operator corresponding to each application, the processing efficiency is low.
When the resource information stored in the block chain and matched with the target application system is used for processing the resource data carried by the service request, it is required to verify whether the resource information stored in the block chain can meet the processing requirement of the resource data. For example, when a first user initiates a request for use of a sharing device a through a first application. Firstly, whether resource information used by a first user for a sharing device A is stored in a block chain or not is judged, and the resource information represents information of transferring resources generated by the user to a target sharing account. And if not, the first application is jumped to an operation interface for resource transfer for the user to transfer the resources. The resource data carried by the service request refers to information that the resource of the current service in the service request needs to be transferred or data representing the data that needs to be processed, such as resource transfer data.
Referring to fig. 4, a scene schematic diagram of resource processing is shown, when a user sends a riding request through a riding application a in a terminal 401, the riding request is sent to a block node device 402, then the block node device 402 calls stored resource information of a target application system B corresponding to the riding application a, and determines whether the user has deposit information for the target application system B, specifically, the deposit information may include resource transfer information, transfer time information, available application information, and the like, if so, the terminal 401 enters a code scanning riding page, if not, the terminal 401 enters a recharge interface, and specific display information may be "you do not pay a deposit, and recharge is requested. "
Therefore, the resource information generated by the user can be safely stored, and the utilization of a plurality of applications is facilitated. And the tampering of the resource information by lawless persons can be avoided. Meanwhile, when an operator of a certain application has an operation problem, resources can be directly transferred from the corresponding shared account without passing through the operator, and for example, the problem that a shared device deposit is difficult to return can be solved.
In order to ensure the security of the user in the resource transfer process, when the target application receives a resource transfer request of the user, the block node device needs to perform identity authentication on the user, and further to solve the problem of identity information tampering, in the embodiment of the present application, the identity information of the user is stored in the block chain, so that identity authentication can be performed by using the user identity information stored in the block chain. And if the verification is passed, the thief stores the resource information corresponding to the resource transfer request into the block chain. And storing the resources corresponding to the resource transfer request to the shared account.
Referring to fig. 5, a schematic diagram of the processing for a user usage request is shown. When the user uses the same type of product A and product B, the user needs to verify the related usage deposit. Firstly, a user needs to pay a deposit, identity authentication is carried out through a block chain, after the identity authentication is passed, block chain deposit service is entered, namely block chain storage is realized, and the method mainly comprises the steps of storing the deposit in a shared account and storing deposit information in the block chain. Then, when the user issues a request for use of product a or product B, it is verified through the blockchain deposit service whether the deposit has been paid.
In a possible implementation manner of the embodiment of the present application, the resource processing method further includes:
acquiring user information carried by a first registration request of a user for the block chain;
generating a user account of the block chain according to the user information, so that the user accesses the resource information which is stored in the block chain and matched with the user through the user account;
acquiring application information carried by a second registration request of the target application for the block chain;
and generating a target application account of the block chain according to the application information, so that the target application accesses the resource information which is stored in the block chain and matched with the target application through the target application account.
Specifically, the block node device in the resource processing system acquires a first registration request of a user, and acquires user information carried in the first registration request, where the user information may include name information, gender information, credential information, and the like. And then generating a user account of the block chain, wherein the user account is a private account of the registered user in the block chain, 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 matched with the target application through the user account, specifically, part of the resource information matched with the user.
And the block node equipment in the resource processing system acquires the second registration request of the application and acquires the application information carried in the second registration request, wherein the application information may include application identification information, application product information and the like. And then generating an application account of the block chain, wherein the application account is a private account applied in the block chain, an operator of the application has a private key of the application account, and the operator can access the application account through the private key to access resource information matched with the target application through the application account, specifically, part of the resource information matched with the application.
For example, when a user registers a user account for which a blockchain is applied, the user may obtain related resource information by inputting corresponding user information, such as whether to transfer a resource to a target account, product information that may be used by the resource, and the like. Correspondingly, the application operator may also input user identification information recorded in the corresponding application through the application account, and query time information of resource processing and the like.
Referring to fig. 6, which shows a schematic diagram of an account interface, fig. 6(a) shows a deposit record interface of a user, and the user inputs a name and a corresponding identification number, can inquire whether the user has paid a deposit, and uses product information of the deposit. Fig. 6(b) shows the deposit record of the application operator, and the deposit payment record and the deposit return record of the user can be inquired by inputting the name and the corresponding identity card number of the user.
It should be noted that, after the user transfers the resource in the resource account corresponding to the user into the shared account, when the user is not using the product corresponding to the target application, the user needs to apply for transferring the resource from the shared account back to the resource account corresponding to the user. At this time, the corresponding service request initiated by the user is to transfer the target resource 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 comprises the following steps:
carrying out authority verification on the first user and the first application by utilizing the authority information which is stored in the block chain and is matched with a target application system;
if the authority is successfully verified, processing the resource data of the service request by using the resource processing condition which is stored in the block chain and corresponds to the first application to obtain second prompt information;
sending the second prompt message to the first application to enable the first application to display the second prompt message, wherein the second prompt message is used for prompting to transfer the target resource to an account of the first user;
the resource information which is stored in the block chain and matched with the target application system comprises the authority information and the resource processing condition.
In the processing process, the authority information of the target application system, the authority information of the user and the resource processing condition which are stored in the block chain are utilized. The authority information of the target application and the user is used for verifying the authority of the user and the target application, and risk processing caused by information tampering is avoided. Usually, a user initiates a resource transfer-back request through an application, such as a first application, and if the first application is stolen by a lawbreaker, risk information may be generated, that is, the resource transfer-back request of the disguised user, so that the security of resource transfer-back can be ensured by verifying the authority of the application. Similarly, the security of the user resource can also be ensured by verifying the authority information of the user. The resource processing condition refers to a condition for transferring back the resource, namely a condition for transferring back a user resource account, transferring back time or whether partial resource is required to be deducted. If the user does not return the shared device at the designated time and the user damages the shared device, the target resource is deducted correspondingly, and then the remaining resource is transferred back to the resource account of the user. The second prompt message at this time may be "you have expired using the sharing device a and deducted the retention fee in the return deposit".
The block chain comprises a series of blocks which are mutually continuous according to the generated time sequence, once a new area is added into the block chain, the new area cannot be removed, and the recorded data submitted by nodes in the block chain system are recorded in the blocks. Correspondingly, in the embodiment of the present application, after processing the resource data after processing the service request each time, and obtaining new resource data, a new block needs to be created on the block chain to store the updated resource data, so as to facilitate the secure recording and access of the data.
By the resource processing method provided by the application, users log in the block chain service through social identity authentication, and after target resources are transferred to a shared account by each user, corresponding resource information can be stored in the block chain; when the user who has carried out target resource transfer logs in other product services, the corresponding product can inquire whether the user carries out target resource transfer or not through the block chain service, if so, the service is normally provided, otherwise, the service is refused. Corresponding to the application scene of payment of the deposit, the payment of the deposit can be stably stored for a long time and is not limited by time and space; the user does not need to pay the deposit repeatedly when using a plurality of services, so that the convenience is greatly improved; a reliable deposit inquiry interface is provided for various product operators, and the product operation cost is greatly reduced.
In another aspect, an embodiment of the present application further provides a block node device, and referring to fig. 7, a schematic structural diagram of the block node device is shown, where the block node device includes:
an obtaining unit 701, configured to obtain a service request initiated by a first user for a first application;
a processing unit 702, configured to process resource data carried in the service request by using resource information stored in a block chain and matching with a target application system, so that the first application can respond to the service request of the first user based on a resource data processing result;
the target application system comprises the first application and/or a second application having a specific association relation with the first application, and the resource information is generated when the account of the first user and a shared account of the block chain are subjected to resource transfer.
In a possible implementation manner of this embodiment, the block node apparatus further includes:
a transfer request obtaining unit, configured to obtain a resource transfer request of a user received by a target application;
the identity authentication unit is used for authenticating the identity of the user by using the identity information of the user stored in the block chain;
and the information storage unit is used for storing the resource information corresponding to the resource transfer request to the block chain if the verification is passed.
In another possible implementation manner of this embodiment, the apparatus further includes:
the user account generation unit is used for acquiring user information carried by a first registration request of a user for the block chain; generating a user account of the block chain according to the user information, so that the user accesses the resource information which is stored in the block chain and matched with the user through the user account;
the application account generation unit is used for acquiring application information carried by a second registration request of the target application for the block chain; and generating a target application account of the block chain according to the application information, so that the target application accesses the resource information which is stored in the block chain and matched with the target application through the target application account.
Optionally, the resource data carried by the service request includes transfer information of a target resource, and the processing unit is specifically configured to:
judging whether a first account corresponding to a target application system has a target resource matched with a first user or not by using resource information matched with the target application system and stored in a block chain;
if so, sending first control information to the first application, and enabling the first application to enter an operation interface of a target function according to the first control information.
On the basis of the above embodiment, the processing unit is further configured to:
if the resource information which is stored by using the block chain and matched with the target application system is utilized, judging that no target resource which is matched with the first user exists in a first account corresponding to the target application system, and generating prompt information;
and sending the prompt information to a first application to enable the first application to display the prompt information, wherein the prompt information is used for prompting a current user of the first application to transfer a target resource to the first user.
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:
carrying out authority verification on the first user and the first application by utilizing the authority information which is stored in the block chain and is matched with a target application system;
if the authority is successfully verified, processing the resource data of the service request by using the resource processing condition which is stored in the block chain and corresponds to the first application to obtain second prompt information;
sending the second prompt message to the first application to enable the first application to display the second prompt message, wherein the second prompt message is used for prompting to transfer the target resource to an account of the first user;
the resource information which is stored in the block chain and matched with the target application system comprises the authority information and the resource processing condition.
Optionally, the apparatus further comprises:
and the block creating unit is used for creating a new block on the block chain and storing the updated resource data corresponding to the resource data processing result in the new area block.
On the other hand, the present application also provides an electronic device, as shown in fig. 8, which shows a schematic structural diagram of the electronic device of the present application, and the electronic device 800 of this embodiment may include: a processor 801 and a memory 802.
Optionally, the terminal may further include a communication interface 803, an input unit 804 and a display 805 and a communication bus 806.
The processor 801, the memory 802, the communication interface 803, the input unit 804 and the display 805 all communicate with each other via a communication bus 806.
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, an off-the-shelf programmable gate array, or other programmable logic device.
The processor may call a program stored in the memory 802. Specifically, the processor may execute the resource processing method in the above embodiment.
The memory 802 is used for storing one or more programs, which may include program codes including computer operation instructions, and in this embodiment, the memory stores at least the programs for implementing the following functions:
acquiring a service request initiated by a first user aiming at a first application;
processing resource data carried by the service request by using resource information which is stored in a block chain and matched with a target application system, so that the first application can respond to the service request of the first user based on a resource data processing result;
the target application system comprises the first application and/or a second application having a specific association relation with the first application, and the resource information is generated when the account of the first user and a shared account of the block chain are subjected to resource transfer.
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, an application program required by at least one function (such as a permission check function, etc.), and the like; the storage data area may store data created according to the use of the computer, such as resource information, user information, and the like.
Further, the memory 802 may include high speed random access memory and may also include non-volatile memory, such as at least one magnetic disk storage device or other volatile solid state storage device.
The communication interface 803 may be an interface of a communication module, such as an interface of a GSM module.
The present application may also include a display 804 and an input unit 805, and the like.
Of course, the structure of the terminal shown in fig. 8 does not constitute a limitation of the terminal in the embodiment of the present application, and in practical applications, the terminal may include more or less components than those shown in fig. 8, or some components may be combined.
On the other hand, the embodiment of the present application further provides a computer storage medium, where a plurality of instructions are stored, and the instructions are adapted to be loaded by a processor and execute the resource processing method in any of the above embodiments.
It should be noted that, in the present specification, the embodiments are all described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments may be referred to each other. For the device-like embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
The foregoing is only a preferred embodiment of the present invention, and it should be noted that it is obvious to those skilled in the art that various modifications and improvements can be made without departing from the principle of the present invention, and these modifications and improvements should also be considered as the protection scope of the present invention.

Claims (10)

1. A method for processing resources, the method comprising:
acquiring a service request initiated by a first user aiming at a first application;
processing resource data carried by the service request by using resource information which is stored in a block chain and matched with a target application system, so that the first application can respond to the service request of the first user based on a resource data processing result;
the target application system comprises the first application and/or a second application having a specific association relation with the first application, and the resource information is generated when the account of the first user and a shared account of the block chain are subjected to resource transfer.
2. The method of claim 1, further comprising:
acquiring a resource transfer request of a user received by a target application;
performing identity authentication on the user by using the identity information of the user stored in the block chain;
and if the verification is passed, storing the resource information corresponding to the resource transfer request to the block chain.
3. The method of claim 1, further comprising:
acquiring user information carried by a first registration request of a user for the block chain;
generating a user account of the block chain according to the user information, so that the user accesses the resource information which is stored in the block chain and matched with the user through the user account;
acquiring application information carried by a second registration request of the target application for the block chain;
and generating a target application account of the block chain according to the application information, so that the target application accesses the resource information which is stored in the block chain and matched with the target application through the target application account.
4. The method according to claim 1, wherein the resource data carried by the service request includes transfer information of a target resource, and the processing of the resource data carried by the service request by using the resource information stored in the block chain and matched with the target application system includes:
judging whether a first account corresponding to a target application system has a target resource matched with a first user or not by using resource information matched with the target application system and stored in a block chain;
if so, sending first control information to the first application, and enabling the first application to enter an operation interface of a target function according to the first control information.
5. The method according to claim 4, wherein the processing the resource data carried by the service request by using the resource information matched with the target application system stored in the blockchain comprises:
if the resource information which is stored by using the block chain and matched with the target application system is utilized, judging that no target resource which is matched with the first user exists in a first account corresponding to the target application system, and generating prompt information;
and sending the prompt information to a first application to enable the first application to display the prompt information, wherein the prompt information is used for prompting a current user of the first application to transfer a target resource to the first user.
6. The method of claim 1, 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, and wherein the processing resource data carried by the service request using resource information stored in a blockchain and matching with a target application system comprises:
carrying out authority verification on the first user and the first application by utilizing the authority information which is stored in the block chain and is matched with a target application system;
if the authority is successfully verified, processing the resource data of the service request by using the resource processing condition which is stored in the block chain and corresponds to the first application to obtain second prompt information;
sending the second prompt message to the first application to enable the first application to display the second prompt message, wherein the second prompt message is used for prompting to transfer the target resource to an account of the first user;
the resource information which is stored in the block chain and matched with the target application system comprises the authority information and the resource processing condition.
7. The system of claim 1, wherein the method further comprises:
and creating a new block on the block chain, and storing updated resource data corresponding to the resource data processing result in the new area block.
8. A block node apparatus, comprising:
an obtaining unit, configured to obtain a service request initiated by a first user for a first application;
the processing unit is used for processing the resource data carried by the service request by utilizing the resource information which is stored in the block chain and matched with the target application system, 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 comprises the first application and/or a second application having a specific association relation with the first application, and the resource information is generated when the account of the first user and a shared account of the block chain are subjected to resource transfer.
9. An electronic device, comprising: a processor and a memory, wherein the memory stores a computer program adapted to be loaded by the processor and to perform the steps of:
acquiring a service request initiated by a first user aiming at a first application;
processing resource data carried by the service request by using resource information which is stored in a block chain and matched with a target application system, so that the first application can respond to the service request of the first user based on a resource data processing result;
the target application system comprises the first application and/or a second application having a specific association relation with the first application, and the resource information is generated when the account of the first user and a shared account of the block chain are subjected to resource transfer.
10. A computer storage medium, characterized in that it stores a plurality of instructions adapted to be loaded by a processor and to perform the method steps according to any of claims 1-7.
CN201910925592.0A 2019-09-27 2019-09-27 Resource processing method and device, electronic equipment and storage medium Pending CN110599311A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910925592.0A CN110599311A (en) 2019-09-27 2019-09-27 Resource processing method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910925592.0A CN110599311A (en) 2019-09-27 2019-09-27 Resource processing method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN110599311A true CN110599311A (en) 2019-12-20

Family

ID=68864244

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910925592.0A Pending CN110599311A (en) 2019-09-27 2019-09-27 Resource processing method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN110599311A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111414408A (en) * 2020-03-11 2020-07-14 成都数融科技有限公司 Method and device for trusted representation of data based on block chain
CN111507881A (en) * 2020-04-20 2020-08-07 支付宝实验室(新加坡)有限公司 Resource demand information processing method, device and equipment
CN113034740A (en) * 2021-02-26 2021-06-25 山东浪潮质量链科技有限公司 Unlocking method and equipment for shared bicycle and storage medium
CN113920618A (en) * 2021-09-17 2022-01-11 北京三快在线科技有限公司 Vehicle unlocking method and device, shared vehicle and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109087455A (en) * 2018-07-09 2018-12-25 李云 A kind of shared electric vehicle using motor based on block chain
CN109118332A (en) * 2018-08-14 2019-01-01 深圳还是威健康科技有限公司 A kind of method and relevant device of shared automobile personal credit management

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109087455A (en) * 2018-07-09 2018-12-25 李云 A kind of shared electric vehicle using motor based on block chain
CN109118332A (en) * 2018-08-14 2019-01-01 深圳还是威健康科技有限公司 A kind of method and relevant device of shared automobile personal credit management

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
科客: "实测全能车app:真的能解锁所有共享单车?", pages 1 - 9, Retrieved from the Internet <URL:https://baijiahao.baidu.com/s?id=1572144177235188&wfr=spider&for=pc> *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111414408A (en) * 2020-03-11 2020-07-14 成都数融科技有限公司 Method and device for trusted representation of data based on block chain
CN111507881A (en) * 2020-04-20 2020-08-07 支付宝实验室(新加坡)有限公司 Resource demand information processing method, device and equipment
CN113034740A (en) * 2021-02-26 2021-06-25 山东浪潮质量链科技有限公司 Unlocking method and equipment for shared bicycle and storage medium
CN113920618A (en) * 2021-09-17 2022-01-11 北京三快在线科技有限公司 Vehicle unlocking method and device, shared vehicle and storage medium

Similar Documents

Publication Publication Date Title
US11314891B2 (en) Method and system for managing access to personal data by means of a smart contract
KR102514325B1 (en) Model training system and method, storage medium
CN109961292B (en) Block chain verification code application method, equipment and storage medium
CN111353903B (en) Network identity protection method and device, electronic equipment and storage medium
CN110599311A (en) Resource processing method and device, electronic equipment and storage medium
CN110768967B (en) Service authorization method, device, equipment, system and storage medium
US10091230B1 (en) Aggregating identity data from multiple sources for user controlled distribution to trusted risk engines
CN105262779B (en) Identity authentication method, device and system
CN110071806B (en) Data processing method and system based on interface verification
CN110011957B (en) Security authentication method and device for enterprise account, electronic equipment and storage medium
CN111292174A (en) Tax payment information processing method and device and computer readable storage medium
WO2012040869A1 (en) User account recovery
WO2020062667A1 (en) Data asset management method, data asset management device and computer readable medium
WO2021160981A1 (en) Methods and apparatus for controlling access to personal data
Alilwit Authentication based on blockchain
CN115396209B (en) Access authorization method, device, electronic equipment and readable storage medium
CN111444284A (en) Intellectual property trading method, system, equipment and computer readable storage medium based on block chain
CN111311341A (en) Bill processing method, apparatus and medium
CN110992186A (en) Account management method, system, device and storage medium
CN110599211A (en) Ticket information processing method and device and computer equipment
KR102086234B1 (en) Virtual currency trading system with block chain
KR20210017308A (en) Method for providing secondary authentication service using device registration and distributed storage of data
JP6175490B2 (en) Method and computer communication system for authenticating a client system
CN117040930B (en) Resource processing method, device, product, equipment and medium of block chain network
CN113259340B (en) Block chain data processing method and device and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination