Blockchain digital collectible retrieval method, system and device, and electronic equipment
By extracting and matching feature data from collection guidance information, the problem of inconvenient retrieval of digital collections on the blockchain has been solved, enabling convenient and efficient retrieval of digital collections while reducing resource consumption.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- TENPAY PAID TECH
- Filing Date
- 2022-07-19
- Publication Date
- 2026-07-14
AI Technical Summary
In existing technologies, the methods for retrieving digital collectibles on the blockchain are inconvenient, especially the retrieval through on-chain certificate information such as transaction hashes, which is complex and resource-intensive, and the retrieval of data by loading it into a database is also complex and resource-intensive.
By extracting feature data from the collection's guiding information, and combining feature extraction and matching technologies, the system can query pre-stored collection features that match the feature data, and obtain associated on-chain certificate information, thus enabling convenient retrieval of digital collections.
It enables convenient retrieval of digital collectibles without requiring users to remember transaction hashes or on-chain certificate information, and without rebuilding the database, thus reducing resource consumption.
Smart Images

Figure CN117453760B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of blockchain technology, specifically to a method, system, device, and electronic device for retrieving digital collectibles on a blockchain. Background Technology
[0002] Digital collectibles can be understood as digital content. For example, any artwork or commodity, after being encrypted digitally, possesses a unique "digital certificate," which can then be considered a digital collectible. Storing digital collectibles on a blockchain based on blockchain technology ensures their immutability and non-copyability. Each digital collectible has a unique blockchain identifier, which can be considered its unique on-chain identifier.
[0003] Currently, users typically search for on-chain digital collectibles by accessing browsers or blockchain nodes using transaction hashes or other on-chain credentials, or by loading all data of the digital collectible from the blockchain into a database and searching using keywords. The former method is inconvenient for users because the on-chain credentials, such as transaction hashes, are irregular, while the latter method is complex to develop and consumes significant storage resources. Therefore, determining a more convenient method for searching digital collectibles is a pressing technical problem that needs to be solved by those skilled in the art. Summary of the Invention
[0004] To address the aforementioned technical problems, embodiments of this application provide methods and apparatuses, systems, electronic devices, computer-readable storage media, and computer program products for retrieving digital collectibles on the blockchain.
[0005] According to one aspect of the embodiments of this application, a method for retrieving digital collectibles on a blockchain is provided. The method is applied to a digital collectibles retrieval system, the system including a client, a retrieval server, and a blockchain network. The digital collectibles are stored in the blockchain network. The method is executed by the retrieval server and includes: receiving collectible guidance information sent by the client for retrieving digital collectibles; extracting feature data corresponding to the collectible guidance information and querying pre-stored collectible features that match the feature data, the pre-stored collectible features including feature data obtained by pre-extracting features from digital collectibles already on the blockchain; and after obtaining on-chain credential information associated with the pre-stored collectible features, returning query result data to the client so that the client can perform a retrieval response for the corresponding digital collectible based on the query result data.
[0006] According to one aspect of the embodiments of this application, a retrieval device for digital collectibles on a blockchain is provided. The device is applied to a digital collectibles retrieval system, the system including a client, a retrieval server, and a blockchain network. The digital collectibles are stored in the blockchain network. The device is configured in the retrieval server and includes: a collectible guidance information receiving module, configured to receive collectible guidance information sent by the client for retrieving digital collectibles; a pre-stored collectible feature query module, configured to extract feature data corresponding to the collectible guidance information and query pre-stored collectible features that match the feature data, the pre-stored collectible features including feature data obtained by pre-extracting features from digital collectibles already on the blockchain; and a query result feedback module, configured to return query result data to the client after obtaining on-chain credential information associated with the pre-stored collectible features, so that the client can perform a retrieval response for the corresponding digital collectible based on the query result data.
[0007] According to one aspect of the embodiments of this application, another method for retrieving digital collectibles on a blockchain is provided. The method is applied to a digital collectible retrieval system, which includes a client, a retrieval server, and a blockchain network. The digital collectibles are stored in the blockchain network. The method is executed by the client and includes: sending collectible guidance information for retrieving digital collectibles to the retrieval server; receiving query result data returned by the retrieval server, wherein the query result data is returned after the retrieval server extracts feature data corresponding to the collectible guidance information, queries pre-stored collectible features matching the feature data, and obtains on-chain credential information associated with the pre-stored collectible features, the pre-stored collectible features including feature data obtained by pre-extracting features from on-chain digital collectibles; and performing a retrieval response for the corresponding digital collectible based on the retrieval result data.
[0008] According to one aspect of the embodiments of this application, another retrieval device for digital collectibles on a blockchain is provided. The device is applied to a digital collectible retrieval system, which includes a client, a retrieval server, and a blockchain network. The digital collectibles are stored in the blockchain network. The device is configured in the client and includes: a collectible guidance information sending module, configured to send collectible guidance information for retrieving digital collectibles to the retrieval server; a query result data receiving module, configured to receive query result data returned by the retrieval server, wherein the query result data is returned after the retrieval server extracts feature data corresponding to the collectible guidance information, queries pre-stored collectible features matching the feature data, and obtains on-chain credential information associated with the pre-stored collectible features, wherein the pre-stored collectible features include feature data obtained by pre-extracting features from on-chain digital collectibles; and a retrieval response module, configured to perform a retrieval response for the corresponding digital collectible based on the retrieval result data.
[0009] According to one aspect of the embodiments of this application, a retrieval system for digital collectibles on a blockchain is provided, including a terminal, a browser, a cloud image library, and a blockchain network, wherein: the terminal is used to send a digital collectible retrieval request to the browser, the digital collectible retrieval request containing collectible guidance information; the browser forwards the collectible guidance information to the cloud image library; the cloud image library extracts feature data corresponding to the collectible guidance information and queries pre-stored collectible features that match the feature data, the pre-stored collectible features including feature data obtained by pre-extracting features from digital collectibles already on the blockchain, and after obtaining on-chain credential information associated with the pre-stored collectible features, returns query result data to the browser; the browser responds to the retrieval of the corresponding digital collectible based on the received query result data, so that the terminal obtains the on-chain information of the corresponding digital collectible, and displays the retrieval results of the corresponding digital collectible based on the collectible guidance information and the on-chain information.
[0010] According to one aspect of the embodiments of this application, an electronic device is provided, including: one or more processors; and a storage device for storing one or more programs, which, when executed by the one or more processors, cause the electronic device to implement the aforementioned method for retrieving digital collectibles on a blockchain.
[0011] According to one aspect of the embodiments of this application, a computer-readable storage medium is provided, on which computer-readable instructions are stored, which, when executed by a computer's processor, cause the computer to perform the retrieval method for digital collectibles on a blockchain as described above.
[0012] According to one aspect of the embodiments of this application, a computer program product is also provided, including a computer program that, when executed by a processor, implements the method for retrieving digital collectibles on a blockchain as described above.
[0013] In the technical solution provided in the embodiments of this application, after receiving the collection guidance information sent by the client for retrieving digital collections, the feature data corresponding to the collection guidance information is extracted, and the pre-stored collection features that match the feature data are queried. After obtaining the on-chain certificate information associated with the pre-stored collection features, the query result data is returned to the client, so that the browser can obtain the corresponding on-chain information of the digital collection based on the query result data. It can be seen that this application realizes the retrieval of digital collections on the blockchain by extracting the feature data of the collection guidance information and combining feature extraction and matching techniques. It does not require users to remember the transaction hash or other on-chain certificates of digital collections to retrieve digital collections, nor does it require rebuilding the database of digital collections, thus realizing a more convenient retrieval of digital collections.
[0014] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and do not limit this application. Attached Figure Description
[0015] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application. It is obvious that the drawings described below are merely some embodiments of this application, and those skilled in the art can obtain other drawings based on these drawings without any inventive effort.
[0016] Figure 1 This is a schematic diagram illustrating the structure of a blockchain network in an exemplary embodiment;
[0017] Figure 2 This is a schematic diagram illustrating the structure of a blockchain-based digital collectibles retrieval system, as shown in an exemplary embodiment of this application.
[0018] Figure 3 yes Figure 2 A schematic diagram of an exemplary user interface provided by terminal 210 in the system shown.
[0019] Figure 4 yes Figure 2 The diagram shows the interaction flow involved in the system.
[0020] Figure 5 yes Figure 2 A schematic diagram of the interface for displaying search results of corresponding digital collectibles based on on-chain information in terminal 210 of the system shown;
[0021] Figure 6 Is Figure 2 A schematic diagram of another blockchain-based digital collection retrieval system proposed based on the structure of the system shown;
[0022] Figure 7 It shows Figure 6 The diagram shows the process of business terminal 610 initiating the on-chain digital collection.
[0023] Figure 8 It shows Figure 6 The diagram shows the process of business terminal 610 initiating on-chain address transfer of digital collectibles in the system shown.
[0024] Figure 9 This is a flowchart illustrating an exemplary embodiment of a method for retrieving digital collectibles on a blockchain;
[0025] Figure 10 Is Figure 6 A schematic diagram of another blockchain-based digital collection retrieval system proposed based on the structure of the system shown;
[0026] Figure 11 This is a flowchart illustrating a method for retrieving digital collectibles on a blockchain, as shown in another exemplary embodiment.
[0027] Figure 12 This is an example diagram illustrating the upload parameters of a specified upload interface;
[0028] Figure 13 This is a flowchart illustrating a method for retrieving digital collectibles on a blockchain, as shown in another exemplary embodiment.
[0029] Figure 14 This is a block diagram of a blockchain-based digital collection retrieval device, as illustrated in an exemplary embodiment of this application.
[0030] Figure 15 This is a block diagram of a device for retrieving digital collectibles on a blockchain, as illustrated in another exemplary embodiment of this application.
[0031] Figure 16 A schematic diagram of the structure of a computer system suitable for implementing the electronic device of the present application is shown. Detailed Implementation
[0032] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numbers in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this application as detailed in the appended claims.
[0033] The block diagrams shown in the accompanying drawings are merely functional entities and do not necessarily correspond to physically independent entities. That is, these functional entities can be implemented in software, in one or more hardware modules or integrated circuits, or in different network and / or processor devices and / or microcontroller devices.
[0034] The flowcharts shown in the accompanying drawings are merely illustrative and do not necessarily include all content and operations / steps, nor do they necessarily have to be performed in the described order. For example, some operations / steps can be broken down, while others can be combined or partially combined; therefore, the actual execution order may change depending on the specific circumstances.
[0035] In this application, "multiple" refers to two or more. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A alone, A and B simultaneously, or B alone. The character " / " generally indicates that the preceding and following related objects have an "or" relationship.
[0036] First, it should be noted that the embodiments of this application involve blockchain technology. Blockchain technology is a novel distributed infrastructure and computing method that utilizes a block-chain data structure to verify and store data, uses distributed node consensus algorithms to generate and update data, uses cryptography to ensure the security of data transmission and access, and uses smart contracts composed of automated script code to program and manipulate data. Blockchain refers to a decentralized infrastructure with distributed storage characteristics. Specifically, it is a data structure that organizes data blocks in chronological order using a linked list-like manner, enabling secure storage of sequentially related data that can be verified within the system, and using cryptography to ensure that the data is immutable and unforgeable. Simply put, blockchain is a decentralized distributed ledger, with each chain acting as an independent ledger.
[0037] Figure 1 This is a schematic diagram illustrating the structure of a blockchain network as shown in an exemplary embodiment. Figure 1The blockchain network 100 shown may include node devices 10a, 10b, 10c, and 10d. Node devices 10a, 10b, 10c, and 10d are all... Figure 1 The blockchain nodes (referred to as nodes) in the blockchain network 100 shown can be any form of computing device connected to the blockchain network 100, such as servers, user terminals, etc. Figure 1 The node devices 10a, 10b, 10c, and 10d shown can also be connected to form a blockchain network 100 through network communication.
[0038] Figure 1 The blockchain network 100 architecture shown includes the following types of blockchains: public blockchain, private blockchain, and consortium blockchain. The type of blockchain used may vary depending on the specific application scenario, and no restrictions are placed here. A public blockchain is one that is publicly accessible, allowing anyone to join and access it. Blocks on a public blockchain can be viewed by anyone, and anyone can initiate transactions and participate in the consensus process at any time. A private blockchain is one that can be used within a private organization, where read / write permissions and participation in accounting are determined according to the organization's rules; it is typically used for internal data management and auditing. A consortium blockchain allows members of the consortium to have read / write permissions and participation in accounting based on consortium rules; it is generally used for inter-institutional transactions, settlements, or clearing.
[0039] Each node in the blockchain network 100 has its own corresponding node identifier, and each node in the blockchain network 100 can store the node identifiers of other nodes in the blockchain network 100, so that the generated block can be broadcast to other nodes in the blockchain network 100 according to the node identifiers of other nodes.
[0040] Each node in blockchain network 100 stores the same blockchain (see Figure 1 The blockchain shown is 10e. A blockchain consists of multiple blocks. Each block contains the hash value of the transactions stored in that block (the hash value of this block) and the hash value of the previous block. The blocks are linked together by their hash values to form the blockchain, ensuring the security of the information input into the blocks. Additionally, blocks may include information such as the timestamp when the block was generated, the version number, and the difficulty value, which are not listed here.
[0041] A smart contract is a computer protocol designed to disseminate, verify, or execute contracts in an informational manner. Smart contracts allow for trusted transactions without a third party; these transactions are traceable and irreversible. A smart contract can execute the terms of a contract through code deployed on a shared ledger that executes when certain conditions are met. Based on actual business needs, this code is used to automate transactions, such as querying the logistics status of goods purchased by a buyer and transferring the buyer's electronic funds to the merchant's address after the buyer signs for the goods. Of course, smart contracts are not limited to executing contracts for transactions; they can also execute contracts for processing received information. Figure 1 In the blockchain network 100 shown, smart contracts can be deployed on each node of the blockchain network 100 to perform processing such as uploading data to the chain and transferring data that has been uploaded to the chain through the protocol agreed upon by the smart contract.
[0042] Figure 1 The blockchain network 100 shown can be specifically used to store digital collectibles. As mentioned earlier, a digital collectible is any artwork or commodity that has been encrypted digitally and given a unique digital identity, thus creating a digital collectible corresponding to any artwork or commodity. Therefore, a digital collectible can be understood as a piece of digital content. For example, a digital collectible could be an image of an artwork or commodity, an audio or video recording, or a mixture of various digital content; there are no restrictions on this.
[0043] The creators of digital collectibles are usually also the owners of them. They store the digital collectibles on the blockchain, thereby ensuring their immutability and non-copyability, thus guaranteeing their storage security. The information of digital collectibles stored on the blockchain can also be made public, for example, it can be viewed and accessed by users to meet practical needs such as digital collectible trading.
[0044] Generally, once digital collectibles are uploaded to the blockchain, they are stored under the blockchain address corresponding to the creator. Only the creator has the authority to perform transfer operations on the digital collectibles stored under that blockchain address. For example, in the application scenario of digital collectible trading, if a user purchases a digital collectible owned by a creator, the creator needs to initiate an on-chain address transfer operation for the digital collectible under the corresponding blockchain address. This means transferring the digital collectible to the user's on-chain address for storage, thereby ensuring the security of on-chain storage of digital collectibles.
[0045] For example, the main on-chain information obtained when a digital collectible is added to the blockchain may include imgurl (public IP address), file hash (content hash), token ID (unique on-chain identifier), etc., and this document does not impose any restrictions on this. The unique on-chain identifier of a digital collectible serves as its identity proof on the blockchain. Therefore, smart contracts deployed on blockchain nodes can refuse to add digital collectibles with a unique on-chain identifier that already exists on the blockchain to the blockchain again.
[0046] After digital collectibles are stored on the blockchain, users will have retrieval needs. For example, if the digital collectible is an artwork, the user needs to retrieve the relevant on-chain information of a certain artwork, and then further determine whether to purchase the artwork based on the retrieved on-chain information, thereby conducting a transaction of the digital collectible. As another example, if the digital collectible is audio, the user needs to retrieve the relevant on-chain information of a certain artwork, and obtain information such as the copyright of the audio based on the retrieved on-chain information. The actual application scenarios applicable to the embodiments of this application are not limited here.
[0047] As described in the background section, in existing technologies, users typically search for on-chain digital collectibles by accessing a browser or blockchain node using transaction hashes or other on-chain credentials, or by loading all data of the digital collectible from the blockchain into a database and searching using keywords. However, the former method is inconvenient because the on-chain credential information, such as transaction hashes, is irregular and generally has a length greater than or equal to 64 bits. Users need to remember complex transaction hashes or other on-chain credential information. The latter method requires loading data from the blockchain into a database, processing it into a format that can be searched using keywords, and indexing the keywords. This is complex to develop and consumes significant storage resources.
[0048] To address the above problems, embodiments of this application propose a method for retrieving digital collectibles on a blockchain, a device for retrieving digital collectibles on a blockchain, a system for retrieving digital collectibles on a blockchain, an electronic device, a computer storage medium, and a computer program product.
[0049] These embodiments will be described in detail below.
[0050] Please see Figure 2 , Figure 2 This is a schematic diagram illustrating the structure of a blockchain-based digital collectible retrieval system, as shown in an exemplary embodiment of this application. Figure 2As shown, the system includes a terminal 210, a browser 220, a cloud image library 230, and a blockchain network 240. Wired or wireless communication is possible between the terminal 210 and the browser 220, between the browser 220 and the cloud image library 230, between the browser 220 and the blockchain network 240, and between the client 210 and the blockchain network 240.
[0051] exist Figure 2 In the blockchain-based digital collectibles retrieval system shown, terminal 210 provides a user interface to support user retrieval operations for digital collectibles. For example, in... Figure 3 In the example user interface, users can upload images for searching digital collectibles by triggering the "Upload Image Search" search box on the user transaction interface, such as by taking a photo or selecting an image from the album, and then click the "Search" button to initiate a digital collectible search request to the browser 220. The digital collectible search request will carry the information of this image.
[0052] It should be noted that the image used for searching digital collectibles is also called collectible guidance information, which contains relevant features of the digital collectible to be searched. Therefore, the search for on-chain digital collectibles can be triggered based on the collectible guidance information entered in terminal 210. In practical application scenarios, collectible guidance information can be not only images, but also other digital content such as audio and video, without restriction here. It should also be noted that the user interface provided by terminal 210 can be either a web client interface or an APP (Application) client interface, without restriction here either.
[0053] The browser client 220 can function as a browser server, providing data services for the operation of the terminal 210. The browser server can be a standalone physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server providing basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, CDN (Content Delivery Network), and big data and artificial intelligence platforms.
[0054] It's important to understand that cloud technology is a collective term for network technologies, information technologies, integration technologies, management platform technologies, and application technologies applied based on the cloud computing business model. These technologies can form resource pools, allowing for on-demand, flexible, and convenient use. Cloud computing is a computing model that distributes computing tasks across a resource pool composed of numerous computers, enabling various application systems to obtain computing power, storage space, and information services as needed. The network providing these resources is called the "cloud." From the user's perspective, the resources in the "cloud" are infinitely scalable, readily available, and can be used on demand, expanded at any time, and paid for based on usage. As a provider of basic cloud computing capabilities, a cloud computing resource pool (referred to as a cloud platform, generally called an IaaS (Infrastructure as a Service) platform) is established, deploying various types of virtual resources within the resource pool for external customers to choose from.
[0055] After receiving the digital collection retrieval request sent by the terminal 210, the browser 220 forwards the collection guidance information in the digital collection retrieval request to the cloud image library 230. After receiving the query result data returned by the cloud image library 230, the browser 220 performs a retrieval response for the corresponding digital collection, so that the terminal 210 obtains the on-chain information of the corresponding digital collection and displays the retrieval results of the corresponding digital collection based on the on-chain information.
[0056] For example, the query result data includes on-chain certificate information. The browser client 220 can perform a search response for the corresponding digital collectible based on the on-chain certificate information returned by the cloud image library 230, which may include the following process:
[0057] Based on the on-chain certificate information returned by the cloud image library 230, the corresponding digital collectible's on-chain information is queried from the blockchain network 240, and the retrieved on-chain information is returned to the terminal 210 so that the search results for the corresponding digital collectible can be displayed on the terminal 210 based on the on-chain information. It can be seen that in this process, the on-chain information of the corresponding digital collectible is queried from the blockchain network 240 via the browser terminal 220.
[0058] In another exemplary embodiment, the process by which the browser 220 retrieves the corresponding digital collectible based on the on-chain certificate information returned by the cloud image library 230 may also include the following steps:
[0059] The on-chain certificate information returned by the cloud image library 230 is sent back to the terminal 210, enabling the terminal 210 to query the on-chain information of the corresponding digital collectible from the blockchain network 240 based on the on-chain certificate information, and to display the search results of the corresponding digital collectible based on the on-chain information. In this process, the terminal 210 queries the on-chain information of the corresponding digital collectible from the blockchain network 240.
[0060] In practical applications, the system can be configured to query the on-chain information of corresponding digital collectibles from the blockchain network 240 via terminal 210 or browser 220, depending on actual needs. This embodiment does not impose any limitations on this. It should be understood that the query of the on-chain information of corresponding digital collectibles from the blockchain network 240 by terminal 210 or browser 220 specifically involves querying from the blockchain nodes within the blockchain network 240.
[0061] In another example, the query result data includes the on-chain information of the corresponding digital collectible. The browser 220 forwards the on-chain information of the corresponding digital collectible returned by the cloud image library 230 to the terminal 210, so that the terminal 210 can directly display the search results of the corresponding digital collectible based on the received on-chain information.
[0062] The cloud image library 230, also known as the cloud server, is used in this embodiment to process digital collectible image retrieval. However, this does not mean that the system proposed in this embodiment is only used to support scenarios where digital collectibles are retrieved by image. For example, the cloud image library 230 can also be replaced by a cloud audio library or a cloud video library. The cloud image library 230 pre-stores pre-stored collectible features obtained by feature extraction of on-chain digital collectibles and associates the on-chain certificate information of on-chain digital collectibles with its pre-stored collectible features. Based on this, after receiving collectible guidance information forwarded by the browser client 220, the cloud image library 230 extracts the feature data corresponding to the collectible guidance information through a pre-configured feature extraction program, then queries the pre-stored collectible features that match the feature data, and returns the on-chain certificate information associated with the queried pre-stored collectible features as the retrieval result data to the browser client 220, so that the browser client 220 can perform a retrieval response for the corresponding digital collectible based on the process described above.
[0063] Alternatively, in some application scenarios, the cloud image library 230 can be deployed as a node device in the blockchain network 240. After querying the pre-stored collection features that match the feature data corresponding to the collection guidance information, the cloud image library 230 further obtains the on-chain certificate information associated with the pre-stored collection features. Based on this on-chain certificate information, it queries its own blockchain to obtain the on-chain information of the corresponding digital collection, and then returns the retrieved on-chain information as the search result data to the browser client 220, so that the browser client 220 can perform a search response for the corresponding digital collection. The cloud image library 230 can be implemented using existing cloud services, without requiring developers to implement it from scratch, making the development of a digital collection retrieval system on the blockchain simple and convenient. For example, existing cloud services can be implemented using cloud storage as technical support. Cloud storage is a new concept that extends and develops from the concept of cloud computing. A distributed cloud storage system (hereinafter referred to as a storage system) refers to a storage system that uses cluster applications, grid technology, and distributed storage file systems to aggregate a large number of storage devices (storage devices are also called storage nodes) of various types in the network to work together through application software or application interfaces to jointly provide data storage and business access functions. Furthermore, the cloud image library 230 does not need to store detailed information about digital collections, but only stores feature data of digital collections, and its storage resources are also relatively small.
[0064] Figure 2 The blockchain-based digital collectible retrieval system, taking image-based digital collectible retrieval as an example, can be represented by the following interaction flow: Figure 4 As shown. Among them, Figure 4 This specifically illustrates the interaction process where the cloud image library 230 returns search results data, including on-chain certificate information of the corresponding digital collectibles, to the browser 220. For example... Figure 4 As shown, the user uploads an image for searching digital collectibles to the browser 220 via terminal 210. The browser then retrieves matching pre-stored collectible features from the cloud image library 230 based on the received image. The cloud image library 230 returns the on-chain certificate information associated with the retrieved pre-stored collectible features to the browser 220, enabling the browser 220 to query the complete on-chain information of the corresponding digital collectible from the blockchain node. The retrieved on-chain information is then formatted by the browser 220 and returned to the terminal 210 for display of the search results. This formatting process can be understood as transforming the on-chain information into the data format required by the terminal 210.
[0065] Figure 5 This is a schematic diagram of the interface for displaying search results for corresponding digital collectibles based on on-chain information in an exemplary terminal 210. For example... Figure 5As shown, taking digital collectibles as an example of artwork images, the exemplary search results display interface shows the unique on-chain identifier of the corresponding digital collectible, image content, transaction hash value, author name, work name, series name, series ID (Identity Document), issuer, release time, on-chain URL (Uniform Resource Locator) address of the work, owner, transaction records, and other information. This information is obtained from blockchain network 240.
[0066] The blockchain-based digital collectible retrieval system provided in this embodiment achieves retrieval of digital collectibles by extracting feature data from the collectible's guiding information and combining it with feature extraction and matching technologies. This eliminates the need for users to remember the transaction hashes or other on-chain credentials of digital collectibles for retrieval, and also eliminates the need to rebuild the digital collectible database, thus achieving a more convenient digital collectible retrieval process. For example, combined with... Figure 3 and Figure 5 The meaning is clear: the user only needs to... Figure 3 The user trading interface shown above allows users to upload images for searching digital collectibles and obtain results such as... Figure 5 The interface for displaying the digital collection search results is very convenient.
[0067] like Figure 6 As shown, in another exemplary embodiment, the retrieval system for digital collectibles on the blockchain... Figure 2 In addition to the above, it also includes a business terminal 610, which establishes wired or wireless communication with the cloud image library 230 and the blockchain network 240 respectively.
[0068] The business unit 610 corresponds to the creator of the digital collectible. It initiates the on-chain listing of the digital collectible on the blockchain network 240. After obtaining the on-chain certificate information of the listed digital collectible, it sends the collectible information and the on-chain certificate information to the cloud image library 230. The collectible information is the content of the digital collectible, such as image content, audio content, and video content. The cloud image library 230 extracts features from the received collectible information to obtain the corresponding pre-stored collectible features, and then associates and stores the obtained pre-stored collectible features with the corresponding on-chain certificate information.
[0069] Figure 7 This diagram illustrates the process of business unit 610 initiating the on-chain uploading of digital collectibles. (For example...) Figure 7As shown, after the digital collectible is created, the creator initiates on-chain storage of the collectible information to the blockchain network 240 via the business terminal 610, and the digital collectible belongs to the creator. After successful on-chain storage, the blockchain network 240 returns on-chain credential information to the business terminal 610. The business terminal 610 submits the collectible information and on-chain credential of the digital collectible that has been uploaded to the blockchain to the cloud image library 230 to extract features from the received collectible information, obtain the corresponding pre-stored collectible features, and then associates and stores the obtained pre-stored collectible features with the corresponding on-chain credential information, which can then be used in the retrieval process of the digital collectible that has been uploaded to the blockchain. In another embodiment, the business terminal 610 is also used to initiate the on-chain address transfer of the digital collectible that has been uploaded to the blockchain. After obtaining the transferred on-chain address of the digital collectible, it sends the corresponding on-chain unique identifier and updated supplementary information of the digital collectible to the cloud image library 240. The Cloud Image Library 230 searches for the corresponding stored ancillary information based on the received unique on-chain identifier, and updates the stored ancillary information according to the received updated ancillary information. In this way, after the on-chain address transfer is completed, the on-chain certificate information stored in the Cloud Image Library 230 will be updated synchronously to meet the actual application needs, such as the trading of digital collectibles.
[0070] Figure 8 This diagram illustrates the process of business unit 610 initiating an on-chain address transfer for digital collectibles. (For example...) Figure 8 As shown, since the storage of digital collectibles on the blockchain belongs to the minter, the minter needs to initiate the transfer of the digital collectibles through the business terminal 610. After the transfer is successful, the blockchain network 240 returns new on-chain certificate information to the business terminal 610. The business terminal 610 sends the corresponding digital collectible's unique on-chain identifier and updated supplementary information to the cloud image library 230, enabling the cloud image library 230 to update the relevant information stored for this digital collectible.
[0071] Please see Figure 9 , Figure 9 This is a flowchart illustrating an exemplary embodiment of a method for retrieving digital collectibles on a blockchain.
[0072] This method is applied to a digital artifact retrieval system, which includes a client, a retrieval server, and a blockchain network. The client initiates searches for digital artifacts, the retrieval server responds to these searches, and the digital artifacts are stored in the blockchain network. The method is specifically executed by the retrieval server.
[0073] The digital collection retrieval system to which this method is applicable can be specifically implemented as follows: Figure 2 The system shown is a retrieval system for digital collectibles on the blockchain, and is provided by... Figure 2 The cloud image library 230 in the system shown is executed in detail. Figure 2The terminal 210 and browser 220 in the system shown can be equivalent to the client included in the digital collection retrieval system to which this method is applied.
[0074] like Figure 9 As shown, in an exemplary embodiment, the method includes the following steps S910 to S930:
[0075] S910 receives collection guidance information sent by the client for retrieving digital collections;
[0076] S920, extract the feature data corresponding to the collection guidance information, and query the pre-stored collection features that match the feature data. The pre-stored collection features include feature data obtained by pre-extracting features from digital collections already on the chain.
[0077] S930, after obtaining the on-chain certificate information associated with the characteristics of the pre-stored collection, returns the query result data to the client so that the client can perform a retrieval response for the corresponding digital collection based on the query result data.
[0078] In step S910, the collection guidance information contains the characteristics of the corresponding digital collection. For example, the collection guidance information can be digital content such as images, audio, and video, which can reflect the characteristics related to the corresponding digital collection. Therefore, the collection guidance information can be used to retrieve digital collections that have been uploaded to the blockchain. Compared to on-chain credential information such as transaction hashes, collection guidance information is easier for users to obtain and use. For example, when the digital collection is an image, the user only needs to save the image in their terminal's photo album or take a picture to use it for searching the digital collection. Similarly, when the digital image is audio, the user only needs to save or record the audio to use it for searching the digital collection. This greatly facilitates users' retrieval of digital collections on the blockchain and improves the user's search experience.
[0079] For example, the client can be understood as including a client front-end and a client back-end. The client front-end is a user-facing application that provides a user interface to enable users to search for digital collectibles. The client back-end provides data support for the search and other operations of the corresponding digital collectibles in the client front-end, and is not limited here. The collectible guidance information can be carried in the digital collectible search request initiated by the client front-end.
[0080] In step S920, since the retrieval server has pre-extracted the features of the digital collectibles that have been put on the chain and obtained the corresponding pre-stored collectible features, and associated and stored the pre-stored collectible features with the corresponding on-chain certificate information, the retrieval server can extract the feature data corresponding to the collectible guidance information after receiving the collectible guidance information sent by the client, and query the pre-stored collectible features that match the feature data. The digital collectibles corresponding to the pre-stored collectible features queried are generally the digital collectibles that the user wants to retrieve.
[0081] The process of retrieving pre-stored collection features that match the feature data corresponding to the collection guidance information on the retrieval server is also the process of feature matching. For example, the cosine similarity between the two features can be used as the matching degree, without any restrictions. If the matching degree between the two features is greater than or equal to a specified threshold, it means that the two features match.
[0082] The feature extraction program used in the retrieval server to extract the features of pre-stored digital collectibles is the same as the feature extraction program used to extract the feature data corresponding to the collectible guidance information, in order to ensure the accuracy of the subsequent feature matching process.
[0083] Furthermore, when the retrieval server supports retrieval scenarios for different types of digital collectibles, such as simultaneously supporting the retrieval of digital collectibles of image type, audio type, and video type, the retrieval server is pre-configured with different types of feature extraction programs so that the appropriate feature extraction program can be selected in actual application to extract the feature data of collectible guidance information and the pre-stored collectible features of digital collectibles.
[0084] As can be seen from the above, this embodiment, by setting up a retrieval server and extracting the feature data corresponding to the collection guidance information on the retrieval server, and performing a matching query between this feature data and the pre-stored collection features, can quickly locate the digital collection to be retrieved. At the same time, the cloud image library does not need to store the detailed content of the digital collection, but only its feature data, which also reduces the consumption of storage resources.
[0085] Furthermore, the retrieval server can be implemented using existing cloud services, such as existing image search libraries, audio search libraries, video search libraries, or other search libraries that can simultaneously perform searches for multiple digital content. The retrieval server provides interfaces for uploading and retrieving data, eliminating the need for developers to implement it from scratch, which also makes the development of retrieval for digital collectibles on the blockchain simple and convenient.
[0086] In step S930, the retrieval server, based on the pre-stored collectible features matched in step S920, further obtains the on-chain certificate information associated with the pre-stored collectible features and returns the retrieval result data to the client. The on-chain certificate information is the certificate information of the corresponding digital collectible that has been stored on the blockchain, including, for example, an on-chain unique identifier and transaction hash. Therefore, the on-chain certificate information obtained by the retrieval server indicates that the corresponding digital collectible is already on-chain. Based on the on-chain certificate information, the on-chain information of the corresponding digital collectible can be queried from the blockchain. This on-chain information is also the relevant information that the user wants to retrieve.
[0087] In an exemplary embodiment, the query result data includes on-chain credential information. The client responds to the corresponding digital collectible search based on the received query result data by responding to the digital collectible search request sent by the client front-end based on the on-chain credential information contained in the query result data. This enables the client front-end to obtain the on-chain information of the retrieved digital collectible and display the search results based on this on-chain information.
[0088] For example, the process of retrieving corresponding digital collectibles in the client-side backend based on on-chain credential information includes the following steps:
[0089] The client-side backend retrieves the on-chain information of the corresponding digital collectible from the blockchain network based on the on-chain credential information. This retrieved information is then returned to the client-side frontend for displaying search results. Specifically, the client-side backend retrieves the on-chain information of the corresponding digital collectible from the blockchain network based on the on-chain credential information. This query is performed on a specific blockchain node, such as the closest node to the client or a node with which the client has a pre-established communication connection; there are no restrictions on this.
[0090] Another example is that the process of retrieving corresponding digital collectibles in the client-side backend based on on-chain credential information includes the following steps:
[0091] The on-chain certificate information is returned to the client-side frontend, enabling the client-side to query the corresponding digital collectible's on-chain information from the blockchain network based on the on-chain certificate information, and display the search results for the corresponding digital collectible based on the on-chain information. Similarly, the client-side frontend's query for the corresponding digital collectible's on-chain information from the blockchain network based on the on-chain certificate information is specifically performed on a specific blockchain node within the blockchain network.
[0092] In another exemplary embodiment, the query result data includes on-chain information of the corresponding digital collectible. For example, the retrieval server can be deployed as a node device in a blockchain network. After querying pre-stored collectible features that match the feature data corresponding to the collectible guidance information, the retrieval server further obtains on-chain certificate information associated with the pre-stored collectible features. Based on this on-chain certificate information, it queries its own blockchain to obtain the on-chain information of the corresponding digital collectible, and then returns the retrieved on-chain information as retrieval result data to the client, so that the client can display the retrieval results of the corresponding digital collectible based on the received on-chain information.
[0093] For example, after the retrieval server obtains the on-chain certificate information associated with the characteristics of the pre-stored collection, it can also query the corresponding on-chain information from the blockchain network based on the on-chain certificate information, and then return the queried on-chain information to the client. This embodiment does not impose any restrictions here.
[0094] Regardless of which of the above processes is used to enable the client to retrieve corresponding digital collectibles based on the search results data, the client can obtain the corresponding digital collectible search results by passing in collectible guidance information for retrieval. It can be seen that this embodiment achieves the retrieval of digital collectibles on the blockchain by extracting the feature data of the collectible guidance information and combining feature extraction and matching techniques. Compared with the existing technology, it does not require users to remember the complicated transaction hashes or other on-chain credentials of digital collectibles for retrieval, nor does it require rebuilding the database of digital collectibles, thus achieving a more convenient retrieval of digital collectibles.
[0095] In another exemplary embodiment, considering that multiple blockchain networks may be used to store digital collectibles in actual application scenarios, the retrieval server or cloud image library stores the pre-stored collectible features and associated on-chain certificate information of digital collectibles stored on multiple blockchains. Therefore, in step S920, multiple pre-stored collectible features that match the feature data corresponding to the collectible guidance information may be queried.
[0096] For example, see Figure 10 , Figure 10 Is Figure 6 This diagram illustrates the structure of another blockchain-based digital collection retrieval system, based on the structure of the system shown. Figure 10 The system shown in the example includes blockchain network 1, blockchain network 2, and blockchain network 3, which are independent of each other. Figure 10The example system also includes Business Terminal 1, Business Terminal 2, and Business Terminal 3. Each business terminal is responsible for initiating the storage of its respective minted digital collectibles on various blockchain networks. After the digital collectibles are successfully added to the blockchain, they are associated and stored in a cloud image library with the pre-stored collectible features and on-chain certificate information. Therefore, in Figure 10 In the example application scenario, the cloud image library will store pre-stored collection features and associated on-chain credential information for multiple digital collectibles on the blockchain. Consequently, when the cloud image library performs a matching query for pre-stored collection features based on the feature data corresponding to the collection's guidance information, it may also retrieve multiple pre-stored collection features.
[0097] Based on this, if the number of pre-stored collection features that match the feature data corresponding to the collection guidance information found in step S920 is multiple, the retrieval server will return retrieval result data to the client containing on-chain certificate information associated with each pre-stored collection feature, so that the client can aggregate the received multiple on-chain certificate information to perform a retrieval response for the corresponding digital collection.
[0098] The client's response to retrieve corresponding digital collectibles by aggregating multiple received on-chain credential information means that the browser uses multiple on-chain credential information to enable the client to query the on-chain information of the corresponding digital collectibles from different blockchain networks, and then displays the retrieval results of the corresponding digital collectibles based on the aggregated on-chain information. The aggregation of on-chain information can be understood as the combination or merging of on-chain information.
[0099] For example, if a matching pre-stored collectible feature is found, including pre-stored collectible feature 1, pre-stored collectible feature 2, and pre-stored collectible feature 3, where pre-stored collectible feature 1 is the feature data of digital collectible 1 stored in blockchain network 1, pre-stored collectible feature 2 is the feature data of digital collectible 2 stored in blockchain network 2, and pre-stored collectible feature 3 is the feature data of digital collectible 3 stored in blockchain network 3, the client will query the on-chain information 1 of digital collectible 1 in blockchain network 1 based on the on-chain credential information 1 associated with pre-stored collectible feature 1, query the on-chain information 2 of digital collectible 2 in blockchain network 2 based on the on-chain credential information 2 associated with pre-stored collectible feature 2, and query the on-chain information 3 of digital collectible 3 in blockchain network 3. Finally, by aggregating the on-chain information 1, on-chain information 2, and on-chain information 3, the final information used for displaying the search results is obtained.
[0100] In addition, for example, web crawling technology can be used to crawl the pre-stored collection features of digital collections stored on multiple blockchains and the associated on-chain certificate information, and store them in the retrieval server. Alternatively, the retrieval server can communicate with multiple blockchain networks to extract the pre-stored collection features of digital collections that have been uploaded to the blockchain and associate them with the corresponding on-chain certificate information. This embodiment does not limit the way the retrieval server obtains the pre-stored collection features and corresponding on-chain certificate information of digital collections.
[0101] It should also be understood that web crawler technology, also known as web crawler, is a program or script that automatically retrieves information from the World Wide Web according to certain rules. Based on system structure and implementation technology, web crawlers can be roughly divided into four types: general-purpose web crawlers, focused web crawlers, incremental web crawlers, and deep web crawlers. The specific type of web crawler technology used in this embodiment is not limited here.
[0102] In another exemplary embodiment, the retrieval server can be deployed as a node device in one of the blockchain networks. When the retrieval server finds multiple pre-stored collection features that match the feature data corresponding to the collection guidance information, it obtains the on-chain credential information associated with each pre-stored collection feature. Then, based on the target on-chain credential information, it queries the on-chain information of the corresponding digital collection from the locally stored blockchain. The target on-chain credential information refers to the on-chain credential information corresponding to the blockchain stored locally by the retrieval server. The retrieval server returns the retrieval results data to the client, which includes the on-chain information queried from the locally stored blockchain, as well as other on-chain credential information besides the target on-chain credential information.
[0103] After receiving the search results data, the client still needs to query the on-chain information corresponding to other on-chain certificates from the corresponding blockchain network, and then display the search results of the corresponding digital collectibles based on the aggregated on-chain information.
[0104] Alternatively, in some embodiments, the retrieval server can obtain multiple on-chain credential information based on multiple pre-stored collection features that match the feature data corresponding to the collection guidance information. Then, it can query the on-chain information of the corresponding digital collection from different blockchain networks and return the multiple on-chain information to the client so that the client can directly display the retrieval results of the corresponding digital collection based on the aggregated on-chain information.
[0105] As can be seen from the above, the technical solution provided in this embodiment can meet the application scenario of storing digital collectibles in multiple blockchain networks. In this application scenario, the search results displayed by the client aggregate the storage status of digital collectibles in multiple blockchain networks, thus providing a more comprehensive search result for digital collectibles.
[0106] In another exemplary embodiment, step S930 further returns to the client the matching degree between the feature data corresponding to the collection guidance information and the matching pre-stored collection features, so that the client will only perform a search response for the corresponding digital collection based on the query result data returned by the search server when the matching degree is greater than or equal to a preset threshold. For details of the process of the client performing a search response for the corresponding digital collection based on the on-chain credential information, please refer to the description in the foregoing embodiments, which will not be repeated here.
[0107] If the matching degree is less than the preset threshold, the client will actively filter the search results when it determines that the feature matching degree between the data collection and the collection guidance information corresponding to the search results returned by the search server is small.
[0108] In the application scenario mentioned in the foregoing embodiments, where multiple blockchain networks are used to store digital collectibles, if the retrieval server finds multiple matching pre-stored collectible features based on the feature data corresponding to the collectible guidance information, the retrieval server also returns to the client the matching degree between the feature data corresponding to the collectible guidance information and each pre-stored collectible feature, so that the client can select the on-chain certificate information associated with the pre-stored collectible feature whose matching degree is greater than or equal to the preset threshold to perform the retrieval response for the corresponding digital collectible.
[0109] As can be seen from the above, this embodiment can further control the accuracy of the search results for digital collections on the client side. Specifically, the search results finally displayed on the client side are obtained by the client side filtering based on the size comparison between the matching degree between features and the preset threshold. Therefore, the accuracy of the search results finally displayed on the client side can be improved to a certain extent.
[0110] In another exemplary embodiment, such as Figure 11 As shown, the retrieval method for digital collectibles on the blockchain is... Figure 9 The illustrated embodiment further includes the following steps S1110 to S1130:
[0111] S1110 receives the collection information and on-chain certificate information of the digital collection that has been put on the chain from the business terminal.
[0112] S1120, extract features from the collection information to obtain the pre-stored collection features corresponding to the digital collection;
[0113] S1130 associates and stores the pre-stored collection characteristics corresponding to the digital collection with the on-chain certificate information.
[0114] In step S1110, the business terminal, corresponding to the creator of the digital collectible, initiates the on-chaining of the digital collectible on the blockchain network. After obtaining the on-chain certificate information of the on-chain digital collectible, it sends the collectible information and on-chain certificate information of the on-chain digital collectible to the retrieval server. The collectible information of the digital collectible is also the content of the digital collectible, such as image content, audio content, video content, etc.
[0115] In step S1120, the retrieval server extracts features from the collection information to obtain pre-stored collection features corresponding to the digital collection. These pre-stored collection features are the feature data of the digital collection. For example, if the collection information of the digital collection is image content, pre-stored collection features can be obtained by extracting image features from the image content; if the collection information of the digital collection is audio content, pre-stored collection features can be obtained by extracting audio features from the audio content; if the collection information of the digital collection is video content, pre-stored collection features can be obtained by extracting audio features from the video content.
[0116] In step S1130, since any digital collectible will obtain corresponding on-chain certificate information after being put on the blockchain, the pre-stored collectible features corresponding to the digital collectible can be associated and stored with the on-chain certificate information, so that the on-chain certificate information corresponding to the pre-stored collectible features can be queried based on the stored association in subsequent steps to retrieve the digital collectible. This will not be elaborated here.
[0117] For example, the on-chain certificate information includes the transaction hash and on-chain unique identifier corresponding to the digital collectible already on the chain, and each digital collectible's transaction hash and on-chain unique identifier are unique. When the retrieval server associates and stores the pre-stored collectible features of the digital collectible already on the chain with the corresponding on-chain certificate information, it associates and stores the pre-stored collectible features corresponding to the digital collectible with the on-chain unique identifier, so that the corresponding digital collectible can be identified based on the on-chain unique identifier. The transaction hash is stored as supplementary information of the corresponding digital collectible. This supplementary information is used by the client to coordinate with the on-chain unique identifier to respond to the retrieval of the corresponding digital collectible. This coordination means that the client receives the corresponding supplementary information at the same time as receiving the on-chain unique identifier returned by the retrieval server.
[0118] In another exemplary embodiment, the collection information and on-chain certificate information of the digital collectibles already on the blockchain are transmitted from the business end to the retrieval server through a designated upload interface, for example... Figure 12As shown, in scenarios where digital collectibles consist of images, the upload parameters for the specified upload interface can include, in addition to some common public parameters, the image's unique ID or URL, the digital collectible's unique on-chain identifier, and the transaction hash.
[0119] When a digital collectible located at a blockchain address on the business side undergoes an on-chain address transfer—for example, if a digital collectible minted by a minter is successfully traded—the transaction hash of the digital collectible will change accordingly. The business side sends the unique on-chain identifier and updated supplementary information of the digital collectible whose on-chain address has been transferred to the retrieval server through a designated upload interface. This updated supplementary information is the changed transaction hash. The retrieval server then uses the unique on-chain identifier to find the corresponding stored supplementary information and updates the stored supplementary information accordingly. Thus, even after a digital collectible is successfully transferred to an on-chain address, the retrieval server can synchronously update the corresponding stored information to meet the needs of practical application scenarios.
[0120] In addition, the business side sends the on-chain unique identifier and updated supplementary information of the digital collectibles that have been transferred to the on-chain address through the designated upload interface. This way, after the digital collectibles are successfully transferred to the on-chain address, it is not necessary to submit the corresponding collectible information again, which saves application resources and increases the efficiency of digital collectible retrieval to a certain extent.
[0121] Figure 13 This is a flowchart illustrating another exemplary embodiment of the present application, showing a different method for retrieving digital collectibles on a blockchain. This method is also applied to the digital collectible retrieval system described in the foregoing embodiments. This system includes a client, a retrieval server, and a blockchain network. The client initiates a search for digital collectibles, the retrieval server responds to the search, and the digital collectibles are stored in the blockchain network. The method is specifically executed by the client.
[0122] like Figure 13 As shown, exemplarily, the method includes the following steps S1310 to S1330:
[0123] S1310, Send collection guidance information for searching digital collections to the retrieval server;
[0124] S1320, Receive query result data returned by the retrieval server, wherein the query result data is the feature data corresponding to the collection guidance information extracted by the retrieval server, and the pre-stored collection features that match the feature data are returned after obtaining the on-chain certificate information associated with the pre-stored collection features. The pre-stored collection features include feature data obtained by pre-extracting features from digital collections already on the chain.
[0125] S1330, Based on the search results data, perform a search response for the corresponding digital collections.
[0126] It should be noted that in step S1330, if the query result data includes on-chain certificate information, the client can query the on-chain information of the corresponding digital collectible from the blockchain network based on the on-chain certificate information, and display the search results of the corresponding digital collectible based on the on-chain information; if the query result data includes the on-chain information of the corresponding digital collectible, the client will display the search results of the corresponding digital collectible based on the on-chain information. The on-chain information is obtained by querying the blockchain based on the on-chain certificate information when the retrieval server is deployed as a blockchain node in the blockchain network.
[0127] If the query results received by the client include multiple on-chain credential information, then the client queries the on-chain information of the corresponding digital collectible from different blockchain networks based on the multiple on-chain credential information, and displays the search results of the corresponding digital collectible based on the aggregated on-chain information.
[0128] In another exemplary embodiment, before step S1330, the client also receives the matching degree between the feature data corresponding to the collection guidance information returned by the retrieval server and the pre-stored collection features, so as to perform a retrieval response for the corresponding digital collection based on the query result data when the matching degree is greater than or equal to a preset threshold.
[0129] It should be noted that the detailed execution process of each of the above steps has been described in the foregoing embodiments, and will not be repeated here.
[0130] Figure 14 This is a block diagram of a blockchain-based digital artifact retrieval device according to an exemplary embodiment of this application. The device is applied to a digital artifact retrieval system, which includes a client, a retrieval server, and a blockchain network. The digital artifacts are stored in the blockchain network, and the device is configured on the retrieval server. The digital artifact retrieval system to which this device is applied can be specifically implemented as follows: Figure 2 The blockchain-based digital collectible retrieval system shown here has a retrieval server that is equivalent to... Figure 2 The cloud image library 230 in the system shown.
[0131] like Figure 14 As shown, in an exemplary embodiment, the device includes:
[0132] The collection guidance information receiving module 1410 is configured to receive collection guidance information sent by the client for retrieving digital collections;
[0133] The pre-stored collection feature query module 1420 is configured to extract feature data corresponding to the collection guidance information and query the pre-stored collection features that match the feature data. The pre-stored collection features include feature data obtained by pre-extracting features from digital collections already on the blockchain.
[0134] The query result feedback module 1430 is configured to return query result data to the client after obtaining the on-chain certificate information associated with the characteristics of the pre-stored collection, so that the client can perform a retrieval response for the corresponding digital collection based on the query result data.
[0135] This device extracts feature data from the collection's guidance information and combines it with feature extraction and matching technologies to retrieve digital collections on the blockchain. Compared with existing technologies, it eliminates the need for users to remember the transaction hash or other on-chain credentials of digital collections for retrieval, and also eliminates the need to rebuild the database of digital collections, thus achieving a more convenient retrieval of digital collections.
[0136] In another exemplary embodiment, the pre-stored collection feature query module 1420 is further configured as follows:
[0137] If multiple pre-stored collection features are found to match the feature data corresponding to the collection guidance information, the client is returned with search result data containing on-chain certificate information associated with each pre-stored collection feature. This allows the client to query the on-chain information of the corresponding digital collection from different blockchain networks based on the multiple on-chain certificate information contained in the received search result data, and to display the search results of the corresponding digital collection based on the aggregated on-chain information.
[0138] In another exemplary embodiment, the pre-stored collection feature query module 1420 is further configured as follows:
[0139] If multiple pre-stored collection features are found to match the feature data corresponding to the collection guidance information, obtain the on-chain certificate information associated with each pre-stored collection feature; query the on-chain information of the corresponding digital collection from the locally stored blockchain based on the target on-chain certificate information; return the search result data to the client, which includes the on-chain information queried from the locally stored blockchain, as well as other on-chain certificate information besides the target on-chain certificate information.
[0140] In another exemplary embodiment, the query result feedback module 1430 is further configured to:
[0141] The system returns the matching degree between the feature data corresponding to the collection guidance information and the pre-stored collection features to the client, so that when the matching degree is greater than or equal to a preset threshold, the client can perform a search response for the corresponding digital collection based on the query result data.
[0142] In another exemplary embodiment, the device further includes:
[0143] The on-chain information receiving module is configured to receive on-chain digital collection information and on-chain certificate information sent by the business terminal.
[0144] The pre-stored collection feature extraction module is configured to extract features from collection information to obtain the pre-stored collection features corresponding to the digital collection.
[0145] The data association storage module is configured to associate and store the pre-stored collection characteristics corresponding to the digital collection with the on-chain certificate information.
[0146] In another exemplary embodiment, the on-chain certificate information includes the transaction hash and on-chain unique identifier corresponding to the digital collectible that has been uploaded to the chain; the data association storage module is also configured as follows:
[0147] The pre-stored features of the digital collectibles are associated with and stored with the unique on-chain identifier, and the transaction hash is stored as supplementary information of the corresponding digital collectibles. This supplementary information is used to retrieve the corresponding digital collectibles in the browser in conjunction with the unique on-chain identifier.
[0148] In another exemplary embodiment, the collection information and on-chain certificate information of the digital collectibles that have been uploaded to the blockchain are transmitted by the business end through a designated upload interface; the device further includes:
[0149] Update the information receiving module to receive the on-chain unique identifier and updated ancillary information of digital collectibles that have been transferred to on-chain addresses, sent by the business end through a specified upload interface.
[0150] The ancillary information query module is configured to search for the corresponding stored ancillary information based on the unique on-chain identifier;
[0151] The ancillary information update module is configured to update and store the found ancillary information based on the updated ancillary information.
[0152] Figure 15 This is a block diagram of a blockchain-based digital artifact retrieval device, as illustrated in another exemplary embodiment of this application. The device is used in a digital artifact retrieval system, which includes a client, a retrieval server, and a blockchain network. The digital artifacts are stored in the blockchain network, and the device is configured in the client. The digital artifact retrieval system to which this device is applied can be specifically implemented as follows: Figure 2 The illustrated blockchain-based digital collectible retrieval system, where the client is equivalent to... Figure 2 The system shown includes terminal 210 and browser 220.
[0153] like Figure 15 As shown, in an exemplary embodiment, the device includes:
[0154] The collection guidance information sending module 1510 is configured to send collection guidance information for retrieving digital collections to the retrieval server; the query result data receiving module 1520 is configured to receive query result data returned by the retrieval server, wherein the query result data is returned by the retrieval server after extracting the feature data corresponding to the collection guidance information, querying the pre-stored collection features that match the feature data, and obtaining the on-chain certificate information associated with the pre-stored collection features. The pre-stored collection features include feature data obtained by pre-extracting features from digital collections already on the chain; the retrieval response module 1530 is configured to perform a retrieval response for the corresponding digital collection based on the retrieval result data.
[0155] In another exemplary embodiment, the retrieval response module 1530 is further configured to:
[0156] If the query result data includes on-chain certificate information, the on-chain information of the corresponding digital collectible is retrieved from the blockchain network based on the on-chain certificate information, and the search results of the corresponding digital collectible are displayed based on the on-chain information; or, if the query result data includes on-chain information of the corresponding digital collectible, the search results of the corresponding digital collectible are displayed based on the on-chain information, wherein the on-chain information is obtained from the blockchain based on the on-chain certificate information when the search server is deployed as a blockchain node in the blockchain network.
[0157] In another exemplary embodiment, the device further includes a matching degree receiving module, configured to receive the matching degree between the feature data corresponding to the collection guidance information returned by the retrieval server and the pre-stored collection features; the retrieval response module 1530 is further configured to: when the matching degree is greater than or equal to a preset threshold, perform a retrieval response for the corresponding digital collection based on the query result data. It should be noted that the device provided in the above embodiments and the method provided in the above embodiments belong to the same concept, and the specific manner in which each module and unit performs its operation has been described in detail in the method embodiments, and will not be repeated here. In practical applications, the device provided in the above embodiments can, as needed, allocate the above functions to different functional modules, that is, divide the internal structure of the device into different functional modules to complete all or part of the functions described above, and this is not a limitation here.
[0158] Embodiments of this application also provide an electronic device, including: one or more processors; and a storage device for storing one or more programs, which, when executed by the one or more processors, enable the electronic device to implement the blockchain-based digital collection retrieval method provided in the above embodiments.
[0159] Figure 16A schematic diagram of a computer system suitable for implementing the embodiments of this application is shown. It should be noted that... Figure 16 The computer system 1600 of the electronic device shown is merely an example and should not impose any limitation on the functionality and scope of use of the embodiments of this application.
[0160] like Figure 16 As shown, the computer system includes a Central Processing Unit (CPU) 1601, which can perform various appropriate actions and processes based on programs stored in Read-Only Memory (ROM) 1602 or programs loaded from storage portion 1608 into Random Access Memory (RAM) 1603, such as performing the methods described in the above embodiments. Various programs and data required for system operation are also stored in RAM 1603. The CPU 1601, ROM 1602, and RAM 1603 are interconnected via bus 1604. An Input / Output (I / O) interface 1605 is also connected to bus 1604.
[0161] The following components are connected to I / O interface 1605: an input section 1606 including a keyboard, mouse, etc.; an output section 1607 including a cathode ray tube (CRT), liquid crystal display (LCD), etc., and speakers, etc.; a storage section 1608 including a hard disk, etc.; and a communication section 1609 including a network interface card such as a LAN (Local Area Network) card, modem, etc. The communication section 1609 performs communication processing via a network such as the Internet. A drive 1610 is also connected to I / O interface 1605 as needed. Removable media 1611, such as a disk, optical disk, magneto-optical disk, semiconductor memory, etc., are installed on drive 1610 as needed so that computer programs read from them can be installed into storage section 1608 as needed.
[0162] Specifically, according to embodiments of this application, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments of this application include a computer program product comprising a computer program carried on a computer-readable medium, the computer program including a computer program for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via communication section 1609, and / or installed from removable medium 1611. When the computer program is executed by central processing unit (CPU) 1601, it performs various functions defined in the system of this application.
[0163] It should be noted that the computer-readable medium shown in the embodiments of this application can be a computer-readable signal medium or a computer-readable storage medium, or any combination of the two. A computer-readable storage medium can be, for example, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of a computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM), flash memory, optical fiber, portable compact disc read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination thereof. In this application, a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, carrying a computer-readable computer program. Such propagated data signals can take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. Computer-readable signal media can also be any computer-readable medium other than computer-readable storage media, which can send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device. The computer program contained on the computer-readable medium can be transmitted using any suitable medium, including but not limited to wireless, wired, etc., or any suitable combination thereof.
[0164] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this application. Each block in a flowchart or block diagram may represent a module, segment, or portion of code, which contains one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in a block diagram or flowchart, and combinations of blocks in a block diagram or flowchart, can be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.
[0165] The units described in the embodiments of this application can be implemented in software or hardware, and the described units can also be located in a processor. The names of these units do not necessarily limit the specific unit itself.
[0166] Another aspect of this application provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the retrieval method for digital collectibles on a blockchain as described above. This computer-readable storage medium may be included in the electronic device described in the above embodiments, or it may exist independently and not incorporated into the electronic device.
[0167] Another aspect of this application provides a computer program product or computer program including computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the blockchain-based digital collection retrieval method provided in the various embodiments described above.
[0168] The above description is merely a preferred exemplary embodiment of this application and is not intended to limit the implementation of this application. Those skilled in the art can easily make corresponding modifications or alterations based on the main concept and spirit of this application. Therefore, the scope of protection of this application should be determined by the scope of protection claimed in the claims.
[0169] It is understood that, in the specific embodiments of this application, the data related to collection guidance information, feature data, on-chain certificate information, and on-chain information, when applied to specific products or technologies, require user permission or consent, and the collection, use, and processing of related data must comply with the relevant laws, regulations, and standards of the relevant countries and regions.
Claims
1. A method for retrieving digital collectibles on a blockchain, characterized in that, The method is applied to a digital collectibles retrieval system, which includes a client, a retrieval server, and a blockchain network. The digital collectibles are stored in the blockchain network, and the method is executed by the retrieval server, including: The receiving business unit sends the collection information and on-chain certificate information of the digital collectibles that have been uploaded to the chain through a specified upload interface. The on-chain certificate information includes the transaction hash and on-chain unique identifier corresponding to the digital collectibles that have been uploaded to the chain. Feature extraction is performed on the collection information to obtain the pre-stored collection features corresponding to the digital collection; The pre-stored features of the digital collectibles are associated with the unique on-chain identifier and stored together. The transaction hash is stored as supplementary information of the corresponding digital collectibles. The supplementary information is used to perform a retrieval response for the corresponding digital collectibles in conjunction with the unique on-chain identifier on the browser side. Receive the on-chain unique identifier and updated ancillary information of the digital collectible that has been transferred to the on-chain address, sent by the business terminal through the designated upload interface; The corresponding stored ancillary information is retrieved based on the unique identifier on the chain; The found supplementary information is updated and stored according to the updated supplementary information; Receive collection guidance information sent by the client for retrieving digital collections; Extract the feature data corresponding to the collection guidance information, and query the pre-stored collection features that match the feature data. The pre-stored collection features include feature data obtained by pre-extracting features from digital collections that have been put on the blockchain. After obtaining the on-chain certificate information associated with the characteristics of the pre-stored collection, the system returns query result data to the client so that the client can retrieve the corresponding digital collection based on the query result data.
2. The method according to claim 1, characterized in that, The method further includes: If multiple pre-stored collection features are found to match the feature data corresponding to the collection guidance information, the client is returned with retrieval result data containing on-chain certificate information associated with each pre-stored collection feature. This allows the client to obtain the on-chain information of the corresponding digital collections queried from different blockchain networks from the received retrieval result data, and display the retrieval results of the corresponding digital collections based on the aggregated on-chain information.
3. The method according to claim 1, characterized in that, The method further includes: If multiple pre-stored collection features are found to match the feature data corresponding to the collection guidance information, obtain the on-chain certificate information associated with each pre-stored collection feature. Based on the target on-chain certificate information, query the corresponding digital collectible's on-chain information from the locally stored blockchain; The system returns retrieval result data to the client, which includes on-chain information retrieved from the locally stored blockchain, as well as other on-chain credential information besides the target on-chain credential information.
4. The method according to any one of claims 1-3, characterized in that, The method further includes: The matching degree between the feature data corresponding to the collection guidance information and the pre-stored collection features is returned to the client, so that the client can perform a search response for the corresponding digital collection based on the query result data when the matching degree is greater than or equal to a preset threshold.
5. A method for retrieving digital collectibles on a blockchain, characterized in that, The method is applied to a digital artifact retrieval system, which includes a client, a retrieval server, and a blockchain network. The digital artifacts are stored in the blockchain network, and the method is executed by the client, including: Send collection guidance information for retrieving digital collections to the retrieval server; The system receives query result data returned by the retrieval server. This query result data is generated by the retrieval server extracting feature data corresponding to the collection's guidance information and querying pre-stored collection features that match the feature data. It is returned after obtaining on-chain credential information associated with the pre-stored collection features. The pre-stored collection features include feature data obtained by pre-extracting features from digital collections already on the blockchain. The on-chain credential information includes the transaction hash and unique on-chain identifier corresponding to the digital collection already on the blockchain. The transaction hash stores supplementary information for the corresponding digital collection. When the retrieval server receives the unique on-chain identifier and updated supplementary information of a digital collection whose on-chain address has been transferred, sent by the business terminal through a specified upload interface, it searches for the corresponding stored supplementary information based on the unique on-chain identifier and updates the stored supplementary information accordingly. This supplementary information is used in the browser to coordinate with the unique on-chain identifier to perform a retrieval response for the corresponding digital collection. The search results will be used to retrieve the corresponding digital collectibles.
6. The method according to claim 5, characterized in that, The step of performing a search response for the corresponding digital collectibles based on the search result data includes: If the query result data includes the on-chain certificate information, query the on-chain information of the corresponding digital collectible from the blockchain network based on the on-chain certificate information, and display the search results of the corresponding digital collectible based on the on-chain information; or, If the query result data includes on-chain information of the corresponding digital collectible, the search results for the corresponding digital collectible are displayed based on the on-chain information. The on-chain information is obtained by querying the blockchain based on the on-chain credential information when the search server is deployed as a blockchain node in the blockchain network.
7. The method according to claim 6, characterized in that, The method further includes: If the query result data includes multiple on-chain certificate information, query the on-chain information of the corresponding digital collectible from different blockchain networks according to the multiple on-chain certificate information; The search results for corresponding digital collectibles are displayed based on the aggregated on-chain information.
8. The method according to claim 5, characterized in that, Before performing the search response for the corresponding digital collection based on the search result data, the method further includes: Receive the matching degree between the feature data corresponding to the collection guidance information returned by the retrieval server and the pre-stored collection features; The step of performing a search response for the corresponding digital collectibles based on the search result data includes: When the matching degree is greater than or equal to a preset threshold, a retrieval response for the corresponding digital collection is performed based on the query result data.
9. A retrieval system for digital collectibles on a blockchain, characterized in that, This includes terminals, browsers, cloud image libraries, and blockchain networks, among which: The terminal is used to send a digital collection retrieval request to the browser, and the digital collection retrieval request contains collection guidance information; The browser forwards the collection guidance information to the cloud image library; The cloud image library extracts feature data corresponding to the collection guidance information and queries pre-stored collection features that match the feature data. The pre-stored collection features include feature data obtained by pre-extracting features from digital collections that have been put on the blockchain. After obtaining the on-chain certificate information associated with the pre-stored collection features, the query result data is returned to the browser. The on-chain certificate information contains the transaction hash and on-chain unique identifier corresponding to the digital collection that has been put on the blockchain. The browser responds to the search results data received by the client to retrieve the corresponding digital collectibles, so that the client can obtain the on-chain information of the corresponding digital collectibles and display the search results of the corresponding digital collectibles based on the on-chain information. The business side is also used to initiate on-chain address transfer requests for digital collectibles that have been put on the chain. After obtaining the on-chain address of the digital collectible that has been transferred, it sends the on-chain unique identifier of the corresponding digital collectible and updated supplementary information to the cloud image library. The cloud image library is also used to find the corresponding stored ancillary information based on the received on-chain unique identifier, and to update the stored ancillary information based on the received updated ancillary information. The ancillary information is used on the browser side to coordinate with the on-chain unique identifier to perform a retrieval response for the corresponding digital collection.
10. The system according to claim 9, characterized in that, The system also includes a business terminal, which is used to initiate the on-chaining of digital collectibles in the blockchain network. After obtaining the on-chain certificate information of the on-chain digital collectibles, the business terminal sends the collectible information and the on-chain certificate information of the on-chain digital collectibles to the cloud image library. The cloud image library is also used to extract features from the received collection information, obtain corresponding pre-stored collection features, and associate and store the obtained pre-stored collection features with the corresponding on-chain certificate information.
11. A retrieval device for digital collectibles on a blockchain, characterized in that, The device is used in a digital artifact retrieval system, which includes a client, a retrieval server, and a blockchain network. The digital artifacts are stored in the blockchain network, and the device is configured in the retrieval server, including: The on-chain information receiving module is configured to receive on-chain digital collectible information and on-chain certificate information sent by the business terminal through a specified upload interface. The on-chain certificate information includes the transaction hash and on-chain unique identifier corresponding to the on-chain digital collectible. The pre-stored collection feature extraction module is configured to extract features from the collection information to obtain the pre-stored collection features corresponding to the digital collection; The data association storage module is configured to associate and store the pre-stored collection features corresponding to the digital collection with the unique identifier on the chain, and to store the transaction hash as supplementary information of the corresponding digital collection. The supplementary information is used to perform a retrieval response for the corresponding digital collection in the browser in conjunction with the unique identifier on the chain. The information receiving module is updated to receive the on-chain unique identifier and updated supplementary information of the digital collectibles that have been transferred to the on-chain address, sent by the business terminal through the specified upload interface. The ancillary information query module is configured to search for the corresponding stored ancillary information based on the unique identifier on the chain; The ancillary information update module is configured to update and store the found ancillary information based on the updated ancillary information; The collection guidance information receiving module is configured to receive collection guidance information sent by the client for retrieving digital collections; The pre-stored collection feature query module is configured to extract feature data corresponding to the collection guidance information and query the pre-stored collection features that match the feature data. The pre-stored collection features include feature data obtained by pre-extracting features from digital collections that have been put on the blockchain. The query result feedback module is configured to return query result data to the client after obtaining the on-chain certificate information associated with the characteristics of the pre-stored collection, so that the client can perform a retrieval response for the corresponding digital collection based on the query result data.
12. A retrieval device for digital collectibles on a blockchain, characterized in that, The device is used in a digital artifact retrieval system, which includes a client, a retrieval server, and a blockchain network. The digital artifacts are stored in the blockchain network, and the device is configured in the client, including: The collection guidance information sending module is configured to send collection guidance information for retrieving digital collections to the retrieval server; The query result data receiving module is configured to receive query result data returned by the retrieval server. The query result data is generated by the retrieval server extracting feature data corresponding to the collection guidance information and querying pre-stored collection features that match the feature data. This data is returned after obtaining on-chain credential information associated with the pre-stored collection features. The pre-stored collection features include feature data obtained by pre-extracting features from digital collections already on the blockchain. The on-chain credential information includes the transaction hash and on-chain unique identifier corresponding to the digital collection already on the blockchain. The transaction hash stores supplementary information for the corresponding digital collection. When the retrieval server receives the on-chain unique identifier and updated supplementary information of a digital collection transferred to an on-chain address sent by the business terminal through a specified upload interface, it searches for the corresponding stored supplementary information based on the on-chain unique identifier and updates the stored supplementary information based on the updated supplementary information. This supplementary information is used in the browser to coordinate with the on-chain unique identifier to perform a retrieval response for the corresponding digital collection. The retrieval response module is configured to perform a retrieval response for the corresponding digital collections based on the retrieval result data.
13. An electronic device, characterized in that, include: One or more processors; A storage device for storing one or more programs, which, when executed by one or more processors, cause the electronic device to perform the method as described in any one of claims 1-8.
14. A computer-readable storage medium, characterized in that, It stores computer-readable instructions that, when executed by the computer's processor, cause the computer to perform the method of any one of claims 1-8.
15. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the method of any one of claims 1-8.