CN117768544A - Block chain-based data processing method, device and computer readable storage medium - Google Patents
Block chain-based data processing method, device and computer readable storage medium Download PDFInfo
- Publication number
- CN117768544A CN117768544A CN202211127585.4A CN202211127585A CN117768544A CN 117768544 A CN117768544 A CN 117768544A CN 202211127585 A CN202211127585 A CN 202211127585A CN 117768544 A CN117768544 A CN 117768544A
- Authority
- CN
- China
- Prior art keywords
- target
- resource
- multimedia resource
- blockchain
- uplink
- 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
Links
- 238000003860 storage Methods 0.000 title claims abstract description 68
- 238000003672 processing method Methods 0.000 title claims abstract description 31
- 238000000034 method Methods 0.000 claims abstract description 54
- 230000004044 response Effects 0.000 claims abstract description 32
- 238000012545 processing Methods 0.000 claims description 62
- 238000012795 verification Methods 0.000 claims description 58
- 238000004590 computer program Methods 0.000 claims description 23
- 230000006870 function Effects 0.000 claims description 21
- 238000004891 communication Methods 0.000 claims description 18
- 238000010586 diagram Methods 0.000 description 19
- 230000000694 effects Effects 0.000 description 13
- 238000012800 visualization Methods 0.000 description 13
- 230000003993 interaction Effects 0.000 description 12
- 238000005516 engineering process Methods 0.000 description 10
- 230000008569 process Effects 0.000 description 8
- 238000007726 management method Methods 0.000 description 7
- 230000005540 biological transmission Effects 0.000 description 5
- 238000005266 casting Methods 0.000 description 5
- 230000009286 beneficial effect Effects 0.000 description 4
- 230000006978 adaptation Effects 0.000 description 3
- 230000002708 enhancing effect Effects 0.000 description 3
- 230000000007 visual effect Effects 0.000 description 3
- 238000013473 artificial intelligence Methods 0.000 description 2
- 238000012550 audit Methods 0.000 description 2
- 238000013500 data storage Methods 0.000 description 2
- 238000001514 detection method Methods 0.000 description 2
- 238000012423 maintenance Methods 0.000 description 2
- 238000004519 manufacturing process Methods 0.000 description 2
- 230000007246 mechanism Effects 0.000 description 2
- 238000013468 resource allocation Methods 0.000 description 2
- 208000001613 Gambling Diseases 0.000 description 1
- 230000002159 abnormal effect Effects 0.000 description 1
- 238000007792 addition Methods 0.000 description 1
- 238000013475 authorization Methods 0.000 description 1
- 230000006399 behavior Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000012217 deletion Methods 0.000 description 1
- 230000037430 deletion Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000003862 health status Effects 0.000 description 1
- 230000000977 initiatory effect Effects 0.000 description 1
- 230000002452 interceptive effect Effects 0.000 description 1
- 238000005304 joining Methods 0.000 description 1
- 238000013507 mapping Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 239000002574 poison Substances 0.000 description 1
- 231100000614 poison Toxicity 0.000 description 1
- 238000012954 risk control Methods 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
Landscapes
- Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
Abstract
The embodiment of the application discloses a data processing method, a device and a computer readable storage medium based on a blockchain, wherein the method comprises the following steps: receiving a first resource release request sent by a block chain application; generating a target ticket identifier of the uplink transaction corresponding to the first resource release request based on the target multimedia resource and the identifier on the object chain, and sending a second resource release request to a blockchain network; and when receiving resource release success indication information fed back by the blockchain network in response to the second resource release request, acquiring the on-chain data information of the target multimedia resource carried in the release success indication information, and sending the on-chain data information of the target multimedia resource to the blockchain application. By adopting the embodiment of the application, the release degree of freedom and the release flexibility of the multimedia resource uplink can be improved, the release efficiency of the multimedia resource uplink can be improved, the operation is simple, and the applicability is strong.
Description
Technical Field
The present disclosure relates to the field of blockchain technologies, and in particular, to a blockchain-based data processing method, apparatus, and computer readable storage medium.
Background
The blockchain technology is widely applied to the fields of digital finance, internet of things, intelligent manufacturing and the like due to the characteristics of decentralization, high safety and non-tamper property, and the requirements of various industries on the blockchain technology enable the development of the blockchain technology to change day and night.
At present, users generally shoot some time with commemorative meaning in the social field, share and store in a dynamic form of a friend circle, and comment and dynamic release of the users are all audited by related centralized service providers, so that the degree of freedom of the users is low, and the meaning and value of the special dynamic cannot be reflected. At present, the issue of virtual resources is mostly aimed at companies or organizations, the demand of issuing virtual resources for individual users is less satisfied, and the individual users face the problems of low issue speed, high cost, complex operation flow and the like when aiming at the issue of virtual resources.
Disclosure of Invention
The embodiment of the application provides a data processing method, a device and a computer readable storage medium based on a blockchain, which can improve the release freedom degree and release flexibility of multimedia resource uplink, can improve the release efficiency of multimedia resource uplink, and is simple to operate and high in applicability.
In a first aspect, an embodiment of the present application provides a data processing method based on a blockchain, including:
receiving a first resource release request sent by a blockchain application, wherein the first resource release request carries a target multimedia resource to be released and an object chain identifier of a target object to which the target multimedia resource belongs;
generating a target ticket identifier of the uplink transaction corresponding to the first resource release request based on the target multimedia resource and the object chain identifier, and sending a second resource release request to a blockchain network, wherein the second resource release request carries the target ticket identifier, the target ticket identifier is used for representing that the target object has ownership of the target multimedia resource, and the second resource release request is used for triggering the blockchain network to release the target multimedia resource to an object chain address of the target object;
and when receiving the resource release success indication information fed back by the block chain network in response to the second resource release request, acquiring the on-chain data information of the target multimedia resource carried in the release success indication information, and transmitting the on-chain data information of the target multimedia resource to the block chain application.
Wherein, before generating the target ticket identifier of the uplink transaction corresponding to the first resource release request based on the target multimedia resource and the target link identifier, the method further includes:
the target multimedia resource is sent to a multimedia resource identification service, and the multimedia resource identification service is triggered to identify key information of the target multimedia resource;
and if the multimedia resource identification service receives feedback that the target multimedia resource does not comprise target key information, executing the step of generating a target ticket identifier corresponding to the uplink transaction of the first resource release request based on the target multimedia resource and the identifier on the object chain.
Wherein after generating the target ticket identifier of the uplink transaction corresponding to the first resource release request based on the target multimedia resource and the target link identifier, the method further includes:
and sending the uplink state indication information of the first resource release request to the blockchain application, and triggering the blockchain application to set the release state of the target multimedia resource into the uplink.
Wherein the sending the second resource release request to the blockchain network includes:
Generating a second resource release request based on the target ticket identifier, and storing the second resource release request in a target storage unit;
when receiving a scheduling request of an asynchronous uplink program, the asynchronous uplink program reads the second resource release request from the target storage unit and transmits the second resource release request to a blockchain network.
In a second aspect, an embodiment of the present application provides a data processing method based on a blockchain, including:
receiving a multimedia resource uplink request sent by the target object, wherein the multimedia resource uplink request carries a target multimedia resource and an object chain identifier of the target object;
a first resource issuing request of the uplink of the target multimedia resource is sent to a target server, wherein the first resource issuing request carries the target multimedia resource to be issued and the target link identifier;
and when receiving the link data information of the target multimedia resource fed back by the target server in response to the first resource release request, displaying the link data information to the target object.
Before receiving the multimedia resource uplink request sent by the target object, the method further includes:
Receiving an object registration request sent by the target object, wherein the object registration request carries an object registration identifier of the target object;
performing object identification verification on the target object based on the object registration identifier, and generating an object chain identifier and an object chain address of the target object based on the object registration identifier when the object information of the target object is determined to be complete based on the object identification verification;
and feeding back the object chain identifier to the target object, and registering the object chain address in a blockchain network, wherein the object chain address is used for instructing the blockchain network to issue the multimedia resource corresponding to the object chain identifier to the object chain address.
Wherein after the sending the first resource release request of the target multimedia resource uplink to the target server, the method further comprises:
and when receiving the uplink state indication information of the target multimedia resource fed back by the target server based on the first resource release request, setting the release state of the target multimedia resource into a uplink, and displaying the release state to an application interface to display the release state to the target object.
Wherein after the issuing status of the target multimedia resource is set to be in the uplink, the method further comprises:
and when receiving the on-link data information of the target multimedia resource fed back by the target server in response to the first resource release request, setting the release state of the target multimedia resource to be successfully linked.
In a third aspect, embodiments of the present application provide a blockchain-based data processing device, where the device is applicable to a blockchain server, the device including:
the receiving unit is used for receiving a first resource issuing request sent by the blockchain application, wherein the first resource issuing request carries a target multimedia resource to be issued and an object chain identifier of a target object to which the target multimedia resource belongs;
a processing unit, configured to generate a target ticket identifier of an uplink transaction corresponding to the first resource release request based on the target multimedia resource and the object chain identifier received by the receiving unit, and send a second resource release request to a blockchain network, where the second resource release request carries the target ticket identifier generated by the processing unit, the target ticket identifier is used to characterize that the target object has ownership of the target multimedia resource, and the second resource release request is used to trigger the blockchain network to release the target multimedia resource to an object chain address of the target object;
The processing unit is further configured to obtain, when the receiving unit receives resource release success indication information fed back by the blockchain network in response to the second resource release request, on-chain data information of the target multimedia resource carried in the release success indication information;
and the sending unit is used for sending the on-chain data information of the target multimedia resource acquired by the processing unit to the blockchain application.
Wherein the processing unit comprises:
the verification subunit is used for sending the target multimedia resource to the multimedia resource identification service and triggering the multimedia resource identification service to identify key information of the target multimedia resource;
and the generating subunit is used for generating a target ticket identifier corresponding to the first resource issuing request to the uplink transaction based on the target multimedia resource and the object chain identifier when the target key information is not included in the target multimedia resource and the feedback of the multimedia resource identification service is received.
Wherein, the device further includes:
and the indicating unit is used for sending the uplink state indicating information of the first resource release request to the blockchain application and triggering the blockchain application to set the release state of the target multimedia resource into the uplink.
Wherein, the processing unit further comprises:
a request processing subunit, configured to generate a second resource release request based on the target ticket identifier, and store the second resource release request to a target storage unit;
and the scheduling subunit is used for reading the second resource release request from the target storage unit through the asynchronous uplink program and sending the second resource release request to the blockchain network when receiving the scheduling request of the asynchronous uplink program.
In a fourth aspect, embodiments of the present application provide a blockchain-based data processing apparatus, where the apparatus is applicable to a blockchain application client, the apparatus including:
a receiving unit, configured to receive a multimedia resource uplink request sent by the target object, where the multimedia resource uplink request carries a target multimedia resource and an object link identifier of the target object;
a sending unit, configured to send, to a target server, a first resource release request of the target multimedia resource uplink received by the receiving unit, where the first resource release request carries the target multimedia resource to be released and the target link identifier;
And the display unit is used for displaying the on-link data information to the target object when the receiving unit receives the on-link data information of the target multimedia resource fed back by the target server in response to the first resource release request.
Wherein, the device further includes:
a registration request unit, configured to receive an object registration request sent by the target object, where the object registration request carries an object registration identifier of the target object;
a registration verification unit, configured to perform object identification verification on the target object based on the object registration identifier, and generate an on-object-chain identifier and an on-object-chain address of the target object based on the object registration identifier when it is determined that object information of the target object is complete based on the object identification verification;
and the registration processing unit is used for feeding back the identifier on the object chain to the target object and registering the address on the object chain into the blockchain network, wherein the address on the object chain is used for instructing the blockchain network to issue the multimedia resource corresponding to the identifier on the object chain to the address on the object chain.
Wherein, the device further includes:
And the state display unit is used for setting the issuing state of the target multimedia resource into a uplink when receiving the uplink state indication information of the target multimedia resource fed back by the target server based on the first resource issuing request, and displaying the issuing state to an application interface so as to display the issuing state to the target object.
Wherein the status display unit is further configured to:
and when receiving the on-link data information of the target multimedia resource fed back by the target server in response to the first resource release request, setting the release state of the target multimedia resource as successful uplink.
In a fifth aspect, the present application provides a computer device comprising: a processor, transceiver, memory, network interface;
the processor is connected to the transceiver, the memory, and the network interface, where the network interface is used to provide a data communication function, the memory is used to store a computer program, and the processor and the transceiver are used to call the computer program to cause the computer device to execute the method provided in the first aspect in the embodiment of the present application.
In a sixth aspect, the present application provides a computer device comprising: a processor, transceiver, memory, network interface;
The processor is connected to the transceiver, the memory, and the network interface, where the network interface is used to provide a data communication function, the memory is used to store a computer program, and the processor and the transceiver are used to call the computer program to cause the computer device to execute the method provided in the second aspect of the embodiment of the present application.
In a seventh aspect, an embodiment of the present application provides a computer readable storage medium, where a computer program is stored, where the computer program is adapted to be loaded by a processor and to perform the method provided in the first aspect and the second aspect of the embodiment of the present application.
In an eighth aspect, embodiments of the present application provide a computer program product or computer program comprising computer instructions stored in a computer readable storage medium; the processor of the computer device reads the computer instructions from the computer readable storage medium, and the processor executes the computer instructions, so that the computer device performs the methods provided in the first aspect and the second aspect of the embodiments of the present application.
In the embodiment of the application, the requirement of the target object on the casting of the multimedia resource chain is realized through the interaction between the server in the blockchain network and the blockchain application client, and the multimedia resource can be directly issued to the chain address of the target object after being checked by the blockchain network. A server in the blockchain network may generate a target ticket identification for a uplink transaction based on an on-chain address of a target object and a multimedia resource of the target object, and store the target ticket identification to a storage unit corresponding to the on-chain address of the user, and an asynchronous uplink program running in the server may continuously call each ticket identification from the storage unit to schedule an uplink casting request for each multimedia resource. When the target ticket identifier of the target object is called, the target multimedia resource of the target object can be uplink when the uplink casting request of the target multimedia resource can be scheduled, so that the application is adopted, the uplink issuing efficiency of the multimedia resource is improved, the operation is simple, and the applicability is strong.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the description of the embodiments will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic diagram of an architecture of a blockchain-based data processing system provided in an embodiment of the present application;
FIG. 2 is a schematic diagram of an application scenario of a blockchain-based data processing method provided in an embodiment of the present application;
FIG. 3 is a flow chart of a method for processing data based on a blockchain according to an embodiment of the present application;
FIG. 4 is a schematic diagram of another application scenario of a blockchain-based data processing method according to an embodiment of the present disclosure;
FIG. 5 is another flow chart of a data processing method based on blockchain provided in an embodiment of the present application;
FIG. 6 is an interactive schematic diagram of a blockchain-based data processing method provided in an embodiment of the present application;
FIG. 7 is a schematic diagram of a block chain based data processing apparatus according to an embodiment of the present application;
FIG. 8 is another block chain based data processing apparatus according to an embodiment of the present application;
FIG. 9 is a schematic diagram of a computer device according to an embodiment of the present disclosure;
fig. 10 is another schematic structural diagram of a computer device according to an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are only some, but not all, of the embodiments of the present application. All other embodiments, which can be made by one of ordinary skill in the art without undue burden from the present disclosure, are within the scope of the present disclosure.
For ease of understanding, the following simple explanation of partial nouns is first made:
1. block chain
Blockchains are novel application modes of computer technologies such as distributed data storage, point-to-point transmission, consensus mechanisms, encryption algorithms, and the like. The Blockchain (Blockchain), which is essentially a decentralised database, is a string of data blocks that are generated by cryptographic means in association, each data block containing a batch of information of network transactions for verifying the validity of the information (anti-counterfeiting) and generating the next block. The blockchain may include a blockchain underlying platform, a platform product services layer, and an application services layer.
The blockchain underlying platform may include processing modules for user management, basic services, smart contracts, and operation detection. The user management module is responsible for identity information management of all blockchain participants, including maintenance of public and private key generation (account management), key management, maintenance of corresponding relation between the real identity of the user and the blockchain address (authority management), etc., and under the condition of authorization, supervision and audit of transaction conditions of certain real identities, and provision of rule configuration (wind control audit) of risk control. The basic service module is deployed on all block chain node devices, is used for verifying the validity of a service request, recording the service request on a storage after the effective request is identified, and for a new service request, the basic service module firstly analyzes interface adaptation and authenticates the interface adaptation, encrypts service information (identification management) through an identification algorithm, and transmits the encrypted service information to a shared account book (network communication) in a complete and consistent manner, and records and stores the service information. The intelligent contract module is responsible for the registration and release of contracts, the triggering of contracts and the execution of contracts, developers can define contract logic through a certain programming language, release the contract logic to a blockchain (contract registration), call keys or other event triggering execution according to the logic of contract clauses to complete the contract logic, and simultaneously provide the function of logging off the upgrade of the contracts. The operation detection module is mainly responsible for deployment in the product release process, modification of configuration, contract setting, cloud adaptation and visual output of real-time states in product operation, for example: alarms, detecting network conditions, detecting node device health status, etc.
The platform product service layer provides basic capabilities and implementation frameworks of typical applications, and developers can complete the blockchain implementation of business logic based on the basic capabilities and the characteristics of the superposition business. The application service layer provides the application service based on the block chain scheme to the business participants for use.
In a narrow sense, the blockchain is a chain data structure taking a block as a basic unit, and the block uses a digital abstract to verify the transaction history acquired before, so that the blockchain is suitable for the requirements of tamper resistance and expandability in a distributed accounting scene; in a broad sense, blockchain also refers to distributed accounting techniques implemented by blockchain structures, including distributed consensus, privacy and security protection, point-to-point communication techniques, network protocols, smart contracts, and the like. The goal of the blockchain is to implement a distributed data logging ledger that allows only additions and not deletions. The basic structure of the ledger floor is a linear linked list. The linked list is formed by serially connecting blocks, the Hash value of the preceding block is recorded in the following blocks, and whether each block (and the transaction in the block) is legal or not can be rapidly checked by calculating the Hash value. If a node in the network proposes to add a new block, a consensus acknowledgement must be made for the block via a consensus mechanism.
2. Blockchain nodes: the blockchain network distinguishes nodes as consensus nodes (which may also be referred to as core nodes) and synchronization nodes (which may include data nodes as well as light nodes). Wherein, the consensus node is responsible for the consensus service of the whole block chain network; the synchronization node is responsible for synchronizing the ledger information of the consensus node, i.e. synchronizing the latest block data. The internal architecture of either the consensus node or the synchronization node includes network communication components, because the blockchain network is essentially a Peer-to-Peer (P2P) network, which needs to communicate with other nodes in the blockchain network via the P2P components. Resources and services in the blockchain network are distributed on each node, and information transmission and service realization are directly carried out between the nodes without intervention of an intermediate link or a centralized server (third party).
3. Public key (public key) and private key (private key): the public key and the private key are a key pair (namely a public key and a private key) obtained through an algorithm, the public key is a public part of the key pair, and the private key is a non-public part. Public keys are commonly used to encrypt data, verify digital signatures, and the like. By means of this algorithm it is ensured that the resulting key pair is unique, and when using this key pair, if one of the keys is used to encrypt a piece of data, it must be decrypted with the other key, e.g. the public key is used to encrypt the data, and if the private key is used, it must be decrypted with the public key, otherwise the decryption will not succeed.
4. Hash value: also called information characteristic value or eigenvalue, hash value is generated by converting input data of arbitrary length into a password by hash algorithm and performing fixed output, and original input data cannot be retrieved by decrypting the hash value, which is a one-way encryption function. In the blockchain, each block (except the initial block) contains the hash value of the successor block, which is referred to as the parent block of the current block. Hash value is the potential core foundation and most important aspect in blockchain technology, which preserves the authenticity of the recorded and viewed data, as well as the integrity of the blockchain as a whole.
5. Smart Contract: is a computer protocol that aims to propagate, verify or execute contracts in an informative manner. In a blockchain system, a smart contract (abbreviated as contract) is a code that can be understood and executed by each node of the blockchain, and can execute any logic and obtain a result. In practice, smart contracts are managed and tried through transactions on the blockchain. Each transaction corresponds to a remote procedure call (Remote Procedure Call, RPC) request to the blockchain system. If the smart contract is said to be equivalent to an executable program, the blockchain is said to be equivalent to an operating system that provides a runtime environment. The blockchain may contain multiple contracts, distinguished by contract account numbers (IDs), identification numbers, or names. The governance committee contracts described below are intelligent contracts provided by embodiments of the present application for managing consensus nodes, and may include recording node status of the consensus nodes, dynamically joining the consensus nodes, eliminating abnormal consensus nodes, and the like.
6. The wallet is used for providing the function of carrying out the transaction of the digital asset, and comprises a transaction initiating step (namely, a transaction record of the current transaction is sent to other nodes in the blockchain system, and after the other nodes are verified successfully, record data of the transaction is stored in a temporary block of the blockchain as a response of confirming that the transaction is valid, and of course, the wallet also supports inquiring the digital asset remained in the digital asset address.
The blockchain-based data processing method and related devices provided in embodiments of the present application are illustrated in the following in conjunction with fig. 1-10.
With reference to FIG. 1, FIG. 1 is a block chain based data processing system architecture that is provided in accordance with an embodiment of the present application. As shown in fig. 1, the system may include a blockchain network 100a, an application server 100b, a cluster of terminal devices, and a storage device 200a. Wherein the blockchain network 100a may include: the blockchain nodes 10a, 10b, 10c, and 10d, it being understood that the blockchain network 100a may include one or more blockchain nodes, and the embodiments of the present application do not limit the number of blockchain nodes. It is understood that in the blockchain network 100a, the blockchain node 10b, and the blockchain node 10d are each capable of data interaction through a network connection with the blockchain node 10 c. It should be appreciated that each blockchain node (e.g., blockchain node 10a, blockchain node 10b, blockchain node 10c, blockchain node 10 d) in the blockchain network 100a may be configured To maintain the same blockchain (e.g., blockchain 10e shown in fig. 1), and that any two blockchain nodes in the blockchain network 100a may form a point-To-point (P2P, peer To Peer) network therebetween, and that the P2P protocol may employ a P2P protocol, wherein the P2P protocol is an application layer protocol that operates over a transmission control protocol (Transmission Control Protocol, TCP) protocol. In a distributed system, any device, such as a server, a terminal device, etc., may join to become a blockchain node.
It is understood that, as shown in fig. 1, the blockchain node 10a, the blockchain node 10b, the blockchain node 10c, the blockchain node 10d, and the like may have a one-to-one correspondence with the corresponding roles (i.e., the entity objects in the corresponding traffic scenario) that need to be accessed into the blockchain network 100a, respectively. The business scenario here may specifically include an electronic bill scenario, a social scenario, a resource release scenario, a payment scenario, and the like. At this time, the service data information in the corresponding service scenario may specifically include electronic ticket information in the electronic ticket scenario, data interaction information in the social scenario, resource release information in the resource release scenario, asset circulation record in the payment scenario, and the like, where specific contents of the service data information in the corresponding service scenario will not be listed one by one.
It will be appreciated that the above system may include one or more application servers, and the number of application servers will not be limited here. The application server 100b as shown in fig. 1 may be in network connection with the blockchain network 100a to enable data interaction through the network connection with the blockchain network 100 a. In addition, the application server 100b as shown in fig. 1 may be network-connected to the storage device 200a so as to be capable of data interaction through a network connection with the storage device 200 a. The application server 100b may be a background server corresponding to an application having a function of handling a service associated with a multimedia resource in the blockchain network 100 a.
The storage device 200a may be a device with a data storage function, for example, a cloud file server or an interstellar file system (Inter Planetary File System, abbreviated as IPFS) distributed storage, and the storage device 200a may provide a function of storing data for a terminal device cluster, the application server 100b, or the like.
The terminal device cluster may include a terminal device 100c, a terminal device 100d, terminal devices 100e, …, and a terminal device 100f, and it is understood that the terminal device cluster may include one or more terminal devices, and the number of terminal devices is not limited in the embodiment of the present application. Wherein a network connection may exist between the clusters of terminal devices, e.g. between terminal device 100c and terminal device 100 d. Meanwhile, any one of the terminal devices in the terminal device cluster may have a network connection with the application server 100b, for example, a network connection exists between the terminal device 100f and the application server 100 b. Meanwhile, any one of the terminal devices in the terminal device cluster may have a network connection with the blockchain network 100a, for example, a network connection between the terminal device 100d and the blockchain network 100 a. Meanwhile, any one of the terminal devices in the terminal device cluster may have a network connection with the storage device 200a, for example, a network connection exists between the terminal device 100f and the storage device 200 a. The network connection is not limited to a connection manner, and may be directly or indirectly connected through a wired network manner, may be directly or indirectly connected through a wireless network manner, or may be other manners, which is not limited herein.
It should be understood that each terminal device in the terminal device cluster shown in fig. 1 may be provided with an application client, and when the application client runs in each terminal device, data interaction may be performed between the application client and the application server 100b shown in fig. 1. The application client can be an application client with a multimedia resource processing function, such as a video application, a live broadcast application, a social application, an instant messaging application, a game application, a music application, a shopping application, a novel application, a browser, a digital asset application, a blockchain application and the like. The application client may be an independent client, or may be an embedded sub-client integrated in a client (for example, a social client, an educational client, and a multimedia client), which is not limited herein. Taking the blockchain application as an example, the application server 100b may be a collection of multiple servers including a background server, a data processing server and the like corresponding to the blockchain application, so that each terminal device may perform data transmission with the application server 100b through the blockchain application, for example, each terminal device may upload an uplink request of a multimedia resource to the application server 100b through the blockchain application, and further, the application server 100b may send the uplink request of the multimedia resource to other terminal devices or transmit the uplink request to the blockchain network 100a.
It will be appreciated that in the specific embodiments of the present application, related data such as user information is referred to, and when the embodiments of the present application are applied to specific products or technologies, user permissions or consents need to be obtained, and the collection, use and processing of related data need to comply with relevant laws and regulations and standards of the relevant countries and regions.
It will be appreciated that the application server 100b, the terminal device 100c, the terminal device 100d, the terminal device 100e, and the terminal device 100f may be blockchain nodes in the blockchain network 100a, and the data (e.g., the storage path) described in full text may be stored in a manner that the blockchain nodes generate blocks according to the data, and the blocks are added to the blockchain for storage.
For the convenience of subsequent understanding and description, the embodiment of the present application may select one terminal device as a target terminal device in the terminal device cluster shown in fig. 1, for example, use the terminal device 100c as a target terminal device. When the terminal device 100c receives a multimedia resource uplink request in the blockchain application registered by the object chain identification, it transmits a first resource release request generated based on the multimedia resource to the application server 100 b. The application account number registered in the blockchain network 100a for the blockchain application is referred to as an object chain identifier by using an operation object (i.e., a target object, such as an end user) corresponding to the terminal device 100 c; the first resource release request carries the target multimedia resource to be released and the object chain identifier of the target object to which the target multimedia resource belongs. It will be appreciated that the target multimedia resource may be any kind of multimedia data, and may specifically include, but not limited to, audio, picture, or video, etc., and may specifically be determined according to an actual application scenario, which is not limited herein. The terminal device 100c may further display the on-link data information to the operation object when receiving the on-link data information of the target multimedia resource fed back by the application server 100b in response to the first resource release request, so as to improve the instant response efficiency of the uplink of the target multimedia resource, enhance the visualization effect of the uplink of the target multimedia resource, and enhance the user viscosity of the uplink of the target multimedia resource.
The data processing method of the blockchain provided by the embodiment of the application can be executed by computer equipment (or simply referred to as equipment) such as terminal equipment or a server. The descriptions of the server, the terminal device, the computer device, the device and the like in the embodiment of the application may be independent physical servers, may be a server cluster or a distributed system formed by a plurality of physical servers, and may also be a cloud server for providing a cloud database, a cloud service, cloud computing, a cloud function, cloud storage, a network service, cloud communication, a middleware service, a domain name service, a security service, a CDN, and basic cloud computing services such as big data and an artificial intelligent platform. The terminal device may be a smart phone, a tablet computer, a notebook computer, a desktop computer, a palm computer, a mobile internet device (mobile internet device, MID), a wearable device (e.g., a smart watch, a smart bracelet, etc.), a smart computer, a smart vehicle, etc. which may run the above application. The terminal device and the server may be directly or indirectly connected through a wired or wireless manner, which is not limited herein in this embodiment.
Further, the application server 100b receives a first resource release request sent by a blockchain application loaded on a target terminal device (such as the terminal device 100 c), generates a target ticket identifier for an uplink transaction of the first resource release request based on a target multimedia resource to be released and an on-object-chain identifier of an operation object carried in the first resource release request, and sends a second resource release request to the blockchain network, where the second resource release request carries the target ticket identifier, and the target ticket identifier is used to characterize that the operation object has ownership for the target multimedia resource, and the second resource release request is used to trigger the blockchain network to release the target multimedia resource to be released to an on-object-chain address of the operation object. The blockchain application loaded in the terminal device 100c may acquire the uplink state of the target multimedia resource to be released according to the state indication information returned by the application server 100b, and may set the release state of the target multimedia resource in the uplink. Alternatively, the application server 100b may generate a second resource release request based on the target ticket identifier, and store the second resource release request in the storage device 200a corresponding to the path of the application server 100b, where the second resource release request carries the target ticket identifier. When the application server 100b receives the scheduling request of the asynchronous up-link program, the second resource release request is read from the storage device 200a by the asynchronous up-link program and sent to the blockchain network 100 a. When the application server 100b receives the resource release success indication information fed back by the blockchain network 100a in response to the second resource release request, it may acquire the on-chain data information of the target multimedia resource carried in the release success indication information, and send the on-chain data information of the target multimedia resource to the blockchain application loaded in the terminal device 100 c. The blockchain application loaded in the terminal device 100c can display the above-mentioned on-chain data information to the operation object, thereby enhancing the visualization effect of the uplink of the target multimedia resource, and having stronger applicability.
Further, referring to fig. 2, fig. 2 is a schematic diagram of an application scenario of a blockchain-based data processing method according to an embodiment of the present application. In this application scenario, the implementation process of the data processing method may be performed in an application server, or may be performed in a terminal device, or may be performed interactively between the terminal device and the application server, where the terminal device may be any one of the terminal devices in the terminal device cluster in the embodiment corresponding to fig. 1, and fig. 2 is described by taking the terminal device 100c as an example, and the application server may be the application server 100b in the embodiment corresponding to fig. 1. The embodiments of the present application may be applied to various scenarios including, but not limited to, cloud technology, artificial intelligence, intelligent transportation, assisted driving, and the like.
As shown in fig. 2, when the operation object 101c has a binding relationship with the terminal device 100c, the operation object 101c may log in an object chain in a blockchain application installed in the terminal device 100c, and in the embodiment of the present application, the "nickname 1" is identified by using an object chain identifier, where the object chain identifier may be understood as an account number (address) of the operation object 101c for the blockchain application in the blockchain network 100 a. The operation object 101c logs in its own account number on the terminal device 100c, and may select a multimedia resource that needs to be uplink in the display interface 200b of the terminal device 100c for the blockchain application. Here, for convenience of description, the terminal device 100c determines the asset (resource) corresponding to the multimedia resource 2 as the target multimedia resource, and in response to the issuing operation for the target multimedia resource, performs step S1 shown in fig. 2, that is, transmits the first resource issuing request to the application server 100b.
After acquiring the first resource release request sent by the terminal device 100c, the application server 100b may forward the first resource release request to the blockchain network 100a. The application server 100b may perform step S2 in fig. 2, namely, send the target multimedia resource to a multimedia resource identification service (not shown in the figure) to trigger the multimedia resource identification service to perform validity verification on the target multimedia resource. For the verification, please refer to the description in the embodiment corresponding to fig. 3 below, and the description is not expanded. The multimedia resource identification service performs validity verification on the target multimedia resource carried by the first resource release request sent by the application server 100b, and returns a verification result to the application server 100 b. If the target multimedia resource carried by the first resource release request has validity, the application server 100b generates a target ticket identifier of the uplink transaction corresponding to the first resource release request based on the target multimedia resource and the target link identifier, and sends a second resource release request to the blockchain network, where the second resource release request carries the target ticket identifier, and the second resource release request is used to trigger the blockchain network 100a to release the target multimedia resource to the target link address of the target object. Further, when receiving the resource issuance success indication information fed back by the blockchain network 100a in response to the second resource issuance request, the application server 100b obtains the on-chain data information of the target multimedia resource carried in the issuance success indication information, and sends the on-chain data information of the target multimedia resource to the terminal device 100c, so as to execute step S3 in fig. 2. The target ticket identification is an identification of the target multimedia asset (the multimedia asset under the chain), an identification of the corresponding on-chain multimedia asset in the blockchain network 100a, which may characterize the on-chain identification of the object as having ownership of the target multimedia asset. After the terminal device 100c obtains the on-chain data information, the on-chain data information may be displayed in the blockchain application, where the on-chain data information includes an uplink transaction hash, a target multimedia resource hash (such as a picture resource hash), a target multimedia resource azimuth address (such as a picture resource azimuth address), a certificate identifier, and the like.
The embodiments of the present application may be applied to various scenarios including, but not limited to, cloud technology, artificial intelligence, intelligent transportation, assisted driving, and the like. The blockchain-based data processing method may be executed by the application server in fig. 1, or may be executed by the terminal device in fig. 1, or may be executed interactively by the application server and the terminal device in fig. 1, and for convenience of understanding, the embodiment of the present application describes the method by taking the interaction of the blockchain server and the terminal device as an example. Referring to fig. 3, fig. 3 is a flow chart illustrating a data processing method based on a blockchain according to an embodiment of the present application. In the blockchain-based data processing method shown in fig. 3, various steps of data processing may be performed by a blockchain server, and as shown in fig. 3, the blockchain-based data processing method may include at least the following steps S101 to S103.
Step S101, a first resource release request sent by a blockchain application is received, where the first resource release request carries a target multimedia resource to be released and an object chain identifier of a target object to which the target multimedia resource belongs.
In some possible embodiments, the operation object performs real-name information registration through the blockchain application loaded on the terminal device 100c, and after the real-name information registration is successful, the operation object may select a multimedia resource that needs to be issued to the blockchain network, i.e. the target multimedia resource, on the blockchain application. Referring to fig. 2 again, after the operation object 101c successfully logs in the blockchain application through the terminal device 100c, the blockchain application displays a display interface 200b for the blockchain application to the operation object 101c, where the display interface 200b may include an avatar and a nickname of the operation object 101c, and further includes a multimedia resource set held by the identifier 200c on the object chain, and a selection control to which each resource name is bound respectively. Here, for convenience of description, the multimedia asset 2 is selected as a target multimedia asset to be distributed as an example for illustration. The blockchain application loaded on the terminal device 100c may send a first resource release request to the application server 100b, where the first resource release request carries the target multimedia resource to be released and the object chain identifier of the operation object. The application server 100b may obtain the target multimedia resource to be issued and the object chain identifier of the operation object from the first resource issue request.
Referring to fig. 4, fig. 4 is a schematic diagram of another application scenario of the blockchain-based data processing method according to the embodiment of the present application. After the operation object successfully logs in the blockchain application 30a through the terminal device 100c, the blockchain application 30a may display the set of multimedia resources held by the object chain identifier, upload the target multimedia resource to be released (the multimedia resource 2 shown in fig. 2 above) by the operation object, and send a first resource release request to the application server 100b, where the first resource release request carries the multimedia resource 2 and the object chain identifier (the nickname 1 shown in fig. 4) of the operation object. After receiving the first resource release request, the application server 100b may invoke the multimedia resource identification service 101a to send the multimedia resource 2 uploaded by the blockchain application 30a to the multimedia resource identification service 101a, and trigger the multimedia resource identification service 101a to identify key information of the multimedia resource 2. After receiving the multimedia resource 2 transmitted from the application server 100b, the multimedia resource identification service 101a identifies key information for the multimedia resource 2, and returns the verification result to the application server 100b. When the multimedia asset identification service 101a detects that the multimedia asset 2 includes the target key information (such as key information not conforming to the relevant legal regulations and standards), the multimedia asset 2 has no validity, and the multimedia asset identification service 101a returns a verification failure result to the application server 100b. When the multimedia resource identification service detects that the multimedia resource 2 does not include the target key information, the multimedia resource 2 has validity, the multimedia resource identification service 101a returns a verification success result to the application server 100b, and triggers the application server 100b to generate a target ticket identifier corresponding to the uplink transaction of the first resource release request based on the multimedia resource 2 and the identifier on the object chain. Wherein, the target key information can be called from a target key identification library, the target key identification library includes, but is not limited to, yellow, gambling, poison, etc. some list of illegal violations and regulations, and any identification that is not suitable for the presence of the public. The above-described resource issuance instruction may also be responded by the manner described below, that is, when the terminal device 100c successfully logs in the blockchain application 30a, the terminal device 100c responds to the resource issuance instruction in the blockchain application 30a logged in by the identifier on the object chain, and in the second manner, the target multimedia resource may include all multimedia resources held by the identifier on the object chain (in the manner provided in fig. 2, the target multimedia resource is one of the multimedia resources held by the identifier on the object chain).
Step S102, a target ticket identifier of the uplink transaction corresponding to the first resource release request is generated based on the target multimedia resource and the object chain identifier, and a second resource release request is sent to the blockchain network, wherein the second resource release request carries the target ticket identifier, the target ticket identifier is used for representing that the target object has ownership of the target multimedia resource, and the second resource release request is used for triggering the blockchain network to release the target multimedia resource to an object chain address of the target object.
In some possible embodiments, please refer to fig. 4 together, the operation object sends a first resource release request to the application server 100b through the blockchain application 30a, where the first resource release request carries a target multimedia resource to be released and an identifier on an object chain of the operation object to which the target multimedia resource belongs, where the target multimedia resource to be released is the multimedia resource 2 illustrated in fig. 2, and the multimedia resource 2 has passed the verification of the multimedia resource identification service. The object chain of the operation object to which the target multimedia resource belongs is marked as an account number 'nickname 1' shown in figure 4; after receiving the multimedia resource 2 carried by the first resource release request, the application server 100b invokes the multimedia resource identification server 101a to perform validity verification on the multimedia resource 2 uploaded by the operation object, and the multimedia resource identification server 101a returns a verification result for the multimedia resource 2 to the application server 100b. When the verification result of the multimedia resource identification server 101a for the multimedia resource 2 does not have validity, the verification result returned to the application server 100b carries a "verification failure" identifier, and the application server 100b refuses to process the first resource issue request. When the verification result of the multimedia resource identification server 101a for the multimedia resource 2 has validity, and the multimedia resource 2 is set as the target multimedia resource, the verification result returned to the application server 100b carries a "verification success" identifier. When the multimedia resource 2 passes the validity verification of the multimedia resource identification server 101a, the application server 100b generates a target ticket identifier of the uplink transaction corresponding to the first resource issuing request based on the multimedia resource 2 and the account "nickname 1", and sends a second resource issuing request to the blockchain network 100a, where the second resource issuing request carries the target ticket identifier, the target ticket identifier is used to characterize that the operation object has ownership of the multimedia resource 2, and in an actual application scenario, the target ticket identifier may include a hash value of the multimedia resource 2 and an account hash value of the operation object, and the second resource issuing request is used to trigger the blockchain network 100a to issue the multimedia resource 2 to an on-object chain address of the operation object.
Optionally, in some possible embodiments, after the application server 100b generates the target ticket identifier of the uplink transaction corresponding to the first resource issue request based on the multimedia resource 2 and the account "nickname 1", the uplink state indication information of the first resource issue request may be sent to the terminal device 100c, and the blockchain application 30a in the terminal device 100c sets the issue state of the target multimedia resource to be in the uplink, which may improve the state sensing efficiency of the operation object for the uplink of the target multimedia resource, and enhance the instant perceptibility of the uplink of the target multimedia resource.
Alternatively, in some possible embodiments, after the application server 100b generates the target ticket identifier of the uplink transaction corresponding to the first resource release request based on the multimedia resource 2 and the account "nickname 1", a second resource release request may be generated based on the target ticket identifier, and the second resource release request may be stored in the target storage unit.
The application server 100b generates a second resource issuance request based on the hash value of the multimedia resource 2 and the account hash value of the operation target, and stores the second resource issuance request in the target storage unit 200 a. The application server 100b may be continuously running with an asynchronous ul program that continuously obtains resource ul requests from the storage unit and performs release casting on the resource chain. When receiving the scheduling request of the asynchronous up-link program, the second resource release request is read from the target storage unit by the asynchronous up-link program and sent to the blockchain network. As shown in fig. 4, when the application server 100b receives the scheduling request of the asynchronous uplink program, the second resource allocation request is read from the target storage unit 200a by the asynchronous uplink program, and the second resource allocation request is transmitted to the blockchain network 100 a. The target storage unit 200a may store requests of different operation objects in a first-in first-out order based on a queue manner, and when an asynchronous ul program schedules a second resource issuance request corresponding to an object chain identification of an operation object, the second resource issuance request is read from the target storage unit 200a by the asynchronous ul program to perform ul casting of the second resource issuance request.
Step S103, when the resource release success indication information fed back by the block chain network in response to the second resource release request is received, acquiring the on-chain data information of the target multimedia resource carried in the release success indication information, and sending the on-chain data information of the target multimedia resource to the block chain application.
In some possible embodiments, as described in conjunction with step S102, please refer to fig. 4 together, the application server 100b generates a target ticket identifier of the uplink transaction corresponding to the first resource release request based on the multimedia resource 2 and the account "nickname 1", and sends the uplink state indication information of the first resource release request to the blockchain application 30a, so as to trigger the blockchain application 30a to set the release state of the multimedia resource 2 to be in the uplink. The application server 100b generates a second resource release request based on the target ticket identifier, stores the second resource release request in the target storage unit 200a, and when the application server 100b receives the scheduling request of the asynchronous uplink program, reads the second resource release request from the target storage unit 200a through the asynchronous uplink program, and transmits the second resource release request to the blockchain network 100 a. The blockchain network 100a issues the multimedia resource 2 uploaded by the operation object to the blockchain network 100a in response to the second resource issue request, and the blockchain network 100a returns the resource issue success instruction information to the application server 100 b. The application server 100b sends the indication of successful uplink of the multimedia resource 2 and the on-chain data information of the multimedia resource 2 to the blockchain application 30 a. The blockchain application 30a acquires the on-chain data information of the multimedia resource 2 carried in the release success indication information, and sets the uplink state of the multimedia resource 2 to be uplink success.
Based on the method and the device for processing the uplink state of the target multimedia resource, the state sensing efficiency of the operation object for the uplink of the target multimedia resource can be improved, so that the operation object can know the uplink state of the target multimedia resource at any time, the instant response efficiency of the uplink of the target multimedia resource is improved, and the visualization effect of the uplink of the target multimedia resource is enhanced.
The execution process of the data processing method shown in fig. 3 to 4 uses the application server as an execution body, and the terminal device side behavior of the data processing method is specifically described by an embodiment. Referring to fig. 5, fig. 5 is another flow chart of a data processing method based on a blockchain according to an embodiment of the present application. As shown in fig. 5, the method is suitable for being executed by a terminal device loaded with a target application (such as a social application or a blockchain application, etc.), and comprises the following steps:
step S201, receiving a multimedia resource uplink request sent by a target object, wherein the multimedia resource uplink request carries a target multimedia resource and an object chain identifier of the target object.
In some possible implementations, the blockchain application may be a stand-alone application (as shown in fig. 2 above), a subroutine application integrated into a stand-alone application, or a plug-in embedded into a subroutine application, and the implementation of the blockchain application is not limited by the embodiments of the present application. Referring to fig. 4 together, when the blockchain application 30a is opened (the blockchain application 30a is integrated into the social application as an applet application) in the independent application (the social application as illustrated in fig. 2) installed in the terminal device 100c, the terminal device 100c may display a login interface for the blockchain application 30a, which may prompt the user to input an account number and a password, in the operation object (equivalent to the operation object in fig. 2) corresponding to the terminal device 100 c. The account number may be an address (bound to a public-private key pair) registered by the operation object in the blockchain network 100a for the blockchain application 30a, which is equivalent to an identifier on the blockchain, such as the identifier nickname 1 illustrated in fig. 4), or an application identifier of the operation object in the blockchain application 30a (the application identifier has a mapping relationship with the identifier on the blockchain application.
In some possible embodiments, when the blockchain application 30a loaded on the terminal device 100c receives an object registration request sent by an operation object, the terminal device 100c may invoke an identification server (not shown in the figure) to verify the sent object registration request of the operation object, where the object registration request carries an object registration identifier of the operation object. The identification server performs object identification verification on the operation object based on the object registration request sent by the operation object. After receiving the object registration request sent by the operation object, the blockchain application 30a forwards the object registration request to the identity recognition server, the identity recognition server can call the interface of the identity calling operator of the operation object to perform real-name authentication, and when the real-name authentication of the operation object is complete, the identity recognition server can generate an on-object-chain identifier and an on-object-chain address of the operation object based on the object registration identifier, feed back the on-object-chain identifier to the terminal device, and register the address of the operation object on the blockchain. Referring to fig. 4 again, as shown in fig. 4, when the operation object inputs an account number and a password, the terminal device 100c may prompt the operation object to read information related to the user, and prompt the operation object to read and learn "user protocol" and "privacy policy" as illustrated in fig. 4, and when the operation object triggers the read control 301a, the operation object may trigger the "login" control. When the identification server determines that the object information of the operation object is complete based on the object identification verification, the on-object-chain identifier and the on-object-chain address of the operation object can be generated based on the above-described object registration identifier. The identification server feeds back the above-mentioned identifier on the object chain to the terminal device 100c, and registers the address on the object chain into the blockchain network, where the address on the object chain is used to instruct the blockchain network 100a to issue the multimedia resource corresponding to the identifier on the object chain to the address on the object chain. The embodiment of the present application does not limit the condition that the terminal device 100c responds to the resource acquisition instruction in the blockchain application 30a registered by the identifier on the object chain, and may specifically be determined according to the actual application scenario. As described in fig. 2 above, after the terminal device 100c successfully logs into the blockchain application 30a, it may show that the object chain identifier holds the set of multimedia resources, and when the operation object selects a certain resource (such as the multimedia resource 2 illustrated in fig. 2), a uplink request for the multimedia resource 2 is acquired, where the uplink request carries the multimedia resource 2 and the object chain identifier of the operation object. The above-described uplink request may also be responded to by the terminal device 100c responding to a resource issuance instruction in the blockchain application 30a registered by the on-object-chain identification when the terminal device 100c successfully registers the blockchain application 30a, and in a second manner, the multimedia resource may include all multimedia resources held by the on-object-chain identification (in the manner provided in fig. 2, the multimedia resource is one of the virtual resources held by the on-object-chain identification).
Referring to fig. 2 again, after the operation object 101c successfully logs in the blockchain application on the terminal device 100c through the identifier on the object chain, the blockchain application displays a display interface 200b for the blockchain application to the operation object 101c, where the display interface 200b may include an avatar and a nickname of the operation object 101c, and further includes a multimedia resource set (such as the multimedia resource 1 and the multimedia resource 2 illustrated in fig. 2) held by the identifier 200c on the object chain, and a selection control (such as the selection control 200e corresponding to the multimedia resource 2 illustrated in fig. 2) with each resource name bound respectively, when the operation object needs to issue the multimedia resource, a "shoot" control may be selected to take a picture or record instantly, and a "select from album" control may also be selected, so as to select the historical multimedia resource of the operation object. For the convenience of subsequent understanding and explanation, in the embodiment of the present application, the "select from album" control is selected, and after the "select from album" control is selected, the pop-up presentation page 200b displays the multimedia resource set held by the operation object 101c, from which the target multimedia resource that needs to be released by the operation object 101c can be selected. The operation object 101c may perform a triggering operation on the display interface 200b for the blockchain application provided by the terminal device 100c, for example, after the operation object determines that the target multimedia resource needs to be released by the operation object, at this time, the terminal device 100c determines the multimedia resource 2 as the target multimedia resource, and may trigger to select the control 200e corresponding to the multimedia resource 2, and then trigger to "complete" the control on the display interface 200b for the blockchain application, that is, the operation object 101c implements a process of selecting the multimedia resource that needs to be released. After selecting the target multimedia resource to be released, the operation object 101c transmits a first resource release request for uplink of the target multimedia resource to the application server 100.
Step S202, a first resource release request of the uplink of the target multimedia resource is sent to the target server, wherein the first resource release request carries the target multimedia resource to be released and the identification on the object chain.
Optionally, when receiving the uplink state indication information of the target multimedia resource fed back by the application server 100b based on the first resource release request, the release state of the target multimedia resource is set to be in the uplink, and the release state is displayed to the application interface to be displayed to the operation object.
In some possible embodiments, as described in connection with step S201, please refer to fig. 4 together, the operation object 101c performs object identification verification on the operation object based on the object registration identifier of the operation object through the blockchain application 30 a. When the object identification verification of the operation object passes, the operation object 101c successfully logs in to the blockchain application 30a and selects a target multimedia resource to be released (such as multimedia resource 2 illustrated in fig. 2) on the presentation interface 200b for the blockchain application 30 a. The blockchain application 30a generates a first resource release request based on the object chain identifier of the operation object and the multimedia resource 2, where the first resource release request carries the multimedia resource 2 and the object chain identifier, and sends the first resource release request to the application server 100b, and performs step S1 shown in fig. 2, that is, sends the first resource release request to the application server 100 b.
Referring to fig. 4 again, after receiving the first resource release request sent by the terminal device 100c, the application server 100b may send the multimedia resource 2 to the multimedia resource identification service 101a (not shown in the figure) to identify key information of the multimedia resource 2, and the multimedia resource identification service 101a sends the verification result for the multimedia resource 2 to the application server 100b. When the application server 100b receives feedback information indicating that the multimedia resource 2 does not include the target key information in the feedback information of the multimedia resource identification service 101a, it can be known that the multimedia resource 2 is legal, the multimedia resource 2 can be set as the target multimedia resource, and the feedback information for the first resource release request is sent to the blockchain application 30a, where the feedback information carries a verification success result for the multimedia resource 2. When the application server 100b receives the feedback information indicating that the multimedia resource 2 includes the target key information in the feedback information of the multimedia resource identification service 101a, it can be known that the multimedia resource 2 is not legal, and the feedback information for the first resource release request can be sent to the blockchain application 30a, where the feedback information carries the verification failure result for the multimedia resource 2. The application server 100b transmits the verification result fed back by the multimedia asset identification service 101a to the blockchain application 30a, and displays the verification result in the presentation interface 200b, so that the operation object views the validity verification result for the multimedia asset 2. When the application server 100b receives the verification result of the multimedia resource identification service 101a for the multimedia resource 2 as having validity, it sends the uplink state indication information of the first resource release request to the blockchain application 30a, and triggers the blockchain application 30a to set the release state of the multimedia resource 2 in the uplink. When the blockchain application 30a receives the uplink state indication information of the multimedia resource 2 fed back based on the first resource release request, the release state of the multimedia resource 2 is set to be in the uplink, and the release state is displayed on the display interface 200b to be displayed to the operation object 101 c.
In step S203, when the on-link data information of the target multimedia resource fed back by the target server in response to the first resource release request is received, the on-link data information is displayed to the target object.
Optionally, when receiving the on-link data information of the target multimedia resource fed back by the application server 100b in response to the first resource release request, the release state setting of the target multimedia resource is successfully linked.
In some possible embodiments, as described in conjunction with step S202, please refer to fig. 4 together, the application server 100b generates a target ticket identifier corresponding to the first resource release request based on the multimedia resource 2 and the on-object-chain identifier of the operation object, and sends a second resource release request to the blockchain network 100a, where the second resource release request carries the target ticket identifier. The blockchain application 30a receives the uplink state indication information for the first resource release request fed back by the application server 100b, and triggers the blockchain application 30a to set the release state of the multimedia resource 2 into the uplink. The application server 100b stores the second resource release request in the storage unit 200a corresponding to the object chain identifier of the operation target, to wait for the asynchronous uplink program to be scheduled. When the application server 100b receives the scheduling request of the asynchronous uplink program, the asynchronous uplink program reads the second resource release request from the storage unit 200a, thereby implementing the uplink of the multimedia resource 2. When the uplink of the multimedia resource 2 is successful, the application server 100b transmits feedback information for the first resource release request to the blockchain application 30a, and when the feedback information includes the on-chain data information of the multimedia resource 2, the blockchain application 30a may display the on-chain data information to the operation object. The above-mentioned data information includes up link trade hash, picture resource azimuth address, pass identification, etc.
In the embodiment of the present application, based on the blockchain application loaded in the terminal device 100c, interaction with the blockchain server may be achieved, and the blockchain application may display the on-link data information of the target multimedia resource uplink to the operation object of the terminal device 100c, thereby enhancing the visualization effect of the target multimedia resource uplink, and having stronger applicability. Based on the embodiment of the application, the state sensing efficiency of the operation object for the uplink of the target multimedia resource can be improved, the instant perceptibility of the uplink of the target multimedia resource is enhanced, and the visualization effect of the uplink of the target multimedia resource is enhanced.
Referring to fig. 6, fig. 6 is an interaction schematic diagram of a data processing method based on a blockchain according to an embodiment of the present application. The system between the terminal device and the application Server may adopt a Client/Server (C/S) mode, or a Browser/Server (B/S) mode. The data processing method comprises the following steps:
and 1, registering real name information of the user.
In some possible embodiments, the operation object, i.e. the user, may initiate an object registration request of the blockchain account or an object registration request of the authorized real-name login blockchain application in the terminal device based on the real-name information, so as to obtain an identifier of the operation object on an object chain on the blockchain network, an address on the object chain, and the like.
And 2, registering the real name information of the user.
In some possible embodiments, when the blockchain application loaded on the terminal device receives the object registration request sent by the operation object, the terminal device may invoke the identification server to verify the object registration request sent by the operation object. Optionally, the terminal device may forward an object registration request sent by the operation object to the identification server, where the object registration request carries an object registration identifier of the operation object. Optionally, the object registration identifier may be an object name, an object identity identifier, a contact address, or unique object identifier information such as a contact phone, which may be specifically determined according to an actual application scenario, and is not limited herein.
And 3, verifying the real name information of the user.
In some possible embodiments, the identification server performs object identification verification on the operation object based on the object registration request sent by the operation object after receiving the object registration request for the operation object sent by the terminal device. The identity recognition server can call the identity of the operation object to call the interface of the operator for real-name authentication. When the real-name authentication of the operation object is complete, the identification server can generate an on-object chain identifier and an on-object chain address of the operation object based on the object registration identifier.
And 4, registering the identification on the object chain to the blockchain network.
In some possible embodiments, when the identification server performs object identification verification on the operation object based on the object registration request sent by the operation object, and generates an on-object-chain identifier and an on-object-chain address of the operation object based on the object registration identifier, the on-object-chain address may be registered in the blockchain network. The address on the object chain is used for instructing the blockchain network to issue the multimedia resource corresponding to the identifier on the object chain to the address on the object chain.
And step 5, successful real name registration of the user and returning to the identification on the object chain.
In some possible embodiments, when the identification server generates an on-object chain identifier and an on-object chain address of the operation object based on the object registration identifier, and registers the on-object chain address to the blockchain network, the on-object chain identifier may be fed back to the operation object, where the on-object chain address is used to instruct the blockchain network to issue a multimedia resource corresponding to the on-object chain identifier to the on-object chain address.
And step 6, sending a multimedia resource uplink request.
In some possible embodiments, the operation object may be identified on the login object chain by a blockchain application loaded on the terminal device after object identification verification of the registration request sent by the identification server for the operation object. When the operation object needs to issue the multimedia resource, the multimedia resource to be issued by the operation object can be determined by selecting the multimedia resource to be issued from the multimedia resource set held by the identification of the object chain through the display interface of the blockchain application. The operation object sends a multimedia resource uplink request to the terminal device, the multimedia resource uplink request carries a target multimedia resource and an object chain identifier of the operation object, the operation object corresponding to the terminal device triggers a detail page of the multimedia resource in the terminal device, as shown in fig. 2, the operation object 101c selects the multimedia resource needing to be uplink, and triggers a selection control corresponding to the multimedia resource, and the application also supports the description in fig. 4, namely, when the operation object logs in the blockchain application, the terminal device executes step 6.
And 7, sending a first resource release request.
In some possible embodiments, after selecting a target multimedia resource to be released, the operation object sends a multimedia resource uplink request to the terminal device, and after receiving the multimedia resource uplink request sent by the operation object, the terminal device sends a first resource release request generated based on the multimedia resource to the application server, where the first resource release request carries the target multimedia resource to be released and an object chain identifier of the target object to which the target multimedia resource belongs.
And 8, transmitting the target multimedia resource.
In some possible embodiments, after receiving the first resource release request sent by the terminal device, the application server sends the target multimedia resource to be released to the resource identification service (i.e. the multimedia resource identification service), so as to trigger the multimedia resource identification service to identify and verify the key information of the target multimedia resource uploaded by the operation object, and determine whether the target multimedia resource has validity. The first resource release request carries the target multimedia resource to be released and the object chain identifier of the target object to which the target multimedia resource belongs.
And 9, returning a verification result.
In some possible embodiments, after receiving the target multimedia resource uploaded by the operation object sent by the application server, the multimedia resource identification service performs key information identification on the target multimedia resource, and sends the verification result for the target multimedia resource to the application server, where the application server selectively performs step 10 or step 11 according to the verification result. When the application server receives feedback information of the multimedia resource identification service to indicate that the target multimedia resource includes the target key information, it can be known that the target multimedia resource is not legal, that is, step 10 is executed, the application server can send feedback information for the first resource release request to the terminal device, where the feedback information carries a verification failure result for the target multimedia resource. When the application server receives feedback information of the multimedia resource identification service to indicate that the target multimedia resource does not include the target key information, the application server can know that the target multimedia resource has validity, that is, execute step 11, the application server can send feedback information aiming at the first resource release request to the terminal device, and the feedback information carries a verification success result aiming at the target multimedia resource.
And step 10, forwarding the verification result, and displaying verification failure.
In some possible embodiments, when the application server receives feedback information of the multimedia resource identification service to indicate that the target multimedia resource includes the target key information, it may be known that the target multimedia resource does not have validity, that is, step 10 is performed, the application server may send feedback information for the first resource release request to the terminal device, where the feedback information carries a verification failure result for the target multimedia resource, and the terminal device displays the verification failure result on the display interface.
And 11, generating a target ticket identifier corresponding to the first resource release request and a second resource release request.
In some possible embodiments, when the application server receives feedback information of the multimedia resource identification service, where the feedback information indicates that the target multimedia resource does not include target key information, it may be known that the target multimedia resource is legal, that is, step 11 is performed, where the application server generates a target ticket identifier of an uplink transaction corresponding to the first resource release request based on the target multimedia resource and the on-object-chain identifier, and generates a second resource release request, where the second resource release request carries the target ticket identifier, and the target ticket identifier is used to characterize that the operation object has ownership for the target multimedia resource, and the second resource release request is used to trigger the blockchain network to release the target multimedia resource to an on-object-chain address of the operation object.
Step 12, storing the second resource release request in the storage unit.
In some possible embodiments, when the application server receives that the verification result of the media resource identification service for the target multimedia resource is legal, the application server generates a second resource release request based on the hash value of the target multimedia resource and the account hash value of the operation object, and stores the second resource release request in the target storage unit.
And 13, feeding back uplink state indication information.
In some possible embodiments, when the application server receives that the verification result of the multimedia resource identification service for the target multimedia resource is legal, the application server sends the uplink state indication information of the first resource release request to the blockchain application, and triggers the blockchain application to set the release state of the target multimedia resource into the uplink.
And 14, setting the issuing state of the target multimedia resource into a uplink.
In some possible embodiments, when the target multimedia resource passes the validity verification of the multimedia resource identification service, the application server sends the uplink state indication information of the first resource release request to the blockchain application, and triggers the blockchain application to set the release state of the target multimedia resource into the uplink. When the blockchain application receives the uplink state indication information of the target multimedia resource fed back based on the first resource release request, the release state of the target multimedia resource can be set to be in the uplink, and the release state is displayed on a display interface to be displayed to an operation object.
And step 15, when receiving the asynchronous uplink scheduling request, reading a second resource release request.
In some possible embodiments, when the target multimedia resource passes the validity verification of the multimedia resource identification service, the application server generates a target ticket identifier corresponding to the first resource release request and a second resource release request based on the target multimedia resource and the on-object-chain identifier of the operation object, wherein the second resource release request carries the target ticket identifier. The application server stores the second resource release request in a storage unit corresponding to the object chain identifier of the operation object, so as to wait for the scheduling of the asynchronous uplink program. When the application server receives the scheduling request of the asynchronous uplink program, the asynchronous uplink program reads the second resource release request from the storage unit, so as to realize the uplink of the multimedia resource 2.
And step 16, sending a second resource release request.
In some possible embodiments, when the application server receives the scheduling request of the asynchronous uplink program, the application server sends the second resource release request to the blockchain network to uplink the target multimedia resource to the blockchain network when the asynchronous uplink program reads the second resource release request from the storage unit, so as to realize the uplink of the target multimedia resource.
And step 17, returning the data information on the chain.
In some possible embodiments, the application server sends the second resource release request to the blockchain network, and the target multimedia resource is uplink to the blockchain network, and when the target multimedia resource is successfully uplink, the blockchain network sends feedback information for the first resource release request to the application server, where the feedback information includes on-chain data information of the target multimedia resource, and the on-chain data information includes uplink transaction hash, picture resource azimuth address, pass identification, and the like.
Step 18, data information on the chain is returned.
In some possible embodiments, when the application server receives feedback information of the blockchain network for the first resource release request, the feedback information includes on-chain data information of the target multimedia resource, the application server forwards the on-chain data information of the target multimedia resource returned by the blockchain network to the terminal device, and the blockchain application displays the on-chain data information on a display page of the blockchain application, so that the on-chain data information can be displayed to the operation object.
And 19, setting the issuing state of the target multimedia resource as successful uplink.
In some possible embodiments, when the blockchain application receives feedback information for the first resource release request forwarded by the application server, the blockchain network releases the multimedia resource corresponding to the identifier on the object chain to the address on the object chain. Wherein the feedback information comprises on-chain data information of the target multimedia resource. And the terminal equipment successfully sets the release state of the target multimedia resource. It will be appreciated that, for a specific implementation manner of each step shown in fig. 6, reference may be made to the descriptions in the embodiments corresponding to fig. 2 and fig. 4, respectively, and the description is omitted here.
In the embodiment of the application, the uplink technology is cited for the multimedia resource, the multimedia resource uploaded by the user can be uplink and directly issued to the on-link address of the user, so that the on-link time of the user can be permanently saved, and the ceremony feeling with commemorative time in life is increased. By adopting the embodiment of the application, the release degree of freedom and the release flexibility of the multimedia resource uplink can be improved, the release efficiency of the multimedia resource uplink can be improved, the operation is simple, and the applicability is strong. In addition, based on the embodiment of the application, the state sensing efficiency of the operation object for the uplink of the target multimedia resource can be improved, so that the operation object can know the uplink state of the target multimedia resource at any time, the instant response efficiency of the uplink of the target multimedia resource is improved, the instant perceptibility of the uplink of the target multimedia resource is enhanced, and the visual effect of the uplink of the target multimedia resource is enhanced.
Further, referring to fig. 7, fig. 7 is a schematic structural diagram of a blockchain-based data processing device according to an embodiment of the present application. The blockchain-based data processing device may be a computer program (including program code) running in a computer device, for example, the blockchain-based data processing device is an application software; the device can be used for executing corresponding steps in the method provided by the embodiment of the application. As shown in fig. 7, the blockchain-based data processing device 1 may include: a receiving unit 11, a processing unit 12 and a transmitting unit 13.
The receiving unit 11 is configured to receive a first resource release request sent by a blockchain application, where the first resource release request carries a target multimedia resource to be released and an identifier on an object chain of a target object to which the target multimedia resource belongs.
And a processing unit 12 configured to generate a target ticket identifier of the uplink transaction corresponding to the first resource release request based on the target multimedia resource and the object chain identifier received by the receiving unit, and send a second resource release request to the blockchain network, where the second resource release request carries the target ticket identifier generated by the processing unit, the target ticket identifier is used to characterize that the target object has ownership of the target multimedia resource, and the second resource release request is used to trigger the blockchain network to release the target multimedia resource to an object chain address of the target object.
The processing unit 12 is further configured to, when the receiving unit receives a resource issuance success indication message fed back by the blockchain network in response to the second resource issuance request, obtain on-chain data information of the target multimedia resource carried in the issuance success indication message.
And a transmitting unit 13, configured to transmit the on-link data information of the target multimedia resource acquired by the processing unit to the blockchain application.
In some possible embodiments, the specific functional implementation manners of the receiving unit 11, the processing unit 12, and the sending unit 13 may refer to step S101-step S103 in the corresponding embodiment of fig. 3, which are not described herein.
Alternatively, referring to fig. 7, the processing unit 12 may include:
and the verification subunit 121 is configured to send the target multimedia resource to a multimedia resource identification service, and trigger the multimedia resource identification service to identify key information of the target multimedia resource.
And a generating subunit 122, configured to generate, when receiving the feedback from the multimedia resource identification service that the target multimedia resource does not include the target key information, a target ticket identifier corresponding to the uplink transaction for the first resource issuance request based on the target multimedia resource and the object chain identifier.
Optionally, referring again to fig. 7, the blockchain-based data processing device 1 may further include:
an instruction unit 14, configured to send uplink state instruction information of the first resource release request to the blockchain application, and trigger the blockchain application to set the release state of the target multimedia resource to be in the uplink. Here, the specific functional implementation of the indication unit 14 may refer to step S103 in the corresponding embodiment of fig. 9, which is not described herein.
Optionally, referring to fig. 7, the processing unit 12 may further include:
the request processing subunit 123 is configured to generate a second resource release request based on the target ticket identifier, and store the second resource release request in the target storage unit.
And a scheduling subunit 124, configured to, when receiving a scheduling request of an asynchronous uplink program, read the second resource release request from the target storage unit through the asynchronous uplink program and send the second resource release request to a blockchain network.
In some possible embodiments, the specific functional implementation manners of the verification subunit 121, the generation subunit 122, the request processing subunit 123, and the scheduling subunit 124 may be referred to the implementation manner provided in step S102 in the corresponding embodiment of fig. 3, which is not described herein.
In the embodiment of the application, the function implementation of each unit in the data processing device 1 based on the blockchain can improve the state sensing efficiency of the operation object for the uplink of the target multimedia resource, so that the operation object can know the uplink state of the target multimedia resource at any time, the instant response efficiency of the uplink of the target multimedia resource is improved, and the visualization effect of the uplink of the target multimedia resource is enhanced.
Further, referring to fig. 8, fig. 8 is another schematic structural diagram of a blockchain-based data processing device according to an embodiment of the present application. The above-described blockchain-based data processing device may be a computer program (including program code) running in a computer apparatus, for example, the data processing device is an application software; the device can be used for executing corresponding steps in the method provided by the embodiment of the application. As shown in fig. 8, the data processing apparatus 2 may be operated in a terminal device, which may be a terminal device in the embodiment corresponding to fig. 3. The blockchain-based data processing device 2 may include: a receiving unit 21, a transmitting unit 22, a display unit 23, a registration requesting unit 24, a registration verifying unit 25, a registration processing unit 26, and a status display unit 27.
A receiving unit 21, configured to receive a multimedia resource uplink request sent by the target object, where the multimedia resource uplink request carries a target multimedia resource and an object chain identifier of the target object.
And a transmitting unit 22 configured to transmit, to a target server, a first resource release request of the target multimedia resource uplink received by the receiving unit, where the first resource release request carries the target multimedia resource to be released and the target link identifier.
And a display unit 23 configured to display the on-link data information to the target object when the receiving unit receives the on-link data information of the target multimedia resource fed back by the target server in response to the first resource release request.
Optionally, the registration request unit 24 is configured to receive an object registration request sent by the target object, where the object registration request carries an object registration identifier of the target object.
A registration verification unit 25, configured to perform object identification verification on the target object based on the object registration identifier, and generate an on-object-chain identifier and an on-object-chain address of the target object based on the object registration identifier when it is determined that the object information of the target object is complete based on the object identification verification.
The registration processing unit 26 is configured to feed back the identifier on the object chain to the target object, and register the address on the object chain to the blockchain network, where the address on the object chain is used to instruct the blockchain network to issue the multimedia resource corresponding to the identifier on the object chain to the address on the object chain.
Optionally, the status display unit 27 is configured to, when receiving the uplink status indication information of the target multimedia resource fed back by the target server based on the first resource release request, set the release status of the target multimedia resource to be in the uplink, and display the release status to the application interface for displaying to the target object.
Optionally, the status display unit 27 is further configured to, when receiving the on-link data information of the target multimedia resource fed back by the target server in response to the first resource release request, set the release status of the target multimedia resource to be successful.
In some possible embodiments, the specific functional implementation manners of the receiving unit 21, the sending unit 22, the display unit 23, the registration request unit 24, the registration verification unit 25, the registration processing unit 26, and the status display unit 27 may be referred to the implementation manners provided in step S201-step S203 in the corresponding embodiment of fig. 5, which are not described herein again.
In the embodiment of the application, the function of each unit in the data processing device 2 based on the blockchain is realized, so that the interaction between the blockchain application and the blockchain server can be realized, the blockchain application can display the on-chain data information of the uplink of the target multimedia resource to the operation object, the visualization effect of the uplink of the target multimedia resource is enhanced, and the applicability is stronger. Based on the functional implementation of each unit of the data processing device 2 of the blockchain in the embodiment of the application, the state sensing efficiency of an operation object for the uplink of the target multimedia resource can be improved, the instant sensing performance of the uplink of the target multimedia resource is enhanced, and the visualization effect of the uplink of the target multimedia resource is enhanced.
Further, referring to fig. 9, fig. 9 is a schematic structural diagram of a computer device according to an embodiment of the present application. As shown in fig. 9, the computer device 1000 may include: at least one processor 1001, such as a CPU, at least one network interface 1004, a transceiver 1003, memory 1005, at least one communication bus 1002. Wherein the communication bus 1002 is used to enable connected communication between these components. The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface), among others. The memory 1005 may be a high-speed RAM memory or a non-volatile memory (non-volatile memory), such as at least one disk memory. The memory 1005 may also optionally be at least one storage device located remotely from the aforementioned processor 1001. As shown in fig. 9, the memory 1005, which is one type of computer storage medium, may include an operating system, a network communication module, a user interface module, and a device control application.
In the computer device 1000 shown in fig. 9, the network interface 1004 may provide network communication functions; while transceiver 1003 and processor 1001 may be used to invoke the device control application stored in memory 1005 to implement:
receiving a first resource release request sent by a blockchain application, wherein the first resource release request carries a target multimedia resource to be released and an object chain identifier of a target object to which the target multimedia resource belongs;
generating a target ticket identifier of the uplink transaction corresponding to the first resource issuing request based on the target multimedia resource and the object chain identifier, and sending a second resource issuing request to the blockchain network, wherein the second resource issuing request carries the target ticket identifier, the target ticket identifier is used for representing that the target object has ownership of the target multimedia resource, and the second resource issuing request is used for triggering the blockchain network to issue the target multimedia resource to an object chain address of the target object;
and when receiving the resource release success indication information fed back by the block chain network in response to the second resource release request, acquiring the on-chain data information of the target multimedia resource carried in the release success indication information, and sending the on-chain data information of the target multimedia resource to the block chain application.
It should be understood that the computer device 1000 described in the embodiments of the present application may perform the description of the blockchain-based data processing method in the embodiments corresponding to fig. 3, 5 and 6, and may also perform the description of the blockchain-based data processing apparatus 1 in the embodiments corresponding to fig. 7, which are not repeated herein. In addition, the description of the beneficial effects of the same method is omitted.
In the embodiment of the present application, based on the functional implementation of the computer device 1000, the state sensing efficiency of the operation object for the uplink of the target multimedia resource can be improved, so that the operation object can know the uplink state of the target multimedia resource at any time, the instant response efficiency of the uplink of the target multimedia resource is improved, and the visualization effect of the uplink of the target multimedia resource is enhanced.
Further, referring to fig. 10, fig. 10 is another schematic structural diagram of a computer device according to an embodiment of the present application. As shown in fig. 10, the computer device 2000 may be a terminal device in the corresponding embodiment of fig. 3, and the computer device 2000 may include: processor 2001, network interface 2004 and memory 2005, in addition, the above-described computer device 2000 may further include: a transceiver 2003, and at least one communication bus 2002. Wherein a communication bus 2002 is used to enable connected communications between these components. The network interface 2004 may optionally include standard wired interfaces, wireless interfaces (e.g., WI-FI interfaces), among others. The memory 2005 may be a high-speed RAM memory or a nonvolatile memory (non-volatile memory), such as at least one magnetic disk memory. The memory 2005 may also optionally be at least one storage device located remotely from the aforementioned processor 2001. As shown in fig. 10, an operating system, a network communication module, a user interface module, and a device control application program may be included in the memory 2005 as one type of computer-readable storage medium.
In the computer device 2000 illustrated in fig. 10, the network interface 2004 may provide network communication functions; while transceiver 2003 and processor 2001 may be used to invoke device control applications stored in memory 2005 to implement:
receiving a multimedia resource uplink request sent by a target object, wherein the multimedia resource uplink request carries target multimedia resources and an object chain identifier of the target object;
a first resource issuing request of the uplink of the target multimedia resource is sent to a target server, wherein the first resource issuing request carries the target multimedia resource to be issued and an identifier on an object chain;
and when the on-link data information of the target multimedia resource fed back by the target server in response to the first resource release request is received, the on-link data information is displayed to the target object.
It should be understood that the computer device 2000 described in the embodiments of the present application may perform the description of the blockchain-based data processing method in the embodiments corresponding to fig. 4, 5 and 6, and may also perform the description of the blockchain-based data processing apparatus 2 in the embodiments corresponding to fig. 9, which are not repeated herein. In addition, the description of the beneficial effects of the same method is omitted.
In the embodiment of the present application, based on the functional implementation of the computer device 2000, the interaction between the blockchain application and the blockchain server may be implemented, and the blockchain application may display the on-link data information of the target multimedia resource uplink to the operation object, thereby enhancing the visualization effect of the target multimedia resource uplink, and having stronger applicability. Based on the functional implementation of the computer device 2000 in the embodiment of the present application, the state sensing efficiency of the operation object for the uplink of the target multimedia resource may be improved, the instant perceptibility of the uplink of the target multimedia resource may be enhanced, and the visualization effect of the uplink of the target multimedia resource may be enhanced.
The embodiment of the present application further provides a computer readable storage medium, where the computer readable storage medium stores a computer program, where the computer program includes program instructions, where the program instructions, when executed by a processor, implement a blockchain-based data processing method provided in each step of fig. 3, fig. 5, and fig. 6, and specifically refer to the implementation manners provided in each step of fig. 3, fig. 5, and fig. 6, which are not described herein again. In addition, the description of the beneficial effects of the same method is omitted.
The computer readable storage medium may be a blockchain-based data processing apparatus provided in any of the foregoing embodiments or an internal storage unit of the computer device, such as a hard disk or a memory of the computer device. The computer readable storage medium may also be an external storage device of the computer device, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) card, a flash card (flash card) or the like, which are provided on the computer device. Further, the computer-readable storage medium may also include both internal storage units and external storage devices of the computer device. The computer-readable storage medium is used to store the computer program and other programs and data required by the computer device. The computer-readable storage medium may also be used to temporarily store data that has been output or is to be output.
Embodiments of the present application also provide a computer program product or computer program comprising computer instructions stored in a computer-readable storage medium. The processor of the computer device reads the computer instructions from the computer readable storage medium, and the processor executes the computer instructions, so that the computer device can execute the description of the blockchain-based data processing method in the embodiments corresponding to fig. 3, 5 and 6, which is not described herein. In addition, the description of the beneficial effects of the same method is omitted.
The method provided by the embodiment of the application can improve the state sensing efficiency of the operation object for the uplink of the target multimedia resource, so that the operation object can know the uplink state of the target multimedia resource at any time, the instant response efficiency of the uplink of the target multimedia resource is improved, and the visual effect of the uplink of the target multimedia resource is enhanced. In addition, the method provided by the embodiment of the application can realize interaction between the blockchain application and the blockchain server, and the blockchain application can display the on-chain data information of the uplink of the target multimedia resource to the operation object, so that the visualization effect of the uplink of the target multimedia resource is enhanced, and the applicability is stronger. Based on the functional implementation of the computer device 2000 in the embodiment of the present application, the state sensing efficiency of the operation object for the uplink of the target multimedia resource can be improved, the instant perceptibility of the uplink of the target multimedia resource is enhanced, and the visualization effect of the uplink of the target multimedia resource is enhanced
The terms first, second and the like in the description and in the claims and drawings of the embodiments of the present application are used for distinguishing between different objects and not for describing a particular sequential order. Furthermore, the term "include" and any variations thereof is intended to cover a non-exclusive inclusion. For example, a process, method, apparatus, article, or device that comprises a list of steps or elements is not limited to the list of steps or modules but may, in the alternative, include other steps or modules not listed or inherent to such process, method, apparatus, article, or device.
Those of ordinary skill in the art will appreciate that the elements and algorithm steps described in connection with the embodiments disclosed herein may be embodied in electronic hardware, in computer software, or in a combination of the two, and that the elements and steps of the examples have been generally described in terms of function in the foregoing description to clearly illustrate the interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
The methods and related devices provided in the embodiments of the present application are described with reference to the method flowcharts and/or structure diagrams provided in the embodiments of the present application, and each flowchart and/or block of the method flowcharts and/or structure diagrams may be implemented by computer program instructions, and combinations of flowcharts and/or blocks in the flowchart and/or block diagrams. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks. These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or structural diagram block or blocks. These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or structures.
The foregoing disclosure is only illustrative of the preferred embodiments of the present application and is not intended to limit the scope of the claims herein, as the equivalent of the claims herein shall be construed to fall within the scope of the claims herein.
Claims (14)
1. A blockchain-based data processing method, comprising:
receiving a first resource release request sent by a blockchain application, wherein the first resource release request carries a target multimedia resource to be released and an object chain identifier of a target object to which the target multimedia resource belongs;
generating a target ticket identifier of the uplink transaction corresponding to the first resource release request based on the target multimedia resource and the object chain identifier, and sending a second resource release request to a blockchain network, wherein the second resource release request carries the target ticket identifier, the target ticket identifier is used for representing that the target object has ownership of the target multimedia resource, and the second resource release request is used for triggering the blockchain network to release the target multimedia resource to an object chain address of the target object;
and when receiving resource release success indication information fed back by the blockchain network in response to the second resource release request, acquiring the on-chain data information of the target multimedia resource carried in the release success indication information, and sending the on-chain data information of the target multimedia resource to the blockchain application.
2. The method of claim 1, wherein prior to generating the target ticket identification for the uplink transaction corresponding to the first resource issuance request based on the target multimedia resource and the on-object chain identification, the method further comprises:
sending the target multimedia resource to a multimedia resource identification service, and triggering the multimedia resource identification service to identify key information of the target multimedia resource;
and if the multimedia resource identification service receives feedback that the target multimedia resource does not comprise target key information, executing the step of generating a target ticket identifier of the uplink transaction corresponding to the first resource release request based on the target multimedia resource and the identifier on the object chain.
3. The method of claim 2, wherein after the generating the target ticket identification for the first resource issuance request corresponding to the uplink transaction based on the target multimedia resource and the on-object chain identification, the method further comprises:
and sending the uplink state indication information of the first resource release request to the blockchain application, and triggering the blockchain application to set the release state of the target multimedia resource into an uplink.
4. A method according to any of claims 1-3, wherein said sending a second resource issuance request to a blockchain network comprises:
generating a second resource release request based on the target ticket identifier, and storing the second resource release request to a target storage unit;
when receiving a scheduling request of an asynchronous uplink program, reading the second resource release request from the target storage unit through the asynchronous uplink program and sending the second resource release request to a blockchain network.
5. A blockchain-based data processing method, comprising:
receiving a multimedia resource uplink request sent by the target object, wherein the multimedia resource uplink request carries a target multimedia resource and an object chain identifier of the target object;
a first resource release request of the uplink of the target multimedia resource is sent to a target server, wherein the first resource release request carries the target multimedia resource to be released and the identifier on the object chain;
and when receiving the on-chain data information of the target multimedia resource fed back by the target server in response to the first resource release request, displaying the on-chain data information to the target object.
6. The method of claim 5, wherein prior to said receiving the multimedia resource uplink request sent by the target object, the method further comprises:
receiving an object registration request sent by the target object, wherein the object registration request carries an object registration identifier of the target object;
performing object identification verification on the target object based on the object registration identifier, and generating an object chain identifier and an object chain address of the target object based on the object registration identifier when the object information of the target object is determined to be complete based on the object identification verification;
and feeding back the identifier on the object chain to the target object, and registering the address on the object chain into a blockchain network, wherein the address on the object chain is used for indicating the blockchain network to issue the multimedia resource corresponding to the identifier on the object chain to the address on the object chain.
7. The method according to claim 5 or 6, wherein after said sending the first resource release request of the target multimedia resource uplink to the target server, the method further comprises:
and when receiving the uplink state indication information of the target multimedia resource fed back by the target server based on the first resource release request, setting the release state of the target multimedia resource into a uplink, and displaying the release state to an application interface to be displayed to the target object.
8. The method of claim 7, wherein after the setting the release status of the target multimedia resource into the uplink, the method further comprises:
and when receiving the on-link data information of the target multimedia resource fed back by the target server in response to the first resource release request, setting the release state of the target multimedia resource to be successfully linked.
9. A blockchain-based data processing device, the device comprising:
the system comprises a receiving unit, a processing unit and a processing unit, wherein the receiving unit is used for receiving a first resource issuing request sent by a blockchain application, wherein the first resource issuing request carries a target multimedia resource to be issued and an object chain identifier of a target object to which the target multimedia resource belongs;
the processing unit is used for generating a target ticket identifier of the uplink transaction corresponding to the first resource release request based on the target multimedia resource and the object chain identifier received by the receiving unit, and sending a second resource release request to a blockchain network, wherein the second resource release request carries the target ticket identifier generated by the processing unit, the target ticket identifier is used for representing that the target object has ownership of the target multimedia resource, and the second resource release request is used for triggering the blockchain network to release the target multimedia resource to an object chain address of the target object;
The processing unit is further configured to obtain, when the receiving unit receives resource release success indication information fed back by the blockchain network in response to the second resource release request, on-chain data information of the target multimedia resource carried in the release success indication information;
and the sending unit is used for sending the on-chain data information of the target multimedia resource acquired by the processing unit to the blockchain application.
10. A blockchain-based data processing device, the device comprising:
the receiving unit is used for receiving a multimedia resource uplink request sent by the target object, wherein the multimedia resource uplink request carries a target multimedia resource and an object chain identifier of the target object;
a sending unit, configured to send, to a target server, a first resource release request of the target multimedia resource uplink received by the receiving unit, where the first resource release request carries the target multimedia resource to be released and the identifier on the object chain;
and the display unit is used for displaying the on-chain data information to the target object when the receiving unit receives the on-chain data information of the target multimedia resource fed back by the target server in response to the first resource release request.
11. A computer device, comprising: a processor, transceiver, memory, and network interface;
the processor is connected to the transceiver, the memory, the network interface, wherein the network interface is for providing data communication functions, the memory is for storing a computer program, and the processor and the transceiver are for invoking the computer program to cause the computer device to perform the method of any of claims 1-4.
12. A computer device, comprising: a processor, transceiver, memory, and network interface;
the processor is connected to the transceiver, the memory, the network interface for providing data communication functions, the memory for storing program code, the processor and the transceiver for invoking the program code to perform the method of any of claims 5-8.
13. A computer readable storage medium, characterized in that the computer readable storage medium has stored therein a computer program adapted to be loaded and executed by a processor to cause a computer device having the processor to perform the method of any of claims 1-8.
14. A computer program product, characterized in that it comprises computer instructions stored in a computer-readable storage medium, which are adapted to be read and executed by a processor, to cause a computer device with the processor to perform the method of any of claims 1-8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211127585.4A CN117768544A (en) | 2022-09-16 | 2022-09-16 | Block chain-based data processing method, device and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211127585.4A CN117768544A (en) | 2022-09-16 | 2022-09-16 | Block chain-based data processing method, device and computer readable storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN117768544A true CN117768544A (en) | 2024-03-26 |
Family
ID=90310937
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211127585.4A Pending CN117768544A (en) | 2022-09-16 | 2022-09-16 | Block chain-based data processing method, device and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN117768544A (en) |
-
2022
- 2022-09-16 CN CN202211127585.4A patent/CN117768544A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Shi et al. | Blockchain‐based trusted data sharing among trusted stakeholders in IoT | |
EP3070630B1 (en) | Data system and method | |
CN111445333B (en) | Block generation method, device, computer equipment and storage medium | |
US20190172057A1 (en) | Blockchain-implemented method and system | |
CN103078881B (en) | Internet resources Download Info share control system and method | |
Alshaikhli et al. | Evolution of Internet of Things from blockchain to IOTA: A survey | |
CN110009494B (en) | Method and device for monitoring transaction content in block chain | |
CN111108521A (en) | Implementing a blockchain based workflow | |
CN112613877B (en) | Intelligent contract triggering method and device applied to block chain network and related equipment | |
CN111488372A (en) | Data processing method, device and storage medium | |
Biehl | Webhooks–Events for RESTful APIs | |
CN111049806A (en) | Joint authority control method and device, electronic equipment and storage medium | |
CN116467062A (en) | Block chain-based data processing method, equipment and readable storage medium | |
CN117521030A (en) | Digital collection management method, device, computer, storage medium and program product | |
CN116980412A (en) | Block chain-based data processing method, equipment and readable storage medium | |
CN117768544A (en) | Block chain-based data processing method, device and computer readable storage medium | |
CN117395264A (en) | Block chain-based data processing method, equipment and readable storage medium | |
CN114301912A (en) | Information interaction method and device based on block chain | |
US11989813B2 (en) | Talking head digital identity authentication on a distributed network | |
CN118520442A (en) | Data processing method, device, equipment and readable storage medium | |
CN117372016A (en) | Block chain-based data processing method, device, equipment and readable storage medium | |
CN117132324A (en) | Data processing method, device, equipment and readable storage medium | |
CN117527178A (en) | Block chain-based data processing method, equipment and readable storage medium | |
CN115967495A (en) | Public service application management method and device based on block chain | |
CN118467626A (en) | Data processing method, device, equipment and readable storage medium |
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 |