CN115242802A - Tracing link construction method and system of block chain and electronic equipment - Google Patents

Tracing link construction method and system of block chain and electronic equipment Download PDF

Info

Publication number
CN115242802A
CN115242802A CN202210954661.2A CN202210954661A CN115242802A CN 115242802 A CN115242802 A CN 115242802A CN 202210954661 A CN202210954661 A CN 202210954661A CN 115242802 A CN115242802 A CN 115242802A
Authority
CN
China
Prior art keywords
link
participating
block
target
tracing
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
Application number
CN202210954661.2A
Other languages
Chinese (zh)
Other versions
CN115242802B (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.)
Shanghai Youzi Gongdao Iot Technology Co ltd
Original Assignee
Shanghai Youzi Gongdao Iot Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Youzi Gongdao Iot Technology Co ltd filed Critical Shanghai Youzi Gongdao Iot Technology Co ltd
Priority to CN202210954661.2A priority Critical patent/CN115242802B/en
Publication of CN115242802A publication Critical patent/CN115242802A/en
Application granted granted Critical
Publication of CN115242802B publication Critical patent/CN115242802B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/104Peer-to-peer [P2P] networks
    • 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
    • G06Q30/00Commerce
    • G06Q30/018Certifying business or products
    • G06Q30/0185Product, service or business identity fraud
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/30Decision processes by autonomous network management units using voting and bidding
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

The application provides a method, a system and electronic equipment for constructing a tracing link of a block chain, which relate to the technical field of the block chain and comprise the steps of obtaining a link design request of a block node for creating the link, wherein the link design request comprises a flow sequence and a plurality of target flows; determining a participating block node based on the link design request; acquiring a target process constructed by the participated block nodes; checking and summarizing the target process, and constructing a source tracing link based on the process sequence; informing the participating block nodes to vote for the tracing link; based on the voting results of the participated block nodes, the personalized traceability link is uplink stored and executed, so that the research and development cost is reduced, and the operation time is saved; and a block chain technology is adopted, so that the on-chain data co-processing sharing is realized, and the data security is improved.

Description

