Blockchain-based digital collectible processing method and device, and storage medium
Patent Information
- Application Number
- CN202210997681.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-08-19
- Publication Date
- 2026-08-18
- Estimated Expiration
- 2042-08-19
AI Technical Summary
[0003]本申请实施例提供一种基于区块链的数字藏品处理方法、装置及存储介质,以解决不同业务的数字藏品需要分别对接不同区块链,导致的数字藏品处理成本本高、效率低的技术问题
[0065] This application obtains a digital collection processing request initiated by a target business party on a business party platform. The digital collection processing request includes information about the target digital collection, the target business party's business identity identifier, and the target business party's business party user identifier. The business identity identifier identifies the business party's business identity, and the business party user identifier identifies the user identity within the business party. Based on the target business party's business identity identifier, the target business party's business party user identifier, and a pre-set mapping table of business identity identifiers, business party user identifiers, and business digital identifiers, the application determines the target business party's business digital identity identifier. This business digital identity identifier is used to associate with a pre-set general interface for digital collection processing on the distributed digital platform. The general interface for digital collection processing includes multiple data processing logics for handling digital collections. Based on the business digital identity identifier, the data processing logic in the general interface for digital collection processing is invoked to process the information of the target digital collection and obtain the digital collection processing result. A pre-built blockchain proxy service is invoked to put the digital collection processing information in the digital collection processing result onto the blockchain, realizing efficient processing of digital collections, saving costs, improving the processing efficiency and security of digital collections. Furthermore, since business processing is carried out on a distributed digital platform, the business platform does not need to maintain the business party's information and data, that is, it does not need to modify the business party's information and mature business, which facilitates efficient digital collection processing for the business party.
Smart Images

