CN111144859A - Virtual resource transfer method and device, computer equipment and storage medium - Google Patents
Virtual resource transfer method and device, computer equipment and storage medium Download PDFInfo
- Publication number
- CN111144859A CN111144859A CN201911374584.8A CN201911374584A CN111144859A CN 111144859 A CN111144859 A CN 111144859A CN 201911374584 A CN201911374584 A CN 201911374584A CN 111144859 A CN111144859 A CN 111144859A
- Authority
- CN
- China
- Prior art keywords
- virtual resource
- information
- numerical value
- transfer
- analyzed
- 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.)
- Granted
Links
- 238000012546 transfer Methods 0.000 title claims abstract description 376
- 238000000034 method Methods 0.000 title claims abstract description 90
- 230000008569 process Effects 0.000 claims description 39
- 230000002159 abnormal effect Effects 0.000 claims description 27
- 238000004590 computer program Methods 0.000 claims description 7
- 238000013468 resource allocation Methods 0.000 claims description 4
- 230000009286 beneficial effect Effects 0.000 abstract description 6
- 230000008859 change Effects 0.000 description 31
- 230000006870 function Effects 0.000 description 15
- 230000014509 gene expression Effects 0.000 description 15
- 238000010586 diagram Methods 0.000 description 9
- 238000004422 calculation algorithm Methods 0.000 description 7
- 230000007704 transition Effects 0.000 description 7
- 230000008520 organization Effects 0.000 description 5
- 238000012545 processing Methods 0.000 description 5
- 238000004891 communication Methods 0.000 description 3
- 239000003999 initiator Substances 0.000 description 3
- 230000000977 initiatory effect Effects 0.000 description 3
- 238000004900 laundering Methods 0.000 description 3
- 230000005540 biological transmission Effects 0.000 description 2
- 230000004069 differentiation Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000002349 favourable effect Effects 0.000 description 2
- 238000007726 management method Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000004044 response Effects 0.000 description 2
- 238000012795 verification Methods 0.000 description 2
- RWSOTUBLDIXVET-UHFFFAOYSA-N Dihydrogen sulfide Chemical compound S RWSOTUBLDIXVET-UHFFFAOYSA-N 0.000 description 1
- 238000013475 authorization Methods 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 230000001010 compromised effect Effects 0.000 description 1
- 238000012790 confirmation Methods 0.000 description 1
- 238000007405 data analysis Methods 0.000 description 1
- 238000007418 data mining Methods 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000007599 discharging Methods 0.000 description 1
- 230000008014 freezing Effects 0.000 description 1
- 238000007710 freezing Methods 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 238000004064 recycling Methods 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
- 238000010200 validation analysis Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q20/00—Payment architectures, schemes or protocols
- G06Q20/38—Payment protocols; Details thereof
- G06Q20/382—Payment protocols; Details thereof insuring higher security of transaction
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/64—Protecting data integrity, e.g. using checksums, certificates or signatures
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q20/00—Payment architectures, schemes or protocols
- G06Q20/04—Payment circuits
- G06Q20/06—Private payment circuits, e.g. involving electronic currency used among participants of a common payment scheme
- G06Q20/065—Private payment circuits, e.g. involving electronic currency used among participants of a common payment scheme using e-cash
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q20/00—Payment architectures, schemes or protocols
- G06Q20/38—Payment protocols; Details thereof
- G06Q20/382—Payment protocols; Details thereof insuring higher security of transaction
- G06Q20/3829—Payment protocols; Details thereof insuring higher security of transaction involving key management
Landscapes
- Engineering & Computer Science (AREA)
- Business, Economics & Management (AREA)
- Accounting & Taxation (AREA)
- Theoretical Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- General Business, Economics & Management (AREA)
- Strategic Management (AREA)
- Finance (AREA)
- General Health & Medical Sciences (AREA)
- General Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Computer Hardware Design (AREA)
- Bioethics (AREA)
- Health & Medical Sciences (AREA)
- Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
Abstract
The embodiment of the invention discloses a virtual resource transfer method, a virtual resource transfer device, computer equipment and a storage medium, wherein when a virtual resource transfer request aiming at an original virtual resource is received, numerical value bearing information of the original virtual resource is obtained; if the numerical value bearing information does not contain numerical value transfer representation information, transferring the numerical value of the original virtual resource to the corresponding target virtual resource based on the virtual resource transfer operation of the user; acquiring first description information of the target virtual resource based on the numerical value bearing information of the target virtual resource; and obtaining numerical value transfer representing information of the original virtual resource based on the first description information, and adding the numerical value transfer representing information to numerical value bearing information of the original virtual resource. In this embodiment, for the virtual resource after the value transfer, the value transfer representing information is added to the value bearing information, which is beneficial to quickly and accurately judging whether the value of the virtual resource is transferred before the value transfer of the virtual resource, so as to ensure the transaction safety of the virtual resource.
Description
Technical Field
The invention relates to the technical field of internet, in particular to a virtual resource transfer method, a virtual resource transfer device, computer equipment and a storage medium.
Background
At present, with the development of the blockchain technology, virtual resources are more and more accepted and approved by people, in a trading system, after a transaction is completed, the numerical value carried by the virtual resource is transferred to a newly generated virtual resource, and the numerical value carried by the traded virtual resource disappears. However, the related art cannot help to verify whether the value of the virtual resource is transferred, which is not favorable for the security of the transaction.
Disclosure of Invention
Embodiments of the present invention provide a virtual resource transfer method, an apparatus, a computer device, and a storage medium, which can enrich content of numerical bearing information of a virtual resource, and are beneficial to ensuring transaction security of the virtual resource.
The embodiment of the invention provides a virtual resource transfer method, which comprises the following steps:
when a virtual resource transfer request of an original virtual resource is received, acquiring numerical value bearing information of the original virtual resource;
if the numerical value bearing information does not contain numerical value transfer representing information corresponding to the original virtual resource, transferring the numerical value of the original virtual resource to a corresponding target virtual resource; wherein, the target virtual resource is a value transfer object of the original virtual resource;
acquiring first description information of the target virtual resource based on numerical value bearing information of the target virtual resource obtained by numerical value transfer;
obtaining numerical value transfer representing information of the original virtual resource based on the first description information of the target virtual resource, and adding the numerical value transfer representing information into numerical value bearing information of the original virtual resource, wherein the numerical value transfer representing information comprises the first description information of the target virtual resource.
An embodiment of the present invention further provides a virtual resource transfer device, where the virtual resource transfer device includes:
the system comprises a bearing information acquisition unit, a resource allocation unit and a resource allocation unit, wherein the bearing information acquisition unit is used for acquiring numerical bearing information of an original virtual resource when receiving a virtual resource transfer request of the original virtual resource;
a value transferring unit, configured to transfer a value of the original virtual resource to a corresponding target virtual resource if the value carrying information does not include value transferring representing information corresponding to the original virtual resource; wherein, the target virtual resource is a value transfer object of the original virtual resource;
the description information acquisition unit is used for acquiring first description information of the target virtual resource based on the numerical value bearing information of the target virtual resource obtained by numerical value transfer;
a generating unit, configured to obtain, based on the first description information of the target virtual resource, value transfer indicating information of the original virtual resource, and add the value transfer indicating information to value carrying information of the original virtual resource, where the value transfer indicating information includes the first description information of the target virtual resource.
An embodiment of the present invention further provides a storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of the virtual resource transfer method described above.
An embodiment of the present invention further provides a computer device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements the steps of the virtual resource transfer method described above when executing the program.
The embodiment of the invention discloses a virtual resource transfer method, a virtual resource transfer device, computer equipment and a storage medium, wherein when a virtual resource transfer request of a user for an original virtual resource is received, numerical value bearing information of the original virtual resource is obtained; if the numerical value bearing information does not contain numerical value transfer representing information corresponding to the original virtual resource, transferring the numerical value of the original virtual resource to a corresponding target virtual resource; the numerical value transfer representation information comprises first description information of a target virtual resource, and the target virtual resource is a numerical value transfer object of an original virtual resource; acquiring first description information of the target virtual resource based on the numerical value bearing information of the target virtual resource obtained by numerical value transfer; and generating numerical value transfer representing information of the original virtual resource based on the first description information of the target virtual resource, and adding the numerical value transfer representing information into numerical value bearing information of the original virtual resource. In this embodiment, for the original virtual resource after the value transfer, the value transfer representing information is added to the value bearing information, and the information enriches the content of the value bearing information of the virtual resource, and is also helpful to quickly and accurately judge whether the value of the original virtual resource has been transferred before the value transfer of the original virtual resource, thereby being beneficial to ensuring the transaction safety of the virtual resource.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1a is a schematic view of a scenario of a virtual resource transfer method according to an embodiment of the present invention;
FIG. 1b is a flowchart of a virtual resource transfer method according to an embodiment of the present invention;
FIG. 2a is a schematic diagram of a virtual resource value transfer relationship according to an embodiment of the present invention;
FIG. 2b is another schematic diagram of a virtual resource value transfer relationship provided in accordance with an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a virtual resource transfer apparatus according to an embodiment of the present invention;
FIG. 4 is a schematic structural diagram of a computer device provided by an embodiment of the present invention;
fig. 5 is an alternative structure diagram of the distributed system 100 applied to the blockchain system according to the embodiment of the present invention;
fig. 6 is an alternative schematic diagram of a block structure according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The embodiment of the invention provides a virtual resource transfer method, a virtual resource transfer device, computer equipment and a storage medium. Specifically, the embodiment of the present invention provides a virtual resource transfer apparatus (which may be referred to as a first virtual resource transfer apparatus for distinction) suitable for a first computer device, and a virtual resource transfer apparatus (which may be referred to as a second virtual resource transfer apparatus for distinction) suitable for a second computer device. The first computer device can be a terminal and other devices, and the terminal can be a mobile phone, a tablet computer, a notebook computer and other devices; the second computer device may be a device such as a server, and the server may be a single server or a server cluster composed of a plurality of servers.
For example, the first virtual resource transfer device may be integrated in a terminal, and the second virtual resource transfer device may be integrated in a server.
The embodiment of the invention introduces a virtual resource transfer method by taking a first computer device as a terminal and a second computer device as a server as an example.
Referring to fig. 1a, the virtual resource transfer system provided by the embodiment of the present invention includes a terminal 10, a server 20, and the like; the terminal 10 and the server 20 are connected via a network, such as a wired or wireless network, and the virtual resource transfer device is integrated in the server.
The terminal 10 may be configured to, when detecting that the user triggers a virtual resource transfer request for an original virtual resource, send the virtual resource transfer request to the server 20. The terminal 10 receives a virtual resource transfer operation triggered by a user, and transmits information of the virtual resource transfer operation to the server.
Optionally, the server 20 may obtain the numerical value bearing information of the original virtual resource when receiving a virtual resource transfer request of the user for the original virtual resource; determining whether the numerical value bearing information contains numerical value transfer representing information corresponding to the original virtual resource, wherein the numerical value transfer representing information comprises first description information of a target virtual resource, the first description information of the target virtual resource can contain the number of the target virtual resource, and the target virtual resource is a numerical value transfer object of the original virtual resource; when the determination result is negative, transferring the value of the original virtual resource to the corresponding target virtual resource based on the virtual resource transfer operation of the user aiming at the original virtual resource; acquiring first description information of the target virtual resource based on the numerical value bearing information of the target virtual resource obtained by numerical value transfer; and generating numerical value transfer representing information of the original virtual resource based on the first description information of the target virtual resource, and adding the numerical value transfer representing information into numerical value bearing information of the original virtual resource.
In one embodiment, the server 20 may send the information that the virtual resource transfer is successful to the terminal 10 after transferring the value of the original virtual resource to the corresponding target virtual resource.
The following are detailed below. It should be noted that the following description of the embodiments is not intended to limit the preferred order of the embodiments.
The embodiment of the present invention will be described from the perspective of a virtual resource transfer apparatus, which may be specifically integrated in a computer device such as a terminal or a server.
The virtual resource transfer method provided by the embodiment of the invention can be executed by a processor of computer equipment such as a terminal or a server.
As shown in fig. 1b, the specific process of the virtual resource transfer method may be as follows:
101. when a virtual resource transfer request of a user for an original virtual resource is received, acquiring numerical value bearing information of the original virtual resource;
the virtual resource in this embodiment includes, but is not limited to, digital currency. Among them, digital currency (digicccy), unlike virtual currency in the virtual world, has its value (value) confirmed, enabling it to be used for real goods and services transactions without being limited to network games.
In this embodiment, the value of the virtual resource carries information, which may be understood as a carrier of a virtual resource, such as digital currency, in the software system and the interaction, and carries the value of the virtual resource. In this embodiment, based on transactions of virtual resources, such as value transfer, value conversion, and the like, both parties of the transaction need to verify the expression (i.e., the value-bearing information) of the virtual resource, and approve the value of the digital currency corresponding to the verified expression.
In this embodiment, optionally, the numerical value bearing information includes information such as an ID of the virtual resource, issuer information, a face value, and a private key signature of the issuer, and optionally, the numerical value bearing information may also include other types of information, for example, attribution information of the virtual resource.
In this embodiment, the numerical value bearing information is information generated when the virtual resource is generated (i.e., issued), and in the related art, the numerical value bearing information is generally not changed after the virtual resource is generated, and in this embodiment, after the virtual resource is subjected to the numerical value transfer, the numerical value transfer representing information corresponding to the virtual resource is added to the numerical value bearing information of the virtual resource, so that the system can quickly and accurately determine whether the numerical value of the virtual resource has been transferred when needed, or can conveniently determine whether the numerical value transfer process of the virtual resource is normal.
Taking a virtual resource as digital currency as an example, numerical value bearing information of the virtual resource is exemplified, and referring to table 1 below, the numerical value bearing information of the digital currency in table 1 includes four fields, which are ID, face value, organization number, and organization issued signature. The ID in this embodiment is one of identification information of digital money, and the generation method thereof may be any conventional generation method.
TABLE 1
In this embodiment, the ID may be a self-increment number commonly used in a digital money issuing system. Further, in one embodiment, the ID may also be a number that can uniquely identify the digital currency, and there may be no regularity between IDs. Optionally, in an embodiment, the ID may be a digital digest calculated by using a digest algorithm on a transaction element triggering issuance of the digital money, wherein the transaction element may be understood as information related to a transaction (value transfer) process for generating the digital money, and the transaction element for generating the ID may be defined by a digital money operator, and optionally, the transaction element includes information not limited to a transaction order number, an amount, an acquirer, a transaction time, and the like. Optionally, the summarization algorithm includes, but is not limited to, MD5, SHA256, and the like.
In the present embodiment, the issuer-issued signature represents signature information obtained by signing information included in a domain of a signature with a private key of an issuer of digital money. The domain including the signature includes, but is not limited to, the face value (value) and the institution code of the digital currency, and in some embodiments, the domain in table 1 may further include attribution information of the virtual resource, the domain including the signature may further include attribution information, and the like.
In this embodiment, the signature is a digital signature technology, that is, the digest information is encrypted by the private key of the sender and transmitted to the receiver together with the original text. The receiver can decrypt the encrypted digest information only by using the public key of the sender, and then generates a digest information for the received original text by using the HASH function, and compares the digest information with the decrypted digest information. If the two summary messages are the same, the message received by the receiver is complete, the message is not modified in the transmission process, otherwise, the message is modified, and therefore the digital signature can verify the integrity of the message.
The denomination of the digital currency in table 1 is understood to mean the value of the digital currency, which can be designed in two ways, one for nominal denomination and one for non-nominal denomination; so-called nominal denominations, i.e. denominations with only a limited number of choices, like 1, 5, 10, 50, 100 dollars for the banknotes of the RMB; so-called non-nominal denominations, i.e. denominations are determined at the time of distribution according to the business needs, allowing arbitrary numbers under a certain limit. For the nominal denomination scheme, the denomination is not compromised during the transaction, so like a bank recycling broken or old-fashioned banknotes, the issuer of the digital currency can also recycle and destroy the nominal denomination digital currency, in addition to which it can be circulated all the time. The most outstanding challenge is transaction change, namely, the digital currency with the face value larger than the transaction amount is used for payment, and the digital currency with the transaction amount and the digital currency with the change face value are derived; the digital money used for payment disappears because its value has been split, and therefore cannot be reused for circulation.
In this embodiment, the virtual resource transfer request of the original virtual resource may carry numerical value bearing information of the original virtual resource.
Optionally, the step of acquiring the numerical value bearing information of the original virtual resource when receiving the virtual resource transfer request of the original virtual resource may include:
when a virtual resource transfer request of a user for an original virtual resource is received, acquiring numerical value bearing information of the original virtual resource from the virtual resource transfer request.
102. If the numerical value bearing information does not contain numerical value transfer representation information corresponding to the original virtual resource, transferring the numerical value of the original virtual resource to a corresponding target virtual resource; the target virtual resource is a numerical value transfer object of the original virtual resource;
in this embodiment, for a virtual resource, numerical value carrying information of the virtual resource is improved, where the numerical value carrying information is different before and after a numerical value transfer occurs, and for a virtual resource for which a numerical value transfer has occurred, numerical value transfer representing information is added to the numerical value carrying information, where the numerical value transfer representing information may be used to represent that a numerical value of the virtual resource has been transferred to a target virtual resource. The value transition representation information includes first description information of a target virtual resource that is a value transition target of the original virtual resource.
In this embodiment, the first description information may be used to describe information such as an identity, a value, and a quantity of the target virtual resource, and optionally, the first description information includes identification information and value information of the target virtual resource and a number (that is, a quantity) of the target virtual resource.
In this embodiment, it can be understood that, for a virtual resource for which no value transfer occurs, no value transfer representing information exists in the value carrying information.
It can be understood that, based on the numerical value transfer representation information, the number of numerical value transfer objects of the original virtual resource can be determined, and based on the number, the process of numerical value transfer of the original virtual resource can be further analyzed; for example, the virtual resource is used for consumption payment, and a new transaction amount face value expression and a transaction change expression are derived (the number of the target virtual resource is at least two); or for example, the user has too many digital currency expressions and has a small number of denominations, so that the (user authorization) system merges the numerical currency expressions into a large-denomination digital currency (correspondingly, the number of the target virtual resource is 1) for facilitating the consumption payment; or, the user has a larger amount of consumption payment, needs to combine a plurality of digital currencies for payment, and may also make change; the above described usage scenarios are all essentially non-nominal face value digital currency usage scenarios.
The numerical value transfer presentation information in this embodiment is to record the transfer process of the numerical value, that is, by recording the numerical value transfer process in the digital currency expression, the numerical value carried by the current expression can be visually verified. Optionally, the value transfer referred to herein is not a transfer to which the exponent value belongs, but rather a transfer to which the expression carries the value. In the following content of this embodiment, after the value is transferred, the value transfer information in the value bearing information of the virtual resource is described in detail.
In this embodiment, the service type corresponding to the virtual resource transfer operation is not limited, and may include: for payment, transfer of money, exchange of cash, etc. value-related transactions.
Optionally, in this embodiment, the number of the target virtual resources corresponding to the original virtual resources is not limited, and may be 1, 2, 3, or the like.
It is understood that, in this embodiment, the issuer of the target virtual resource may be different from the issuer of the original virtual resource, and the issuer of different target virtual resources may also be different.
Optionally, in this embodiment, it may be understood that, when the value of the original virtual resource is transferred to the corresponding target virtual resource, the target virtual resource is generated, that is, the value of the target virtual resource carries information.
In this embodiment, after the step of "transferring the value of the original virtual resource to the corresponding target virtual resource", the method may further include:
acquiring numerical value bearing information of the target virtual resource obtained by numerical value transfer;
acquiring second description information of the original virtual resource from the numerical value bearing information of the original virtual resource;
generating numerical value source representation information of the target virtual resource based on the second description information of the original virtual resource;
and adding the numerical source representation information into the numerical bearing information of the target virtual resource.
The second description information of the original virtual resource includes, but is not limited to, identification information of the original virtual resource, such as ID information, value information of the original virtual resource, such as face value information, issuer information of the original virtual resource, such as a number of an issuer, and a signature of the issuer of the original virtual resource on the value carrying information of the original virtual resource.
The value source indicating information in this embodiment is mainly used to indicate a value source of the target virtual resource, and in this embodiment, a value of one target virtual resource may be from one or more original virtual resources, which is not limited in this embodiment.
Optionally, in this embodiment, transaction information of the original virtual resource and the target virtual resource may also be added to the numerical value bearing information of the target virtual resource.
103. Acquiring first description information of the target virtual resource based on the numerical value bearing information of the target virtual resource obtained by numerical value transfer;
in this embodiment, the numerical value bearing information of the target virtual resource includes, but is not limited to, identification information, a numerical value (such as face value information), issuer information, an issuer signature, and the like of the target virtual resource. Further, the first description information of the target virtual resource includes, but is not limited to, identification information and a numerical value of the target virtual resource, and a quantity.
In an embodiment, optionally, the step "obtaining first description information of the target virtual resource based on the numerical value bearing information of the target virtual resource obtained by the numerical value transfer" may include:
when the number of the target virtual resources is not less than 2, acquiring identification information and a numerical value of the target virtual resources from numerical value bearing information of the target virtual resources, and acquiring first description information of the target virtual resources based on the identification information and the numerical value.
In this embodiment, when the number of the target virtual resources is not less than 2, a scenario in which the value of the original virtual resource is split and transferred to a plurality of target virtual resources is correspondingly performed, where the issuers of the plurality of target virtual resources may be the same or different, and the issuer of the target virtual resource may be the same or different from the issuer of the original virtual resource, which is not limited in this embodiment. In the above description, the identification information of the target virtual resource in the first description information is ID information in numerical bearer information when the target virtual resource is generated, and a generation manner of the ID information may refer to relevant description contents corresponding to table 1, which is not described herein again.
In a scene where a plurality of target virtual resources exist, the total number of the plurality of target virtual resources should be equal to the value of the original virtual resource, and in order to facilitate rapid and accurate verification that the total number of the target virtual resources is equal to the value of the original virtual resource, the value in the first description information of the target virtual resource is the actual value of the target virtual resource.
For example, in a scenario of transaction change, if the value of the original virtual resource of the transaction initiator is 10 and the value to be paid to the transaction receiver is 2, the value of the original virtual resource is transferred to two target virtual resources, one target virtual resource (denoted as target virtual resource 1 for differentiation) is attributed to the transaction receiver as a transaction income and has a value of 2, and the other target virtual resource (denoted as target virtual resource 2 for differentiation) is attributed to the transaction initiator as a transaction change and has a value of 8, assuming that the identification information in the value bearing information is ID1 when the target virtual resource 1 is generated, and the identification information in the value bearing information is ID2 when the target virtual resource 2 is generated. After the value is transferred, in the value transfer representing information of the original virtual resource, in the first description information of the target virtual resource 1, the value of the target virtual resource 1 is 2, and the identification information is ID 1; in the first description information of the target virtual resource 2, the value of the target virtual resource 2 is 8, and the identification information is ID 2.
In another embodiment, optionally, the step "obtaining the first description information of the target virtual resource based on the numerical value bearing information of the target virtual resource obtained by the numerical value transfer" may include:
when the number of the target virtual resources is 1, acquiring identification information of the target virtual resources from numerical value bearing information of the target virtual resources, representing the numerical value of the target virtual resources by the numerical value of the original virtual resources, and acquiring first description information of the target virtual resources based on the identification information and the numerical value.
In this embodiment, when the number of the target virtual resource is 1, at least two value transfer scenarios exist, one is the combination of the values, and the other is no change transfer. Aiming at the numerical value merging scene, the numerical value source of the target virtual resource is more than one original virtual resource, and for each original virtual resource, the numerical value transferred to the target virtual resource is different from the numerical value of the target virtual resource. In the foregoing solution, the identification information of the target virtual resource in the first description information is ID information in numerical bearer information when the target virtual resource is generated, and a generation manner of the ID information may refer to relevant description contents corresponding to table 1, which is not described herein again.
In one embodiment, taking the value of the original virtual resource as the value of the target virtual resource in the first description information may indicate that the value of the original virtual resource is completely transferred to the target virtual resource.
For example, in a scenario of consolidated payment of multiple original virtual resources, assuming that the original virtual resource that the transaction initiator participates in the transaction is the original virtual resource A, B, C, the values are 1, 2, and 10, respectively, and the value that needs to be paid to the transaction recipient is 13, the transaction system may transfer all the values of the original virtual resource A, B, C to one target virtual resource. After the value transfer, the actual value of the target virtual resource is 13, and the identification information in the value carrying information is ID 3. In the value transition representation information of the original virtual resource a, the value of the target virtual resource described in the first description information of the target virtual resource is 1, and the identification information is ID 3; in the value transition representation information of the original virtual resource B, the value of the target virtual resource described in the first description information of the target virtual resource is 2, and the identification information is ID 3; in the value transition representation information of the original virtual resource C, the value of the target virtual resource described in the first description information of the target virtual resource is 10, and the identification information is ID 3.
Optionally, in an embodiment, for a scenario in which the number of the target virtual resource is 1, the actual value of the target virtual resource may also be used as the first description information to record the value of the target virtual resource.
Optionally, the method of this embodiment may further include:
acquiring numerical value bearing information of a virtual resource to be analyzed;
determining whether the numerical value bearing information contains numerical value transfer representation information corresponding to the virtual resource to be analyzed;
if the result is yes, acquiring identification information of the target virtual resource corresponding to the virtual resource to be analyzed from the numerical value transfer representation information;
acquiring numerical value bearing information of the target virtual resource from the block chain based on the identification information of the target virtual resource;
and determining whether the numerical value transfer between the virtual resource to be analyzed and the target virtual resource is normal or not based on the numerical value bearing information of the virtual resource to be analyzed and the corresponding target virtual resource.
By the verification scheme, whether the identity and/or the numerical value of the target virtual resource recorded by the numerical value bearing information of the virtual resource to be analyzed, of which the numerical value has been transferred, is consistent with the identity and/or the numerical value of the target virtual resource stored in the block chain can be verified, so that the correctness of the numerical value bearing information of the virtual resource to be analyzed can be verified.
Optionally, the step of determining whether the value transfer between the virtual resource to be analyzed and the target virtual resource is normal based on the value bearing information of the virtual resource to be analyzed and the corresponding target virtual resource includes:
extracting the numerical value of the virtual resource to be analyzed and the identification information (marked as first identification information) of the target virtual resource from the numerical value bearing information of the virtual resource to be analyzed;
extracting identification information (marked as second identification information) and a numerical value of the target virtual resource from numerical value bearing information of the target virtual resource corresponding to the virtual resource to be analyzed;
determining whether the first identification information and the second identification information of the same target virtual resource are the same, and determining whether the sum of the numerical values of the target virtual resource is equal to the numerical value of the virtual resource to be analyzed;
and if the two determination results are yes, determining that the numerical value transfer between the virtual resource to be analyzed and the target virtual resource is normal, otherwise determining that the numerical value transfer representing information recorded in the numerical value bearing information of the virtual resource to be analyzed is wrong.
Optionally, if at least one of the two determination results is negative, it is determined that the numerical value transfer representation information recorded in the virtual resource to be analyzed is incorrect, the transaction record of the virtual resource to be analyzed is obtained, and the numerical value bearing information of the virtual resource to be analyzed and the target virtual resource corresponding to the virtual resource to be analyzed is corrected based on the transaction record and the numerical value bearing information of the virtual resource to be analyzed.
104. Obtaining numerical value transfer representing information of the original virtual resource based on first description information of the target virtual resource, and adding the numerical value transfer representing information into numerical value bearing information of the original virtual resource, wherein the numerical value transfer representing information comprises the first description information of the target virtual resource.
Optionally, after the step "generating the value transfer representing information of the original virtual resource based on the first description information of the target virtual resource", the method may further include:
signing the value transfer representation information and the preset information of the original virtual resource in the value bearing information by using a private key of a value transfer authenticator of the original virtual resource to obtain target signature information;
and replacing the original signature information in the numerical value bearing information of the original virtual resource with the target signature information.
In this embodiment, the preset information of the original virtual resource includes, but is not limited to, identification information (e.g., ID), value, issuer information, and the like of the original virtual resource. The original signature information in the numerical value bearing information is the signature information of the issuer of the original virtual resource when the original virtual resource is generated. The signature information is obtained by signing the numerical value bearing information by using a private key by an issuer of the original virtual resource.
In this embodiment, the value transfer indicating information may further include other information generated during the value transfer process, for example, transaction information corresponding to the value transfer, where the transaction information includes, but is not limited to, a business order number or a transaction serial number, a transaction type, and transaction time, and other information related to the transaction.
The obtaining of the value transfer representing information of the original virtual resource based on the first description information of the target virtual resource includes:
acquiring the total amount of target virtual resources;
acquiring transaction information of the original virtual resource and the target virtual resource;
and taking the total amount, the transaction information and the first description information of the target virtual resource as numerical value transfer representation information of the original virtual resource.
Taking the digital currency shown in table 1 as an example, table 2 shows the specific content of the numerical value carrying information newly generated by the digital currency after the numerical value of the digital currency in table 1 is transferred to two target digital currencies.
TABLE 2
As shown in table 2, the first description information in the numerical transfer representation information includes IDs and denominations of the target digital currency 0 and the target digital currency 1, and the total amount 2 of the target virtual resources.
As can be seen from the foregoing description of the ID, the ID may be a digital digest calculated by using a digest algorithm on the transaction element triggering the issuance of the digital currency, and therefore, the ID of the target digital currency in the present embodiment may be a digital digest calculated by digesting the transaction elements of the original digital currency and the target digital currency. Alternatively, the transaction elements used to calculate the target digital currency ID include, but are not limited to: the value transfer order number (i.e., transaction order number) of the original digital currency and the target digital currency, payee information, transaction amount, transaction time, and the like.
Optionally, in this embodiment, the first description information may further include an organization signature of the target virtual resource (the target digital currency in table 2), that is, signature information of an issuer of the target virtual resource, further, the first description information may further include attribution information of the target virtual resource, such as an attribution account, and the like, and may further include the total amount of the target virtual resource, where the "transfer target number" in table 2 is the total amount of the target virtual resource.
It is understood that, in table 2 above, when the "transfer target number" field is 2, it means that the digital currency value is split, and therefore the transferred value (i.e. the sum of the denominations of the two target digital currencies) is required to be equal to the "denomination" of the original digital currency. According to the service requirement, the present embodiment may also support a scenario in which the number of transitions is 3 or more, and the scenario also follows the above numerical equation.
For the scenario of merging the denominations of the digital currencies, the "number of transfer targets" in table 2 above should be set to 1, that is, the value of the current digital currency (original virtual resource) is completely transferred to another new digital currency (target virtual resource), and for this case, the value in the first description information of the target virtual resource may be the denomination of the original virtual resource, or may be the actual denomination carried by the numerical bearing information of the target virtual resource. The present embodiment does not limit this.
In this embodiment, the value transfer authenticator for the original virtual resource may be a third party organization, or may be an issuer of the original virtual resource itself, which is not limited in this embodiment.
It can be understood that, when the original virtual resource is generated, the signature information of the issuer of the original virtual resource already exists in the numerical bearer information, and if the target signature information of the issuer of the original resource is added to the numerical bearer information, even if the target signature information and the numerical transfer representation information and the like in the numerical bearer information are deleted, because the numerical bearer information also has signature information of one issuer, the numerical bearer information may continue to transact, which is not favorable for ensuring the transaction security of the virtual resource, in this embodiment, only one signature information of the issuer of the numerical bearer information of the original virtual resource may be selected.
In this embodiment, after the value of the original virtual resource is transferred, the original signature information is changed, that is, after the value of the original virtual resource is transferred, the private key of the value transfer authenticator of the original virtual resource is used to sign the value transfer representation information and the preset information of the original virtual resource in the value bearing information of the original virtual resource, so as to obtain target signature information; and replacing the original signature information in the numerical value bearing information of the original virtual resource with the target signature information.
Optionally, in table 2, for the signature issued by the organization, there are many signed domains, there are many serialization algorithms related to these domains, and there are many selectable algorithms, and there are common text serialization, such as JSON (JavaScript Object Notation) format, or character string concatenation of custom separators, etc.; binary serialization is such as protoBuf or Java object serialization.
In this embodiment, as to the serialization or encoding rule of the numerical VALUE carrying information (expression), for example, whether a "field" structure with a fixed sequence or a KEY/VALUE structure similar to JSON format is used, whether a "field" with a fixed length or a dynamic length definition is used, and the like are used.
In this embodiment, the digital currency operating system may add a service domain in the expression of the virtual resource according to service needs. After the value is transferred, transaction information corresponding to the value transfer can be added to the value bearing information of the original virtual resource, wherein the transaction information includes, but is not limited to, the value transfer order number, such as a service order number and a service flow number, the account number of the payee, the transaction time, the transaction number and the like.
Optionally, in this embodiment, based on the above scheme, the value bearing information of the virtual resource after the transaction includes value transfer indicating information indicating a value transfer process, where the information may help the system to quickly and accurately verify whether the value of the virtual resource has been transferred, and besides checking the value validity of the virtual resource during payment, the value transfer indicating information may also be used to check the virtual currency internally.
Optionally, the method of this embodiment further includes:
when the internal checking condition of the virtual resource is met, acquiring numerical value bearing information of the virtual resource in a target database;
determining whether numerical value transfer representation information is contained in the numerical value bearing information;
and if the numerical value bearing information of the virtual resource comprises numerical value transferring representation information, transferring the virtual resource from the target database to a historical database, wherein the historical database is used for storing the virtual resource of which the numerical value is transferred.
In this embodiment, the target database may be a database for storing virtual resources in which numerical values exist, and by the above scheme, the "worn out money" still existing in the target database may be cleared up when needed, and the processing capability of the transaction library is maintained. Wherein both the target database and the history database may be stored in a blockchain.
In this embodiment, the virtual resource internal check condition may be set according to actual needs, and this embodiment is not limited to this, for example, the virtual resource internal check condition may be set such that the current time is a preset internal check time, or a time interval between the current time and the last internal check time is a preset time interval, or, before the value is transferred, it is detected that the virtual resource to be transferred (the original virtual resource described in step 101) is a resource whose value is transferred.
For example, the method of the present embodiment includes: after step 101, if the numerical value bearing information includes numerical value transfer representing information corresponding to the original virtual resource, stopping the numerical value transfer of the original virtual resource, transferring the original virtual resource to a historical database, and acquiring the numerical value bearing information of the virtual resource in a target database; determining whether numerical value transfer representation information is contained in the numerical value bearing information; and if the numerical value bearing information of the virtual resource comprises numerical value transferring representation information, transferring the virtual resource from the target database to the historical database.
Further, the method of the embodiment includes: after step 101, if the numerical value bearing information includes the numerical value transfer representing information corresponding to the original virtual resource, acquiring transaction information of the original virtual resource, marking the transaction information as abnormal transaction information, and acquiring user information of an abnormal user, where the abnormal user is an initiating user of a virtual resource transfer request of the original virtual resource, storing the user information of the abnormal user and the abnormal transaction information in a corresponding manner, freezing an account of the abnormal user, and avoiding the abnormal user from continuing to operate.
The transaction information includes, but is not limited to, account information of both parties of the transaction of the original virtual resource, and the like.
When the value of the virtual resource is not transferred, the length of the value bearing information (expression) of the virtual resource can be kept consistent with the design of the value bearing information (expression) of the common virtual resource, and the processing and storage load of the system is not additionally increased; after the value of the virtual resource is transferred, the virtual resource is not used for payment transaction any more, and can be directly moved into a history library of the virtual resource, and the purpose of the expression comprises offline data mining. Based on the above modification of the numeric bearing information, the expression of the virtual resource of the present embodiment can also be used to trace back the flow of funds according to the numeric transfer, and is particularly applicable to anti-money laundering and anti-fraud transactions.
In the traditional payment data analysis, other account numbers with transactions are found out through the running records of the specified account numbers and the transaction records associated with the transaction order numbers, and suspected money laundering or false transactions are searched through a wind control algorithm. The transaction system based on the digital currency can also add the dimension of the digital currency to the traditional implementation, and provides a new calculation dimension for the related wind control algorithm through the attribution change of the digital currency involved in the transaction.
Optionally, in this embodiment, the virtual resource transferring method further includes:
acquiring numerical value bearing information of a virtual resource to be analyzed;
determining the virtual resources to be analyzed with direct numerical value transfer relation in the virtual resources to be analyzed based on first description information of target virtual resources in the numerical value bearing information of the virtual resources to be analyzed;
and determining the numerical value transfer relationship among all the virtual resources to be analyzed based on the direct numerical value transfer relationship of the virtual resources to be analyzed.
It is understood that the first description information includes identification information of the target virtual resource, such as ID information, which can be used to identify the identity of the target virtual resource.
In this embodiment, the virtual resources to be analyzed may include: as can be seen from the above description, the virtual resources in the history database and the virtual resources in the target database are virtual resources whose values have been transferred, that is, "worn coins" generated in the transaction, and the target database can be understood as an online database, and the virtual resources stored in the online database are virtual resources that can circulate in the transaction system. It can be understood that the first description information of the target virtual resource does not exist in the numerical bearer information of some resources to be analyzed.
In this embodiment, in a primary value transfer process, the value transfer relationship between the original virtual resource and the target virtual resource is a direct value transfer relationship described above. In this embodiment, the identification information of the target virtual resource is recorded in the original virtual resource after the transaction, so in this embodiment, the value transfer representing information of the virtual resource to be analyzed having the value transfer representing information may be extracted, the identification information of the target virtual resource corresponding to the virtual resource to be analyzed is extracted from the value transfer representing information, and the virtual resource to be analyzed having the direct value transfer relationship in all the virtual resources to be analyzed is determined.
In this embodiment, the direct value transfer relationship between the virtual resources to be analyzed may be represented by description of an identity role of the virtual resource to be analyzed in the value transfer process, for example, the direct value transfer relationship between the virtual resource a to be analyzed and the resource B to be analyzed is described in that the virtual resource a to be analyzed is a value provider of the resource B to be analyzed, or the virtual resource B to be analyzed is a value receiver of the resource a to be analyzed.
Alternatively, the direct numerical value transfer relationship between the virtual resources to be analyzed may be represented by describing a direct numerical value transfer direction between the virtual resources to be analyzed, for example, the direct numerical value transfer relationship between the virtual resource a to be analyzed and the resource B to be analyzed is described as a direct numerical value transfer direction between the virtual resource a to be analyzed and the resource B to be analyzed, which is from the virtual resource a to be analyzed to the virtual resource B to be analyzed.
For example, numerical value transfer representing information exists in the numerical value bearing information of the virtual resource D to be analyzed, where the number of target virtual resources in the numerical value transfer representing information is 2, and the identification information is ID4 and ID5, respectively, then based on the identification information, it may be determined that the target virtual resources of the virtual resource D to be analyzed are virtual resources E to be analyzed whose identification information is ID4, and virtual resources F to be analyzed whose identification information is ID5, respectively; then, a direct numerical value transfer relationship exists between the virtual resources D and E to be analyzed, the numerical value transfer direction is from D to E, a direct numerical value transfer relationship exists between the virtual resources D and F to be analyzed, and the numerical value transfer direction is from D to F.
The step of determining the numerical value transfer relationship among all the virtual resources to be analyzed based on the direct numerical value transfer relationship of the virtual resources to be analyzed may include:
generating virtual resource groups based on the virtual resources to be analyzed with the direct numerical value transfer relationship, wherein the virtual resources to be analyzed in each group of virtual resource groups are the virtual resources to be analyzed with the direct numerical value transfer relationship;
acquiring a target virtual resource group from the virtual resource groups, and forming a target virtual resource set by the target virtual resource group, wherein each group of target virtual resource group in the target virtual resource set at least has the same virtual resource to be analyzed as one group of target virtual resource group;
and acquiring the numerical value transfer direction between the virtual resources to be analyzed in the target virtual resource set based on the numerical value transfer direction between the virtual resources to be analyzed in each target virtual resource set.
For example, the virtual resource a to be analyzed has a direct value transfer relationship with the virtual resources a1 and a2 to be analyzed, which is a set of virtual resource groups (a, (a1, a2)), the value transfer direction is a-a1 and a-a2, the virtual resource a2 to be analyzed has a direct value transfer relationship with the virtual resource B to be analyzed, which is a set of virtual resource groups (a2, B), and the value transfer direction is a2-B, then the two sets of virtual resource groups may form a target virtual resource set, and the value transfer direction of the virtual resource to be analyzed in the target virtual resource set is a- (a1+ a2) and a2-B based on the value transfer direction corresponding to each virtual resource group in the set, and the value transfer direction is shown in fig. 2 a.
It is understood that the first description information includes identification information of the target virtual resource, such as ID information, which can be used to identify the identity of the target virtual resource. It can be understood that the virtual resources to be analyzed having the direct numerical value transfer relationship refer to the occurrence of the direct numerical value transfer relationship between the virtual resources to be analyzed; the numerical value transfer relationship between the virtual resources to be analyzed includes a direct numerical value transfer relationship and an indirect numerical value transfer relationship. In this embodiment, the numerical value bearing information of the virtual resource to be analyzed may be acquired from the shared book of the block chain.
In this embodiment, the numerical value transfer relationship between all virtual resources to be analyzed may be represented in a graphical manner. For example, referring to fig. 2b, in fig. 2b, each english word (a small rectangular box) represents a virtual resource, and in the large rectangular box, there is a direct numerical value transfer relationship between the virtual resources represented by the small rectangular box, for example, in fig. 2b, a1 and a2 are target virtual resources generated by numerical value transfer of a, A3 and a4 are target virtual resources generated by numerical value transfer of a1, and in fig. 2b, all english words with a numerical suffix beginning at a are derived from the virtual resources a. The numerical value transfer process can be seen visually from the figure.
In this embodiment, the transaction order number of the virtual resource may be associated from the blockchain by the ID in the numerical value bearing information of the virtual resource, or the attribution information of the digital currencies a and a1 in fig. 2b may be associated. For each digital currency, it can directly check whether its attribution change track has money laundering or false transaction signs.
From FIG. 2B, it can be seen that there are multiple numerical value shift chains, such as A-A1-A3, A-A1-A4-B, A-A2-B, (A4+ A2+ C) — B, and so on. In the numerical value transfer relation chain of A-A1-A3, direct numerical value transfer relation occurs between A and A1, and indirect numerical value transfer relation occurs between A and A3.
In one embodiment, the value transfer relationship of the virtual resource may also be determined according to the value source representation information of the virtual resource. Optionally, the virtual resource transferring method further includes:
acquiring numerical value bearing information of a virtual resource to be analyzed;
determining virtual resources to be analyzed with direct value transfer relation among the virtual resources to be analyzed based on the value source representation information in the value bearing information;
and determining the numerical value transfer relationship among all the virtual resources to be analyzed based on the direct numerical value transfer relationship of the virtual resources to be analyzed.
In this embodiment, the original virtual resource corresponding to the virtual resource to be analyzed may be determined based on the numerical value source representation information in the numerical value bearing information, where the original virtual resource is a numerical value source object of the virtual resource to be analyzed, and a numerical value transfer relationship between the original virtual resource and the corresponding virtual resource to be analyzed is a direct numerical value transfer relationship. For the description of the direct numerical value transfer relationship, reference may be made to the relevant description in the above example, which is not described herein again.
Optionally, the step of "determining the numerical value transfer relationship between all the virtual resources to be analyzed based on the direct numerical value transfer relationship of the virtual resources to be analyzed" may include:
generating virtual resource groups based on the virtual resources to be analyzed with the direct numerical value transfer relationship, wherein the virtual resources to be analyzed in each group of virtual resource groups are the virtual resources to be analyzed with the direct numerical value transfer relationship;
acquiring a target virtual resource group from the virtual resource groups, and forming a target virtual resource set by the target virtual resource group, wherein each group of target virtual resource group in the target virtual resource set at least has the same virtual resource to be analyzed as one group of target virtual resource group;
and acquiring the numerical value transfer direction between the virtual resources to be analyzed in the target virtual resource set based on the numerical value transfer direction between the virtual resources to be analyzed in each target virtual resource set.
The specific step of determining the numerical value transfer relationship among all the virtual resources to be analyzed may be to determine the relevant description in the example of the numerical value transfer relationship of the virtual resources according to the numerical value transfer representation information of the virtual resources.
For example, for the virtual resource B to be analyzed in fig. 2a, based on the ID information of the original virtual resource described in the value source representation information, it is determined that the original virtual resource is the virtual resource a2 to be analyzed, the virtual resource B and the virtual resource a2 have a direct value transfer relationship, and are a set of virtual resource groups (a2, B), and the value transfer direction is from a2 to B, and for the virtual resource a2 to be analyzed, based on the ID information of the original virtual resource described in the value source representation information, it is determined that the original virtual resource is the virtual resource a to be analyzed, the virtual resource a2 and the virtual resource a have a direct value transfer relationship, and are a set of virtual resource groups (a, a2), and the value transfer direction is from a to a 2. The two sets of virtual resource groups have the same virtual resource A2, so that a target virtual resource set can be formed, and the value transfer relationship between the virtual resources to be analyzed in the target virtual resource set is from the virtual resource A-A2-B to be analyzed.
In FIG. 2B, the numerical shift relationship chain A-A1-A4-B, where A is the numerical source of A1, determines that a direct numerical shift relationship between A and A1 occurs; a is not the numerical source of A4, and an indirect numerical transfer relationship between A and A4 is determined. Optionally, in this embodiment, after the step "determining the numerical value transfer relationship among all the virtual resources to be analyzed based on the direct numerical value transfer relationship of the virtual resources to be analyzed" further includes:
acquiring attribution information of the virtual resources to be analyzed;
determining attribution information characteristics of the virtual resources to be analyzed with the numerical value transfer relationship based on the numerical value transfer relationship among the virtual resources to be analyzed and the attribution information of each virtual resource to be analyzed;
and determining whether the numerical value transfer process between the virtual resources to be analyzed with the numerical value transfer relationship is a preset abnormal numerical value transfer process or not based on the attribution information characteristics.
Optionally, in this embodiment, the home information includes, but is not limited to, a home account. Based on the description in the foregoing example, each target virtual resource set corresponds to a more complex numerical value transfer relationship, and the attribution information feature in this embodiment is an attribution information feature corresponding to the numerical value transfer relationship of the target virtual resource set.
Optionally, the step "determining the attribution information characteristics of the virtual resources to be analyzed having the numerical transfer relationship based on the numerical transfer relationship between the virtual resources to be analyzed and the attribution information of each virtual resource to be analyzed" may include:
and determining the attribution account characteristics of the virtual resources to be analyzed in the target virtual resource set based on the value transfer relation of the virtual resources to be analyzed in the target virtual resource set and the attribution account of each virtual resource to be analyzed in the target virtual resource set.
The home account characteristics include, but are not limited to, the number of each home account, and a home account change trajectory.
Optionally, the step "determining the home account characteristics of the virtual resources to be analyzed in the target virtual resource set based on the value transfer relationship of the virtual resources to be analyzed in the target virtual resource set and the home account of each virtual resource to be analyzed in the target virtual resource set" may include determining the home account characteristics of the virtual resources to be analyzed in the target virtual resource set
And determining the change track of the home account of the virtual resources to be analyzed in the target virtual resource set based on the numerical value transfer relationship among the virtual resources to be analyzed in the target virtual resource set and the home account of each virtual resource to be analyzed.
In this embodiment, the change trajectory of the home account of the virtual resource to be analyzed in the target virtual resource set is a trajectory formed by the distribution of the home account of the virtual resource to be analyzed in the target resource set in the value transfer direction of the virtual resource to be analyzed.
In this embodiment, there may be multiple change tracks of the home account in the target virtual resource set.
For example, taking fig. 2B as an example, if the home account of the virtual resource a to be analyzed is Z1, the home account of the virtual resource a1 to be analyzed is Z2, the home account of the virtual resource a4 to be analyzed is Z3, and the home account of the virtual resource B to be analyzed is Z1, then one home account change trajectory of the target virtual resource set corresponding to fig. 2B is Z1-Z2-Z3-Z1.
Correspondingly, the step of determining whether the value transfer process between the virtual resources to be analyzed having the value transfer relationship is a preset abnormal value transfer process based on the attribution information characteristics includes:
and determining whether the value transfer process between the virtual resources to be analyzed corresponding to the target virtual resource set is a preset abnormal value transfer process or not based on the change track of the home account.
Optionally, the step "determining, based on the change trajectory of the home account, whether the value transfer process between the virtual resources to be analyzed corresponding to the target virtual resource set is a preset abnormal value transfer process" may include:
judging whether the change track of the attribution account meets a preset abnormal numerical value transfer judgment condition or not;
if the judgment result is yes, determining the value transfer process of the target virtual resource set to which the change track of the home account belongs, namely an abnormal value transfer process;
if the judgment result is negative, determining the value transfer process of the target virtual resource set to which the change track of the home account belongs, wherein the value transfer process is a normal value transfer process.
The preset abnormal numerical value transfer judgment condition includes but is not limited to: and the occurrence frequency of the same attribution account in the attribution account change track is not lower than a preset frequency threshold value, and/or the phenomenon of attribution account circulation occurs in the attribution account change track.
For the scheme of determining the preset abnormal value transfer process by using the preset number threshold, the number of occurrences of the same home account in the change trajectory of the home account may be the number of occurrences of the same home account in all the change trajectories of the home account of the single target virtual resource set.
For example, taking the target virtual resource set corresponding to fig. 2B as an example, assuming that the preset time threshold is 3, the home account of the virtual resource a to be analyzed is Z1, the home account of the virtual resource a1 to be analyzed is Z2, the home account of the virtual resource a2 to be analyzed is Z4, the home account of the virtual resource a4 to be analyzed is Z3, the home account of the virtual resource A3 to be analyzed is Z1, the home account of the virtual resource B to be analyzed is Z1, the home account of the virtual resource C to be analyzed is a6, and in the target virtual resource set, if the home account Z1 appears 3 times, it is determined that the value transfer process corresponding to the target virtual resource set is the preset abnormal value transfer process.
Of course, it should be understood that the preset number threshold 3 is only an example, and there is no limitation on the actual value of the preset number threshold.
In the above example, the home account rotation phenomenon may be a phenomenon that one home account change trajectory in the target virtual resource set has the same home account, and the same home account does not belong to an adjacent home account in the home account change trajectory. For example, also taking the target virtual resource set corresponding to fig. 2B as an example, assuming that the home account of the virtual resource a to be analyzed is Z1, the home account of the virtual resource a1 to be analyzed is Z2, the home account of the virtual resource a4 to be analyzed is Z3, and the home account of the virtual resource B to be analyzed is Z1, then one home account change trajectory of the target virtual resource set corresponding to fig. 2B is Z1-Z2-Z3-Z1, two Z1 occur in the home account change trajectory, and two Z1 are not adjacent home accounts, then it is determined that the home account change trajectory is an abnormal home account change trajectory, and the value transfer process of the target virtual resource set shown in fig. 2B is a preset abnormal value transfer process.
By adopting the scheme of the embodiment, when the virtual resource transfer request aiming at the original virtual resource is received, the numerical value bearing information of the original virtual resource can be obtained; when the numerical value bearing information contains numerical value transfer representing information, determining that the numerical value transfer is abnormal at this time, and terminating the numerical value transfer process, and when the numerical value bearing information does not contain the numerical value transfer representing information, transferring the numerical value of the original virtual resource to the corresponding target virtual resource based on the virtual resource transfer operation of the user; acquiring first description information of the target virtual resource based on the numerical value bearing information of the target virtual resource; and generating numerical value transfer representation information of the original virtual resource based on the first description information, and adding the numerical value transfer representation information to numerical value bearing information of the original virtual resource. In this embodiment, for the virtual resource after the value transfer, the value transfer representing information is added to the value bearing information, which is beneficial to quickly and accurately judging whether the value of the virtual resource is transferred before the value transfer of the virtual resource, so as to ensure the transaction safety of the virtual resource.
In order to better implement the above method, correspondingly, the embodiment of the present invention further provides a virtual resource transferring apparatus, which may be integrated in a computer device such as a server or a terminal, where the virtual resource transferring apparatus may be a computer program (including program code) running in the computer device, for example, the virtual resource transferring apparatus is an application software; the apparatus may be used to perform the corresponding steps in the methods provided by the embodiments of the present application. Referring to fig. 3, the virtual resource transfer apparatus includes:
a bearer information obtaining unit 301, configured to obtain numerical bearer information of an original virtual resource when a virtual resource transfer request of the original virtual resource is received;
a value transferring unit 302, configured to transfer a value of the original virtual resource to a corresponding target virtual resource if the value carrying information does not include value transferring representing information corresponding to the original virtual resource; wherein, the target virtual resource is a value transfer object of the original virtual resource;
a description information obtaining unit 303, configured to obtain first description information of the target virtual resource based on the numerical value bearing information of the target virtual resource obtained by numerical value transfer;
a generating unit 304, configured to obtain, based on the first description information of the target virtual resource, value transfer indicating information of the original virtual resource, and add the value transfer indicating information to the value carrying information of the original virtual resource, where the value transfer indicating information includes the first description information of the target virtual resource.
Optionally, the apparatus of this embodiment further includes: the security guarantee unit is used for obtaining the numerical value transfer representing information of the original virtual resource based on the first description information of the target virtual resource by the generating unit, adding the numerical value transfer representing information into the numerical value bearing information of the original virtual resource, and then signing the numerical value transfer representing information and the preset information of the original virtual resource in the numerical value bearing information of the original virtual resource by using a private key of a numerical value transfer authenticator of the original virtual resource to obtain target signature information; and replacing the original signature information in the numerical value bearing information of the original virtual resource with the target signature information.
Optionally, the description information obtaining unit 302 includes:
a first description information obtaining subunit, configured to, when the number of the target virtual resource is not less than 2, obtain identification information and a numerical value of the target virtual resource from numerical value bearing information of the target virtual resource, and obtain first description information of the target virtual resource based on the identification information and the numerical value;
a second description information obtaining subunit, configured to, when the number of the target virtual resource is 1, obtain identification information of the target virtual resource from numerical value bearing information of the target virtual resource, represent a numerical value of the target virtual resource by a numerical value of the original virtual resource, and obtain first description information of the target virtual resource based on the identification information and the numerical value.
Optionally, the apparatus of this embodiment further includes a first abnormal transfer determining unit, configured to obtain numerical value bearing information of the virtual resource to be analyzed; if the numerical value bearing information of the virtual resource to be analyzed comprises numerical value transfer representing information corresponding to the virtual resource to be analyzed, acquiring identification information of a target virtual resource corresponding to the virtual resource to be analyzed from the numerical value transfer representing information corresponding to the virtual resource to be analyzed; acquiring numerical value bearing information of a target virtual resource corresponding to the virtual resource to be analyzed from a block chain based on the identification information of the target virtual resource corresponding to the virtual resource to be analyzed; and determining whether the numerical value transfer between the virtual resource to be analyzed and the corresponding target virtual resource is normal or not based on the numerical value bearing information of the virtual resource to be analyzed and the corresponding target virtual resource.
Optionally, the apparatus of this embodiment further includes: the bearing information modifying unit is used for acquiring numerical bearing information of the corresponding target virtual resource obtained by numerical transfer after the numerical transfer unit transfers the numerical value of the original virtual resource to the corresponding target virtual resource; acquiring second description information of the original virtual resource from the numerical value bearing information of the original virtual resource; generating numerical value source representation information of the corresponding target virtual resource based on the second description information of the original virtual resource; and adding the numerical value source representation information into the numerical value bearing information of the corresponding target virtual resource.
In an example of this embodiment, the virtual resource transferring apparatus further includes a transfer relationship obtaining unit, configured to obtain numerical value bearing information of the virtual resource to be analyzed; determining the virtual resources to be analyzed with direct numerical value transfer relation in the virtual resources to be analyzed based on first description information of target virtual resources in the numerical value bearing information of the virtual resources to be analyzed; and determining the numerical value transfer relationship among all the virtual resources to be analyzed based on the direct numerical value transfer relationship of the virtual resources to be analyzed.
Optionally, in an example of this embodiment, the virtual resource transferring apparatus further includes a second abnormal transfer determining unit, configured to obtain attribution information of the virtual resource to be analyzed after the transfer relationship obtaining unit determines, based on a direct numerical transfer relationship of the virtual resource to be analyzed, a numerical transfer relationship between all virtual resources to be analyzed; determining attribution information characteristics of the virtual resources to be analyzed with the numerical value transfer relationship based on the numerical value transfer relationship among the virtual resources to be analyzed and the attribution information of each virtual resource to be analyzed; and determining whether the numerical value transfer process between the virtual resources to be analyzed with the numerical value transfer relationship is a preset abnormal numerical value transfer process or not based on the attribution information characteristics.
Optionally, in an example, the attribution information includes an attribution account, and the second abnormal transfer determining unit includes: a trajectory determination subunit and an abnormal transition determination subunit.
The track determining subunit is used for determining the change track of the home account of the virtual resources to be analyzed, which has a numerical value transfer relationship, based on the numerical value transfer relationship among the virtual resources to be analyzed and the home account of each virtual resource to be analyzed;
and the abnormal transfer determining subunit is used for determining whether the value transfer process between the virtual resources to be analyzed with the value transfer relationship is a preset abnormal value transfer process or not based on the change track of the home account.
Optionally, in this embodiment, the generating unit 304 includes:
the first acquisition subunit is used for acquiring the total amount of the target virtual resources;
the second acquisition subunit is used for acquiring the transaction information of the original virtual resource and the target virtual resource;
and the generating subunit is used for taking the total amount, the transaction information and the first description information of the target virtual resource as numerical value transfer representing information of the original virtual resource.
With the virtual resource transfer device of this embodiment, when a virtual resource transfer request for an original virtual resource is received, numerical value bearing information of the original virtual resource is acquired; when the numerical value bearing information does not contain numerical value transfer representation information, transferring the numerical value of the original virtual resource to the corresponding target virtual resource based on the virtual resource transfer operation of the user; acquiring first description information of the target virtual resource based on the numerical value bearing information of the target virtual resource; and generating numerical value transfer representation information of the original virtual resource based on the first description information, and adding the numerical value transfer representation information to numerical value bearing information of the original virtual resource. In this embodiment, for the virtual resource after the value transfer, the value transfer representing information is added to the value bearing information, which is beneficial to quickly and accurately judging whether the value of the virtual resource is transferred before the value transfer of the virtual resource, so as to ensure the transaction safety of the virtual resource.
In addition, an embodiment of the present invention further provides a computer device, where the computer device may be a terminal or a server, as shown in fig. 4, which shows a schematic structural diagram of the computer device according to the embodiment of the present invention, and specifically:
the computer device may include components such as a processor 401 of one or more processing cores, memory 402 of one or more computer-readable storage media, and a power supply 403. Those skilled in the art will appreciate that the computer device configuration illustrated in FIG. 4 does not constitute a limitation of computer devices, and may include more or fewer components than those illustrated, or some components may be combined, or a different arrangement of components.
Wherein:
the processor 401 is a control center of the computer device, connects various parts of the entire computer device using various interfaces and lines, and performs various functions of the computer device and processes data by operating or executing software programs and/or units stored in the memory 402 and calling data stored in the memory 402, thereby monitoring the computer device as a whole. Optionally, in one embodiment, processor 401 may include one or more processing cores; preferably, the processor 401 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 401.
The memory 402 may be used to store software programs and units, and the processor 401 executes various functional applications and data processing by operating the software programs and units stored in the memory 402. The memory 402 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data created according to use of the computer device, and the like. Further, the memory 402 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, the memory 402 may also include a memory controller to provide the processor 401 access to the memory 402.
The computer device further comprises a power supply 403 for supplying power to the various components, and preferably, the power supply 403 is logically connected to the processor 401 via a power management system, so that functions of managing charging, discharging, and power consumption are implemented via the power management system. The power supply 403 may also include any component of one or more dc or ac power sources, recharging systems, power failure detection circuitry, power converters or inverters, power status indicators, and the like.
When the computer device is a terminal, the computer device may further include an input unit 404, and the input unit 404 may be used to receive input numeric or character information and generate a keyboard, mouse, joystick, optical or trackball signal input in relation to user setting and function control. Of course, it is understood that the present embodiment does not exclude the solution that the server includes the input unit, and the server of the present embodiment may also include the input unit 404.
Although not shown, the computer device, such as the terminal, of the present embodiment may further include a display unit and the like, which are not described herein again. Similarly, the present embodiment does not exclude the scheme that the server includes the display unit, and the server in the present embodiment may also include the display unit.
Specifically, in this embodiment, the processor 401 in the computer device loads the executable file corresponding to the process of one or more application programs into the memory 402 according to the following instructions, and the processor 401 runs the application program stored in the memory 402, so as to implement any method provided in this embodiment of the application, for example, the following method may be implemented:
when a virtual resource transfer request of an original virtual resource is received, acquiring numerical value bearing information of the original virtual resource;
if the numerical value bearing information does not contain numerical value transfer representing information corresponding to the original virtual resource, transferring the numerical value of the original virtual resource to a corresponding target virtual resource; wherein, the target virtual resource is a value transfer object of the original virtual resource;
acquiring first description information of the target virtual resource based on numerical value bearing information of the target virtual resource obtained by numerical value transfer;
obtaining numerical value transfer representing information of the original virtual resource based on the first description information of the target virtual resource, and adding the numerical value transfer representing information into numerical value bearing information of the original virtual resource, wherein the numerical value transfer representing information comprises the first description information of the target virtual resource.
The above operations can be implemented in the foregoing embodiments, and are not described in detail herein.
The virtual resource transfer method related to the embodiment of the invention can be applied to a distributed system formed by connecting a client and a plurality of nodes (computer equipment in any form in an access network, such as a server and a terminal) in a network communication form. The virtual resource transfer method can be executed by any form of computer equipment accessing the distributed system.
Taking a distributed system as an example of the blockchain system 100, referring To fig. 5, fig. 5 is an optional structural schematic diagram of the distributed system 100 provided in the embodiment of the present invention, and is formed by a plurality of nodes 200 (any type of computing devices in an access network, such as servers and user terminals) and a client 300, a Peer-To-Peer (P2P, Peer To Peer) network is formed between the nodes, and the P2P Protocol is an application layer Protocol operating on a Transmission Control Protocol (TCP). In a distributed system, any machine, such as a server or a terminal, can join to become a node, and the node comprises a hardware layer, a middle layer, an operating system layer and an application layer. In this embodiment, the numerical bearer information, the attribution information, the information related to the transaction of the virtual resource, and the numerical transfer relationship graph (refer to fig. 2b) of the virtual resource may all be stored in the shared ledger of the local chain system through the nodes of the distributed system, and the computer device (for example, a terminal or a server) may obtain the numerical bearer information, the attribution information, the transaction information, and the like of the virtual resource based on the shared ledger, and execute the virtual resource transfer method provided in this embodiment of the present application.
Referring to the functions of each node in the blockchain system shown in fig. 5, the functions involved include:
1) routing, a basic function that a node has, is used to support communication between nodes.
Besides the routing function, the node may also have the following functions:
2) the application is used for being deployed in a block chain, realizing specific services according to actual service requirements, recording data related to the realization functions to form recording data, carrying a digital signature in the recording data to represent a source of task data, and sending the recording data to other nodes in the block chain system, so that the other nodes add the recording data to a temporary block when the source and integrity of the recording data are verified successfully.
For example, the services implemented by the application include:
2.1) wallet, for providing the function of transaction of electronic money, including initiating transaction (i.e. sending the transaction record of current transaction to other nodes in the blockchain system, after the other nodes are successfully verified, storing the record data of transaction in the temporary blocks of the blockchain as the response of confirming the transaction is valid; of course, the wallet also supports the querying of the remaining electronic money in the electronic money address;
and 2.2) sharing the account book, wherein the shared account book is used for providing functions of operations such as storage, query and modification of account data, record data of the operations on the account data are sent to other nodes in the block chain system, and after the other nodes verify the validity, the record data are stored in a temporary block as a response for acknowledging that the account data are valid, and confirmation can be sent to the node initiating the operations.
2.3) Intelligent contracts, computerized agreements, which can enforce the terms of a contract, implemented by codes deployed on a shared ledger for execution when certain conditions are met, for completing automated transactions according to actual business requirement codes, such as querying the logistics status of goods purchased by a buyer, transferring the buyer's electronic money to the merchant's address after the buyer signs for the goods; of course, smart contracts are not limited to executing contracts for trading, but may also execute contracts that process received information.
3) And the Block chain comprises a series of blocks (blocks) which are mutually connected according to the generated chronological order, new blocks cannot be removed once being added into the Block chain, and recorded data submitted by nodes in the Block chain system are recorded in the blocks.
4) The virtual resource transfer method provided by the embodiment of the application is executed.
Referring to fig. 6, fig. 6 is an optional schematic diagram of a Block Structure (Block Structure) provided in the embodiment of the present invention, where each Block includes a hash value of a transaction record (hash value of the Block) stored in the Block and a hash value of a previous Block, each Block further includes stored data, the stored data may be numerical value bearing information, attribution information, transaction information, and the like of a virtual resource in the embodiment of the present invention, and the blocks are connected by the hash value to form a Block chain. The block may include information such as a time stamp at the time of block generation. A block chain (Blockchain), which is essentially a decentralized database, is a string of data blocks associated by using cryptography, and each data block contains related information for verifying the validity (anti-counterfeiting) of the information and generating a next block.
It will be understood by those skilled in the art that all or part of the steps of the methods of the above embodiments may be performed by instructions or by associated hardware controlled by the instructions, which may be stored in a computer readable storage medium and loaded and executed by a processor.
To this end, an embodiment of the present invention further provides a storage medium, where a plurality of instructions are stored, where the instructions can be loaded by a processor to execute the steps in any one of the virtual resource transfer methods provided in the embodiments of the present invention.
The above operations can be implemented in the foregoing embodiments, and are not described in detail herein.
Wherein the storage medium may include: read Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disks, and the like.
Since the instructions stored in the storage medium may execute the steps in any virtual resource transfer method provided in the embodiments of the present invention, beneficial effects that can be achieved by any virtual resource transfer method provided in the embodiments of the present invention may be achieved, which are detailed in the foregoing embodiments and will not be described herein again.
The foregoing detailed description is directed to a virtual resource transfer method, apparatus, computer device, and storage medium provided in the embodiments of the present invention, and specific examples are applied in this text to explain the principles and implementations of the present invention, and the descriptions of the foregoing embodiments are only used to help understand the method and its core ideas of the present invention; meanwhile, for those skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.
Claims (10)
1. A virtual resource transfer method, comprising:
when a virtual resource transfer request of an original virtual resource is received, acquiring numerical value bearing information of the original virtual resource;
if the numerical value bearing information does not contain numerical value transfer representing information corresponding to the original virtual resource, transferring the numerical value of the original virtual resource to a corresponding target virtual resource; wherein, the target virtual resource is a value transfer object of the original virtual resource;
acquiring first description information of the target virtual resource based on numerical value bearing information of the target virtual resource obtained by numerical value transfer;
obtaining numerical value transfer representing information of the original virtual resource based on the first description information of the target virtual resource, and adding the numerical value transfer representing information into numerical value bearing information of the original virtual resource, wherein the numerical value transfer representing information comprises the first description information of the target virtual resource.
2. The method according to claim 1, wherein after obtaining the value transfer representing information of the original virtual resource based on the first description information of the target virtual resource and adding the value transfer representing information to the value carrying information of the original virtual resource, the method further comprises:
signing the value transfer representing information and preset information of the original virtual resource in the value bearing information of the original virtual resource by using a private key of a value transfer authenticator of the original virtual resource to obtain target signature information;
and replacing the original signature information in the numerical value bearing information of the original virtual resource with the target signature information.
3. The virtual resource transfer method according to claim 1, wherein obtaining the first description information of the target virtual resource based on the numerical value bearing information of the target virtual resource obtained by numerical value transfer includes:
when the number of the target virtual resources is not less than 2, acquiring identification information and a numerical value of the target virtual resources from numerical value bearing information of the target virtual resources, and acquiring first description information of the target virtual resources based on the identification information and the numerical value;
when the number of the target virtual resources is 1, acquiring identification information of the target virtual resources from numerical value bearing information of the target virtual resources, representing the numerical value of the target virtual resources by the numerical value of the original virtual resources, and acquiring first description information of the target virtual resources based on the identification information and the numerical value.
4. The virtual resource transfer method of claim 3, further comprising:
acquiring numerical value bearing information of a virtual resource to be analyzed;
if the numerical value bearing information of the virtual resource to be analyzed comprises numerical value transfer representing information corresponding to the virtual resource to be analyzed, acquiring identification information of a target virtual resource corresponding to the virtual resource to be analyzed from the numerical value transfer representing information corresponding to the virtual resource to be analyzed;
acquiring numerical value bearing information of a target virtual resource corresponding to the virtual resource to be analyzed from a block chain based on the identification information of the target virtual resource corresponding to the virtual resource to be analyzed;
and determining whether the numerical value transfer between the virtual resource to be analyzed and the corresponding target virtual resource is normal or not based on the numerical value bearing information of the virtual resource to be analyzed and the corresponding target virtual resource.
5. The method according to claim 1, wherein after transferring the value of the original virtual resource to the corresponding target virtual resource, the method further comprises:
acquiring numerical value bearing information of the corresponding target virtual resource obtained by numerical value transfer;
acquiring second description information of the original virtual resource from the numerical value bearing information of the original virtual resource;
generating numerical value source representation information of the corresponding target virtual resource based on the second description information of the original virtual resource;
and adding the numerical value source representation information into the numerical value bearing information of the corresponding target virtual resource.
6. The virtual resource transfer method of claim 1, further comprising:
acquiring numerical value bearing information of a virtual resource to be analyzed;
determining the virtual resources to be analyzed with direct numerical value transfer relation in the virtual resources to be analyzed based on first description information of target virtual resources in the numerical value bearing information of the virtual resources to be analyzed;
and determining the numerical value transfer relationship among all the virtual resources to be analyzed based on the direct numerical value transfer relationship of the virtual resources to be analyzed.
7. The virtual resource transfer method according to claim 6, wherein after determining the numerical value transfer relationship among all the virtual resources to be analyzed based on the direct numerical value transfer relationship of the virtual resources to be analyzed, the method further comprises:
acquiring attribution information of the virtual resources to be analyzed;
determining attribution information characteristics of the virtual resources to be analyzed with the numerical value transfer relationship based on the numerical value transfer relationship among the virtual resources to be analyzed and the attribution information of each virtual resource to be analyzed;
and determining whether the numerical value transfer process between the virtual resources to be analyzed with the numerical value transfer relationship is a preset abnormal numerical value transfer process or not based on the attribution information characteristics.
8. A virtual resource transfer apparatus, comprising:
the system comprises a bearing information acquisition unit, a resource allocation unit and a resource allocation unit, wherein the bearing information acquisition unit is used for acquiring numerical bearing information of an original virtual resource when receiving a virtual resource transfer request of the original virtual resource;
a value transferring unit, configured to transfer a value of the original virtual resource to a corresponding target virtual resource if the value carrying information does not include value transferring representing information corresponding to the original virtual resource; wherein, the target virtual resource is a value transfer object of the original virtual resource;
the description information acquisition unit is used for acquiring first description information of the target virtual resource based on the numerical value bearing information of the target virtual resource obtained by numerical value transfer;
a generating unit, configured to obtain, based on the first description information of the target virtual resource, value transfer indicating information of the original virtual resource, and add the value transfer indicating information to value carrying information of the original virtual resource, where the value transfer indicating information includes the first description information of the target virtual resource.
9. A storage medium having a computer program stored thereon, wherein the computer program when executed by a processor implements the steps of the method according to any of claims 1-7.
10. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the steps of the method according to any of claims 1-7 are implemented when the program is executed by the processor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911374584.8A CN111144859B (en) | 2019-12-27 | 2019-12-27 | Virtual resource transfer method and device, computer equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911374584.8A CN111144859B (en) | 2019-12-27 | 2019-12-27 | Virtual resource transfer method and device, computer equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111144859A true CN111144859A (en) | 2020-05-12 |
CN111144859B CN111144859B (en) | 2024-08-06 |
Family
ID=70520769
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911374584.8A Active CN111144859B (en) | 2019-12-27 | 2019-12-27 | Virtual resource transfer method and device, computer equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111144859B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111988408A (en) * | 2020-08-20 | 2020-11-24 | 长沙理工大学 | Block chain numerical information transmission device, method, equipment and computer medium |
CN112232791A (en) * | 2020-09-24 | 2021-01-15 | 中国银联股份有限公司 | Virtual resource source determination method, device, equipment and medium |
CN113298652A (en) * | 2021-05-27 | 2021-08-24 | 李政德 | Virtual resource data processing method and device based on block chain |
WO2022166549A1 (en) * | 2021-02-04 | 2022-08-11 | International Business Machines Corporation | Cluster resource signature verification |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104376491A (en) * | 2014-10-29 | 2015-02-25 | 中国建设银行股份有限公司 | Virtual resource monitoring method, device and system |
CN105592029A (en) * | 2014-11-17 | 2016-05-18 | 深圳市腾讯计算机系统有限公司 | Method and server for synchronizing virtual resource transfer operation state |
CN107341650A (en) * | 2016-01-19 | 2017-11-10 | 广州爱九游信息技术有限公司 | The transfer method and device of virtual resource |
CN107767267A (en) * | 2017-10-20 | 2018-03-06 | 上海策赢网络科技有限公司 | The transfer method and device of a kind of virtual resource |
CN108470298A (en) * | 2017-02-23 | 2018-08-31 | 腾讯科技(深圳)有限公司 | The methods, devices and systems of resource numerical value transfer |
CN109011583A (en) * | 2018-05-28 | 2018-12-18 | 腾讯科技(深圳)有限公司 | virtual resource transfer method and device, storage medium and electronic device |
CN109472656A (en) * | 2017-09-08 | 2019-03-15 | 腾讯科技(深圳)有限公司 | A kind of methods of exhibiting of virtual objects, device and storage medium |
CN110555692A (en) * | 2018-06-01 | 2019-12-10 | 腾讯科技(深圳)有限公司 | virtual resource transfer method, device and storage medium |
-
2019
- 2019-12-27 CN CN201911374584.8A patent/CN111144859B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104376491A (en) * | 2014-10-29 | 2015-02-25 | 中国建设银行股份有限公司 | Virtual resource monitoring method, device and system |
CN105592029A (en) * | 2014-11-17 | 2016-05-18 | 深圳市腾讯计算机系统有限公司 | Method and server for synchronizing virtual resource transfer operation state |
CN107341650A (en) * | 2016-01-19 | 2017-11-10 | 广州爱九游信息技术有限公司 | The transfer method and device of virtual resource |
CN108470298A (en) * | 2017-02-23 | 2018-08-31 | 腾讯科技(深圳)有限公司 | The methods, devices and systems of resource numerical value transfer |
CN109472656A (en) * | 2017-09-08 | 2019-03-15 | 腾讯科技(深圳)有限公司 | A kind of methods of exhibiting of virtual objects, device and storage medium |
CN107767267A (en) * | 2017-10-20 | 2018-03-06 | 上海策赢网络科技有限公司 | The transfer method and device of a kind of virtual resource |
CN109011583A (en) * | 2018-05-28 | 2018-12-18 | 腾讯科技(深圳)有限公司 | virtual resource transfer method and device, storage medium and electronic device |
CN110555692A (en) * | 2018-06-01 | 2019-12-10 | 腾讯科技(深圳)有限公司 | virtual resource transfer method, device and storage medium |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111988408A (en) * | 2020-08-20 | 2020-11-24 | 长沙理工大学 | Block chain numerical information transmission device, method, equipment and computer medium |
CN112232791A (en) * | 2020-09-24 | 2021-01-15 | 中国银联股份有限公司 | Virtual resource source determination method, device, equipment and medium |
WO2022166549A1 (en) * | 2021-02-04 | 2022-08-11 | International Business Machines Corporation | Cluster resource signature verification |
US11914755B2 (en) | 2021-02-04 | 2024-02-27 | International Business Machines Corporation | Cluster resource signature verification |
CN113298652A (en) * | 2021-05-27 | 2021-08-24 | 李政德 | Virtual resource data processing method and device based on block chain |
Also Published As
Publication number | Publication date |
---|---|
CN111144859B (en) | 2024-08-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109075964B (en) | Block chaining supporting multiple one-way functions for block verification | |
US11669811B2 (en) | Blockchain-based digital token utilization | |
EP3877936B1 (en) | Digital fiat currency | |
CN108885761B (en) | Method for secure point-to-point communication on a blockchain | |
KR101950912B1 (en) | Verification system and method for transaction based block chain | |
JP6689946B2 (en) | Method of managing resources in any one of a plurality of nodes communicating with each other via a network, and computer apparatus operating as any one of a plurality of nodes communicating with each other via a network | |
CN111144859B (en) | Virtual resource transfer method and device, computer equipment and storage medium | |
JP7128111B2 (en) | Systems and methods for controlling asset-related activities via blockchain | |
US11461310B2 (en) | Distributed ledger technology | |
WO2020155789A1 (en) | Blockchain-based certificate storage method and apparatus | |
EP3594884A1 (en) | Electronic bill management method, device, and storage medium | |
Feng et al. | Towards random-honest miners selection and multi-blocks creation: Proof-of-negotiation consensus mechanism in blockchain networks | |
US20210049594A1 (en) | Blockchain-based remittance method and apparatus | |
EP3669493B1 (en) | Computer-implemented systems and methods relating to a binary blockchain comprising a pair of coupled blockchains | |
US20190164150A1 (en) | Using Blockchain Ledger for Selectively Allocating Transactions to User Accounts | |
CN110333948A (en) | Virtual resource allocation method and apparatus based on block chain | |
CN111507839A (en) | Data processing method and device based on block chain, storage medium and equipment | |
CN112001713B (en) | Block chain system and request processing method and device | |
US20220172198A1 (en) | Real-time blockchain settlement network | |
US20220067717A1 (en) | Blockchain system that includes bank nodes each having separate ledgers for identity, digital currency and other functions, and operation method thereof | |
CN111340628A (en) | Asset information management method and device based on block chain | |
CN110188572A (en) | A kind of verification method and device for consuming voucher applied to block chain | |
CN111597264A (en) | Block chain accounting method and device | |
Palihapitiya | Blockchain Revolution in Banking Industry | |
Cai et al. | Introduction to blockchain basics |
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 | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20230609 Address after: 8 / F, Tencent building, Keji Zhongyi Road, high tech park, Nanshan District, Shenzhen City, Guangdong Province Applicant after: Tenpay Payment Technology Co.,Ltd. Address before: 518057 Tencent Building, No. 1 High-tech Zone, Nanshan District, Shenzhen City, Guangdong Province, 35 floors Applicant before: TENCENT TECHNOLOGY (SHENZHEN) Co.,Ltd. |
|
TA01 | Transfer of patent application right | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TG01 | Patent term adjustment |