Tracing link construction method and system of block chain and electronic equipment
Technical Field
The invention relates to the technical field of a block chain, in particular to a tracing link construction method and system of the block chain and electronic equipment.
Background
With the gradual enhancement of tracing supervision, anti-counterfeiting tracing gradually becomes a trend, and the traditional tracing system has low trust degree of tracing information due to the problems of complete centralization, data isolated island, low code scanning verification proportion and the like. Secondly, users need to respectively develop traceability systems aiming at different commodities/behaviors, and the cost is high; if the existing tracing system is directly adopted, the tracing system may not be completely matched with the product tracing information of the tracing system. Moreover, different information needs to be uploaded by the same process personnel aiming at different tracing systems, and the operation modes of the personnel are different, so that the information input rate is reduced.
Therefore, a method, a system and an electronic device for constructing a traceability link of a block chain are provided.
Disclosure of Invention
The specification provides a tracing link construction method, a tracing link construction system and electronic equipment of a block chain,
and creating a link design request based on the block nodes for creating the link, inviting the participating block nodes to participate in the construction of the personalized traceability link, voting, storing and using the personalized traceability link for the subsequent product/behavior traceability.
The tracing link construction method for the block chain adopts the following technical scheme that:
obtaining a link design request of a block node for creating a link, wherein the link design request comprises a flow sequence and a plurality of target flows;
determining a participating block node based on the link design request;
acquiring a target process constructed by the participated block nodes;
checking and summarizing the target process, and constructing a source tracing link based on the process sequence;
informing the participating block nodes to vote for the tracing link;
based on the voting results of the participating block nodes, the tracing link is uplink-stored and executed.
Optionally, the obtaining of the target process constructed by the participating block nodes includes:
generating form information based on the project content selected and/or filled in by the participated block nodes;
determining a target stage by combining the form information, the participation roles and the participation members;
and constructing the target process based on the execution sequence of the target stage.
Optionally, the generating form information based on the item content selected and/or filled by the participating block nodes includes:
providing an event entry component operable by the participating block nodes, the event entry component comprising a feature control and an event entry control;
the feature control is used for entering field features;
the event entry control is used for filling in a field characteristic value corresponding to the field characteristic;
and generating form information based on the type and the arrangement sequence of the event entry components.
Optionally, the verifying and summarizing the target process, and constructing a tracing link based on the process sequence, includes:
checking whether the target processes all comprise source tracing code acquisition components;
if the target processes all comprise the source code obtaining component, summarizing the target processes;
and constructing a target process sequence based on the process sequence, and determining the source tracing link.
Optionally, the uplink saving and executing the source link based on the voting result of the participating block nodes includes:
obtaining and summarizing the voting result of each participated block node, and determining the final voting result;
and if the final voting result is passed, uplink storing the tracing link, synchronizing the tracing link to each participating block node, and executing the synchronization by the participating block nodes.
Optionally, after the uplink saving and executing the tracing link based on the voting result of the participating block nodes, the method further includes:
acquiring a modification request of the block node for creating the link, wherein the modification request comprises a target process to be modified;
determining a participating block node corresponding to the target process to be modified based on the target process to be modified;
initiating voting based on the modification and confirmation of the target process to be modified, and acquiring and summarizing the voting result of each participating block node to obtain a second voting result;
and if the second voting result is passed, uplink storing the modified tracing link, and synchronizing the modified tracing link to each participating block node to be executed by the participating block nodes.
The traceability link construction system of the block chain adopts the following technical scheme that:
an obtaining module, configured to obtain a link design request for a block node for creating a link, where the link design request includes a flow sequence and multiple target flows;
a participation determination module for determining a participating block node based on the link design request;
the flow acquisition module is used for acquiring a target flow constructed by the participated block nodes;
the link construction module is used for verifying and summarizing the target process and constructing a source tracing link based on the process sequence;
the voting notification module is used for notifying the participating block nodes to vote for the tracing link;
and the link confirmation module is used for uplink saving and executing the source tracing link based on the voting result of the participating block nodes.
Optionally, the obtaining of the target process constructed by the participating block nodes includes:
the form generation submodule is used for generating form information based on the project contents selected and/or filled by the participated block nodes;
the target stage determining submodule is used for determining a target stage by combining the form information, the participation roles and the participation members;
and the target process construction sub-module is used for constructing the target process based on the execution sequence of the target stage.
Optionally, the form generation sub-module includes:
an event entry component operable by the participating block nodes, the event entry component comprising a feature control and an event entry control;
the feature control is used for inputting field features;
the event entry control is used for filling in a field characteristic value corresponding to the field characteristic;
and the form generating unit is used for generating form information based on the type and the arrangement sequence of the event input components.
Optionally, the link building module includes:
the verification submodule is used for verifying whether the target processes all comprise source tracing code acquisition components;
the summarizing sub-module is used for summarizing the target processes if the target processes all comprise the source tracing code acquisition component;
and the link construction submodule is used for constructing a target process sequence based on the process sequence and determining the source tracing link.
Optionally, the link confirmation module includes:
the voting determination submodule is used for acquiring and summarizing the voting result of each participated block node and determining the final voting result;
and the saving submodule is used for uplink saving of the traceability link if the final voting result is passed, synchronizing the traceability link to each participating block node, and executing the synchronization by the participating block nodes.
Optionally, the method further comprises a modification module:
the modification module includes:
a modification request obtaining submodule, configured to obtain a modification request for the block node for creating the link, where the modification request includes a target process to be modified;
the node determination submodule is used for determining a participatory block node corresponding to the target process to be modified based on the target process to be modified;
the voting submodule is used for initiating voting based on the modification and confirmation of the target process to be modified, acquiring and summarizing the voting result of each participating block node, and obtaining a second voting result;
and a modification confirming submodule, configured to, if the second voting result is a pass, uplink store the modified tracing link, and synchronize the modified tracing link to each of the participating block nodes, where the modified tracing link is executed by the participating block nodes.
The present specification also provides an electronic device, wherein the electronic device includes:
a processor; and the number of the first and second groups,
a memory storing computer-executable instructions that, when executed, cause the processor to perform any of the methods described above.
The present specification also provides a computer readable storage medium, wherein the computer readable storage medium stores one or more programs which, when executed by a processor, implement any of the methods described above.
In the application, a link design request of a block node for creating a link is obtained, wherein the link design request comprises a flow sequence and a plurality of target flows; determining a participating block node based on the link design request; acquiring a target process constructed by the participated block nodes; checking and summarizing the target process, and constructing a source tracing link based on the process sequence; informing the participating block nodes to vote for the tracing link; based on the voting results of the participated block nodes, the personalized traceability link is uplink stored and executed, so that the research and development cost is reduced, and the operation time is saved; and a block chain technology is adopted, so that the on-chain data co-processing sharing is realized, and the data security is improved.
Drawings
Fig. 1 is a schematic flowchart of a method for constructing a source link of a block chain according to an embodiment of the present disclosure;
fig. 2 is a schematic diagram of a tracing link building system for a block chain according to an embodiment of the present disclosure;
fig. 3 is a schematic structural diagram of an electronic device provided in an embodiment of the present disclosure;
fig. 4 is a schematic diagram of a computer-readable medium provided in an embodiment of the present specification.
Detailed Description
The following description is presented to disclose the invention so as to enable any person skilled in the art to practice the invention. The preferred embodiments in the following description are given by way of example only, and other obvious variations will occur to those skilled in the art. The basic principles of the invention, as defined in the following description, may be applied to other embodiments, variations, modifications, equivalents, and other technical solutions without departing from the spirit and scope of the invention.
Exemplary embodiments of the present invention will now be described more fully with reference to the accompanying drawings. The exemplary embodiments, however, may be embodied in many different forms and should not be construed as limited to the embodiments set forth herein. Rather, these exemplary embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of the invention to those skilled in the art. The same reference numerals denote the same or similar elements, components, or parts in the drawings, and thus their repetitive description will be omitted.
Features, structures, characteristics or other details described in a particular embodiment do not preclude the fact that the features, structures, characteristics or other details may be combined in a suitable manner in one or more other embodiments in accordance with the technical idea of the invention.
In describing particular embodiments, the present invention has been described with reference to features, structures, characteristics or other details that are within the purview of one skilled in the art to provide a thorough understanding of the embodiments. One skilled in the relevant art will recognize, however, that the invention may be practiced without one or more of the specific features, structures, characteristics, or other details.
The flow charts shown in the drawings are merely illustrative and do not necessarily include all of the contents and operations/steps, nor do they necessarily have to be performed in the order described. For example, some operations/steps may be decomposed, and some operations/steps may be combined or partially combined, so that the actual execution sequence may be changed according to the actual situation.
The block diagrams shown in the figures are functional entities only and do not necessarily correspond to physically separate entities. I.e. these functional entities may be implemented in the form of software, or in one or more hardware modules or integrated circuits, or in different networks and/or processor means and/or microcontroller means.
The term "and/or" and/or "includes all combinations of any one or more of the associated listed items.
Fig. 1 is a schematic flowchart of a method for constructing a source link of a block chain according to an embodiment of the present disclosure, where the method includes:
s1, a link design request of a block node for creating a link is obtained, wherein the link design request comprises a flow sequence and a plurality of target flows;
s2, determining a participating block node based on the link design request;
s3, acquiring a target process constructed by the participated block nodes;
s4, checking and summarizing the target process, and constructing a source tracing link based on the process sequence;
s5, informing the participating block nodes to vote for the tracing link;
s6, based on the voting results of the participated block nodes, uplink saving and executing the source tracing link.
In the traditional traceability system, all information is stored in a centralized system, so that the data security cannot be effectively guaranteed, the data is easily tampered, and the traceability difficulty is high. In addition, in view of the current commodity/behavior tracing process, in order to meet the requirements of different users, the application provides a block chain tracing link construction method, which constructs an individualized tracing link based on a target process constructed by participating block nodes, and specifically, the method comprises the following steps:
s1, a link design request of a block node for creating a link is obtained, wherein the link design request comprises a flow sequence and a plurality of target flows;
the present application includes a plurality of block nodes. And the block node for creating the link is used as an initiator for creating the tracing link, a service group is established, and part of the block nodes are invited to participate in the construction of the tracing link. In an embodiment of the present specification, the block node that creates a link, as a participant of a certain link, participates in the construction of the tracing link. And the block node for creating the link issues a link design request, and the flow sequence of the tracing link, the plurality of target flows and basic information are determined by the block node for creating the link, wherein the basic information comprises the name of the tracing link.
S2, determining a participating block node based on the link design request;
in one embodiment of the present description, the plurality of target flows and the flow order are determined based on a flow selection of the block node that creates the link; the invited block node is the block node which receives the invitation for constructing the tracing link, and if the block node for creating the link is also a participant of a certain link in the tracing link, the block node for creating the link also participates in the construction of the tracing link, and the invited block node is also the block node for creating the link.
Specifically, the invited block nodes corresponding to the target process and configured by the block node for creating the link are acquired, a link design invitation is sent to each invited block node, the link design invitation comprises the target process corresponding to the invited block node, and the participating block nodes are determined based on the link design request based on the feedback result of the invited block nodes. The service group comprises the participating block nodes. When the block node of the created link does not participate in the construction of the tracing link, the service group comprises the participating block node and the block node of the created link.
S3, acquiring a target process constructed by the participated block nodes;
and taking the participating block nodes as participants of a certain link, and participating in the construction of a target process corresponding to the link. The goal process includes one or more goal phases. And in the process of constructing each target stage, providing event entry components for the operation of the participated block nodes, and generating form information based on the type and the arrangement sequence of the event entry components. The event entry component comprises a feature control and an event entry control, the feature control is used for entering field features, and the event entry control is used for filling field feature values corresponding to the field features. The field characteristic is recorded when the target stage is carried out, and the field characteristic value is used for recording actual product information when the subsequent traceability link takes effect so as to facilitate traceability.
The participated block nodes only participate in the construction of the target process of the corresponding links, and the process construction can be carried out according to the convenient degree of the input. Specifically, form information is generated based on the project content selected and/or filled in by the participated block nodes;
the form information includes: form name, the target process, the target stage, whether a key form and data item. Wherein the data item comprises: data name, data description, creation membership, allowable data ripple form, whether padding is necessary, data type, and display form. The creating member is a block node involved in adding the data item, and the name information of the block node can be brought out by default when the creating member is added. The allowable data source forms comprise one or more of manual entry, file uploading and external system acquisition. The data type comprises one of text, numerical value, time, picture, video and file. The display form includes one of a text box, a check box, a drop-down box, and a text field.
In an embodiment of the present specification, if the form information is a key form, all the participating block nodes are required to vote, and if the form information is a non-key form, only the participating block nodes related to the form information need to perform local voting. Wherein the participating block nodes related thereto include the participating block nodes belonging to the same target process.
Determining each target stage by combining the form information, the participation roles and the participation members;
the participation role refers to identity information of information input in the traceability stage, such as a raw material collector, a raw material processor, a raw material carrier, a finished product processor, a finished product carrier and the like. The participating members default to creating members.
And constructing the target process based on the execution sequence of the target stage.
In one embodiment of the present description, the execution order of the target phases is determined based on the creation order of the target phases. In another embodiment of the present specification, a plurality of ordered target phase options are built in for the participating block nodes to select, and after the target phase is determined, the execution order of the target phase is determined based on the preset ordering.
And based on the execution sequence of the target stages, serially connecting the target stages in sequence to obtain a target process.
In an embodiment of the present specification, considering that a certain participating block node may be a participant in a plurality of tracing links, in order to improve the efficiency of constructing the tracing links and increase the speed of entering the source information in the later period, the participating block node may store the created target process, and when participating in the construction of other tracing links, quickly call out the previously stored target process for direct confirmation or perform adaptive adjustment based on the previously stored target process, so as to adapt to the construction of different tracing links.
S4, checking and summarizing the target process, and constructing a source tracing link based on the process sequence;
when tracing is performed, detailed information of each process of the product is usually associated based on a tracing tag (e.g., a tracing code) so as to facilitate a tracing information query. In an embodiment of the present specification, it is checked whether the target processes all include a source code obtaining component; the traceability code obtained by the traceability code obtaining component is used for identifying a certain commodity so as to associate all the process information of the commodity. Thus, the traceback code runs throughout the traceback link. If the target processes all comprise the source tracing code obtaining component, summarizing the target processes, constructing a target process sequence based on the process sequence, and determining the source tracing link.
The existing tracing link is mostly a linear flow or a tree-shaped flow, the application supports the tracing of the mesh flow, and the output of a subsequent target flow can become the input of a pre-order target flow to form the mesh tracing link. In one embodiment of the present specification, the upstream and downstream relationship of data is set for a single target process and a data hierarchy is defined, and a mesh traceability link is generated according to the upstream and downstream relationship of the hierarchy and the data. Under the mesh-type tracing link, one participant can be a data input party in one target process or a data output party in another target process.
The flow sequence is predetermined when a block node creating a link initiates a link design request. Of course, the block nodes creating the link may modify the order based on actual conditions at a later stage, and take effect after the participating block nodes in the service group vote.
S5, informing the participating block nodes to vote for the tracing link;
after the traceable link is built, the participating block nodes that need to participate in the building vote to determine whether the traceable link can take effect.
S6, based on the voting results of the participated block nodes, uplink saving and executing the source tracing link.
Specifically, the voting result of each participating block node is obtained and summarized, and the final voting result is determined based on a preset voting rule; in one embodiment of the present specification, the preset voting rule may be determined by default automatically by the system, or may be specified by the block node that creates the link.
And if the final voting result is that the source tracing link is passed, the source tracing link is stored in the uplink, the source tracing link is synchronized to each block node of the service group, and the source tracing link is executed by the participating block nodes, namely the participating block nodes input corresponding source tracing information according to actual conditions.
After the link is effective and put into use, if a part needing to be updated or improved is found in the process of using the tracing link, the modification can be carried out, and the flexibility and the integrity of the tracing link are improved. Specifically, a modification request of the block node for creating the link is obtained, where the modification request includes a target process to be modified;
determining a participating block node corresponding to the target process to be modified based on the target process to be modified;
and searching the block nodes which are previously constructed and participate in the target process according to the target process to be modified so as to modify the target process to be modified.
Initiating voting based on the modification and confirmation of the target process to be modified, and acquiring and summarizing the voting result of each participating block node to obtain a second voting result;
after the target process to be modified is modified and the corresponding target process is confirmed to be submitted, automatically initiating voting, acquiring and summarizing the voting result of each participating block node, and modifying the voting rule based on the link to obtain a second voting result; the link modification voting rule may be determined by default automatically by the system, or may be specified by a block node that creates the link, and in an embodiment of the present specification, the link modification voting rule is the same as a preset voting rule.
And if the second voting result is that the modified tracing link is passed, the modified tracing link is stored in the uplink, and the modified tracing link is synchronized to each block node of the service group and executed by the participating block nodes.
In one embodiment of the present specification, the source code that has been linked before the source link update is inputted with information and source query according to the original source link. And after the tracing link is updated, the uplink tracing code is used for information entry and later tracing inquiry, so that the consistency of data is improved, and the tamper resistance of the data is ensured.
After the traceability link takes effect, the participating block nodes fill traceability data and link synchronously to the block nodes of each service group through a block chain technology, a layered branch end distributed architecture is adopted, each participating block node has an independent traceability data acquisition distributed end, each distributed end can be added into a plurality of service groups, the traceability data are uploaded to a plurality of traceability links, traceability data sources can be imported into an existing system through manual input or butt joint or can be rapidly input through external internet of things equipment, for example, traceability codes can be rapidly input through code scanning equipment, and the input speed is improved; or access other systems to quickly enter local data.
In summary, the block node that creates the link issues a link design request, and based on the link design request, a service group is created, and a plurality of participating block nodes are invited to participate in the construction of the tracing link. The block nodes of the created link determine basic information of the tracing link, the block nodes in the service group construct corresponding target processes through design form information and target stages, the tracing link is obtained by summarizing each target process, the block nodes are synchronized to each block node of the service group through a block link technology, after voting is carried out on each block node of the service group, the personalized tracing link takes effect, the tracing link meets the requirements of the block nodes of the created link and considers the actual conditions of the participating block nodes, and the friendliness of the block nodes is improved.
After the tracing link takes effect, the participating block nodes fill in tracing data and uplink synchronize to the block nodes of each service group through the block link technology, so that the tracing data are used for tracing the source of each block node of each service group at the later stage and checking the data information of each link of the whole link. When the block nodes of the service group are based on the tracing code, the query can be combined based on single or multiple conditions such as target process name, target stage name and the like, so as to quickly obtain the tracing data associated with the block nodes.
Fig. 2 is a schematic diagram of a tracing link building system for a block chain according to an embodiment of the present disclosure, where the system includes:
an obtaining module, configured to obtain a link design request of a block node for creating a link, where the link design request includes a flow sequence and a plurality of target flows;
a participation determination module for determining a participating block node based on the link design request;
the flow acquisition module is used for acquiring a target flow constructed by the participated block nodes;
the link construction module is used for verifying and summarizing the target process and constructing a source tracing link based on the process sequence;
the voting notification module is used for notifying the participating block nodes to vote for the tracing link;
and the link confirmation module is used for uplink saving and executing the source tracing link based on the voting result of the participating block nodes.
Optionally, the obtaining of the target process constructed by the participating block nodes includes:
the form generation submodule is used for generating form information based on the project contents selected and/or filled by the participated block nodes;
the target stage determining submodule is used for determining a target stage by combining the form information, the participation roles and the participation members;
and the target process construction sub-module is used for constructing the target process based on the execution sequence of the target stage.
Optionally, the form generation sub-module includes:
an event entry component operable by the participating block nodes, the event entry component comprising a feature control and an event entry control;
the feature control is used for entering field features;
the event entry control is used for filling in a field characteristic value corresponding to the field characteristic;
and the form generating unit is used for generating form information based on the type and the arrangement sequence of the event entry components.
Optionally, the link building module includes:
the verification submodule is used for verifying whether the target processes all comprise source tracing code acquisition components;
the summarizing submodule is used for summarizing the target processes if the target processes all comprise the source tracing code acquisition assembly;
and the link construction submodule is used for constructing a target process sequence based on the process sequence and determining the source tracing link.
Optionally, the link confirmation module includes:
the voting determination submodule is used for acquiring and summarizing the voting result of each participated block node and determining the final voting result;
and the saving submodule is used for uplink saving the traceability link if the final voting result is passed, synchronizing the traceability link to each participating block node, and executing the synchronization by the participating block nodes.
Optionally, the method further comprises a modification module:
the modification module includes:
a modification request obtaining submodule, configured to obtain a modification request for the block node for creating the link, where the modification request includes a target process to be modified;
the node determination submodule is used for determining a participatory block node corresponding to the target process to be modified based on the target process to be modified;
the voting submodule is used for initiating voting based on the modification and confirmation of the target process to be modified, acquiring and summarizing the voting result of each participating block node, and obtaining a second voting result;
and a modification confirmation submodule, configured to, if the second voting result is a pass, uplink-store the modified tracing link, synchronize the modified tracing link to each participating block node, and execute the modified tracing link by the participating block node.
The functions of the system according to the embodiment of the present invention have been described in the above method embodiments, so that reference may be made to the related descriptions in the foregoing embodiments for details that are not described in the present embodiment, and further details are not described herein.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
In the following, embodiments of the electronic device of the present invention are described, which may be regarded as an implementation in physical form for the above-described embodiments of the method and apparatus of the present invention. Details described in the embodiments of the electronic device of the invention should be considered supplementary to the embodiments of the method or apparatus described above; for details which are not disclosed in embodiments of the electronic device of the invention, reference may be made to the above-described embodiments of the method or the apparatus.
Fig. 3 is a schematic structural diagram of an electronic device provided in an embodiment of the present disclosure. The computer device shown in fig. 3 is only an example and should not bring any limitation to the function and the scope of use of the embodiments of the present invention.
As shown in fig. 3, the computer apparatus 300 of the exemplary embodiment is in the form of a general-purpose data processing apparatus. The components of computer device 300 may include, but are not limited to: at least one processor 310, at least one memory 320, a network interface 330, a display unit 340, an input component 350, and the like.
The memory 320 stores a computer readable program, which may be a code of a source program or a read-only program. The program may be executed by the processor unit 310 to cause the processor unit 310 to perform the steps of various embodiments of the present invention. For example, the processor 310 may perform the steps shown in FIG. 1.
The memory 320 may include readable media in the form of volatile memory units, such as random access memory units (RAM) and/or cache memory units, and may further include read only memory units (ROM). The memory 320 may also include a program/utility having a set (at least one) of program modules including, but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which, or some combination thereof, may comprise an implementation of a network environment.
Also included is a bus (not shown) that may be representative of one or more of several types of bus structures, including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.
The computer device 300 may also communicate with one or more external devices (e.g., keyboard, display, network device, bluetooth device, etc.), enable a user to interact with the computer device 300 via the external devices, and/or enable the computer device 300 to communicate with one or more other data processing devices (e.g., router, modem, etc.). Such communication may occur through network interface 330 and may also occur through a network adapter and with one or more networks, such as a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network, such as the internet. The network adapter may communicate with other modules of the computer device 300 via a bus. It should be understood that although not shown in the figures, other hardware and/or software modules may be used in the computer device 300, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
FIG. 4 is a schematic diagram of one computer-readable medium embodiment of the present invention. As shown in fig. 4, the computer program may be stored on one or more computer readable media. The computer readable medium may be a readable signal medium or a readable storage medium. A readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium include: an electrical connection having one or more wires, a portable disk, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. The computer program, when executed by one or more data processing devices, enables the computer-readable medium to implement the above-described method of the invention, namely: when a plurality of third-party H5 programs access the APP system, the APP system firstly allocates a partner ID (PartnerID) to each third-party H5 program, and in addition, the native API interface of the APP automatically and randomly generates a temporary token (token), wherein the temporary token also contains the aging information. And will send the temporary token to the third party H5 program. The APP system receives the third-party server and verifies the encrypted temporary token and the partner ID, decrypts the temporary token by using a key stored in a system memory, and checks the validity of the temporary token, including whether the temporary token exists or not, and whether the temporary token is in a validity period or not. And if the temporary token is legal and valid and within the valid period, the APP system sends the unique user identification and other configured user information to the third-party server. Other user information may be age, gender, head portrait, identity, etc.
Through the above description of the embodiments, those skilled in the art will readily understand that the exemplary embodiments of the present invention described herein may be implemented by software, or by software in combination with necessary hardware. Therefore, the technical solution according to the embodiment of the present invention can be embodied in the form of a software product, which can be stored in a computer-readable storage medium (which can be a CD-ROM, a usb disk, a removable hard disk, etc.) or on a network, and includes several instructions to make a data processing device (which can be a personal computer, a server, or a network device, etc.) execute the above-mentioned method according to the present invention.
The computer readable storage medium may include a propagated data signal with readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A readable storage medium may also be any readable medium that is not a readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a readable storage medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device and partly on a remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user computing device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computing device (e.g., through the internet using an internet service provider).
In summary, the present invention can be implemented as a method, an apparatus, an electronic device, or a computer-readable medium executing a computer program. Some or all of the functions of the present invention may be implemented in practice using a general-purpose data processing device such as a microprocessor or a Digital Signal Processor (DSP).
While the foregoing embodiments have described the objects, aspects and advantages of the present invention in further detail, it should be understood that the present invention is not inherently related to any particular computer, virtual machine or electronic device, and various general-purpose machines may be used to implement the present invention. The present invention is not limited to the above embodiments, and any modifications, equivalent substitutions, improvements, etc. within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (9)

