CN116015665A - Method, device, equipment and medium for repeatedly detecting virtual article - Google Patents

Method, device, equipment and medium for repeatedly detecting virtual article Download PDF

Info

Publication number
CN116015665A
CN116015665A CN202211540510.9A CN202211540510A CN116015665A CN 116015665 A CN116015665 A CN 116015665A CN 202211540510 A CN202211540510 A CN 202211540510A CN 116015665 A CN116015665 A CN 116015665A
Authority
CN
China
Prior art keywords
virtual article
repeated detection
issued
virtual
repeated
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211540510.9A
Other languages
Chinese (zh)
Inventor
王健
兰春嘉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Lingshuzhonghe Information Technology Co ltd
Original Assignee
Shanghai Lingshuzhonghe Information Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Lingshuzhonghe Information Technology Co ltd filed Critical Shanghai Lingshuzhonghe Information Technology Co ltd
Priority to CN202211540510.9A priority Critical patent/CN116015665A/en
Publication of CN116015665A publication Critical patent/CN116015665A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a repeated detection method, device, equipment and medium for virtual articles. The method comprises the following steps: generating and transmitting a repeated detection request of the virtual article to be issued, wherein the repeated detection request is used for detecting whether the issuing information of the virtual article to be issued exists in at least one alternative block chain; receiving at least one feedback message corresponding to the repeated detection request; determining repeated detection results of the virtual articles to be sent according to the feedback information; and determining whether to add the release information of the virtual article to be released into the current blockchain according to the repeated detection result so as to realize release of the virtual article to be released. The embodiment of the invention improves the efficiency and accuracy of repeated detection and reduces the occurrence probability of repeated release of the virtual article.

Description

