CN113094414B - Method and device for generating circulation map - Google Patents

Method and device for generating circulation map Download PDF

Info

Publication number
CN113094414B
CN113094414B CN202110473234.8A CN202110473234A CN113094414B CN 113094414 B CN113094414 B CN 113094414B CN 202110473234 A CN202110473234 A CN 202110473234A CN 113094414 B CN113094414 B CN 113094414B
Authority
CN
China
Prior art keywords
circulation
business object
transfer
asset
target
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.)
Active
Application number
CN202110473234.8A
Other languages
Chinese (zh)
Other versions
CN113094414A (en
Inventor
张娟娟
张晨迪
吕宏
张宇航
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Alipay Hangzhou Information Technology Co Ltd
Ant Blockchain Technology Shanghai Co Ltd
Original Assignee
Alipay Hangzhou Information Technology Co Ltd
Ant Blockchain Technology Shanghai Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Alipay Hangzhou Information Technology Co Ltd, Ant Blockchain Technology Shanghai Co Ltd filed Critical Alipay Hangzhou Information Technology Co Ltd
Priority to CN202110473234.8A priority Critical patent/CN113094414B/en
Publication of CN113094414A publication Critical patent/CN113094414A/en
Application granted granted Critical
Publication of CN113094414B publication Critical patent/CN113094414B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/248Presentation of query results
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION 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/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/389Keeping log of transactions for guaranteeing non-repudiation of a transaction
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION 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
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/03Credit; Loans; Processing thereof
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION 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
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Theoretical Computer Science (AREA)
  • Accounting & Taxation (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Finance (AREA)
  • General Business, Economics & Management (AREA)
  • Strategic Management (AREA)
  • Databases & Information Systems (AREA)
  • Development Economics (AREA)
  • General Engineering & Computer Science (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Data Mining & Analysis (AREA)
  • Technology Law (AREA)
  • Computing Systems (AREA)
  • Computational Linguistics (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

One or more embodiments of the present disclosure provide a method and apparatus for generating a circulation map; the method may include: acquiring target circulation transactions on the blockchain related to each circulation stage of the target source asset; the target flow transactions associated with either flow stage include: information of an asset credential corresponding to any forwarding stage and information of a business object related to the any forwarding stage; resolving an outgoing side business object and an incoming side business object related to the outgoing target circulation transaction, wherein the outgoing side business object is used for transferring an asset certificate related to the target circulation transaction, and the incoming side business object is used for receiving the asset certificate related to the target circulation transaction; and acquiring a circulation path pointed to the business object of the transfer-in party by the business object of the transfer-out party, and generating a circulation map of the target source asset according to the acquired circulation path, wherein the circulation path is used for indicating the circulation condition of the target source asset between the business object of the transfer-out party and the business object of the transfer-in party.

Description

Method and device for generating circulation map
Technical Field
The present disclosure relates to the field of data processing technologies, and in particular, to a method and an apparatus for generating a circulation map.
Background
The problems of difficult financing and expensive financing exist for medium and small enterprises all the time. In conventional financing approaches, credit resources are often required to be granted to a core enterprise by a financial institution, such as a bank or the like, and these credit resources can only be transferred through the core enterprise to downstream small and medium-sized enterprises directly associated therewith, and not to other small and medium-sized enterprises not directly associated with the core enterprise. In the related technology, by utilizing the blockchain technology, an electronic asset credential corresponding to the credit resource granted to the core enterprise can be generated, so that the core enterprise can transmit the credit resource granted to a small and medium-sized enterprise at the downstream of the core enterprise through the transmission of the electronic asset credential, and the small and medium-sized enterprise at the downstream can continuously transmit the acquired credit resource to other small and medium-sized enterprises, so that the small and medium-sized enterprises on a supply chain or an industrial chain related to the core enterprise can rely on the credit resource of the core enterprise for financing.
However, after the core enterprise transmits the credit resource to the downstream middle-sized and small enterprises and transmits the credit resource to other middle-sized and small enterprises, the core enterprise and the financial institution do not have a way to know the transmission condition of the credit resource owned by the core enterprise and the basic information of each middle-sized and small enterprise owning the credit resource, so that the credit resource cannot be effectively managed, and the credit risk is improved.
Disclosure of Invention
In view of this, one or more embodiments of the present disclosure provide a data parsing method, apparatus and system.
In order to achieve the above object, one or more embodiments of the present disclosure provide the following technical solutions:
according to a first aspect of one or more embodiments of the present disclosure, a method for generating a circulation map is provided, including:
acquiring target circulation transactions on the blockchain related to each circulation stage of the target source asset; wherein the target flow transaction associated with any one of the flow phases comprises: information of the asset certificate corresponding to any one of the forwarding stages and information of the business object related to the any one of the forwarding stages;
resolving an outbound business object and an inbound business object related to the target circulation transaction, wherein the outbound business object is used for transferring an asset certificate related to the target circulation transaction, and the inbound business object is used for receiving the asset certificate related to the target circulation transaction;
acquiring a circulation path pointed to the business object of the transfer-in party by the business object of the transfer-out party, and generating a circulation map of the target source asset according to the acquired circulation path, wherein the circulation path is used for indicating that the circulation condition of the target source asset between the business object of the transfer-out party and the business object of the transfer-in party is as follows: and the transfer-out business object transfers the asset certificate related to the target transfer transaction to the transfer-in business object.
According to a second aspect of one or more embodiments of the present specification, there is provided a circulation pattern generation apparatus, including:
the acquisition unit is used for acquiring target circulation transactions related to each circulation stage of the target source asset on the blockchain; wherein the target flow transaction associated with any one of the flow phases comprises: information of the asset certificate corresponding to any one of the forwarding stages and information of the business object related to the any one of the forwarding stages;
the analysis unit is used for analyzing an outgoing side business object and an incoming side business object related to the target circulation transaction, wherein the outgoing side business object is used for transferring an asset certificate related to the target circulation transaction, and the incoming side business object is used for receiving the asset certificate related to the target circulation transaction;
the generating unit is used for acquiring a circulation path pointed to the business object of the transfer-in party by the business object of the transfer-out party, and generating a circulation map of the target source asset according to the acquired circulation path, wherein the circulation path is used for indicating that the circulation condition of the target source asset between the business object of the transfer-out party and the business object of the transfer-in party is as follows: and the transfer-out business object transfers the asset certificate related to the target transfer transaction to the transfer-in business object.
According to a third aspect of one or more embodiments of the present description, there is provided an electronic device. The electronic device includes:
a processor;
a memory for storing processor-executable instructions;
wherein the processor implements the method of the first aspect by executing the executable instructions.
According to a fourth aspect of one or more embodiments of the present description, there is provided a computer readable storage medium having stored thereon computer instructions which, when executed by a processor, implement the steps of the method as described in the first aspect.
Drawings
Fig. 1 is a schematic diagram of a network architecture according to an exemplary embodiment of the present disclosure.
Fig. 2 is a flowchart illustrating a method for generating a circulation pattern according to an exemplary embodiment of the present disclosure.
Fig. 3 is another method for generating a circulation pattern according to an exemplary embodiment of the present disclosure.
Fig. 4 is a flow chart according to an exemplary embodiment of the present disclosure.
Fig. 5 is a schematic structural diagram of an electronic device according to an exemplary embodiment of the present disclosure.
Fig. 6 is a block diagram of a circulation pattern generating apparatus according to an exemplary embodiment of the present specification.
Detailed Description
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with one or more embodiments of the present specification. Rather, they are merely examples of apparatus and methods consistent with aspects of one or more embodiments of the present description as detailed in the accompanying claims.
It should be noted that: in other embodiments, the steps of the corresponding method are not necessarily performed in the order shown and described in this specification. In some other embodiments, the method may include more or fewer steps than described in this specification. Furthermore, individual steps described in this specification, in other embodiments, may be described as being split into multiple steps; while various steps described in this specification may be combined into a single step in other embodiments.
The problems of difficult financing and expensive financing exist for medium and small enterprises all the time. In the conventional financing manner, credit resources are often required to be granted to the core enterprises by financial institutions such as banks, etc., so that the credit resources can only be transferred to downstream small and medium enterprises directly related to the core enterprises, but cannot be transferred to other small and medium enterprises not directly related to the core enterprises, so that the other small and medium enterprises not directly related to the core enterprises are difficult to financing by depending on the credit resources of the core enterprises, and the normal operation of a supply chain or an industry chain is not facilitated.
In the related technology, by utilizing the blockchain technology, an electronic asset certificate corresponding to the credit resource granted to the core enterprise can be generated, so that the core enterprise can transmit the credit resource granted to a small and medium-sized enterprise at the downstream of the core enterprise through the transmission of the electronic asset certificate, the small and medium-sized enterprise at the downstream can continuously transmit the acquired credit resource to other small and medium-sized enterprises, so that the small and medium-sized enterprises on a supply chain or an industrial chain related to the core enterprise can rely on the credit resource of the core enterprise to carry out financing, and the normal operation of the supply chain or the industrial chain is facilitated to be promoted, wherein the information related to the electronic asset certificate is stored in the blockchain in the transmission process, and a complete record which is credible and traceable and cannot be tampered is formed.
However, after the core enterprise transmits the credit resource to the downstream middle-sized and small enterprises and transmits the credit resource to other middle-sized and small enterprises, the core enterprise does not have a way to acquire the transmission condition of the credit resource owned by the core enterprise and the basic information of each middle-sized and small enterprise owning the credit resource, so that the credit risk is improved, and meanwhile, a financial institution granting the credit resource to the core enterprise does not have a way to acquire the transmission condition of the credit resource authorized by the core enterprise, so that the financial institution cannot effectively manage the credit resource authorized by the core enterprise.
The specification may generate a transfer graph of a target source asset based on target transfer transactions on a blockchain. The following describes the embodiments in detail.
Fig. 1 is a schematic diagram of a network architecture shown in the present specification. As shown in fig. 1, a client 10 may pull target streaming transactions associated with various stages of streaming of a target source asset from any of the blockchain nodes 11n of the blockchain 11 and process the pulled target streaming transactions by the client 10. Wherein the client 10 may be an electronic device used by one or more business objects participating in various stages of the target source asset's circulation, and the business objects may be divided into: core businesses, suppliers, asset providers, etc., electronic devices may include cell phones, tablet devices, notebook computers, palm top computers (PDAs, personal Digital Assistants), wearable devices (e.g., smart glasses, smart watches, etc.), etc., and one or more embodiments of the present disclosure are not limited in this regard.
The financial institution may grant credit resources of a predetermined amount to the core enterprise in advance, and the core enterprise may determine a target source asset to be paid to the primary provider based on a purchase contract with the primary provider, where the amount of the target source asset is not greater than the predetermined amount corresponding to the credit resources. The core enterprise may issue to the primary provider an original asset credential corresponding to the target source asset that may be used to characterize the core enterprise to pass credit resources corresponding to the amount of the target source asset to the primary provider and the core enterprise may document information related to the transfer process of the original asset credential into the blockchain 11 such that a record of a complete transfer transaction that is trusted, traceable and non-tamperable is formed on the blockchain 11. The core enterprise may be a dominant or relatively large enterprise in the supply chain, where the primary provider is used to represent a provider directly conducting business with the core enterprise, the secondary provider is used to represent a provider directly conducting business with the primary provider, and the tertiary provider is used to represent a provider directly conducting business with the secondary provider, and so on, which will not be described in detail below.
The primary supplier may determine a payable amount to be paid to the secondary supplier based on a purchase contract with the secondary supplier, at which point the primary supplier may directly transfer its own original asset credentials to the secondary supplier, or the primary supplier may split its own original asset credentials so that a sub-asset credential corresponding to the amount of payable may be generated that may be used to characterize the primary supplier to transfer credit resources corresponding to the amount of payable to the secondary supplier. Similarly, the primary supplier may also document information about the original asset voucher or the sub-asset voucher transfer process into the blockchain 11 such that a record of a trusted, traceable and non-tamperable complete transfer transaction is formed on the blockchain 11. Of course, the secondary provider may also continue to stream owned original asset vouchers or sub-asset vouchers to other providers, where the sum of the asset yields of all sub-asset vouchers associated with the target source asset is not greater than the asset yield of the original asset vouchers, which is not limiting in this description.
In addition, the streaming phase of the target source asset may be divided into: the voucher issuing stage, the voucher financing stage, the voucher transferring stage and the voucher redemption stage, of course, the circulation stage of the target source asset can be set according to actual requirements, and the present specification is not limited thereto. Wherein the credential provisioning phase may be used to characterize the process of provisioning primary asset credentials by a core enterprise to a primary vendor; the credential transfer stage may be used to characterize the process of transferring an original asset credential or a sub-asset credential from a primary provider to a secondary provider, although the credential transfer stage may also be used to characterize the transfer of an original asset credential or a sub-asset credential from a secondary provider to a tertiary provider, etc., which is not limited in this disclosure; the credential financing stage may be used to characterize a process in which each provider streams the owned original asset credential or sub-asset credential to an asset provider, and the asset provider funds the corresponding original asset credential or sub-asset credential according to its corresponding amount; the voucher redemption phase can be used to characterize the process by which an asset provider, upon receiving funds corresponding to the amount of an original asset voucher or a child asset voucher, can deregister the corresponding asset voucher by the asset provider.
Fig. 2 is a flowchart of a flow chart generation method shown in the present specification. As shown in fig. 1, the method is applied to a client (client 10 shown in fig. 1); the method may comprise the steps of:
step 202, obtaining target circulation transactions on a blockchain related to each circulation stage of a target source asset; wherein the target flow transaction associated with any one of the flow phases comprises: and the information of the asset certificate corresponding to any forwarding stage and the information of the business object related to any forwarding stage.
In one embodiment, the core enterprise may document information related to the circulation process of the asset credential issued by the core enterprise into the blockchain, and each provider may document information related to the circulation process of the asset credential owned by the core enterprise into the blockchain, so that the blockchain is provided with circulation transactions, and these circulation transactions may include information of the asset credential, such as identification of the asset credential, resource amount of the asset credential, and the like, and may further include information of a business object involved in a circulation stage where the corresponding asset credential is located, for example, when the circulation stage is a credential opening stage, the information of the involved business object may include identification of the core enterprise, identification of a primary provider, and the like.
In one embodiment, the asset credentials corresponding to each of the transfer phases may be original asset credentials corresponding to the target source asset, i.e., the original asset credentials are not split; alternatively, the asset credential corresponding to at least one of the transfer phases may include an original asset credential, and the asset credential corresponding to each of the remaining transfer phases may include a sub-asset credential obtained by splitting the original asset credential.
In one embodiment, the client may obtain target transfer transactions for blockchains associated with various transfer phases of target source assets, e.g., the target source asset may be an accounts payable to be paid by core enterprise A to provider B, and core enterprise A may prescribe to provider B an original asset credential corresponding to the target source asset based on the accounts payable, and provider B may split the original asset credential obtained from core enterprise A to obtain sub-asset credentials, the provider owning each sub-asset credential may continue to split the corresponding sub-asset credential, etc. The target circulation transaction may include information of an asset credential corresponding to a certain circulation stage and information of a business object related to the circulation stage, for example, when the circulation stage is a credential issuing stage, the business object related to the credential issuing stage may include a core enterprise and a primary provider; when the transfer phase is a credential transfer phase, the business objects involved in the credential transfer phase may include primary and secondary suppliers. The asset credential may include an original asset credential corresponding to a target source asset and a sub-asset credential obtained by splitting the original asset credential.
In one embodiment, the client may obtain target stream transactions associated with various stream phases of the target source asset directly from the blockchain. Or, the client can pull all the circulation transactions on the blockchain and store the pulled circulation transactions in the backup database, so that a complete copy of the circulation transactions on the blockchain can be maintained in the backup database under the chain, the client can be prevented from carrying out frequent data interaction with the blockchain, the convenience of acquiring the target circulation transactions can be improved, and the query pressure of the blockchain can be reduced. The client may screen all the target circulation transactions from the backup database, where the target circulation transactions may include information of the original asset credential or sub-asset credential obtained by splitting the corresponding original asset credential, for example, an identifier of the original asset credential and an identifier of the sub-asset credential, which is not limited in this specification.
Step 204, parsing out an outbound service object and an inbound service object related to the target circulation transaction, where the outbound service object is used for transferring an asset credential related to the target circulation transaction, and the inbound service object is used for receiving the asset credential related to the target circulation transaction.
Step 206, obtaining a circulation path pointed to the business object of the transfer-in party by the business object of the transfer-out party, and generating a circulation map of the target source asset according to the circulation path, wherein the circulation path is used for indicating that the circulation condition of the target source asset between the business object of the transfer-out party and the business object of the transfer-in party is: and the transfer-out business object transfers the asset certificate related to the target transfer transaction to the transfer-in business object.
In an embodiment, the client may parse the target circulation transaction to obtain an outbound service object and an inbound service object related to the target circulation transaction, where the outbound service object may be used to transfer an asset credential related to the target circulation transaction, and the inbound service object may be used to receive the asset credential related to the target circulation transaction. The client may obtain a transfer path pointed to the transfer-in business object by the transfer-out business object, so that a transfer map of the target source asset may be generated according to each obtained transfer path, and each transfer path in the transfer map may be used to indicate that a transfer condition of the target source asset between the transfer-out business object and the transfer-in business object is: the transfer-out business object transfers the asset credential stream related to the target transfer transaction to the transfer-in business object. And then related staff can directly know the circulation conditions among the business objects according to the circulation paths contained in the circulation map, so that the related staff can know the circulation conditions of the target source asset in time.
In an embodiment, the circulation condition may further include at least one of: the transfer item may be used to characterize the purpose of a certain transfer stage, for example, the transfer item may include an asset credential open item, an asset credential transfer item, an asset credential financing item, and the like. While the asset credential may be an original asset credential or a sub-asset credential, of course, in the case where the original asset credential is not split, the asset credential may also include only the original asset credential, which is not limited in this specification.
In an embodiment, the client may generate a circulation map of the target source asset, where the circulation map facilitates each business object participating in the circulation process of the target source asset to learn the overall circulation condition of the target source asset, which is beneficial to disclosure and sharing of information related to the circulation process of the target source asset, and realizes visualization of the circulation process of the target source asset; in particular, the core enterprise can learn the circulation process of the original asset certificate corresponding to the target source asset which is issued by the core enterprise according to the circulation map, and can learn the circulation process of each sub asset certificate obtained by splitting the original asset certificate, can track the whole life cycle of the target source asset, can monitor each circulation stage in the circulation process of the target source asset, and can know the tightness degree of business traffic between the core enterprise and each provider in time.
In an embodiment, the roles that are played during the circulation of the target source asset may be predefined for each business object, for example, the role of enterprise a during the circulation of the target source asset is a core enterprise, the role of provider B during the circulation of the target source asset is a provider, the role of bank C during the circulation of the target source asset is an asset provider, and so on. The client may determine roles of the outbound service object and the inbound service object in the target source asset streaming process after obtaining the outbound service object and the inbound service object related to a certain target streaming transaction, respectively, and verify whether the roles of the outbound service object and the inbound service object match with corresponding streaming stages. The client can acquire a circulation path pointed to the business object of the transfer party by the business object of the transfer party and generate a circulation map of the target source asset according to the acquired circulation path under the condition that the role of the business object of the transfer party is determined to be matched with the corresponding circulation stage and the role of the business object of the transfer party is determined to be matched with the corresponding circulation stage; under the condition that any one of the roles of the transfer-out side business object and the transfer-in side business object is not matched with the corresponding circulation stage, the client cannot acquire the corresponding circulation path, so that generation of a circulation map containing an incorrect circulation path can be effectively avoided, accuracy of the acquired circulation map can be improved, misleading of related staff needing to use the circulation map is avoided, and use experience is prevented from being reduced.
In an embodiment, the above-mentioned circulation roles may be maintained in a world state maintained by the blockchain, for example, the roles may be recorded in a blockchain account corresponding to each business object, which is not limited in this specification. The client can directly inquire the roles of the transferring-out party business object and the transferring-in party business object from the blockchain, and the convenience of acquiring the related roles can be improved.
For easy understanding, the technical solution of the present specification is further described below with reference to fig. 3. Fig. 3 is a flowchart of a method for generating a circulation pattern according to an exemplary embodiment of the present disclosure. As shown in fig. 3, the following steps may be included:
assume that each of the streaming transactions obtained from the blockchain is recorded in the backup database as shown in table 1 below. And assuming that the asset credential ID transferred by Enterprise A to Enterprise B corresponds to source asset X with 1-001, the asset credential ID transferred by Enterprise A to Enterprise C with 2-001 corresponds to source asset Y, the child asset credential ID corresponding to source asset X may be numbered "1-" and the child asset credential ID corresponding to source asset Y may be numbered "2-".
TABLE 1
Figure BDA0003046322130000061
Figure BDA0003046322130000071
Step 301, a target streaming transaction associated with a source asset X is obtained from a backup database.
In this embodiment, the client may screen the backup database for the target circulation transactions related to each circulation stage of the source asset X, that is, the asset credential ID screened from the backup database uses "1-" to perform numbered circulation transactions. The client may obtain the transaction contents of the streaming transaction 1, 3-5 in the backup database.
Step 302, parsing the target circulation transaction.
In this embodiment, the client may parse the screened target circulation transactions, so as to obtain the transfer-out service object, the transfer-in service object, the asset yield of the asset certificate and the ID of the asset certificate, which are included in each target circulation transaction, and the client may also obtain the information of the circulation stage of the source asset X corresponding to each target circulation transaction.
In this embodiment, the client may obtain the key information shown in the following table 2 by parsing the above-mentioned circulation transaction 1, circulation transaction 3, circulation transaction 4 and circulation transaction 5.
TABLE 2
Figure BDA0003046322130000072
Step 303, determining roles of the transfer-out business object and the transfer-in business object related to each target circulation transaction in the source asset X circulation process.
Step 304, generating a transfer map of the source asset X under the condition that the transfer-out side business object and the transfer-in side business object contained in each target transfer transaction are checked to be matched with the transfer stage related to the corresponding target transfer transaction.
In this embodiment, assume that the blockchain accounts of enterprise a, enterprise B, enterprise D, enterprise E, and bank F may have recorded therein roles that each enterprise plays in the process of transferring source asset X. And assuming that the predefined flow restriction requirements include: when the certificate belonging to the source asset X is in the development stage, the role of the service object of the transfer-out party is a core enterprise, and the role of the service object of the transfer-out party is a provider; while the role of the transfer-in business object should be an asset provider in the asset financing phase belonging to source asset X, the role of the transfer-out business object may include a core enterprise or provider. Of course, the flow restriction requirement may be set according to the actual requirement, and this is not limited in this specification.
In this embodiment, the client may obtain the role of enterprise a in the process of transferring source asset X as a core enterprise, the roles of enterprises B-E in the process of transferring source asset X as suppliers, and the roles of bank F in the process of transferring source asset X as asset providers.
The client may then determine, in order, whether the roles of the transfer-out business object and the transfer-in business object involved in the transfer transaction 1, the transfer transactions 3-5 match the corresponding transfer phases of the respective transfer transactions. That is, the client may determine whether the circulation transaction 1, the circulation transactions 3-5, respectively, meet the circulation restriction requirements described above.
In this embodiment, the client may determine that the role of the enterprise a in the circulation transaction 1, that is, the core enterprise, is matched with the corresponding credential issuing stage, and that the role of the enterprise B in the circulation transaction 1, that is, the provider, is also matched with the corresponding credential issuing stage, that is, the circulation transaction 1 meets the above-mentioned circulation restriction requirement; the client may determine that the role of enterprise D, i.e., the provider, in the streaming transaction 4 matches the corresponding credential financing stage, and that the role of enterprise F, i.e., the asset provider, in the streaming transaction 4 also matches the corresponding credential financing stage, i.e., the streaming transaction 4 meets the streaming restriction requirements described above.
In this embodiment, after determining that the roles of the transfer-out service object and the roles of the transfer-in service object related to the transfer transaction 1 and the transfer transaction 3-5 are both matched with the transfer stage corresponding to the corresponding transfer transaction, the client may perform stepwise recursion based on the obtained key information shown in table 2 and the corresponding tracing algorithm, so as to generate a corresponding transfer map, as shown in fig. 4. The circulation pattern may be characterized as a tree pattern, which is used to organize each circulation transaction in a tree structure, and of course, the circulation pattern may take other forms, which is not limited in this specification.
In this embodiment, a circulation map as shown in fig. 4 may be used to demonstrate a complete circulation process of the source asset X, where the circulation map may facilitate a relevant staff to know a life cycle of the whole circulation of the source asset X in time, facilitate knowing a tightness degree of business traffic between enterprises related to the circulation process of the source asset X, and facilitate effective management of the circulation process of the source asset X, and may reduce credit risks.
Fig. 5 is a schematic block diagram of an apparatus according to an exemplary embodiment. Referring to fig. 5, at the hardware level, the device includes a processor 502, an internal bus 504, a network interface 506, a memory 508, and a nonvolatile memory 510, although other hardware may be included as needed for other services. One or more embodiments of the present description may be implemented in a software-based manner, such as by the processor 502 reading a corresponding computer program from the non-volatile storage 510 into the memory 508 and then running. Of course, in addition to software implementation, one or more embodiments of the present disclosure do not exclude other implementation manners, such as a logic device or a combination of software and hardware, etc., that is, the execution subject of the following processing flow is not limited to each logic unit, but may also be hardware or a logic device.
Referring to fig. 6, in a software embodiment, the flow pattern generation apparatus may include an acquisition unit 602 and a parsing unit 604. Wherein:
an obtaining unit 602, configured to obtain a target circulation transaction related to each circulation stage of the target source asset on the blockchain; wherein the target flow transaction associated with any one of the flow phases comprises: information of the asset certificate corresponding to any one of the forwarding stages and information of the business object related to the any one of the forwarding stages;
the parsing unit 604 is configured to parse an outbound service object and an inbound service object related to the target circulation transaction, where the outbound service object is used to transfer an asset credential related to the target circulation transaction, and the inbound service object is used to receive the asset credential related to the target circulation transaction;
a generating unit 606, configured to obtain a circulation path pointed to the business object of the transfer-in party by the business object of the transfer-out party, and generate a circulation map of the target source asset according to the obtained circulation path, where the circulation path is used to indicate that a circulation condition of the target source asset between the business object of the transfer-out party and the business object of the transfer-in party is: and the transfer-out business object transfers the asset certificate related to the target transfer transaction to the transfer-in business object.
Optionally, the acquiring unit 602 is specifically configured to:
storing each circulation transaction acquired from the blockchain into a backup database;
and screening out the target circulation transactions contained in the backup database.
Optionally, the asset credentials corresponding to each of the transfer phases are original asset credentials corresponding to the target source asset; alternatively, the asset credential corresponding to at least one of the transfer phases includes the original asset credential, and the asset credential corresponding to each of the remaining transfer phases includes a sub-asset credential obtained by splitting the original asset credential.
Optionally, the circulation condition further includes at least one of:
the transfer item, the transfer time, the asset amount corresponding to the asset certificate, the identification of the business object and the role of the business object in the transfer process of the target source asset.
Optionally, the generating unit 606 is specifically configured to:
respectively determining roles of the transfer-out business object and the transfer-in business object in the process of transferring the target source asset;
checking whether the roles corresponding to the transfer-out side business object and the transfer-in side business object are matched with the circulation stage or not;
and under the condition that the role corresponding to the transfer-out business object and the role corresponding to the transfer-in business object are matched with the circulation stage of the asset certificate related to the target circulation transaction, acquiring a circulation path pointed to the transfer-in business object by the transfer-out business object.
Optionally, roles of individual business objects during the circulation of the target source asset are maintained by world states maintained by the blockchain.
Optionally, the circulation stage includes at least one of: a voucher issuing stage, a voucher transferring stage, a voucher financing stage and a voucher cashing stage.
The system, apparatus, module or unit set forth in the above embodiments may be implemented in particular by a computer chip or entity, or by a product having a certain function. A typical implementation device is a computer, which may be in the form of a personal computer, laptop computer, cellular telephone, camera phone, smart phone, personal digital assistant, media player, navigation device, email device, game console, tablet computer, wearable device, or a combination of any of these devices.
In a typical configuration, a computer includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include volatile memory in a computer-readable medium, random Access Memory (RAM) and/or nonvolatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of computer-readable media.
Computer readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of storage media for a computer include, but are not limited to, phase change memory (PRAM), static Random Access Memory (SRAM), dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), read Only Memory (ROM), electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium, which can be used to store information that can be accessed by a computing device. Computer-readable media, as defined herein, does not include transitory computer-readable media (transmission media), such as modulated data signals and carrier waves.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article or apparatus that comprises the element.
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the present specification. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present description as detailed in the accompanying claims.
The terminology used in the description presented herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the description. As used in this specification and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any or all possible combinations of one or more of the associated listed items.
It should be understood that although the terms first, second, third, etc. may be used in this specification to describe various information, these information should not be limited to these terms. These terms are only used to distinguish one type of information from another. For example, the first information may also be referred to as second information, and similarly, the second information may also be referred to as first information, without departing from the scope of the present description. The word "if" as used herein may be interpreted as "at … …" or "at … …" or "responsive to a determination", depending on the context.
The foregoing description of the preferred embodiments is provided for the purpose of illustration only, and is not intended to limit the scope of the disclosure, since any modifications, equivalents, improvements, etc. that fall within the spirit and principles of the disclosure are intended to be included within the scope of the disclosure.

Claims (10)

1. A method of generating a stream map for a client, the client being distinct from a blockchain, the method comprising:
acquiring target circulation transactions on the blockchain related to each circulation stage of the target source asset; wherein the target flow transaction associated with any one of the flow phases comprises: information of the asset certificate corresponding to any one of the forwarding stages and information of the business object related to the any one of the forwarding stages;
resolving an outbound business object and an inbound business object related to the target circulation transaction, wherein the outbound business object is used for transferring an asset certificate related to the target circulation transaction, and the inbound business object is used for receiving the asset certificate related to the target circulation transaction;
acquiring a circulation path pointed to the business object of the transfer-in party by the business object of the transfer-out party, and generating a circulation map of the target source asset according to the acquired circulation path, wherein the circulation path is used for indicating that the circulation condition of the target source asset between the business object of the transfer-out party and the business object of the transfer-in party is as follows: and the transfer-out business object transfers the asset certificate related to the target transfer transaction to the transfer-in business object.
2. The method of claim 1, the obtaining target stream transactions on the blockchain that are associated with respective stream phases of a target source asset, comprising:
storing each circulation transaction acquired from the blockchain into a backup database;
and screening out the target circulation transaction in the backup database.
3. The method of claim 1, wherein the asset credential corresponding to each transfer stage is an original asset credential corresponding to the target source asset; alternatively, the asset credential corresponding to at least one of the transfer phases includes the original asset credential, and the asset credential corresponding to each of the remaining transfer phases includes a sub-asset credential obtained by splitting the original asset credential.
4. The method of claim 1, the circulation condition further comprising at least one of:
the transfer item, the transfer time, the asset amount corresponding to the asset certificate, the identification of the business object and the role of the business object in the transfer process of the target source asset.
5. The method of claim 1, the obtaining a flow path pointed to by the roll-out business object to the roll-in business object, comprising:
respectively determining roles of the transfer-out business object and the transfer-in business object in the process of transferring the target source asset;
checking whether the roles corresponding to the business object of the transfer-out party and the roles corresponding to the business object of the transfer-in party are matched with the corresponding circulation stage;
and under the condition that the role corresponding to the transfer-out business object and the role corresponding to the transfer-in business object are matched with the circulation stage of the asset certificate related to the target circulation transaction, acquiring a circulation path pointed to the transfer-in business object by the transfer-out business object.
6. The method of claim 5, wherein roles of individual business objects during the circulation of the target source asset are maintained by world states maintained by the blockchain.
7. The method of claim 1, the circulation phase comprising at least one of: a voucher issuing stage, a voucher transferring stage, a voucher financing stage and a voucher cashing stage.
8. A circulation pattern generation apparatus for use with a client, the client being distinct from a blockchain, the apparatus comprising:
the acquisition unit is used for acquiring target circulation transactions related to each circulation stage of the target source asset on the blockchain; wherein the target flow transaction associated with any one of the flow phases comprises: information of the asset certificate corresponding to any one of the forwarding stages and information of the business object related to the any one of the forwarding stages;
the analysis unit is used for analyzing an outgoing side business object and an incoming side business object related to the target circulation transaction, wherein the outgoing side business object is used for transferring an asset certificate related to the target circulation transaction, and the incoming side business object is used for receiving the asset certificate related to the target circulation transaction;
the generating unit is used for acquiring a circulation path pointed to the business object of the transfer-in party by the business object of the transfer-out party, and generating a circulation map of the target source asset according to the acquired circulation path, wherein the circulation path is used for indicating that the circulation condition of the target source asset between the business object of the transfer-out party and the business object of the transfer-in party is as follows: and the transfer-out business object transfers the asset certificate related to the target transfer transaction to the transfer-in business object.
9. An electronic device, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to implement the method of any of claims 1-7 by executing the executable instructions.
10. A computer readable storage medium having stored thereon computer instructions which, when executed by a processor, implement the steps of the method of any of claims 1-7.
CN202110473234.8A 2021-04-29 2021-04-29 Method and device for generating circulation map Active CN113094414B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110473234.8A CN113094414B (en) 2021-04-29 2021-04-29 Method and device for generating circulation map

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110473234.8A CN113094414B (en) 2021-04-29 2021-04-29 Method and device for generating circulation map

Publications (2)

Publication Number Publication Date
CN113094414A CN113094414A (en) 2021-07-09
CN113094414B true CN113094414B (en) 2023-06-30

Family

ID=76680578

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110473234.8A Active CN113094414B (en) 2021-04-29 2021-04-29 Method and device for generating circulation map

Country Status (1)

Country Link
CN (1) CN113094414B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114140122A (en) * 2021-12-08 2022-03-04 工银科技有限公司 Credit certificate transfer method and device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106156904A (en) * 2015-03-24 2016-11-23 中国人民解放军国防科学技术大学 A kind of cross-platform fictitious assets source tracing method based on eID
CN108335120A (en) * 2018-03-07 2018-07-27 物数(上海)信息科技有限公司 Assets source tracing method, device, electronic equipment, storage medium based on block chain
CN110020948A (en) * 2019-01-03 2019-07-16 阿里巴巴集团控股有限公司 Assets source tracing method and device, electronic equipment based on block chain
CN110838064A (en) * 2019-10-12 2020-02-25 华中科技大学 Method and system for realizing asset tracing based on Fabric Block Link platform
WO2020258848A1 (en) * 2019-06-28 2020-12-30 创新先进技术有限公司 Method and apparatus for cross-chain transmission of resources
CN112529593A (en) * 2020-11-19 2021-03-19 杭州甘道智能科技有限公司 Washing machine circulation tracing method and system based on block chain

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10341105B2 (en) * 2017-06-07 2019-07-02 At&T Intellectual Property I, L.P. Blockchain-based social media history maps
CN109102389A (en) * 2018-07-27 2018-12-28 深圳前海微众银行股份有限公司 Financial asset circulation method, apparatus and storage medium in supply chain
CN110737721B (en) * 2019-09-25 2023-03-28 中信梧桐港供应链管理有限公司 Receivable account transfer financing method and device based on block chain architecture

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106156904A (en) * 2015-03-24 2016-11-23 中国人民解放军国防科学技术大学 A kind of cross-platform fictitious assets source tracing method based on eID
CN108335120A (en) * 2018-03-07 2018-07-27 物数(上海)信息科技有限公司 Assets source tracing method, device, electronic equipment, storage medium based on block chain
CN110020948A (en) * 2019-01-03 2019-07-16 阿里巴巴集团控股有限公司 Assets source tracing method and device, electronic equipment based on block chain
WO2020258848A1 (en) * 2019-06-28 2020-12-30 创新先进技术有限公司 Method and apparatus for cross-chain transmission of resources
CN110838064A (en) * 2019-10-12 2020-02-25 华中科技大学 Method and system for realizing asset tracing based on Fabric Block Link platform
CN112529593A (en) * 2020-11-19 2021-03-19 杭州甘道智能科技有限公司 Washing machine circulation tracing method and system based on block chain

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
一种支持区块链交易溯源的混合索引机制;尤瑶;孔兰菊;肖宗水;郑永清;李庆忠;;计算机集成制造系统(第04期);全文 *

Also Published As

Publication number Publication date
CN113094414A (en) 2021-07-09

Similar Documents

Publication Publication Date Title
US11829997B2 (en) Self-enforcing security token implementing smart-contract-based compliance rules consulting smart-contract-based global registry of investors
CN109584079B (en) Resource processing system, and method, device and equipment for approving resource project declaration
Woodside et al. Blockchain technology adoption status and strategies
CN109716707B (en) Server apparatus and method for distributed electronic recording and transaction history
CN111898139B (en) Data reading and writing method and device and electronic equipment
US20200074565A1 (en) Automated enterprise transaction data aggregation and accounting
TW202008196A (en) Transaction method and system based on centralized settlement and block chain deposit certification
US20210312461A1 (en) Data sharing methods, apparatuses, and devices
US11258584B2 (en) Method, apparatus and electronic device for blockchain transactions
TW202008252A (en) Transaction method and system based on centralized settlement and blockchain deposit certificates
US20200051067A1 (en) Self-enforcing security token implementing smart-contract-based compliance rules consulting smart-contract-based global registry of investors
TW202008235A (en) Transaction method and system based on centralized settlement and block chain storage
CN110032599B (en) Data structure reading and updating method and device, and electronic equipment
CN110032598B (en) Method and device for updating field and electronic equipment
CN109582473A (en) Across chain data access method and device based on block chain
CN112819616A (en) Block chain-based original work transaction method and device and electronic equipment
US20220321394A1 (en) Techniques for prediction models using time series data
CN111815420A (en) Matching method, device and equipment based on trusted asset data
CN113094414B (en) Method and device for generating circulation map
CN113743678B (en) User credit score prediction method and related equipment
Dasari et al. Big Data Analytics, Processing Models, Taxonomy of Tools, V’s, and Challenges: State‐of‐Art Review and Future Implications
van Dinter et al. Just-in-time defect prediction for mobile applications: using shallow or deep learning?
Singh et al. Cloud based evaluation of databases for stock market data
Kumar et al. A Trustful Payment System for Crowdfunding using Blockchain
Roy Blockchain development for finance projects: building next-generation financial applications using Ethereum, Hyperledger Fabric, and Stellar

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
GR01 Patent grant
GR01 Patent grant