1. A method for constructing a tracing link of a block chain is characterized by comprising the following steps:
obtaining a link design request of a block node for creating a link, wherein the link design request comprises a flow sequence and a plurality of target flows;
determining a participating block node based on the link design request;
acquiring a target process constructed by the participated block nodes;
checking and summarizing the target process, and constructing a source tracing link based on the process sequence;
informing the participating block nodes to vote for the source tracing link;
based on the voting results of the participating block nodes, the tracing link is uplink-stored and executed.
2. The method of claim 1, wherein the obtaining the target flow of the participating block node construction comprises:
generating form information based on the project contents selected and/or filled by the participated block nodes;
determining a target stage by combining the form information, the participation roles and the participation members;
and constructing the target process based on the execution sequence of the target stage.
3. The method of claim 2, wherein generating form information based on the item content selected and/or filled in by the participating block nodes comprises:
providing an event entry component operable by the participating block nodes, the event entry component comprising a feature control and an event entry control;
the feature control is used for inputting field features;
the event entry control is used for filling in a field characteristic value corresponding to the field characteristic;
and generating form information based on the type and the arrangement sequence of the event entry components.
4. The method of claim 1, wherein said checking and summarizing said target processes, building a traceable link based on said process order, comprises:
checking whether the target processes all comprise source tracing code acquisition components;
if the target processes all comprise the source code obtaining component, summarizing the target processes;
and constructing a target process sequence based on the process sequence, and determining the source tracing link.
5. The method of claim 1, wherein the uplink saving and performing the traceback link based on the voting results of the participating block nodes comprises:
obtaining and summarizing the voting result of each participated block node, and determining the final voting result;
and if the final voting result is passed, uplink storing the tracing link, synchronizing the tracing link to each participating block node, and executing the synchronization by the participating block nodes.
6. The method of claim 1, wherein after the uplink saving and performing the sourcing link based on the voting results of the participating block nodes, further comprising:
acquiring a modification request of the block node for creating the link, wherein the modification request comprises a target process to be modified;
determining a participating block node corresponding to the target process to be modified based on the target process to be modified;
initiating voting based on the modification and confirmation of the target process to be modified, and acquiring and summarizing the voting result of each participating block node to obtain a second voting result;
and if the second voting result is passed, uplink saving the modified tracing link, and synchronizing the modified tracing link to each participating block node to be executed by the participating block nodes.
7. A traceback link construction system of a blockchain is characterized by comprising:
an obtaining module, configured to obtain a link design request of a block node for creating a link, where the link design request includes a flow sequence and a plurality of target flows;
a participation determination module for determining a participating block node based on the link design request;
the flow acquisition module is used for acquiring a target flow constructed by the participated block nodes;
the link construction module is used for verifying and summarizing the target process and constructing a source tracing link based on the process sequence;
the voting notification module is used for notifying the participating block nodes to vote for the tracing link;
and the link confirmation module is used for uplink saving and executing the source tracing link based on the voting result of the participating block nodes.
8. An electronic device, wherein the electronic device comprises:
a processor; and the number of the first and second groups,
a memory storing computer-executable instructions that, when executed, cause the processor to perform the method of any of claims 1-6.
9. A computer readable storage medium, wherein the computer readable storage medium stores one or more programs which, when executed by a processor, implement the method of any of claims 1-6.
CN202210954661.2A 2022-08-10 2022-08-10 Method, system and electronic equipment for constructing traceable link of block chain Active CN115242802B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210954661.2A CN115242802B (en) 2022-08-10 2022-08-10 Method, system and electronic equipment for constructing traceable link of block chain

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210954661.2A CN115242802B (en) 2022-08-10 2022-08-10 Method, system and electronic equipment for constructing traceable link of block chain