Method, device, equipment and medium for repeatedly detecting virtual article
Technical Field
The present invention relates to the field of blockchain technologies, and in particular, to a method, an apparatus, a device, and a medium for detecting repetition of a virtual article.
Background
NFT (Non-homogeneous Token) is the best indicator for digital collections. As digital collections are released, the problem of repeated release of the same digital collection is becoming increasingly serious.
At present, in the release process of digital collections, repeated detection is often carried out on the NFT in a manual mode, so that the accuracy of a repeated detection result is low.
Disclosure of Invention
The invention provides a repeated detection method, device, equipment and medium for virtual articles, which are used for solving the problem of repeated release of the virtual articles and improving the efficiency and accuracy of repeated detection.
According to an aspect of the present invention, there is provided a duplicate detection method of a virtual article, the method comprising:
generating and transmitting a repeated detection request of the virtual article to be issued, wherein the repeated detection request is used for detecting whether the issuing information of the virtual article to be issued exists in at least one alternative block chain;
receiving at least one feedback message corresponding to the repeated detection request;
determining repeated detection results of the virtual articles to be sent according to the feedback information;
and determining whether to add the release information of the virtual article to be released into the current blockchain according to the repeated detection result so as to realize release of the virtual article to be released.
According to another aspect of the present invention, there is provided a repetition detection device of a virtual article, the device including:
The request sending module is used for generating and sending a repeated detection request of the virtual article to be issued, and the repeated detection request is used for detecting whether the issuing information of the virtual article to be issued exists in at least one alternative block chain;
the feedback receiving module is used for receiving at least one piece of feedback information corresponding to the repeated detection request;
the result determining module is used for determining repeated detection results of the virtual article to be sent according to the feedback information;
and the issuing module is used for determining whether to add the issuing information of the virtual article to be issued into the current blockchain according to the repeated detection result so as to realize the issuing of the virtual article to be issued.
According to another aspect of the present invention, there is provided an electronic apparatus including:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein,,
the memory stores a computer program executable by the at least one processor to enable the at least one processor to perform the repetition detection method of a virtual article according to any one of the embodiments of the invention.
According to another aspect of the present invention, there is provided a computer readable storage medium storing computer instructions for causing a processor to implement the repetition detection method of a virtual article according to any one of the embodiments of the present invention when executed.
According to the technical scheme, the feedback information corresponding to the repeated detection request of the virtual article to be issued is received, and the repeated detection result is determined according to the feedback information, so that whether the issue information of the virtual article to be issued is added into the current blockchain is determined, the repeated detection of the virtual article to be issued is realized, the occurrence probability of the repeated issue condition of the virtual article to be issued is reduced, the repeated detection request of the virtual article to be issued is generated and sent, the automatic repeated detection is realized, the accuracy and the efficiency of the repeated detection are improved, and the manual workload is reduced.
It should be understood that the description in this section is not intended to identify key or critical features of the embodiments of the invention or to delineate the scope of the invention. Other features of the present invention will become apparent from the description that follows.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for the description of the embodiments will be briefly described below, and it is apparent that the drawings in the following description are only some embodiments of the present invention, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a flowchart of a method for detecting repetition of a virtual article according to a first embodiment of the present invention;
fig. 2 is a flowchart of a method for detecting repetition of a virtual article according to a second embodiment of the present invention;
fig. 3 is a flowchart of a method for detecting repetition of a virtual article according to a third embodiment of the present invention;
fig. 4a is an application scenario diagram of a method for repeatedly detecting a virtual article according to a fourth embodiment of the present invention;
fig. 4b is a schematic diagram of a method for repeatedly detecting a virtual article according to a fourth embodiment of the present invention;
fig. 5 is a schematic structural diagram of a device for detecting repetition of a virtual article according to a fifth embodiment of the present invention;
fig. 6 is a schematic structural diagram of an electronic device implementing a method for detecting repetition of virtual articles according to an embodiment of the present invention.
Detailed Description
In order that those skilled in the art will better understand the present invention, a technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in which it is apparent that the described embodiments are only some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the present invention without making any inventive effort, shall fall within the scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and the claims of the present invention and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the invention described herein may be implemented in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus. In the technical scheme of the disclosure, the collection, storage, use, processing, transmission, provision, disclosure and the like of the related data all conform to the regulations of related laws and regulations and do not violate the popular public order.
Example 1
Fig. 1 is a flowchart of a method for detecting repetition of a virtual article according to an embodiment of the present invention, where the embodiment is applicable to a situation where repetition detection is performed before a virtual article is issued in a blockchain. In the invention, the issuer of the virtual article realizes the issuance of the virtual article by constructing the blockchain and writing the issuance information of the virtual article into the blockchain, and different blockchains can be established by different issuers of the virtual article. The blockchains constructed by the issuers of the virtual articles can form a blockchain set, and at least one contract of a certification intelligent contract, a virtual article contract, an agent contract and a bridging contract is deployed on each blockchain in the blockchain set so as to realize the virtual article detection method provided by the invention. The certificate storing intelligent contract is used for recording the issued virtual articles in the blockchain collection, specifically, the issuing information of the issued virtual articles can be recorded, the identification information of the issued virtual articles can be recorded, and the hash value of the identification information of the issued virtual articles can be recorded. Virtual item contracts are used to issue virtual items. The proxy contract is used to invoke the deposit intelligent contract. The bridging contracts are used to record requests sent between blockchains. Wherein the virtual item to which the release information has been written on the blockchain is a released virtual item. Repeated detection, it is understood that the issuer of the virtual item detects whether there is the same virtual item on each blockchain as the new virtual item in the blockchain collection before issuing the new virtual item.
The method may be performed by a repetition detection means of a virtual article, which may be implemented in hardware and/or software, which may be configured in an electronic device. As shown in fig. 1, the method includes:
s110, generating and sending a repeated detection request of the virtual article to be issued, wherein the repeated detection request is used for detecting whether the issuing information of the virtual article to be issued exists in at least one alternative block chain.
Virtual items refer to items in the virtual world, and by way of example, virtual items may be digital collections, as well as other virtual items. The virtual article to be issued refers to a new virtual article to be issued, and can be understood as a virtual article which needs to be written into the blockchain. The duplicate detection request refers to a request for duplicate detection of a virtual article to be issued. The duplicate detection request may be generated according to release information of the virtual article to be released. Release information refers to information describing virtual articles, by which different virtual articles can be distinguished, and may include, for example, at least one of a virtual article name, release time, issuer, NFT, and the like. The blockchain to which the issue information of the virtual article to be issued needs to be written is the current blockchain, and it can also be understood that the blockchain constructed by the issuer of the virtual article to be issued is the current blockchain. Among the set of blockchains, blockchains other than the current blockchain are candidate blockchains. The number of candidate block chains is at least one. Illustratively, there are blockchain A, blockchain B and blockchain C in the blockchain collection, the blockchain built by the issuer of the virtual article to be issued is blockchain A, i.e., the virtual article to be issued needs to be written into blockchain A, at which point the current blockchain is blockchain A and the alternate blockchains are blockchain B and blockchain C.
Specifically, the issuer of the virtual article to be issued can generate a repeated detection request according to the issue information of the virtual article to be issued through the network node of the current blockchain, and send the repeated detection request to the alternative blockchain. Wherein, the network node refers to an electronic device capable of connecting with a blockchain. The network node of the current blockchain refers to an electronic device that is capable of connecting to the current blockchain. The network node of the current blockchain may generate a duplicate detection request by a virtual object contract deployed at the current blockchain and send the duplicate detection request to the alternative blockchain. And after the alternative block chain receives the repeated detection request, detecting whether the release information of the virtual article to be released exists or not. The current blockchain and the alternate blockchain may record duplicate detection requests through respective deployed bridging contracts.
Alternatively, the current blockchain may send duplicate detection requests to all of the candidate blockchains in the blockchain set, or may send duplicate detection requests to some of the candidate blockchains in the blockchain set. When the current blockchain sends a repeated detection request to a part of the alternative blockchains in the blockchain set, the alternative blockchains receiving the repeated detection request sent by the current blockchain can forward the repeated detection request to other alternative blockchains so as to realize that all the alternative blockchains receive the repeated detection request.
S120, at least one piece of feedback information corresponding to the repeated detection request is received.
The feedback information refers to information returned to the current blockchain by the alternative blockchain according to the repeated detection request. The feedback information is used to describe the detection result of the candidate block chain. And determining whether the release information of the virtual article to be released exists in the alternative block chain or not through the feedback information. An alternative blockchain returns a feedback information, and thus, the duplicate detection request corresponds to at least one feedback information. The feedback information may be present or absent, where presence refers to the presence of release information of the virtual article to be released on the candidate block chain, and absence refers to the absence of release information of the virtual article to be released on the candidate block chain. The feedback information may also be release information for virtual items that have been released on the chain of candidate blocks.
Specifically, after the release information of the virtual article to be released is detected according to the repeated detection request, each candidate block chain sends feedback information corresponding to the repeated detection request to the current block chain, and the current block chain receives the feedback information of each candidate block chain.
Illustratively, the current blockchain is blockchain A, and the alternate blockchains are blockchain B and blockchain C. The blockchain A generates a repeated detection request 1 for the virtual article a to be sent, and sends the repeated detection request 1 to the blockchain B and the blockchain C. When the block chain B receives the repeated detection request 1, feedback information 1a is returned to the block chain A, and when the block chain C receives the repeated detection request 1, feedback information 2a is returned to the block chain A, and the block chain A receives the feedback information 1a and the feedback information 2a corresponding to the repeated detection request 1. The blockchain A generates a repeated detection request 2 for the virtual object B to be sent, and sends the repeated detection request 2 to the blockchain B and the blockchain C. When the block chain B receives the repeated detection request 2, feedback information 1B is returned to the block chain A, and when the block chain C receives the repeated detection request 2, feedback information 2B is returned to the block chain A, and the block chain A receives the feedback information 1B and the feedback information 2B corresponding to the repeated detection request 2.
S130, determining repeated detection results of the virtual articles to be sent according to the feedback information.
The repeated detection result is a result obtained after the virtual article to be sent is repeatedly detected. For example, the repetition detection result may be repetition or no repetition, where repetition refers to that release information of the virtual article to be released exists in at least one blockchain in the candidate blockchains, and no repetition refers to that release information of the virtual article to be released does not exist in all the candidate blockchains.
Specifically, each piece of feedback information is detected, if the feedback information can be detected to exist, or the release information of the virtual article to be released is detected in the feedback information, the repeated detection result of the virtual article to be released is determined to be repeated; if the feedback information cannot be detected to exist, or the release information of the virtual article to be released cannot be detected in the feedback information, determining that the repeated detection result of the virtual article to be released is no repetition. In the present invention, the method of detecting the feedback information is not limited. For example, if the feedback information 1 is present and the feedback information 2 is absent, detecting each feedback information, and detecting that the feedback information is present, that is, if the feedback information 1 is present, determining that the repeated detection result of the virtual article to be issued is repeated; the feedback information 1 is absent, the feedback information 2 is absent, each feedback information is detected, the existence of the feedback information cannot be detected, and the repeated detection result of the virtual article to be issued is determined to be non-repeated; the feedback information 1 is present, the feedback information 2 is present, each feedback information is detected, the presence of the feedback information can be detected, that is, the presence of the feedback information 1 and the presence of the feedback information 2 are detected, and the repeated detection result of the virtual article to be issued is determined to be repeated.
And S140, determining whether to add the release information of the virtual article to be released into the current blockchain according to the repeated detection result so as to realize release of the virtual article to be released.
Specifically, according to the repeated detection result, when the repeated detection result is repeated, the fact that virtual articles to be issued exist in the alternative block chain is indicated, if the virtual articles to be issued are added into the current block chain, the situation that the virtual articles to be issued are repeatedly issued occurs, so that the issuing information of the virtual articles to be issued cannot be added into the current block chain, and the virtual articles to be issued fail to be issued; and when the repetition detection result is that no repetition exists, indicating that the virtual article to be issued does not exist in the alternative block chain, determining to add the issuing information of the virtual article to be issued into the current block chain, and issuing the virtual article to be issued. For example, the virtual article to be issued may be issued by adding the issue information of the virtual article to be issued to the current blockchain through the virtual article contract.
According to the technical scheme, the feedback information corresponding to the repeated detection request of the virtual article to be issued is received, and the repeated detection result is determined according to the feedback information, so that whether the issue information of the virtual article to be issued is added into the current blockchain is determined, the repeated detection of the virtual article to be issued is realized, the occurrence probability of the repeated issue condition of the virtual article to be issued is reduced, the repeated detection request of the virtual article to be issued is generated and sent, the automatic repeated detection is realized, the accuracy and the efficiency of the repeated detection are improved, and the manual workload is reduced.
Example two
Fig. 2 is a flowchart of a method for detecting repetition of a virtual article according to a second embodiment of the present invention, where on the basis of the foregoing embodiment, a request for detecting repetition of a virtual article to be issued is generated and sent, specifically: inquiring whether the virtual article to be issued exists in the certificate-storing intelligent contract corresponding to the current blockchain, and determining a first inquiry result; and generating and sending the repeated detection request under the condition that the first query result is no repetition. As shown in fig. 2, the method includes:
s210, inquiring whether the to-be-issued virtual article exists in the certificate-storing intelligent contract corresponding to the current blockchain, and determining a first inquiring result.
The certificate storage intelligent contracts corresponding to the current blockchain refer to the certificate storage intelligent contracts deployed on the current blockchain, and release information of released virtual articles is recorded in the certificate storage intelligent contracts so as to realize the recording of the released virtual articles in the blockchain set. The first query result is used for describing whether the release information of the virtual article to be released exists in the current blockchain. The first query result may be repeated or non-repeated, where the first query result is repeated, which indicates that the virtual object to be issued exists in the current blockchain certificate storage intelligent contract, and the first query result is non-repeated, which indicates that the virtual object to be issued does not exist in the current blockchain certificate storage intelligent contract.
Specifically, the network node of the current blockchain inquires whether the issuing information of the virtual article to be issued exists in the certificate-storing intelligent contract corresponding to the current blockchain, if the issuing information of the virtual article to be issued exists in the certificate-storing intelligent contract corresponding to the current blockchain, the first inquiring result is determined to be repeated, and if the issuing information of the virtual article to be issued does not exist in the certificate-storing intelligent contract corresponding to the current blockchain, the first inquiring result is determined to be non-repeated. Illustratively, the network node of the current blockchain may invoke the certificate-preserving intelligent contract corresponding to the current blockchain through the proxy contract, so as to query whether the issuing information of the virtual article to be issued exists in the certificate-preserving intelligent contract corresponding to the current blockchain.
And S220, generating and sending the repeated detection request under the condition that the first query result is no repetition.
Specifically, when the first query result is that there is no repetition, generating a repeated detection request according to the release information of the virtual article to be released through the network node of the current block chain, and sending the repeated detection request to the alternative block chain. When the first query result is that repetition exists, generation of repeated detection requests is forbidden, and meanwhile, the first query result can be fed back to an initiator of the virtual article to be sent.
S230, at least one piece of feedback information corresponding to the repeated detection request is received.
S240, determining repeated detection results of the virtual articles to be sent according to the feedback information.
S250, determining whether to add the release information of the virtual article to be released to the current blockchain according to the repeated detection result so as to realize release of the virtual article to be released.
According to the technical scheme, before the repeated detection request is generated, the first inquiry is firstly carried out in the certificate-storing intelligent contract corresponding to the current block chain, the first inquiry result is determined, and the repeated detection request is generated and sent under the condition that the first inquiry result is non-repeated, so that interaction between the current block chain and the alternative block chain can be reduced, the sending times of the repeated detection request are reduced, and the repeated detection efficiency is improved.
Optionally, the querying whether the certificate-storing intelligent contract corresponding to the current blockchain has the virtual article to be issued, and determining the first query result includes: determining a hash value of the identification information according to the identification information of the virtual article to be sent; and inquiring the hash value in the stored certificate intelligent contract corresponding to the current blockchain, and determining the first inquiry result.
The identification information is used to describe the virtual article, by which one virtual article can be uniquely determined. The identification information may be one or more items of content in the release information, which may include, for example, NFT. The hash value refers to a calculation result obtained after hash calculation is performed on the identification information. In the invention, the hash calculation method is not limited, but in the blockchain set, the hash calculation method adopted by the network node of each blockchain is the same. In the authenticated smart contract, a hash value of identification information of the issued virtual item may be stored.
Specifically, the network node of the current blockchain performs hash calculation on the identification information of the virtual article to be issued to obtain a hash value of the identification information, queries the hash value in the intelligent certificate contract corresponding to the current blockchain, determines whether the hash value of the identification information exists in the intelligent certificate contract corresponding to the current blockchain, determines that the first query result is repeated if the hash value of the identification information exists in the intelligent certificate contract corresponding to the current blockchain, and determines that the first query result is non-repeated if the hash value of the identification information does not exist in the intelligent certificate contract corresponding to the current blockchain.
The hash value of the identification information is determined through the identification information of the virtual article to be sent, the identification information can be encrypted, the security of the release information of the virtual article to be sent is improved, the hash value is queried in the intelligent contract with the certificate corresponding to the current blockchain, a first query result is determined, the query content can be simplified, the query efficiency is improved, and the query accuracy can be improved through querying the hash value.
Optionally, the receiving at least one feedback information corresponding to the repeated detection request includes: and according to the repeated detection request, acquiring feedback information fed back by the network node of each alternative block chain from a message queue.
Message queues refer to containers that hold messages during their transmission. In the message queue, the repeated detection request sent by the network node of the current blockchain and feedback information fed back by the network node of the alternative blockchain can be saved.
In the invention, the network node of the current blockchain can send the repeated detection request to the message queue, the network node of each alternative blockchain obtains the repeated detection request from the message queue, detects the release information of the virtual article to be released according to the repeated detection request, and sends the feedback information to the message queue after the detection is completed. The network node of the current block chain acquires feedback information fed back by the network node of each alternative block chain from the message queue.
The repeated detection requests are obtained by the alternative block chains through the request queue, so that the repeated detection requests can be processed in parallel by the alternative block chains, and meanwhile, feedback information is sent to the message queue, so that the processing efficiency of the repeated detection requests can be improved, and the repeated detection efficiency is improved.
Optionally, the repeated detection request includes: the repeated detection request is also used for updating the alternative intelligent contracts corresponding to the alternative blockchains according to the identification information of the virtual articles to be sent.
An alternate smart contract refers to a forensic smart contract deployed in an alternate block chain. The network node of each candidate block chain can inquire candidate intelligent contracts corresponding to the candidate block chain according to the identification information of the virtual article to be sent in the repeated detection request after the repeated detection request is acquired, and whether the identification information of the virtual article to be sent exists in the candidate intelligent contracts or not is determined, if so, the fact that the release information of the virtual article to be sent exists in the candidate block chain is indicated, and if not, the fact that the release information of the virtual article to be sent does not exist in the candidate block chain is indicated. After determining whether the identification information of the virtual article to be sent exists in the alternative intelligent contracts, updating the alternative intelligent contracts corresponding to the alternative block chains according to the identification information of the virtual article to be sent, that is, adding the sending information of the virtual article to be sent in the alternative intelligent contracts.
The alternative block chain can update the alternative intelligent contracts according to the repeated detection request, and can timely add the identification information of the virtual object to be sent into the alternative intelligent contracts, so that the accuracy of the alternative intelligent contracts is improved, and the accuracy of repeated detection is improved.
Example III
Fig. 3 is a flowchart of a method for detecting repetition of a virtual article according to a third embodiment of the present invention, where determining, based on the feedback information, a result of detecting repetition of the virtual article to be sent out according to the above embodiment is specifically: extracting a second query result from each piece of feedback information; and under the condition that all second query results are non-repetition, determining that the repeated detection results are non-repetition. As shown in fig. 3, the method includes:
and S310, generating and sending a repeated detection request of the virtual article to be issued, wherein the repeated detection request is used for detecting whether the issuing information of the virtual article to be issued exists in at least one alternative block chain.
S320, at least one piece of feedback information corresponding to the repeated detection request is received.
S330, extracting a second query result from each piece of feedback information.
The second query result is used for describing whether the release information of the virtual article to be released exists in the alternative block chain. The second query result may be repeated or non-repeated, the second query result is repeated, and it is indicated that the virtual object to be sent exists in the alternative intelligent contract corresponding to the alternative blockchain, and the second query result is non-repeated, and it is indicated that the virtual object to be sent does not exist in the alternative intelligent contract corresponding to the alternative blockchain. The number of second query results is at least one, and in particular, the number of second query results is the same as the number of candidate block chains. The alternative block chain may take the second query result as feedback information. It may be appreciated that the feedback information at least includes the second query result, and may further include other information.
The network node of the current blockchain may extract a second query result from feedback information fed back by each candidate blockchain.
And S340, determining that the repeated detection result is non-repeated under the condition that all second query results are non-repeated.
Specifically, the network node of the current blockchain judges each second query result, and determines that the repeated detection result is non-repeated when all the second query results are non-repeated. And determining the repeated detection result as repeated when the repeated second query result exists.
And S350, determining whether to add the release information of the virtual article to be released into the current blockchain according to the repeated detection result so as to realize release of the virtual article to be released.
According to the technical scheme provided by the embodiment of the invention, the repeated detection result is determined to be non-repeated under the condition that the second query result is non-repeated, so that no release information of the virtual article to be released is ensured in each alternative block chain, and the accuracy of the repeated detection result is improved.
Optionally, after the determining that the duplicate detection result is no duplicate, the method further includes: extracting identification information of the released virtual article from each piece of feedback information; and updating the certificate-storing intelligent contract corresponding to the current blockchain according to the identification information of the issued virtual article.
The feedback information may include release information of the released virtual article, first release information of the released virtual article is acquired from the feedback information, and identification information of the released virtual article may be extracted from the release information of the released virtual article. The feedback information may further directly include identification information of the released virtual article, and the identification information of the released virtual article may be directly extracted from the feedback information.
Specifically, the network node of the current blockchain extracts the identification information of the issued virtual article from the feedback information, adds the issuing information of the issued virtual article to the certificate storage intelligent contract corresponding to the current blockchain, and updates the certificate storage intelligent contract corresponding to the current blockchain.
The identification information of the released virtual article extracted from the feedback information is used for updating the certificate-storing intelligent contract corresponding to the current blockchain, so that the information recorded in the certificate-storing intelligent contract corresponding to the current blockchain can be enriched, the sending times of repeated detection requests are reduced, and the efficiency of the repeated detection requests is improved.
Example IV
Fig. 4a is an application scenario diagram of a method for repeatedly detecting a virtual article according to a fourth embodiment of the present invention. The blockchain set has blockchain A and blockchain B chains. And the chain A and the chain B are respectively provided with a certification intelligent contract, a proxy contract and a bridging contract. Cross-link Route-A and cross-link Route-B are deployed for the A-and B-links, respectively. The cross-link route is mainly butted with a network node of the blockchain, and the A link route and the B link route are connected. It will be appreciated that the network nodes of the A-chain and the network nodes of the B-chain may perform information exchange by Route-A across the link and Route-B across the link. It should be noted that the information interaction between Route-A and Route-B can be directly completed, or a message queue can be established, and the information interaction between Route-A and Route-B is completed by acquiring the message from the message queue. Fig. 4b is a schematic diagram of a method for repeatedly detecting a virtual article according to a fourth embodiment of the present invention, as shown in fig. 4b, where the method specifically includes:
S401, when the network node of the A chain issues the virtual article to be issued on the A chain, the hash value of the identification information is determined according to the identification information of the virtual article to be issued.
The identification information of the virtual article to be issued can be obtained from the issue information of the virtual article to be issued.
S402, the network node of the A chain queries the hash value in the certificate-storing intelligent contract corresponding to the A chain, and the first query result is determined.
And S403, the network node of the A chain judges whether the first query result is non-repetition, and if the first query result is non-repetition, the step S404 is executed. If the first query result is a repetition, step S413 is performed.
And S404, the network node of the A chain generates a repeated detection request according to the hash value of the identification information of the virtual article to be sent.
And S405, the network node of the A chain sends the repeated detection request to a message queue through Route-A.
And S406, the network node of the B chain acquires the repeated detection request from the message queue through Route-B.
And S407, the network node of the B chain extracts the hash value of the identification information of the virtual article to be sent from the repeated detection request.
And S408, the network node of the B chain queries the hash value in the evidence-storing intelligent contract corresponding to the B chain, determines the second query result, and updates the evidence-storing intelligent contract corresponding to the B chain according to the hash value of the identification information of the virtual article to be sent.
And S409, the network node of the B chain sends the second query result to the message queue through Route-B as feedback information.
And S410, the network node of the A chain acquires feedback information from the message queue through Route-A.
And S411, the network node of the A chain extracts a second query result from the feedback information, judges whether the second query result is non-repeated, and executes step S412 when the second query result is non-repeated. When the second query result is repetition, step S413 is executed.
And S412, the network node of the A chain adds the release information of the virtual article to be released into the A chain so as to realize the release of the virtual article to be released, and updates the certificate-storing intelligent contract corresponding to the A chain.
S413, ending.
According to the technical scheme, the feedback information corresponding to the repeated detection request of the virtual article to be issued is received, and the repeated detection result is determined according to the feedback information, so that whether the issue information of the virtual article to be issued is added into the current blockchain is determined, the repeated detection of the virtual article to be issued is realized, the occurrence probability of the repeated issue condition of the virtual article to be issued is reduced, the repeated detection request of the virtual article to be issued is generated and sent, the automatic repeated detection is realized, the accuracy and the efficiency of the repeated detection are improved, and the manual workload is reduced.
Example five
Fig. 5 is a schematic structural diagram of a device for detecting repetition of virtual articles according to a fifth embodiment of the present invention. As shown in fig. 5, the apparatus includes: a request sending module 501, a feedback receiving module 502, a result determining module 503 and an issuing module 504.
The request sending module 501 is configured to generate and send a repeated detection request of a virtual article to be issued, where the repeated detection request is used to detect whether there is issue information of the virtual article to be issued in at least one candidate block chain;
a feedback receiving module 502, configured to receive at least one feedback information corresponding to the repeated detection request;
a result determining module 503, configured to determine, according to each feedback information, a repeated detection result of the virtual article to be sent;
and the issuing module 504 is configured to determine whether to add the issue information of the virtual article to be issued to a current blockchain according to the repeated detection result, so as to implement the issue of the virtual article to be issued.
According to the technical scheme, the feedback information corresponding to the repeated detection request of the virtual article to be issued is received, and the repeated detection result is determined according to the feedback information, so that whether the issue information of the virtual article to be issued is added into the current blockchain is determined, the repeated detection of the virtual article to be issued is realized, the occurrence probability of the repeated issue condition of the virtual article to be issued is reduced, the repeated detection request of the virtual article to be issued is generated and sent, the automatic repeated detection is realized, the accuracy and the efficiency of the repeated detection are improved, and the manual workload is reduced.
Optionally, the request sending module 501 includes:
the inquiring unit is used for inquiring whether the to-be-issued virtual article exists in the certificate-storing intelligent contract corresponding to the current blockchain and determining a first inquiring result;
and the request sending unit is used for generating and sending the repeated detection request under the condition that the first query result is no repetition.
Optionally, the query unit includes:
a hash value determining subunit, configured to determine a hash value of the identification information according to the identification information of the virtual article to be sent;
and the inquiring subunit is used for inquiring the hash value in the certificate-storing intelligent contract corresponding to the current blockchain and determining the first inquiring result.
Optionally, the feedback receiving module 502 is specifically configured to:
and according to the repeated detection request, acquiring feedback information fed back by the network node of each alternative block chain from a message queue.
Optionally, the repeated detection request includes: the repeated detection request is also used for updating the alternative intelligent contracts corresponding to the alternative blockchains according to the identification information of the virtual articles to be sent.
Optionally, the result determining module 503 includes:
The query result acquisition unit is used for extracting a second query result from each piece of feedback information;
and the result determining unit is used for determining that the repeated detection result is non-repeated when all the second query results are non-repeated.
Optionally, the result determining module 503 further includes:
the identification information acquisition unit is used for extracting the identification information of the released virtual article from each piece of feedback information after the repeated detection result is determined to be no repetition;
and the updating unit is used for updating the certificate storage intelligent contract corresponding to the current blockchain according to the identification information of the issued virtual article.
The repetition detection device for the virtual article provided by the embodiment of the invention can execute the repetition detection method for the virtual article provided by any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the execution method.
Example six
Fig. 6 shows a schematic diagram of the structure of an electronic device 10 that may be used to implement an embodiment of the invention. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. Electronic equipment may also represent various forms of mobile devices, such as personal digital processing, cellular telephones, smartphones, wearable devices (e.g., helmets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not meant to limit implementations of the inventions described and/or claimed herein.
As shown in fig. 6, the electronic device 10 includes at least one processor 11, and a memory, such as a Read Only Memory (ROM) 12, a Random Access Memory (RAM) 13, etc., communicatively connected to the at least one processor 11, in which the memory stores a computer program executable by the at least one processor, and the processor 11 may perform various appropriate actions and processes according to the computer program stored in the Read Only Memory (ROM) 12 or the computer program loaded from the storage unit 18 into the Random Access Memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 may also be stored. The processor 11, the ROM 12 and the RAM 13 are connected to each other via a bus 14. An input/output (I/O) interface 15 is also connected to bus 14.
Various components in the electronic device 10 are connected to the I/O interface 15, including: an input unit 16 such as a keyboard, a mouse, etc.; an output unit 17 such as various types of displays, speakers, and the like; a storage unit 18 such as a magnetic disk, an optical disk, or the like; and a communication unit 19 such as a network card, modem, wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information/data with other devices via a computer network, such as the internet, and/or various telecommunication networks.
The processor 11 may be a variety of general and/or special purpose processing components having processing and computing capabilities. Some examples of processor 11 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various specialized Artificial Intelligence (AI) computing chips, various processors running machine learning model algorithms, digital Signal Processors (DSPs), and any suitable processor, controller, microcontroller, etc. The processor 11 performs the various methods and processes described above, such as the duplicate detection method of the virtual article.
In some embodiments, the duplicate detection method of the virtual article may be implemented as a computer program tangibly embodied on a computer-readable storage medium, such as the storage unit 18. In some embodiments, part or all of the computer program may be loaded and/or installed onto the electronic device 10 via the ROM 12 and/or the communication unit 19. When the computer program is loaded into RAM 13 and executed by processor 11, one or more steps of the repetition detection method of virtual articles described above may be performed. Alternatively, in other embodiments, processor 11 may be configured to perform the duplicate detection method of the virtual article by any other suitable means (e.g., by means of firmware).
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuit systems, field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), systems On Chip (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs, the one or more computer programs may be executed and/or interpreted on a programmable system including at least one programmable processor, which may be a special purpose or general-purpose programmable processor, that may receive data and instructions from, and transmit data and instructions to, a storage system, at least one input device, and at least one output device.
A computer program for carrying out methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the computer programs, when executed by the processor, cause the functions/acts specified in the flowchart and/or block diagram block or blocks to be implemented. The computer program may execute entirely on the machine, partly on the machine, as a stand-alone software package, partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of the present invention, a computer-readable storage medium may be a tangible medium that can contain, or store a computer program for use by or in connection with an instruction execution system, apparatus, or device. The computer readable storage medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. Alternatively, the computer readable storage medium may be a machine readable signal medium. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) through which a user can provide input to the electronic device. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic input, speech input, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a background component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such background, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), wide Area Networks (WANs), blockchain networks, and the internet.
The computing system may include clients and servers. The client and server are typically remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server can be a cloud server, also called a cloud computing server or a cloud host, and is a host product in a cloud computing service system, so that the defects of high management difficulty and weak service expansibility in the traditional physical hosts and VPS service are overcome.
It should be appreciated that various forms of the flows shown above may be used to reorder, add, or delete steps. For example, the steps described in the present invention may be performed in parallel, sequentially, or in a different order, so long as the desired results of the technical solution of the present invention are achieved, and the present invention is not limited herein.
The above embodiments do not limit the scope of the present invention. It will be apparent to those skilled in the art that various modifications, combinations, sub-combinations and alternatives are possible, depending on design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the scope of the present invention.