Figure CN117640095B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of blockchain technology, specifically to a method, apparatus, and storage medium for processing digital collectibles based on blockchain. Background Technology
[0002] Currently, with the increasing demand for blockchain-based digital collectibles, all business teams need to use corresponding SDKs (such as BCOS, Fabric, or other blockchain framework SDKs) to interface with the blockchain, and even write their own smart contracts. This inevitably requires understanding various details of the blockchain, and for different digital collectibles businesses, the configuration information for connecting to the blockchain needs to be redeveloped. Therefore, developers need to have professional blockchain knowledge, resulting in high integration costs and reduced processing efficiency for digital collectibles. Summary of the Invention
[0003] This application provides a blockchain-based digital collection processing method, apparatus, and storage medium to solve the technical problem of high cost and low efficiency in digital collection processing caused by the need for different businesses to connect to different blockchains.
[0004] On the one hand, this application provides a blockchain-based digital collection processing method applied to a distributed digital platform, wherein the distributed digital platform is communicatively connected to a business platform, and the blockchain-based digital collection processing method includes:
[0005] The system obtains a digital collection processing request initiated by a target business entity on the business entity platform. The digital collection processing request includes information about the target digital collection, the business identity identifier of the target business entity, and the business entity user identifier of the target business entity. The business identity identifier is used to identify the business entity's business identity, and the business entity user identifier is used to identify the user identity within the business entity.
[0006] Based on the business identity identifier of the target business party, the business user identifier of the target business party, and a pre-set mapping table of business identity identifier, business user identifier, and business digital identifier, the business digital identity identifier of the target business party is determined. The business digital identity identifier is used to associate with the pre-set general interface for digital collection processing on the distributed digital platform. The general interface for digital collection processing includes multiple data processing logics for processing digital collections.
[0007] Based on the business digital identity identifier, the data processing logic in the general interface for digital collection processing is invoked to process the information of the target digital collection and obtain the digital collection processing result;
[0008] The pre-set blockchain proxy service is invoked to upload the digital collection processing information in the digital collection processing result to the blockchain.
[0009] In some embodiments of this application, each business digital identity includes a corresponding private key. The step of invoking the data processing logic in the general interface for digital collection processing based on the business digital identity to process the information of the target digital collection and obtain the digital collection processing result includes:
[0010] Obtain the private key of the business digital identity identifier;
[0011] The data processing logic in the general interface for digital collection processing is invoked based on the private key to process the information of the target digital collection and obtain the digital collection processing result.
[0012] In some embodiments of this application, prior to the processing request for the target digital collectible initiated by the target business party in the business party platform, the method further includes:
[0013] The business logic of each scenario in the pre-packaged digital collection is analyzed to obtain the general logic of the digital collection.
[0014] Based on the general logic, the pre-set general interface for digital collection processing is created.
[0015] In some implementations of this application, the multiple data processing logics include logic for creating digital collection services, logic for transferring digital collection services, logic for querying digital collection services, and logic for querying on-chain related information services.
[0016] The step of invoking the data processing logic in the general interface for digital collection processing based on the private key to process the information of the target digital collection and obtain the digital collection processing result includes:
[0017] If the data processing logic in the general interface for digital collectible processing corresponding to the private key is the digital collectible creation service logic, then the user corresponding to the business user identifier of the target business party is taken as the owner of the target collectible, and a digital collectible processing result is generated whereby the user corresponding to the business user identifier of the target business party creates the target digital collectible; or,
[0018] If the data processing logic in the general interface for digital collection processing corresponding to the private key is the digital collection transfer service logic, then the owner identifier of the target digital collection is extracted from the information of the target digital collection.
[0019] The target business entity is identified as the business entity of the target digital collectible, and the user corresponding to the owner identifier is identified as the owner of the target collectible. A processing result is generated to transfer the target digital collectible from the user corresponding to the business entity's user identifier to the owner; or,
[0020] If the data processing logic in the general interface for processing digital collectibles corresponding to the private key is the logic for querying digital collectibles services, then the smart contract and additional information of the digital collectible are extracted from the information of the target digital collectible to obtain the digital collectible processing result; or,
[0021] If the data processing logic in the general interface for digital collectibles processing corresponding to the private key is the query on-chain related information service logic, then the transaction information of the digital collectible in the preset blockchain is extracted from the information of the target digital collectible to obtain the digital collectible processing result.
[0022] In some embodiments of this application, after the pre-set blockchain proxy service is invoked to upload the digital collection processing information in the digital collection processing result to the blockchain, the method further includes:
[0023] Obtain the on-chain information corresponding to the digital collectible information in the digital collectible processing result, wherein the on-chain information includes the block number, transaction hash value and block hash, wherein the block hash is the storage structure of the blockchain where the current digital collectible information is located;
[0024] The block number, the transaction hash, and the block hash are stored in a preset database.
[0025] On the other hand, this application provides a blockchain-based digital collection processing method, characterized in that it is applied to a business platform, the business platform being communicatively connected to a distributed digital platform, and the blockchain-based digital collection processing method includes:
[0026] In response to a digital collection processing request initiated by the business platform, the digital collection processing request includes information about the target digital collection, the business identity identifier of the target business party, and the business user identifier of the target business party. The business identity identifier is used to identify the business identity of the business party, and the business user identifier is used to identify the user identity within the business party.
[0027] Based on the business identity identifier and the business user identifier of the target business party, the distributed digital identities stored in the distributed digital platform are allocated to obtain business digital identity identifiers. The business digital identity identifiers are used to associate with the pre-set general interface for digital collection processing on the distributed digital platform. The general interface for digital collection processing includes multiple data processing logics for processing digital collections.
[0028] Based on the business digital identity identifier, the data processing logic in the general interface for digital collection processing is invoked to process the information of the target digital collection and obtain the digital collection processing result;
[0029] The pre-set blockchain proxy service is invoked to upload the digital collection processing information in the digital collection processing result to the blockchain.
[0030] In some embodiments of this application, the step of allocating distributed digital identities stored in the distributed digital platform based on the business identity identifier of the target business party and the business party user identifier of the target business party to obtain a business digital identity identifier includes:
[0031] The business digital identity is generated by performing a digital signature based on the business identity identifier and the business user identifier of the target business party.
[0032] On the other hand, this application provides a blockchain-based digital collection processing device applied to a distributed digital platform, wherein the distributed digital platform is communicatively connected to a business platform, and the blockchain-based digital collection processing device includes:
[0033] The acquisition module is used to acquire a digital collection processing request initiated by a target business party in the business party platform. The digital collection processing request includes information about the target digital collection, the business identity identifier of the target business party, and the business party user identifier of the target business party. The business identity identifier is used to identify the business identity of the business party, and the business party user identifier is used to identify the user identity within the business party.
[0034] The determination module is used to determine the business digital identity of the target business party based on the business identity identifier of the target business party, the business user identifier of the target business party, and a pre-set mapping table of business identity identifier, business user identifier and business digital identifier. The business digital identity is used to associate with the pre-set general interface for digital collection processing on the distributed digital platform. The general interface for digital collection processing includes multiple data processing logics for processing digital collections.
[0035] The first processing module is used to call the data processing logic in the general interface for digital collection processing according to the business digital identity identifier, to process the information of the target digital collection, and obtain the digital collection processing result.
[0036] The first on-chain module is used to call a pre-set blockchain proxy service to upload the digital collection processing information in the digital collection processing result to the blockchain.
[0037] In some embodiments of this application, the first processing module is specifically used for:
[0038] Obtain the private key of the business digital identity identifier;
[0039] The data processing logic in the general interface for digital collection processing is invoked based on the private key to process the information of the target digital collection and obtain the digital collection processing result.
[0040] In some embodiments of this application, the blockchain-based digital collection processing device further includes:
[0041] The parsing module is used to parse the business logic of each scenario in the pre-packaged digital collection to obtain the general logic of the digital collection.
[0042] A module is created to create the pre-defined general interface for processing digital collections based on the general logic.
[0043] In some embodiments of this application, the first processing module is further configured to:
[0044] If the data processing logic in the general interface for digital collection processing corresponding to the private key is the digital collection transfer service logic, then the owner identifier of the target digital collection is extracted from the information of the target digital collection.
[0045] The target business party is identified as the business party of the target digital collectible, and the user corresponding to the owner identifier is identified as the owner of the target digital collectible. A digital collectible processing result is generated, which transfers the target digital collectible from the user corresponding to the business party user identifier of the target business party to the owner.
[0046] In some embodiments of this application, the blockchain-based digital collection processing device further includes:
[0047] The third acquisition module is used to acquire the on-chain information corresponding to the digital collection information in the digital collection processing result. The on-chain information includes the block number, transaction hash value and block hash. The block hash is the storage structure of the blockchain where the current digital collection information is located.
[0048] A storage module is used to store the block number, the transaction hash, and the block hash in a preset database.
[0049] On the other hand, this application also provides a digital collection processing device applied to a distributed digital platform, wherein the distributed digital platform is communicatively connected to a business platform, and the distributed digital platform includes a blockchain distributed digital identity system for creating distributed digital identity identifiers. The blockchain-based digital collection processing device includes:
[0050] The receiving module is used to respond to a digital collection processing request initiated by the business platform, wherein the digital collection processing request includes information of the target digital collection, the business identity identifier of the target business party, and the business user identifier of the target business party. The business identity identifier is used to identify the business identity of the business party, and the business user identifier is used to identify the user identity within the business party.
[0051] The allocation module is used to allocate the distributed digital identity identifier created by the blockchain distributed digital identity system according to the business identity identifier of the target business party and the business party user identifier of the target business party, so as to obtain a business digital identity identifier. The business digital identity identifier is used to associate with the pre-set digital collection processing general interface on the distributed digital platform. The digital collection processing general interface includes multiple data processing logics for processing digital collections.
[0052] The second processing module is used to call the data processing logic in the general interface for digital collection processing according to the business digital identity identifier, so as to process the information of the target digital collection and obtain the digital collection processing result.
[0053] The second on-chain module is used to call a pre-set blockchain proxy service to upload the digital collection processing information in the digital collection processing result to the blockchain.
[0054] In some embodiments of this application, the allocation module is specifically used for:
[0055] Based on the business identity identifier of the target business party and the business user identifier of the target business party, determine the user information of the business user identifier of the target business party;
[0056] Based on the user information, one of the distributed digital identity identifiers created by the blockchain distributed digital identity system is selected as the business digital identity identifier.
[0057] In some embodiments of this application, the blockchain-based digital collection processing device further includes:
[0058] The verification module is used to verify the user information and obtain verified information that has passed the verification.
[0059] The signature module is used to digitally sign the verified information.
[0060] On the other hand, this application also provides a computer device, the computer device comprising:
[0061] One or more processors;
[0062] Memory; and
[0063] One or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the processor to implement the blockchain-based digital collection processing method as described in any one of the first aspects, or to implement the blockchain-based digital collection processing method as described in any one of the second aspects.
[0064] Sixthly, this application also provides a computer-readable storage medium having a computer program stored thereon, the computer program being loaded by a processor to perform the steps in the blockchain-based digital collection processing method according to any one of the first aspects, or to perform the steps in the blockchain-based digital collection processing method according to any one of the second aspects.
[0065] This application obtains a digital collection processing request initiated by a target business party on a business party platform. The digital collection processing request includes information about the target digital collection, the target business party's business identity identifier, and the target business party's business party user identifier. The business identity identifier identifies the business party's business identity, and the business party user identifier identifies the user identity within the business party. Based on the target business party's business identity identifier, the target business party's business party user identifier, and a pre-set mapping table of business identity identifiers, business party user identifiers, and business digital identifiers, the application determines the target business party's business digital identity identifier. This business digital identity identifier is used to associate with a pre-set general interface for digital collection processing on the distributed digital platform. The general interface for digital collection processing includes multiple data processing logics for handling digital collections. Based on the business digital identity identifier, the data processing logic in the general interface for digital collection processing is invoked to process the information of the target digital collection and obtain the digital collection processing result. A pre-built blockchain proxy service is invoked to put the digital collection processing information in the digital collection processing result onto the blockchain, realizing efficient processing of digital collections, saving costs, improving the processing efficiency and security of digital collections. Furthermore, since business processing is carried out on a distributed digital platform, the business platform does not need to maintain the business party's information and data, that is, it does not need to modify the business party's information and mature business, which facilitates efficient digital collection processing for the business party. Attached Figure Description
[0066] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0067] Figure 1This is a schematic diagram of a scenario for a blockchain-based digital collection processing device provided in an embodiment of this application;
[0068] Figure 2 This is a schematic flowchart of an embodiment of the blockchain-based digital collection processing method provided in this application.
[0069] Figure 3 This is a schematic flowchart of an embodiment of step 303 in this application;
[0070] Figure 4 This is a schematic flowchart of an embodiment of the blockchain-based digital collection processing method provided in this application.
[0071] Figure 5 This is a schematic diagram of an embodiment of the blockchain-based digital collection processing device provided in this application.
[0072] Figure 6 This is a schematic diagram of an embodiment of the blockchain-based digital collection processing device provided in this application.
[0073] Figure 7 This is a schematic diagram of an embodiment of the computer device provided in this application. Detailed Implementation
[0074] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0075] In the description of this application, it should be understood that the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Therefore, features defined as "first" or "second" may explicitly or implicitly include one or more of the stated features. In the description of this application, "multiple" means two or more, unless otherwise explicitly specified.
[0076] In this application, the term "exemplary" is used to mean "used as an example, illustration, or description." Any embodiment described as "exemplary" in this application is not necessarily to be construed as being more preferred or advantageous than other embodiments. The following description is provided to enable any person skilled in the art to make and use this application. Details are set forth in the following description for purposes of explanation. It should be understood that those skilled in the art will recognize that this application can be made without using these specific details. In other instances, well-known structures and processes are not described in detail to avoid obscuring the description of this application with unnecessary detail. Therefore, this application is not intended to be limited to the embodiments shown, but is consistent with the broadest scope of the principles and features disclosed in this application.
[0077] It should be noted that since the method in this application embodiment is executed in a computer device, the processing objects of each computer device exist in the form of data or information, such as time, which is essentially time information. It is understood that if size, quantity, position, etc. are mentioned in subsequent embodiments, they are all corresponding data that exist so that the computer device can process them. Specific details will not be elaborated here.
[0078] This application provides a method, apparatus, and storage medium for processing digital collectibles based on blockchain, which will be described in detail below.
[0079] Please see Figure 1 , Figure 1 This is a schematic diagram of a scenario for a blockchain-based digital collection processing device provided in an embodiment of this application. The blockchain-based digital collection processing device may include a computer device 100, which integrates the blockchain-based digital collection processing device. Figure 1 Computer equipment in the country.
[0080] In this embodiment, the computer device 100 is mainly used to obtain a digital collection processing request initiated by the target business party in the business party platform. The digital collection processing request includes information about the target digital collection, the business identity identifier of the target business party, and the business party user identifier of the target business party. Based on a preset mapping table of business identity identifier, business party user identifier, and business digital identifier, the business digital identity identifier is determined. The business digital identity identifier is used to associate with a preset general interface for digital collection processing. The data processing logic in the general interface for digital collection processing is called to process the information of the target digital collection. A preset blockchain proxy service is called to put the digital collection information in the digital collection processing result onto the blockchain, thereby achieving efficient processing of digital collections, saving costs, and improving the processing efficiency and security of digital collections.
[0081] In this embodiment, the computer device 100 can be a standalone server, a server network, or a server cluster. For example, the computer device 100 described in this embodiment includes, but is not limited to, a computer, a network host, a single network server, a set of multiple network servers, or a cloud server composed of multiple servers. The cloud server is composed of a large number of computers or network servers based on cloud computing.
[0082] It is understood that the terminal 100 used in this application embodiment can be a device that includes both receiving and transmitting hardware, that is, a device having receiving and transmitting hardware capable of performing bidirectional communication on a bidirectional communication link. Such a device may include: cellular or other communication devices having a single-line display, a multi-line display, or a cellular or other communication device without a multi-line display. Specifically, the terminal 100 may be a desktop terminal or a mobile terminal, and the terminal 100 may also be one of a mobile phone, tablet computer, laptop computer, etc.
[0083] In addition, such as Figure 1 As shown, the blockchain-based digital collection processing device may also include a memory 200 for storing digital collection information, such as the business entity identifier that sends the digital collection processing request and the business entity user identifier of the target business entity.
[0084] Those skilled in the art will understand that Figure 1 The application environment shown is merely one application scenario of the solution in this application and does not constitute a limitation on the application scenario of the solution in this application. Other application environments may include those that are more specific to this application. Figure 1 The number of computer devices shown is more or less, for example Figure 1 Only one computer device is shown in the document. It is understood that the blockchain-based digital collection processing device may also include one or more other services, which are not specified here.
[0085] It should be noted that, Figure 1 The schematic diagram of the blockchain-based digital collection processing device shown is merely an example. The blockchain-based digital collection processing device and scenario described in this application are for the purpose of more clearly illustrating the technical solutions of this application and do not constitute a limitation on the technical solutions provided in this application. As those skilled in the art will know, with the evolution of blockchain-based digital collection processing devices and the emergence of new business scenarios, the technical solutions provided in this application are also applicable to similar technical problems.
[0086] First, this application provides a blockchain-based digital collectibles processing method. The executing entity of this method is a blockchain-based digital collectibles processing device, which is applied to a computer device. The method includes: obtaining a digital collectibles processing request initiated by a target business entity on a business platform; wherein the digital collectibles processing request includes information about the target digital collectibles, a business identity identifier of the target business entity, and a business entity user identifier of the target business entity; the business identity identifier identifies the business entity's business identity, and the business entity user identifier identifies the user identity within the business entity; and processing the digital collectibles based on the target business entity's business... The system uses a business identity identifier, the business user identifier of the target business party, and a pre-set mapping table of business identity identifiers, business user identifiers, and business digital identifiers to determine the business digital identity identifier of the target business party. This business digital identity identifier is used to associate with a pre-set general interface for digital collection processing on the distributed digital platform. This general interface includes multiple data processing logics for processing digital collections. Based on the business digital identity identifier, the system calls the data processing logics in the general interface to process the information of the target digital collection, obtaining a digital collection processing result. Finally, a pre-set blockchain proxy service is invoked to upload the digital collection processing information in the processing result to the blockchain.
[0087] like Figure 2 The diagram shown is a flowchart of an embodiment of the blockchain-based digital collection processing method in this application. It is applied to a distributed digital platform that is connected to a business platform. The blockchain-based digital collection processing method may include steps 301-304, as detailed below:
[0088] 301. Obtain the digital collection processing request initiated by the target business party in the business party platform, wherein the digital collection processing request includes information about the target digital collection, the business identity identifier of the target business party, and the business party user identifier of the target business party, wherein the business identity identifier is used to identify the business identity of the business party, and the business party user identifier is used to identify the user identity in the business party.
[0089] Digital collectibles are collectively referred to as NFTs, or Non-Fungible Tokens. These are unique digital certificates generated using blockchain technology for specific works of art, enabling authentic and trustworthy digital issuance, purchase, collection, and use while protecting their digital copyright.
[0090] A business platform refers to a system platform that provides each business team with its own SDK for digital collectibles on the blockchain to facilitate blockchain integration. In other words, a business platform contains multiple business teams, and each business team has its own corresponding digital collectible business.
[0091] A distributed digital platform refers to a system platform that provides business services to different business teams within a business platform, based on their needs for processing digital collectibles. These teams register distributed digital identities (DIDs) to provide services to the business teams processing digital collectibles and their users. The distributed digital identity is a user identifier, or user ID, which is decentralized, verifiable, self-managed, and globally unique. It includes a private key and certificate for signing and verification.
[0092] The target business party refers to the business team on the business party platform that needs to process digital collectibles.
[0093] A digital collectible processing request is a request initiated by the target business party to process digital collectibles. The processing of digital collectibles can include creating digital collectibles, querying digital collectibles, transferring digital collectibles, or trading digital collectibles. The digital collectible processing request includes information about the target digital collectible, the business identity identifier of the target business party, and the business party user identifier of the target business party. The information about the target digital collectible is the relevant information about the digital collectible that needs to be processed, such as the creation time and ownership of the digital collectible NFT1.
[0094] A business identity identifier is used to identify the business entity's identity, while a business entity user identifier is used to identify the user's identity within that business entity. For example, a business identity identifier could be business team A, business team B, etc., and a business entity user identifier could be user Zhang San in business team A, or user Zhang San in business team B. It's worth noting that users in different business entities can be the same user.
[0095] 302. Based on the business identity identifier of the target business party, the business user identifier of the target business party, and a pre-set mapping table of business identity identifier, business user identifier, and business digital identifier, determine the business digital identity identifier of the target business party. The business digital identity identifier is used to associate with the pre-set general interface for digital collection processing on the distributed digital platform. The general interface for digital collection processing includes multiple data processing logics for processing digital collections.
[0096] The business digital identifier is a distributed digital identity identifier in the distributed digital platform, also known as a user ID, used to uniquely identify a user. In this embodiment, the business digital identifier refers to a distributed digital identity identifier mapped to a business identity identifier and a business party user identifier. That is, a business digital identifier is associated with a data pair consisting of a business identity identifier and a business party user identifier. For example, business team A and user identifier Zhang San in business team A form a data pair (A, Zhang San), and the associated business digital identifier is "DID1".
[0097] The pre-configured mapping table of business identity identifier, business user identifier and business digital identifier is a pre-configured table used to record the mapping relationship between data pairs composed of business identity identifier and business user identifier and business digital identifier. That is, one data pair is configured with one distributed digital identity identifier.
[0098] The business digital identity identifier is the business digital identifier obtained through the aforementioned mapping table. That is, the business digital identity identifier is a distributed digital identity identifier (DID) mapped to the business identity identifier and the business party user identifier. The distributed digital identity identifier is used to represent the digital identity of the entity user. It is a decentralized and verifiable string published and maintained on the blockchain. The distributed digital identity identifier is unique, that is, the business digital identity identifier is essentially a user ID, uniquely identifying the user's identity. This allows the business digital identity identifier to be called when processing digital collection business, so that the user identity can be recorded throughout the entire business process of digital collection processing, thereby improving the security of digital collection processing.
[0099] Specifically, by using the target business entity's business identity identifier and the target business entity's business entity user identifier as query conditions, a query can be performed in this mapping table to find the business digital identity identifier, which is a data pair consisting of the target business entity's business identity identifier and the target business entity's business entity user identifier. Since the business digital identity identifier is a distributed digital identity identifier, it is globally unique and has a private key and certificate. Therefore, in this embodiment, the uniqueness of all business entities in the business platform can be guaranteed through the business digital identity identifier, avoiding the tedious collection of information of all business entities in the business platform and improving the efficiency and security of information processing.
[0100] The pre-configured general interface for digital artifact processing refers to pre-configured business logic for processing digital artifacts in different scenarios. It integrates business logic from various scenarios and includes multiple data processing logics, such as digital artifact creation logic and digital artifact transfer service logic. Each data processing logic is used for one type of digital artifact processing, such as digital artifact creation or transfer. This general interface is stored on a distributed digital platform, and each business digital identity is associated with it. In other words, each business digital identity interfaces with this general interface. The processing of each type of digital artifact is implemented through one data processing logic within the general interface, allowing subsequent direct calls to the interface based on the business digital identity. This enables efficient connection between digital artifact processing requests and the general interface, improving the overall efficiency of digital artifact processing.
[0101] 303. Based on the business digital identity identifier, call the data processing logic in the general interface for digital collection processing to process the information of the target digital collection and obtain the digital collection processing result.
[0102] The digital collectible processing result refers to the user information and operational process information of the business platform that performs the corresponding business processing on the target digital collectible. It may also include additional information about the digital collectible, such as an image of the digital collectible. For example, if business team A in the business platform and user Zhang San in business team A form a data pair (A, Zhang San) with the associated business digital identity "DID1", and the business processing of creating the target digital collectible NFT1 is performed, then the digital collectible processing result records that the owner of the target digital collectible NFT1 is "DID1", which is user Zhang San in business team A in the business platform.
[0103] Specifically, after determining the business digital identity, for digital collection processing requests, the data processing logic in the general interface for digital collection processing is invoked to execute the data processing logic on the information of the target digital collection and generate the digital collection processing result. The specific process is as follows: When executing the data processing logic, the general interface for digital collection processing connects to the business digital identity, that is, the data processing logic calls the business digital identity. More specifically, the business digital identity serves as an input parameter of the data processing logic. After the business processing of the digital collection is completed, the processing information of the digital collection and the identity information of the executor of the business processing are recorded in the distributed digital platform, and the digital collection processing result is obtained. By calling the data processing logic in the general interface for digital collection processing, efficient processing of digital collections is achieved without introducing blockchain-related dependencies, and the business platform does not need to have blockchain expertise to achieve efficient processing of digital collections, saving costs and improving the processing efficiency and security of digital collections.
[0104] Understandably, in this embodiment, since business processing is carried out on a distributed digital platform, the developers of the business platform do not need to have blockchain expertise to process digital collectibles, and they do not need to maintain the business's information and data, that is, they do not need to modify the business's information and mature business, which facilitates the business to process digital collectibles efficiently.
[0105] In one specific implementation, such as Figure 3 As shown, each business digital identity includes a corresponding private key; step 303, which involves calling the data processing logic in the general interface for digital collection processing based on the business digital identity to process the information of the target digital collection and obtain the digital collection processing result, may include the following steps 303A to 303B, as detailed below:
[0106] 303A. Obtain the private key of the business digital identity identifier;
[0107] 303B. Based on the private key, call the data processing logic in the general interface for digital collection processing to process the information of the target digital collection and obtain the digital collection processing result.
[0108] Each business digital identity includes a corresponding private key, which is used as a verification parameter for the data processing logic in the general interface for digital collection processing, ensuring the security of calling the data processing logic in the general interface for digital collection processing.
[0109] Specifically, based on the private key, the data processing logic in the general interface for digital collection processing is invoked, which verifies the private key, ensures the security of the data processing logic execution, and makes the digital collection processing results authentic and valid.
[0110] In one specific implementation, the multiple data processing logics include logic for creating digital collectible services, logic for transferring digital collectible services, logic for querying digital collectible services, and logic for querying on-chain related information services; step 303B, which involves calling the data processing logic in the general interface for digital collectible processing based on the private key to process the information of the target digital collectible and obtain the digital collectible processing result, may include the following steps 303B1 to 303B4, as detailed below:
[0111] 303B1. If the data processing logic in the general interface for digital collectible processing corresponding to the private key is the digital collectible creation service logic, then the user corresponding to the business user identifier of the target business party is taken as the owner of the target collectible, and a digital collectible processing result is generated in which the user corresponding to the business user identifier of the target business party creates the target digital collectible; or,
[0112] 303B2. If the data processing logic in the general interface for digital collectibles processing corresponding to the private key is the digital collectibles transfer service logic, then extract the owner identifier of the target digital collectible from the information of the target digital collectible; determine the target business party as the business party of the target digital collectible, determine the user corresponding to the owner identifier as the owner of the target collectible, and generate a digital collectible processing result of transferring the target digital collectible from the user corresponding to the business party user identifier of the target business party to the owner; or,
[0113] 303B3. If the data processing logic in the general interface for processing digital collectibles corresponding to the private key is the logic for querying digital collectibles services, then the smart contract and additional information of the digital collectible are extracted from the information of the target digital collectible to obtain the digital collectible processing result; or,
[0114] 303B4. If the data processing logic in the general interface for processing digital collectibles corresponding to the private key is the logic for querying on-chain related information, then the transaction information of the digital collectible in the preset blockchain is extracted from the information of the target digital collectible to obtain the digital collectible processing result.
[0115] The digital collection creation service logic refers to the service of creating one or more digital collections, and the owner of the digital collection is the creator of the digital collection; the digital collection transfer service logic refers to the service of transferring digital collections from one user to another, that is, the owner of the digital collection changes; the digital collection query service logic refers to the service of querying the smart contract information (such as the transaction information and ID of the digital collection) and the attachment information (such as the image of the digital collection) of the digital collection; and the on-chain information query service logic refers to the service of querying the relevant information of the digital collection on the blockchain.
[0116] Specifically, when the data processing logic in the general interface for digital collection processing corresponding to the private key is the logic for creating digital collection services, the owner of the target collection is determined to be the user corresponding to the business user identifier of the target business party in the digital collection processing request. The digital collection processing result is obtained, which records the creator and owner of the target digital collection, and both the creator and owner are the users corresponding to the business user identifier of the target business party.
[0117] When the data processing logic in the general interface for digital collection processing corresponding to the private key is the logic for transferring digital collection services, it indicates that the target digital collection needs to be transferred on the distributed digital platform. The owner identifier of the target digital collection can be extracted from the information of the target digital collection. Since the transfer is carried out in the target business party, the business party of the target digital collection is the target business party. The owner of the target digital collection changes from the user corresponding to the business party user identifier of the target business party to the owner corresponding to the owner identifier. The business party and owner of the target digital collection are the result of digital collection processing.
[0118] When the data processing logic in the general interface for digital collection processing corresponding to the private key is the logic for querying digital collection services, the smart contract and additional information of the digital collection are extracted from the information of the target digital collection to obtain the digital collection processing result. The digital collection processing result records the smart contract and additional information of the target digital collection.
[0119] Here, the preset blockchain refers to a pre-set blockchain used to store digital collectibles, such as a digital collectibles blockchain. The data processing logic in the general interface for digital collectibles processing corresponding to the private key is a query logic for on-chain related information. This logic extracts the transaction information of the digital collectible in the preset blockchain from the information of the target digital collectible, obtaining the digital collectible processing result. This result records the transaction information of the digital collectible in the preset blockchain. In this embodiment, the verification and integration with the data processing logic in the general interface for digital collectibles processing are achieved based on the private key, thus improving the efficiency of transferring the target digital collectible.
[0120] 304. Call the pre-set blockchain proxy service to put the digital collection processing information in the digital collection processing result onto the blockchain.
[0121] Among them, the pre-configured blockchain proxy service refers to the pre-configured service used to call the blockchain, such as uploading information to the chain and querying it.
[0122] Specifically, after obtaining the digital collection processing results, a pre-set blockchain proxy service is invoked to upload the digital collection processing information in the results to the blockchain, increasing the transparency of the blockchain to the business parties and ensuring the authenticity, validity, and security of the digital collection processing.
[0123] It is worth noting that this embodiment can also encapsulate the smart contract of the blockchain to expose the general business interface of digital collectibles and improve the processing efficiency of digital collectibles.
[0124] In one specific embodiment, before obtaining the processing request for the target digital collectible initiated by the target business party in the business party platform in step 301, the blockchain-based digital collectible processing method may further include the following steps 305-306, as detailed below:
[0125] 305. Analyze the business logic of each scenario in the pre-packaged digital collection to obtain the general logic of the digital collection;
[0126] 306. Based on the general logic, create the preset general interface for digital collection processing.
[0127] In this context, business logic refers to the services provided by digital collectibles in various scenarios. To achieve efficient processing of digital collectibles in various scenarios, this embodiment analyzes and integrates the business logic of each scenario in the pre-packaged digital collectibles, determines the general logic of digital collectibles, and creates a pre-built general interface for processing digital collectibles based on the general logic. This allows each business team on the business platform to directly connect to the interface, avoiding the tediousness and high cost of each business team developing its own business logic for the corresponding digital collectibles.
[0128] In one specific embodiment, after calling a pre-set blockchain proxy service to upload the digital collection processing information in the digital collection processing result to the blockchain in step 304, the blockchain-based digital collection processing method may further include the following steps 307-308, as follows:
[0129] 307. Obtain the on-chain information corresponding to the digital collection information in the digital collection processing result, wherein the on-chain information includes the block number, transaction hash value and block hash, wherein the block hash is the storage structure of the blockchain where the current digital collection information is located;
[0130] 308. Store the block number, the transaction hash, and the block hash in a preset database.
[0131] The default database is a pre-configured database used to store on-chain information, such as Redis or MongoDB.
[0132] Specifically, by calling the unified blockchain proxy service, the on-chain information corresponding to the digital collection information in the digital collection processing results can be obtained. The on-chain information, namely the block number, transaction hash, and block hash, is stored in the database, which improves the query and verification performance of the business side and reduces the pressure on the blockchain service.
[0133] like Figure 4 The diagram shown is a flowchart of an embodiment of the blockchain-based digital collectibles processing method in this application. This blockchain-based digital collectibles processing method is applied to a business platform, which is communicatively connected to a distributed digital platform. The distributed digital platform includes a blockchain distributed digital identity system for creating distributed digital identity identifiers. The blockchain-based digital collectibles processing method may include the following steps 401-404, as detailed below:
[0134] 401. In response to a digital collection processing request initiated by the business platform, wherein the digital collection processing request includes information about the target digital collection, the business identity identifier of the target business party, and the business user identifier of the target business party, wherein the business identity identifier is used to identify the business identity of the business party, and the business user identifier is used to identify the user identity within the business party.
[0135] Specifically, a target business entity within the business platform initiates a digital collectible processing request to itself. This processing can include creating, querying, transferring, or trading digital collectibles. The request includes information about the target digital collectible, the target business entity's business identity identifier, and the target business entity's user identifier. The target digital collectible information refers to the relevant details of the digital collectible to be processed, such as the creation time and ownership of digital collectible A. The business identity identifier identifies the business entity's business identity, and the user identifier identifies the user within the business entity.
[0136] 402. Based on the business identity identifier of the target business party and the business user identifier of the target business party, the distributed digital identity identifier created by the blockchain distributed digital identity system is allocated to obtain a business digital identity identifier. The business digital identity identifier is used to associate with the pre-set digital collection processing general interface on the distributed digital platform. The digital collection processing general interface includes multiple data processing logics for processing digital collections.
[0137] The preset general interface for digital collection processing in this embodiment is consistent with the description in step 302, and will not be repeated here to avoid repetition.
[0138] Specifically, the target business party's business identity identifier and target business party user identifier are both conventional identifiers, such as numbers, characters, or a combination of both. The business digital identity identifier, however, is one of the identifiers created by the blockchain distributed digital identity system within the distributed digital platform. This distributed digital identity identifier represents the digital identity of an entity user and is a decentralized, verifiable string published and maintained on the blockchain. Distributed digital identity identifiers are unique. To quickly connect to the digital collection interface and subsequently call upon the business digital identity identifier when processing digital collection business, ensuring user identity recording throughout the entire digital collection processing process and improving security, the user information of the target business party's business identity identifier and target business party user identifier can be distributed using distributed digital identity identifiers. This leverages the global uniqueness of distributed digital identity identifiers, avoiding the cumbersome collection of information from all business parties within the business platform, thus improving the efficiency and security of information processing.
[0139] In one specific implementation, step 402, which involves allocating the distributed digital identity identifier created by the blockchain distributed digital identity system based on the business identity identifier and the business user identifier of the target business party, to obtain the business digital identity identifier, may include the following steps 402A to 402B, as detailed below:
[0140] 402A. Determine the user information of the target business party's business party user identifier based on the target business party's business identity identifier and the target business party's business party user identifier.
[0141] Among them, user information refers to the personal identity information of users of the target business party in the business party platform, which can be obtained from the user information database pre-stored by the business party.
[0142] 402B. Based on the user information, select one of the distributed digital identity identifiers created by the blockchain distributed digital identity system and determine it as the business digital identity identifier.
[0143] Specifically, for user information, a distributed digital identity can be randomly selected from the distributed digital identity identifiers, or an allocation rule can be pre-set. For example, the allocation can be based on the order of the user information's position in the database and the distributed digital identity identifier's position in the blockchain distributed digital identity system. This results in a business digital identity identifier for the target business party's user identifier. The business digital identity identifier is associated with a pre-built general interface for digital collection processing on the distributed digital platform. This allows for direct connection to the general interface for digital collection processing requests, achieving efficient connection between digital collection processing requests and the general interface for digital collection processing, thereby improving the efficiency of subsequent digital collection processing.
[0144] In one specific embodiment, after determining the user information of the target business party's business party user identifier based on the target business party's business identity identifier and the target business party's business party user identifier in step 402A, the method further includes steps 402C to 402D, as follows:
[0145] 402C. Verify the user information and obtain verified information;
[0146] 402D. Digitally sign the verified information.
[0147] Specifically, user information can be compared with a pre-set identity information configuration table. When the identity information configuration table contains identity information that matches the user information, the verification is deemed successful, and the verified information, i.e., the identity information, is obtained. Then, the verified information is digitally signed. The digital signature algorithm can be RSA digital signature algorithm or DSA digital signature algorithm, etc. By digitally signing the verified information, the security of business identity in the business platform and user identity in the business is further improved.
[0148] 403. Based on the business digital identity identifier, call the data processing logic in the general interface for digital collection processing to process the information of the target digital collection and obtain the digital collection processing result.
[0149] The digital collection processing result in this embodiment is consistent with the description in step 303, and will not be repeated here to avoid repetition.
[0150] Specifically, after determining the business digital identity, the data processing logic in the general interface for digital collection processing is invoked to execute the data processing logic on the information of the target digital collection, generating the digital collection processing result. The specific process is as follows: When executing the data processing logic, the general interface for digital collection processing connects to the business digital identity. That is, the data processing logic calls the business digital identity. More specifically, the business digital identity serves as the input parameter of the data processing logic. After completing the business processing of the digital collection, the processing information of the digital collection and the identity information of the executor of the business processing are recorded in the distributed digital platform, resulting in the digital collection processing result. By invoking the data processing logic in the general interface for digital collection processing, efficient processing of digital collections is achieved without introducing blockchain-related dependencies. Furthermore, the business platform does not need to have blockchain expertise to achieve efficient processing of digital collections, saving costs and improving the processing efficiency and security of digital collections.
[0151] 404. Call the pre-set blockchain proxy service to put the digital collection processing information in the digital collection processing result onto the blockchain.
[0152] Among them, the pre-configured blockchain proxy service refers to the pre-configured service used to call the blockchain, such as uploading information to the chain and querying it.
[0153] Specifically, after obtaining the digital collection processing results, a pre-set blockchain proxy service is invoked to upload the digital collection processing information in the results to the blockchain, increasing the transparency of the blockchain to the business parties and ensuring the authenticity, validity, and security of the digital collection processing.
[0154] It is worth noting that this embodiment can also encapsulate the smart contract of the blockchain to expose the general business interface of digital collectibles and improve the processing efficiency of digital collectibles.
[0155] To better implement the blockchain-based digital collectibles processing method in this application embodiment, this application embodiment also provides a blockchain-based digital collectibles processing device, such as... Figure 5 As shown, the blockchain-based digital collection processing 500 includes:
[0156] The acquisition module 501 is used to acquire a digital collection processing request initiated by a target business party in the business party platform. The digital collection processing request includes information about the target digital collection, the business identity identifier of the target business party, and the business party user identifier of the target business party. The business identity identifier is used to identify the business identity of the business party, and the business party user identifier is used to identify the user identity in the business party.
[0157] The determining module 502 is used to determine the business digital identity of the target business party based on the business identity identifier of the target business party, the business user identifier of the target business party, and a pre-set mapping table of business identity identifier, business user identifier and business digital identifier. The business digital identity is used to associate with the pre-set general interface for digital collection processing on the distributed digital platform. The general interface for digital collection processing includes multiple data processing logics for processing digital collections.
[0158] The first processing module 503 is used to call the data processing logic in the general interface for digital collection processing according to the business digital identity identifier, to process the information of the target digital collection, and to obtain the digital collection processing result.
[0159] The first on-chain module 504 is used to call a pre-set blockchain proxy service to upload the digital collection processing information in the digital collection processing result to the blockchain.
[0160] In this embodiment, a digital collection processing request initiated by a target business party in the business party platform is obtained. The digital collection processing request includes information about the target digital collection, the target business party's business identity identifier, and the target business party's business party user identifier. The business identity identifier identifies the business party's business identity, and the business party user identifier identifies the user identity within the business party. Based on the target business party's business identity identifier, the target business party's business party user identifier, and a pre-set mapping table of business identity identifiers, business party user identifiers, and business digital identifiers, the target business party's business digital identity identifier is determined. This business digital identity identifier is used to associate with a pre-set general interface for digital collection processing on the distributed digital platform. The general interface for digital collectibles processing includes multiple data processing logics for processing digital collectibles. Based on the business digital identity identifier, the data processing logic in the general interface for digital collectibles processing is invoked to process the information of the target digital collectible and obtain the digital collectible processing result. A pre-built blockchain proxy service is invoked to put the digital collectible processing information in the digital collectible processing result onto the blockchain, realizing efficient processing of digital collectibles, saving costs, improving the processing efficiency and security of digital collectibles. Furthermore, since business processing is carried out on a distributed digital platform, the business platform does not need to maintain the business party's information and data, that is, it does not need to modify the business party's information and mature business, which facilitates efficient digital collectible processing for the business party.
[0161] In some embodiments of this application, the first processing module 503 is specifically used for:
[0162] Obtain the private key of the business digital identity identifier;
[0163] The data processing logic in the general interface for digital collection processing is invoked based on the private key to process the information of the target digital collection and obtain the digital collection processing result.
[0164] In some embodiments of this application, the blockchain-based digital collection processing device further includes:
[0165] The parsing module is used to parse the business logic of each scenario in the pre-packaged digital collection to obtain the general logic of the digital collection.
[0166] A module is created to create the pre-defined general interface for processing digital collections based on the general logic.
[0167] In some embodiments of this application, the first processing module 503 is further configured to:
[0168] If the data processing logic in the general interface for digital collectible processing corresponding to the private key is the digital collectible creation service logic, then the user corresponding to the business user identifier of the target business party is taken as the owner of the target collectible, and a digital collectible processing result is generated whereby the user corresponding to the business user identifier of the target business party creates the target digital collectible; or,
[0169] If the data processing logic in the general interface for digital collection processing corresponding to the private key is the digital collection transfer service logic, then the owner identifier of the target digital collection is extracted from the information of the target digital collection.
[0170] The target business entity is identified as the business entity of the target digital collectible, and the user corresponding to the owner identifier is identified as the owner of the target collectible. A processing result is generated to transfer the target digital collectible from the user corresponding to the business entity's user identifier to the owner; or,
[0171] If the data processing logic in the general interface for processing digital collectibles corresponding to the private key is the logic for querying digital collectibles services, then the smart contract and additional information of the digital collectible are extracted from the information of the target digital collectible to obtain the digital collectible processing result; or,
[0172] If the data processing logic in the general interface for digital collectibles processing corresponding to the private key is the query on-chain related information service logic, then the transaction information of the digital collectible in the preset blockchain is extracted from the information of the target digital collectible to obtain the digital collectible processing result.
[0173] In some embodiments of this application, the blockchain-based digital collection processing device further includes:
[0174] The third acquisition module is used to acquire the on-chain information corresponding to the digital collection information in the digital collection processing result. The on-chain information includes the block number, transaction hash value and block hash. The block hash is the storage structure of the blockchain where the current digital collection information is located.
[0175] A storage module is used to store the block number, the transaction hash, and the block hash in a preset database.
[0176] This application also provides a blockchain-based digital collection processing device, such as... Figure 6 As shown, the blockchain-based digital collection processing device 600 includes:
[0177] The receiving module 601 is used to respond to a digital collection processing request initiated by the business platform, wherein the digital collection processing request includes information of the target digital collection, the business identity identifier of the target business party, and the business user identifier of the target business party, wherein the business identity identifier is used to identify the business identity of the business party, and the business user identifier is used to identify the user identity in the business party.
[0178] The allocation module 602 is used to allocate the distributed digital identity identifier created by the blockchain distributed digital identity system according to the business identity identifier of the target business party and the business party user identifier of the target business party, so as to obtain a business digital identity identifier. The business digital identity identifier is used to associate with the pre-set digital collection processing general interface on the distributed digital platform. The digital collection processing general interface includes multiple data processing logics for processing digital collections.
[0179] The second processing module 603 is used to call the data processing logic in the general interface for digital collection processing according to the business digital identity identifier, to process the information of the target digital collection, and to obtain the digital collection processing result.
[0180] The second on-chain module 604 is used to call a pre-set blockchain proxy service to upload the digital collection processing information in the digital collection processing result to the blockchain.
[0181] In some embodiments of this application, the allocation module 602 is specifically used for:
[0182] Based on the business identity identifier of the target business party and the business user identifier of the target business party, determine the user information of the business user identifier of the target business party;
[0183] Based on the user information, one of the distributed digital identity identifiers created by the blockchain distributed digital identity system is selected as the business digital identity identifier.
[0184] In some embodiments of this application, the blockchain-based digital collection processing device further includes:
[0185] The verification module is used to verify the user information and obtain verified information that has passed the verification.
[0186] The signature module is used to digitally sign the verified information.
[0187] This application also provides a computer device that integrates any of the blockchain-based digital collection processing devices provided in this application, the computer device comprising:
[0188] One or more processors;
[0189] Memory; and
[0190] One or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the processor from the steps of the blockchain-based digital collection processing method described in any of the embodiments of the blockchain-based digital collection processing method described above.
[0191] This application also provides a computer device that integrates any of the blockchain-based digital collection processing devices provided in this application. For example... Figure 7 As shown, it illustrates a structural schematic diagram of the computer device involved in the embodiments of this application, specifically:
[0192] The computer device may include components such as a processor 701 with one or more processing cores, a memory 702 with one or more computer-readable storage media, a power supply 703, and an input unit 704. Those skilled in the art will understand that... Figure 7 The computer device structure shown does not constitute a limitation on the computer device and may include more or fewer components than shown, or combine certain components, or have different component arrangements. Wherein:
[0193] The processor 701 is the control center of the computer device. It connects various parts of the computer device via various interfaces and lines. By running or executing software programs and / or modules stored in the memory 702, and by calling data stored in the memory 702, it performs various functions of the computer device and processes data, thereby providing overall monitoring of the computer device. Optionally, the processor 701 may include one or more processing cores; preferably, the processor 701 may integrate an application processor and a modem processor, wherein the application processor mainly handles the operating system, user interface, and applications, and the modem processor mainly handles wireless communication. It is understood that the modem processor may not be integrated into the processor 701.
[0194] The memory 702 can be used to store software programs and modules. The processor 701 executes various functional applications and data processing by running the software programs and modules stored in the memory 702. The memory 702 may mainly include a program storage area and a data storage area. The program storage area may store the operating system, application programs required for at least one function (such as sound playback function, image playback function, etc.), etc.; the data storage area may store data created according to the use of the computer device, etc. In addition, the memory 702 may include high-speed random access memory, and may also include non-volatile memory, such as at least one disk storage device, flash memory device, or other volatile solid-state storage device. Accordingly, the memory 702 may also include a memory controller to provide the processor 701 with access to the memory 702.
[0195] The computer device also includes a power supply 703 that supplies power to the various components. Preferably, the power supply 703 can be logically connected to the processor 701 through a power management system, thereby enabling functions such as charging, discharging, and power consumption management through the power management system. The power supply 703 may also include one or more DC or AC power supplies, recharging systems, power fault detection circuits, power converters or inverters, power status indicators, and other arbitrary components.
[0196] The computer device may also include an input unit 704, which can be used to receive input digital or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control.
[0197] Although not shown, the computer device may also include a display unit, etc., which will not be described in detail here. Specifically, in this embodiment, the processor 701 in the computer device loads the executable files corresponding to the processes of one or more application programs into the memory 702 according to the following instructions, and the processor 701 runs the application programs stored in the memory 702 to realize various functions, as follows:
[0198] The system obtains a digital collection processing request initiated by a target business entity on the business entity platform. The digital collection processing request includes information about the target digital collection, the business identity identifier of the target business entity, and the business entity user identifier of the target business entity. The business identity identifier is used to identify the business entity's business identity, and the business entity user identifier is used to identify the user identity within the business entity.
[0199] Based on the business identity identifier of the target business party, the business user identifier of the target business party, and a pre-set mapping table of business identity identifier, business user identifier, and business digital identifier, the business digital identity identifier of the target business party is determined. The business digital identity identifier is used to associate with the pre-set general interface for digital collection processing on the distributed digital platform. The general interface for digital collection processing includes multiple data processing logics for processing digital collections.
[0200] Based on the business digital identity identifier, the data processing logic in the general interface for digital collection processing is invoked to process the information of the target digital collection and obtain the digital collection processing result;
[0201] The pre-set blockchain proxy service is invoked to upload the digital collection processing information in the digital collection processing result to the blockchain.
[0202] Those skilled in the art will understand that all or part of the steps in the various methods of the above embodiments can be performed by instructions, or by instructions controlling related hardware. These instructions can be stored in a computer-readable storage medium and loaded and executed by a processor.
[0203] Therefore, embodiments of this application provide a computer-readable storage medium, which may include: read-only memory (ROM), random access memory (RAM), a disk, or an optical disk, etc. A computer program is stored thereon, which is loaded by a processor to execute the steps in any of the blockchain-based digital collectible processing methods provided in embodiments of this application. For example, the computer program loaded by the processor can execute the following steps:
[0204] The system obtains a digital collection processing request initiated by a target business entity on the business entity platform. The digital collection processing request includes information about the target digital collection, the business identity identifier of the target business entity, and the business entity user identifier of the target business entity. The business identity identifier is used to identify the business entity's business identity, and the business entity user identifier is used to identify the user identity within the business entity.
[0205] Based on the business identity identifier of the target business party, the business user identifier of the target business party, and a pre-set mapping table of business identity identifier, business user identifier, and business digital identifier, the business digital identity identifier of the target business party is determined. The business digital identity identifier is used to associate with the pre-set general interface for digital collection processing on the distributed digital platform. The general interface for digital collection processing includes multiple data processing logics for processing digital collections.
[0206] Based on the business digital identity identifier, the data processing logic in the general interface for digital collection processing is invoked to process the information of the target digital collection and obtain the digital collection processing result;
[0207] The pre-set blockchain proxy service is invoked to upload the digital collection processing information in the digital collection processing result to the blockchain.
[0208] In the above embodiments, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the detailed descriptions of other embodiments above, which will not be repeated here.
[0209] In practice, each of the above units or structures can be implemented as an independent entity or can be arbitrarily combined to be implemented as the same or several entities. For the specific implementation of each of the above units or structures, please refer to the previous method embodiments, which will not be repeated here.
[0210] For details on the implementation of each of the above operations, please refer to the previous examples, which will not be repeated here.
[0211] The foregoing has provided a detailed description of a blockchain-based digital collection processing method, apparatus, computer equipment, and storage medium provided in the embodiments of this application. Specific examples have been used to illustrate the principles and implementation methods of this application. The descriptions of the above embodiments are only for the purpose of helping to understand the method and core ideas of this application. At the same time, for those skilled in the art, there will be changes in the specific implementation methods and application scope based on the ideas of this application. Therefore, the content of this specification should not be construed as a limitation of this application.
Claims
1. A method for processing digital collectibles based on blockchain, characterized in that, The blockchain-based digital collection processing method is applied to a distributed digital platform that communicates with a business platform. The system obtains a digital collection processing request initiated by a target business entity on the business entity platform. The digital collection processing request includes information about the target digital collection, the business identity identifier of the target business entity, and the business entity user identifier of the target business entity. The business identity identifier is used to identify the business entity's business identity, and the business entity user identifier is used to identify the user identity within the business entity. Based on the business identity identifier of the target business party, the business user identifier of the target business party, and a pre-set mapping table of business identity identifier, business user identifier, and business digital identifier, the business digital identity identifier of the target business party is determined. Each business digital identity identifier includes a corresponding private key. The business digital identity identifier is used to associate with the pre-set general interface for digital collection processing on the distributed digital platform. The general interface for digital collection processing includes multiple data processing logics for processing digital collections. Based on the business digital identity identifier, obtain the private key of the business digital identity identifier; based on the private key, call the data processing logic in the general interface for digital collection processing to process the information of the target digital collection and obtain the digital collection processing result; The pre-set blockchain proxy service is invoked to upload the digital collection processing information in the digital collection processing result to the blockchain.
2. The method for processing digital collectibles based on blockchain according to claim 1, characterized in that, Before the processing request for the target digital collectible initiated by the target business party in the platform for acquiring the business party, the following is also included: The business logic of each scenario in the pre-packaged digital collection is analyzed to obtain the general logic of the digital collection. Based on the general logic, the pre-set general interface for digital collection processing is created.
3. The method for processing digital collectibles based on blockchain according to claim 1, characterized in that, The multiple data processing logics include the logic for creating digital collection services, the logic for transferring digital collection services, the logic for querying digital collection services, and the logic for querying on-chain related information services. The step of invoking the data processing logic in the general interface for digital collection processing based on the private key to process the information of the target digital collection and obtain the digital collection processing result includes: If the data processing logic in the general interface for digital collectible processing corresponding to the private key is the digital collectible creation service logic, then the user corresponding to the business user identifier of the target business party is taken as the owner of the target digital collectible, and a digital collectible processing result is generated whereby the user corresponding to the business user identifier of the target business party creates the target digital collectible; or, If the data processing logic in the general interface for digital collection processing corresponding to the private key is the digital collection transfer service logic, then the owner identifier of the target digital collection is extracted from the information of the target digital collection. The target business entity is identified as the business entity of the target digital collectible, and the user corresponding to the owner identifier is identified as the owner of the target digital collectible. A processing result is generated to transfer the target digital collectible from the user corresponding to the business entity's user identifier to the owner; or, If the data processing logic in the general interface for processing digital collectibles corresponding to the private key is the logic for querying digital collectibles services, then the smart contract and additional information of the digital collectible are extracted from the information of the target digital collectible to obtain the digital collectible processing result; or, If the data processing logic in the general interface for digital collectibles processing corresponding to the private key is the query on-chain related information service logic, then the transaction information of the digital collectible in the preset blockchain is extracted from the information of the target digital collectible to obtain the digital collectible processing result.
4. The blockchain-based digital collection processing method according to claim 1, characterized in that, After the pre-set blockchain proxy service is invoked to upload the digital collection processing information in the digital collection processing result to the blockchain, the method further includes: Obtain the on-chain information corresponding to the digital collection processing information in the digital collection processing result, wherein the on-chain information includes the block number, transaction hash value and block hash, wherein the block hash is the storage structure of the blockchain where the current digital collection information is located; The block number, the transaction hash, and the block hash are stored in a preset database.
5. A method for processing digital collectibles based on blockchain, characterized in that, Applied to a business platform, which is communicatively connected to a distributed digital platform, the distributed digital platform includes a blockchain-based distributed digital identity system for creating distributed digital identity identifiers. The blockchain-based digital collection processing method includes: In response to a digital collection processing request initiated by the business platform, the digital collection processing request includes information about the target digital collection, the business identity identifier of the target business party, and the business user identifier of the target business party. The business identity identifier is used to identify the business identity of the business party, and the business user identifier is used to identify the user identity within the business party. Based on the business identity identifier and the business user identifier of the target business party, the distributed digital identity identifier created by the blockchain distributed digital identity system is allocated to obtain business digital identity identifiers. Each business digital identity identifier includes a corresponding private key. The business digital identity identifier is used to associate with the pre-set digital collection processing general interface on the distributed digital platform. The digital collection processing general interface includes multiple data processing logics for processing digital collections. Based on the business digital identity identifier, obtain the private key of the business digital identity identifier; based on the private key, call the data processing logic in the general interface for digital collection processing to process the information of the target digital collection and obtain the digital collection processing result; The pre-set blockchain proxy service is invoked to upload the digital collection processing information in the digital collection processing result to the blockchain.
6. The blockchain-based digital collection processing method according to claim 5, characterized in that, The step of allocating the distributed digital identity identifier created by the blockchain distributed digital identity system based on the business identity identifier and the business user identifier of the target business party to obtain the business digital identity identifier includes: Based on the business identity identifier of the target business party and the business user identifier of the target business party, determine the user information of the business user identifier of the target business party; Based on the user information, one of the distributed digital identity identifiers created by the blockchain distributed digital identity system is selected as the business digital identity identifier.
7. The blockchain-based digital collection processing method according to claim 6, characterized in that, After determining the user information of the target business party's business party user identifier based on the target business party's business identity identifier and the target business party's business party user identifier, the method further includes: The user information is authenticated, and the verified information is obtained; The verified information is digitally signed.
8. A blockchain-based digital collection processing device, characterized in that, The blockchain-based digital collection processing device is applied to a distributed digital platform, which communicates with the business platform. The acquisition module is used to acquire a digital collection processing request initiated by a target business party in the business party platform. The digital collection processing request includes information about the target digital collection, the business identity identifier of the target business party, and the business party user identifier of the target business party. The business identity identifier is used to identify the business identity of the business party, and the business party user identifier is used to identify the user identity within the business party. The determination module is used to determine the business digital identity of the target business party based on the business identity identifier of the target business party, the business party user identifier of the target business party, and a pre-set mapping table of business identity identifier, business party user identifier, and business digital identifier. Each business digital identity identifier includes a corresponding private key. The business digital identity identifier is used to associate with a pre-set general interface for digital collection processing on the distributed digital platform. The general interface for digital collection processing includes multiple data processing logics for processing digital collections. The first processing module is used to obtain the private key of the business digital identity based on the business digital identity identifier; and to call the data processing logic in the general interface for digital collection processing based on the private key to process the information of the target digital collection and obtain the digital collection processing result. The first on-chain module is used to call a pre-set blockchain proxy service to upload the digital collection information in the digital collection processing result to the blockchain.
9. A computer-readable storage medium, characterized in that, It stores a computer program, which is loaded by a processor to perform the steps of the blockchain-based digital collection processing method as described in any one of claims 1 to 4, or to implement the blockchain-based digital collection processing method as described in any one of claims 5 to 7.
Citation Information
Patent Citations
On-chain digital asset management method and device
CN112132560A
Business service implementation method and device based on block chain, equipment and storage medium
CN113779604A