Publications (2)

Publication Number Publication Date
CN115242802A true CN115242802A (en) 2022-10-25
CN115242802B CN115242802B (en) 2023-11-24

Family

ID=83679570

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210954661.2A Active CN115242802B (en) 2022-08-10 2022-08-10 Method, system and electronic equipment for constructing traceable link of block chain

Country Status (1)

Country Link
CN (1) CN115242802B (en)

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108989118A (en) * 2018-07-31 2018-12-11 温州市图盛科技有限公司 A kind of privately owned block chain deployment tool of enterprise-level based on GO language
CN109785130A (en) * 2018-12-17 2019-05-21 金蝶软件(中国)有限公司 Block chain is known together method, apparatus, computer equipment and storage medium at random
CN110097376A (en) * 2019-04-12 2019-08-06 阿里巴巴集团控股有限公司 Commodity source tracing method, device, equipment and storage medium
CN110430248A (en) * 2019-07-23 2019-11-08 平安科技(深圳)有限公司 Block chain building method, apparatus, medium and electronic equipment based on cloud service
CN111581404A (en) * 2020-06-05 2020-08-25 山东舜网传媒股份有限公司 Method and system for marking image-text manuscript through whole process based on block chain technology
CN112422331A (en) * 2020-11-06 2021-02-26 平安证券股份有限公司 Operation and maintenance operation node monitoring method and related equipment
CN112488734A (en) * 2020-12-07 2021-03-12 崔艳兰 Food and drug tracing method and system based on block chain
CN112751713A (en) * 2020-12-30 2021-05-04 杭州趣链科技有限公司 Block chain-based link establishing method, device and storage medium
CN113362077A (en) * 2021-05-25 2021-09-07 深圳市中晴云科技有限公司 Product traceability system and method based on block chain
US20210374696A1 (en) * 2020-05-31 2021-12-02 AT&T Global Network Services Hong Kong LTD Public-Private Pegged Blockchains for Regulatory-Zone Restricted Whitebox Programmable Cellular Devices
WO2022056424A1 (en) * 2020-09-11 2022-03-17 Transparent Financial Systems, Inc. Distributed self-governing computer network to correlate blockchain and private computer system transactions method, apparatus, and system
WO2022141058A1 (en) * 2020-12-29 2022-07-07 合肥达朴汇联科技有限公司 Blockchain auditing and traceability method and system, electronic device and storage medium
CN114723394A (en) * 2022-03-23 2022-07-08 平安普惠企业管理有限公司 Credit granting flow configuration method based on artificial intelligence and related equipment
US20230222454A1 (en) * 2020-12-18 2023-07-13 Strong Force Vcn Portfolio 2019, Llc Artificial-Intelligence-Based Preventative Maintenance for Robotic Fleet