Claims (10)

1. A method for duplicate detection of a virtual article, comprising:
generating and transmitting a repeated detection request of the virtual article to be issued, wherein the repeated detection request is used for detecting whether the issuing information of the virtual article to be issued exists in at least one alternative block chain;
receiving at least one feedback message corresponding to the repeated detection request;
determining repeated detection results of the virtual articles to be sent according to the feedback information;
And determining whether to add the release information of the virtual article to be released into the current blockchain according to the repeated detection result so as to realize release of the virtual article to be released.
2. The method of claim 1, wherein generating and transmitting a duplicate detection request for a virtual item to be issued comprises:
inquiring whether the virtual article to be issued exists in the certificate-storing intelligent contract corresponding to the current blockchain, and determining a first inquiry result;
and generating and sending the repeated detection request under the condition that the first query result is no repetition.
3. The method of claim 2, wherein the querying whether the virtual object to be issued exists in the forensic smart contract corresponding to the current blockchain, and determining the first query result, comprises:
determining a hash value of the identification information according to the identification information of the virtual article to be sent;
and inquiring the hash value in the stored certificate intelligent contract corresponding to the current blockchain, and determining the first inquiry result.
4. The method of claim 1, wherein the receiving at least one feedback message corresponding to the duplicate detection request comprises:
And according to the repeated detection request, acquiring feedback information fed back by the network node of each alternative block chain from a message queue.
5. The method of claim 1, wherein the duplicate detection request comprises: the repeated detection request is also used for updating the alternative intelligent contracts corresponding to the alternative blockchains according to the identification information of the virtual articles to be sent.
6. The method according to claim 1, wherein determining the repeated detection result of the virtual article to be sent according to each feedback information includes:
extracting a second query result from each piece of feedback information;
and under the condition that all second query results are non-repetition, determining that the repeated detection results are non-repetition.
7. The method of claim 6, further comprising, after said determining that said duplicate detection result is no duplicate:
extracting identification information of the released virtual article from each piece of feedback information;
and updating the certificate-storing intelligent contract corresponding to the current blockchain according to the identification information of the issued virtual article.
8. A repetition detection device for a virtual article, comprising:
the request sending module is used for generating and sending a repeated detection request of the virtual article to be issued, and the repeated detection request is used for detecting whether the issuing information of the virtual article to be issued exists in at least one alternative block chain;
the feedback receiving module is used for receiving at least one piece of feedback information corresponding to the repeated detection request;
the result determining module is used for determining repeated detection results of the virtual article to be sent according to the feedback information;
and the issuing module is used for determining whether to add the issuing information of the virtual article to be issued into the current blockchain according to the repeated detection result so as to realize the issuing of the virtual article to be issued.
9. An electronic device, the electronic device comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein,,
the memory stores a computer program executable by the at least one processor to enable the at least one processor to perform the duplicate detection method of a virtual article of any one of claims 1-7.
10. A computer readable storage medium storing computer instructions for causing a processor to perform the method of duplicate detection of a virtual article according to any one of claims 1-7.
CN202211540510.9A 2022-12-02 2022-12-02 Method, device, equipment and medium for repeatedly detecting virtual article Pending CN116015665A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211540510.9A CN116015665A (en) 2022-12-02 2022-12-02 Method, device, equipment and medium for repeatedly detecting virtual article

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211540510.9A CN116015665A (en) 2022-12-02 2022-12-02 Method, device, equipment and medium for repeatedly detecting virtual article