Patent Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108989118A (en) * 2018-07-31 2018-12-11 温州市图盛科技有限公司 A kind of privately owned block chain deployment tool of enterprise-level based on GO language
CN109785130A (en) * 2018-12-17 2019-05-21 金蝶软件(中国)有限公司 Block chain is known together method, apparatus, computer equipment and storage medium at random
CN110097376A (en) * 2019-04-12 2019-08-06 阿里巴巴集团控股有限公司 Commodity source tracing method, device, equipment and storage medium
CN110430248A (en) * 2019-07-23 2019-11-08 平安科技(深圳)有限公司 Block chain building method, apparatus, medium and electronic equipment based on cloud service
WO2021012794A1 (en) * 2019-07-23 2021-01-28 平安科技(深圳)有限公司 Blockchain construction method and apparatus based on cloud service, medium and electronic device
US20210374696A1 (en) * 2020-05-31 2021-12-02 AT&T Global Network Services Hong Kong LTD Public-Private Pegged Blockchains for Regulatory-Zone Restricted Whitebox Programmable Cellular Devices
CN111581404A (en) * 2020-06-05 2020-08-25 山东舜网传媒股份有限公司 Method and system for marking image-text manuscript through whole process based on block chain technology
WO2022056424A1 (en) * 2020-09-11 2022-03-17 Transparent Financial Systems, Inc. Distributed self-governing computer network to correlate blockchain and private computer system transactions method, apparatus, and system
CN112422331A (en) * 2020-11-06 2021-02-26 平安证券股份有限公司 Operation and maintenance operation node monitoring method and related equipment
CN112488734A (en) * 2020-12-07 2021-03-12 崔艳兰 Food and drug tracing method and system based on block chain
US20230222454A1 (en) * 2020-12-18 2023-07-13 Strong Force Vcn Portfolio 2019, Llc Artificial-Intelligence-Based Preventative Maintenance for Robotic Fleet
WO2022141058A1 (en) * 2020-12-29 2022-07-07 合肥达朴汇联科技有限公司 Blockchain auditing and traceability method and system, electronic device and storage medium
CN112751713A (en) * 2020-12-30 2021-05-04 杭州趣链科技有限公司 Block chain-based link establishing method, device and storage medium
CN113362077A (en) * 2021-05-25 2021-09-07 深圳市中晴云科技有限公司 Product traceability system and method based on block chain
CN114723394A (en) * 2022-03-23 2022-07-08 平安普惠企业管理有限公司 Credit granting flow configuration method based on artificial intelligence and related equipment

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
高伟豪;史力;: "基于区块链技术的企业信息化数据溯源平台设计", 信息与电脑(理论版), no. 03 *

Also Published As

Publication number Publication date
CN115242802B (en) 2023-11-24

Similar Documents

Publication Publication Date Title
CN110825349B (en) Random number generation method, block chain node, system and medium
JP6985576B2 (en) Business process systems, business data processing methods and equipment
CN110400221B (en) Data processing method, system, storage medium and computer equipment
US8266214B2 (en) System and method for collaborative web-based multimedia layered platform with recording and selective playback of content
CN109189379A (en) code generating method and device
CN105786460B (en) A kind of software development methodology and device based on Services Composition
US20150269503A1 (en) System and method for managing workflows associated with a document exchanged between a first service provider and a second service provider
US11924171B2 (en) Private application platform
WO2015081779A1 (en) Service processing method and apparatus based on bpm
CN110297671A (en) Client plug-in implementation method, device, computer equipment and storage medium
UA121608U (en) AUTOMATED SYSTEM FOR MAKING, PROCESSING AND GENERATION OF VIDEOS
CN109683957A (en) The method and apparatus of Function Extension
CN113438237B (en) Data security collaborative computing method and system
CN109660381A (en) Distribution management method, device, server and storage medium
CN113128968A (en) Business approval method and system based on workflow engine
CN111310945B (en) Operation and maintenance management method and device and electronic equipment
CN111339193B (en) Category encoding method and device
CN115242802B (en) Method, system and electronic equipment for constructing traceable link of block chain
CN113902392A (en) Creative project management method, device, terminal and storage medium
KR101547013B1 (en) Method and system for managing production of contents based scenario
CN114677138A (en) Data processing method, data processing equipment and computer readable storage medium
CN112256760A (en) Data prediction method and device, computer equipment and storage medium
CN110879835A (en) Data processing method, device and equipment based on block chain and readable storage medium
US20130054772A1 (en) Method and apparatus for content management using network server
Bhat et al. Sakshi: Decentralized ai platforms

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