Publications (1)

Publication Number Publication Date
CN116015665A true CN116015665A (en) 2023-04-25

Family

ID=86034672

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211540510.9A Pending CN116015665A (en) 2022-12-02 2022-12-02 Method, device, equipment and medium for repeatedly detecting virtual article

Country Status (1)

Country Link
CN (1) CN116015665A (en)

Similar Documents

Publication Publication Date Title
CN112527530B (en) Message processing method, device, apparatus, storage medium and computer program product
CN115883647B (en) Service log recording method, system, device, terminal, server and medium
CN117009283A (en) Multi-core multi-chip data processing method, device, chip and storage medium
CN116015665A (en) Method, device, equipment and medium for repeatedly detecting virtual article
CN113986135B (en) Method, device, equipment and storage medium for processing request
CN115525666A (en) Real-time data updating method and device, electronic equipment and storage medium
CN115587097A (en) Directory node information query method, device, equipment and storage medium
CN115543416A (en) Configuration updating method and device, electronic equipment and storage medium
CN116016265B (en) Message all-link monitoring method, device, system, equipment and storage medium
CN114924806B (en) Dynamic synchronization method, device, equipment and medium for configuration information
CN114650222B (en) Parameter configuration method, device, electronic equipment and storage medium
CN114449031B (en) Information acquisition method, device, equipment and storage medium
CN114553894B (en) Data synchronization method, device, system and storage medium
CN113595870B (en) Push message processing method and device, electronic equipment and storage medium
CN117725132A (en) Block chain data synchronization method and device and electronic equipment
CN116881368A (en) Data synchronization method and device, electronic equipment and storage medium
CN115190097A (en) Message pushing method, device, equipment and storage medium
CN117608879A (en) Message queue processing method and device, electronic equipment and storage medium
CN117667144A (en) Annotating hot refreshing method, annotating hot refreshing device, annotating hot refreshing equipment and annotating hot refreshing medium
CN117931805A (en) Data processing method and device, electronic equipment and storage medium
CN116089499A (en) Data statistics method, device and medium based on kafka data volume
CN116628065A (en) Data storage method and device, electronic equipment and storage medium
CN117093274A (en) Application running stack analysis method, device, equipment and storage medium
CN118055068A (en) Message processing method, device, equipment and medium based on DPDK
CN117151878A (en) Transaction processing method and device, electronic equipment and storage medium

Legal Events

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